summary refs log tree commit diff
path: root/corepkgs/nar
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-11-17 12:51:54 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-11-17 12:51:54 +0000
commit5693b8a7e246af352c26c258e2af6402601839ed (patch)
tree225b907281da5b185b0a44342ebf62205a58f98b /corepkgs/nar
parente60c962fb8dd3d8be37c1f4ae08d5247901fa129 (diff)
downloadguix-5693b8a7e246af352c26c258e2af6402601839ed.tar.gz
* nix-push: no need to compute the NAR hash, since the Nix database
  already has it (`nix-store -q --hash').

Diffstat (limited to 'corepkgs/nar')
-rw-r--r--corepkgs/nar/nar.sh.in2
1 files changed, 0 insertions, 2 deletions
diff --git a/corepkgs/nar/nar.sh.in b/corepkgs/nar/nar.sh.in
index 67933ac67f..1369d3a21f 100644
--- a/corepkgs/nar/nar.sh.in
+++ b/corepkgs/nar/nar.sh.in
@@ -7,8 +7,6 @@ dst=$out/tmp.nar.bz2
 
 @bzip2@ < tmp > $dst
 
-@bindir@/nix-hash -vvvvv --flat --type $hashAlgo --base32 tmp > $out/nar-hash
-
 @bindir@/nix-hash --flat --type $hashAlgo --base32 $dst > $out/narbz2-hash
 
 @coreutils@/mv $out/tmp.nar.bz2 $out/$(@coreutils@/cat $out/narbz2-hash).nar.bz2