mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 08:12:29 +00:00
Inline file
This commit is contained in:
parent
8b5088b62f
commit
853ef1304c
@ -1,2 +0,0 @@
|
||||
echo "This should fail"
|
||||
exit 1
|
@ -2,7 +2,11 @@ with import ./config.nix;
|
||||
|
||||
mkDerivation {
|
||||
name = "simple-failing";
|
||||
builder = ./simple-failing.builder.sh;
|
||||
builder = builtins.toFile "builder.sh"
|
||||
''
|
||||
echo "This should fail"
|
||||
exit 1
|
||||
'';
|
||||
PATH = "";
|
||||
goodPath = path;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user