1
0
Fork 0

try to use /nix/store entry instead of replicated git checkout

Can't figure out why the hydra and fetchgit hashes differ.
This commit is contained in:
Sebastien Bourdeauducq 2019-02-14 16:07:52 +08:00
parent 56ab6e3d88
commit 22d2efd2ca
1 changed files with 1 additions and 6 deletions

View File

@ -8,12 +8,7 @@ let
HASH=`nix-hash --type sha256 --base32 ${artiqSrc}`
cat > $out/pkgs/artiq-src.nix << EOF
{ fetchgit }:
fetchgit {
url = "git://github.com/m-labs/artiq.git";
rev = "$REV";
sha256 = "$HASH";
deepClone = true;
leaveDotGit = true;
${artiqSrc}
}
EOF
'';