Inline file

This commit is contained in:
Eelco Dolstra 2021-12-07 21:45:09 +01:00
parent 8b5088b62f
commit 853ef1304c
2 changed files with 5 additions and 3 deletions

View File

@ -1,2 +0,0 @@
echo "This should fail"
exit 1

View File

@ -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;
}