From 22d2efd2ca0e25a60a45ea4b7e70d5c74fc675ae Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 14 Feb 2019 16:07:52 +0800 Subject: [PATCH] try to use /nix/store entry instead of replicated git checkout Can't figure out why the hydra and fetchgit hashes differ. --- main.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/main.nix b/main.nix index 46422a4..5c392ea 100644 --- a/main.nix +++ b/main.nix @@ -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 '';