about summary refs log tree commit diff
path: root/scripts/install-nix-from-closure.sh
diff options
context:
space:
mode:
authorzimbatm <zimbatm@zimbatm.com>2019-02-22T20·07+0100
committerzimbatm <zimbatm@zimbatm.com>2019-02-22T20·07+0100
commitb402148d8f584144b80fe159e76e553a1792ecb7 (patch)
treec716407494479f463f7c7e67d2dc86d699e2af60 /scripts/install-nix-from-closure.sh
parente58a71442ad4a538b48fc7a9938c3690628c4741 (diff)
remove noop uses of nix-store --init
the nix-store --init command is a noop apparently
Diffstat (limited to 'scripts/install-nix-from-closure.sh')
-rw-r--r--scripts/install-nix-from-closure.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/install-nix-from-closure.sh b/scripts/install-nix-from-closure.sh
index ab20774bbf03..fc633fa2337e 100644
--- a/scripts/install-nix-from-closure.sh
+++ b/scripts/install-nix-from-closure.sh
@@ -109,12 +109,6 @@ for i in $(cd "$self/store" >/dev/null && echo ./*); do
 done
 echo "" >&2
 
-echo "initialising Nix database..." >&2
-if ! $nix/bin/nix-store --init; then
-    echo "$0: failed to initialize the Nix database" >&2
-    exit 1
-fi
-
 if ! "$nix/bin/nix-store" --load-db < "$self/.reginfo"; then
     echo "$0: unable to register valid paths" >&2
     exit 1