From 5693b8a7e246af352c26c258e2af6402601839ed Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 17 Nov 2010 12:51:54 +0000 Subject: * nix-push: no need to compute the NAR hash, since the Nix database already has it (`nix-store -q --hash'). --- corepkgs/nar/nar.sh.in | 2 -- 1 file changed, 2 deletions(-) (limited to 'corepkgs') diff --git a/corepkgs/nar/nar.sh.in b/corepkgs/nar/nar.sh.in index 67933ac67f0b..1369d3a21fb2 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 -- cgit 1.4.1