remove noop uses of nix-store --init

the nix-store --init command is a noop apparently
This commit is contained in:
zimbatm 2019-02-22 21:07:48 +01:00
parent e58a71442a
commit b402148d8f
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7
5 changed files with 0 additions and 14 deletions

View file

@ -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