forked from lix-project/lix
gc-auto.sh: Increase sleep time
This commit is contained in:
parent
08ee364950
commit
5fad9d01c2
|
@ -26,9 +26,9 @@ with import ./config.nix; mkDerivation {
|
||||||
echo 200 > ${fake_free}.tmp1
|
echo 200 > ${fake_free}.tmp1
|
||||||
mv ${fake_free}.tmp1 $fake_free
|
mv ${fake_free}.tmp1 $fake_free
|
||||||
echo 2...
|
echo 2...
|
||||||
sleep 1
|
sleep 2
|
||||||
echo 3...
|
echo 3...
|
||||||
sleep 1
|
sleep 2
|
||||||
echo 4...
|
echo 4...
|
||||||
[[ \$(ls \$NIX_STORE/*-garbage? | wc -l) = 1 ]]
|
[[ \$(ls \$NIX_STORE/*-garbage? | wc -l) = 1 ]]
|
||||||
'';
|
'';
|
||||||
|
@ -48,9 +48,9 @@ with import ./config.nix; mkDerivation {
|
||||||
echo 200 > ${fake_free}.tmp2
|
echo 200 > ${fake_free}.tmp2
|
||||||
mv ${fake_free}.tmp2 $fake_free
|
mv ${fake_free}.tmp2 $fake_free
|
||||||
echo 2...
|
echo 2...
|
||||||
sleep 1
|
sleep 2
|
||||||
echo 3...
|
echo 3...
|
||||||
sleep 1
|
sleep 2
|
||||||
echo 4...
|
echo 4...
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue