File tree Expand file tree Collapse file tree 2 files changed +170
-0
lines changed Expand file tree Collapse file tree 2 files changed +170
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ inputs = {
3
+ nixpkgs . url = "github:NixOS/nixpkgs/nixos-24.11" ;
4
+ devshell-tools . url = "github:eikek/devshell-tools" ;
5
+ flake-utils . url = "github:numtide/flake-utils" ;
6
+ } ;
7
+
8
+ outputs = {
9
+ self ,
10
+ nixpkgs ,
11
+ flake-utils ,
12
+ devshell-tools ,
13
+ } :
14
+ {
15
+ }
16
+ // flake-utils . lib . eachDefaultSystem ( system : let
17
+ pkgs = nixpkgs . legacyPackages . ${ system } ;
18
+ ciPkgs = with pkgs ; [
19
+ devshell-tools . packages . ${ system } . sbt17
20
+ jdk17
21
+ ] ;
22
+ devshellPkgs =
23
+ ciPkgs
24
+ ++ ( with pkgs ; [
25
+ jq
26
+ scala-cli
27
+ ] ) ;
28
+ in {
29
+ formatter = pkgs . alejandra ;
30
+
31
+ devShells = {
32
+ default = pkgs . mkShellNoCC {
33
+ buildInputs = ( builtins . attrValues devshell-tools . legacyPackages . ${ system } . cnt-scripts ) ++ devshellPkgs ;
34
+ } ;
35
+ ci = pkgs . mkShellNoCC {
36
+ buildInputs = ciPkgs ;
37
+ } ;
38
+ } ;
39
+ } ) ;
40
+ }
You can’t perform that action at this time.
0 commit comments