1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 01:51:47 +02:00

* Test whether sequences of patches work.

This commit is contained in:
Eelco Dolstra 2010-11-17 18:01:37 +00:00
parent 1a211d812f
commit d92ccbf1ac
2 changed files with 37 additions and 15 deletions

View file

@ -8,8 +8,11 @@ mkDerivation {
''
mkdir $out
seq 1 1000000 > $out/foo
${if version == 2 then ''
${if version != 1 then ''
seq 1000000 1010000 >> $out/foo
'' else ""}
${if version == 3 then ''
echo foobar >> $out/foo
'' else ""}
'';
}