File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 33
33
command :
34
34
- nix-build build.nix -A maintainer-scripts.check-materialization-concurrency -o check-materialization-concurrency.sh
35
35
- ./check-materialization-concurrency.sh
36
+
37
+ - label : ' Make sure non store paths like can be used as src'
38
+ command :
39
+ - nix-build build.nix -A maintainer-scripts.check-path-support -o check-path-support.sh
40
+ - ./check-path-support.sh
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ in rec {
55
55
] ;
56
56
} ;
57
57
check-materialization-concurrency = pkgs . buildPackages . callPackage ./scripts/check-materialization-concurrency/check.nix { } ;
58
+ check-path-support = pkgs . buildPackages . callPackage ./scripts/check-path-support.nix { } ;
58
59
} ;
59
60
60
61
# These are pure parts of maintainer-script so they can be built by hydra
Original file line number Diff line number Diff line change
1
+ { stdenv , writeScript , nix } :
2
+
3
+ with stdenv . lib ;
4
+
5
+ writeScript "check-path-supprot.sh" ''
6
+ #!${ stdenv . shell }
7
+
8
+ set -euo pipefail
9
+
10
+ export PATH="${ makeBinPath [ nix ] } "
11
+
12
+ nix-build -E '((import ./. {}).pkgs.haskell-nix.cabalProject { compiler-nix-name = "ghc865"; src = ./test/cabal-simple; }).cabal-simple.components.library'
13
+ ''
You can’t perform that action at this time.
0 commit comments