From 38fad0f4dd260b9e46325a4a8905e6f564b35a55 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 18 Apr 2019 23:40:52 +0800 Subject: [PATCH] restore initial generateTestOkHash --- main.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.nix b/main.nix index 93b5e1c..d590b61 100644 --- a/main.nix +++ b/main.nix @@ -24,7 +24,7 @@ let generateTestOkHash = pkgs.runCommand "generate-test-ok-hash" { buildInputs = [ pkgs.nix ]; } '' TMPDIR=`mktemp -d` - cp ${generatedNix}/pkgs/artiq-version.nix $TMPDIR/passed4 + cp ${generatedNix}/pkgs/artiq-version.nix $TMPDIR/passed HASH=`nix-hash --type sha256 --base32 $TMPDIR` echo \"$HASH\" > $out ''; @@ -92,7 +92,7 @@ in ${windowsRunner { testCommand = "set ARTIQ_ROOT=%cd%\\anaconda\\envs\\artiq-env\\Lib\\site-packages\\artiq\\examples\\kc705_nist_clock&&set ARTIQ_LOW_LATENCY=1&&python -m unittest discover -v artiq.test"; }}/bin/run.sh mkdir $out - cp ${generatedNix}/pkgs/artiq-version.nix $out/passed4 + cp ${generatedNix}/pkgs/artiq-version.nix $out/passed ''; }; }