Add loops param to control stage
This commit is contained in:
parent
bdc221ba81
commit
be95827927
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
program
|
program
|
||||||
|
, loops ? 30
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
@ -15,7 +16,7 @@ stdenv.mkDerivation {
|
|||||||
cat > $out <<EOF
|
cat > $out <<EOF
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#set -e
|
#set -e
|
||||||
for n in {1..30}; do
|
for n in {1..${toString loops}}; do
|
||||||
${program}
|
${program}
|
||||||
done
|
done
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user