mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 15:26:17 +02:00
* Urgh, FreeBSD doesn't have a "seq" command.
This commit is contained in:
parent
3087b3f751
commit
d159ea1b7e
1 changed files with 2 additions and 2 deletions
|
@ -7,9 +7,9 @@ mkDerivation {
|
||||||
builder = builtins.toFile "builder.sh"
|
builder = builtins.toFile "builder.sh"
|
||||||
''
|
''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
seq 1 1000000 > $out/foo
|
(for ((n = 1; n < 100000; n++)); do echo $n; done) > $out/foo
|
||||||
${if version != 1 then ''
|
${if version != 1 then ''
|
||||||
seq 1000000 1010000 >> $out/foo
|
(for ((n = 100000; n < 110000; n++)); do echo $n; done) >> $out/foo
|
||||||
'' else ""}
|
'' else ""}
|
||||||
${if version == 3 then ''
|
${if version == 3 then ''
|
||||||
echo foobar >> $out/foo
|
echo foobar >> $out/foo
|
||||||
|
|
Loading…
Reference in a new issue