File tree 4 files changed +8
-245
lines changed
4 files changed +8
-245
lines changed Original file line number Diff line number Diff line change 5
5
pre-commit-hooks . url = "github:cachix/pre-commit-hooks.nix" ;
6
6
flake-utils . url = "github:numtide/flake-utils" ;
7
7
flake-compat = {
8
- url = github:edolstra/flake-compat ;
8
+ url = " github:edolstra/flake-compat" ;
9
9
flake = false ;
10
10
} ;
11
11
} ;
16
16
} :
17
17
flake-utils . lib . eachSystem [ "x86_64-linux" ] (
18
18
system : let
19
- pkgs = inputs . nixpkgs . legacyPackages . ${ system } ;
20
- inherit ( pkgs ) lib haskellPackages haskell ;
19
+ inherit ( inputs . nixpkgs . legacyPackages . ${ system } ) lib haskellPackages haskell ;
21
20
golden-test = import ./test/golden1.nix {
22
21
seed = "1" ;
23
22
inherit system ;
45
44
] ;
46
45
hooks = {
47
46
hlint . enable = true ;
48
- cabal-fmt . enable = true ;
49
47
alejandra . enable = true ;
48
+ nix-linter . enable = true ;
49
+ statix . enable = true ;
50
50
fourmolu . enable = true ;
51
+ cabal-fmt . enable = true ;
52
+ shellcheck . enable = true ;
51
53
} ;
52
54
} ;
53
55
} ;
54
56
devShell = haskellPackages . shellFor {
55
- packages = p : [ defaultPackage ] ;
57
+ packages = _ : [ defaultPackage ] ;
56
58
buildInputs = [ inputs . pre-commit-hooks . defaultPackage . ${ system } ] ;
57
59
withHoogle = true ;
58
60
inherit ( self . checks . ${ system } . pre-commit-check ) shellHook ;
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ with import <nixpkgs> {}; let
26
26
build2 = pkgs . runCommand "build2" { } ''
27
27
sleep 3s
28
28
cat ${ build5 }
29
+ cat ${ build6 }
29
30
cat ${ build1 }
30
31
echo "test" > $out
31
32
'' ;
You can’t perform that action at this time.
0 commit comments