1
0
Fork 0

extended-tests: restore initial generateTestOkHash

This commit is contained in:
Astro 2019-06-13 03:11:06 +02:00
parent 489d0e43c7
commit 01e71b8511
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ let
generateTestOkHash = pkgs.runCommand "generate-test-ok-hash" { buildInputs = [ pkgs.nix ]; } generateTestOkHash = pkgs.runCommand "generate-test-ok-hash" { buildInputs = [ pkgs.nix ]; }
'' ''
TMPDIR=`mktemp -d` TMPDIR=`mktemp -d`
cp ${generatedNix}/pkgs/artiq-version.nix $TMPDIR/passed11 cp ${generatedNix}/pkgs/artiq-version.nix $TMPDIR/passed
HASH=`nix-hash --type sha256 --base32 $TMPDIR` HASH=`nix-hash --type sha256 --base32 $TMPDIR`
echo \"$HASH\" > $out echo \"$HASH\" > $out
''; '';
@ -124,7 +124,7 @@ in
) )
mkdir $out mkdir $out
cp ${generatedNix}/pkgs/artiq-version.nix $out/passed11 cp ${generatedNix}/pkgs/artiq-version.nix $out/passed
''; '';
}; };
} }