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:
parent
1a211d812f
commit
d92ccbf1ac
2 changed files with 37 additions and 15 deletions
|
@ -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 ""}
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue