aboutsummaryrefslogtreecommitdiffstats
path: root/test/testdata/non-eval-fail-bad-drvPath.nix
diff options
context:
space:
mode:
Diffstat (limited to 'test/testdata/non-eval-fail-bad-drvPath.nix')
-rw-r--r--test/testdata/non-eval-fail-bad-drvPath.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/testdata/non-eval-fail-bad-drvPath.nix b/test/testdata/non-eval-fail-bad-drvPath.nix
new file mode 100644
index 0000000..23639bc
--- /dev/null
+++ b/test/testdata/non-eval-fail-bad-drvPath.nix
@@ -0,0 +1,14 @@
1let
2 package = {
3 type = "derivation";
4 name = "cachix-1.7.3";
5 system = builtins.currentSystem;
6 outputs = [ "out" ];
7 # Illegal, because does not end in `.drv`
8 drvPath = "${builtins.storeDir}/8qlfcic10lw5304gqm8q45nr7g7jl62b-cachix-1.7.3-bin";
9 outputName = "out";
10 outPath = "${builtins.storeDir}/8qlfcic10lw5304gqm8q45nr7g7jl62b-cachix-1.7.3-bin";
11 out = package;
12 };
13in
14package