mirror of
https://github.com/NixOS/nix
synced 2025-07-07 18:31:49 +02:00
parent
bd7a074636
commit
f923ed6b6a
11 changed files with 71 additions and 34 deletions
14
tests/functional/lang/non-eval-fail-bad-drvPath.nix
Normal file
14
tests/functional/lang/non-eval-fail-bad-drvPath.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
let
|
||||
package = {
|
||||
type = "derivation";
|
||||
name = "cachix-1.7.3";
|
||||
system = builtins.currentSystem;
|
||||
outputs = [ "out" ];
|
||||
# Illegal, because does not end in `.drv`
|
||||
drvPath = "${builtins.storeDir}/8qlfcic10lw5304gqm8q45nr7g7jl62b-cachix-1.7.3-bin";
|
||||
outputName = "out";
|
||||
outPath = "${builtins.storeDir}/8qlfcic10lw5304gqm8q45nr7g7jl62b-cachix-1.7.3-bin";
|
||||
out = package;
|
||||
};
|
||||
in
|
||||
package
|
Loading…
Add table
Add a link
Reference in a new issue