git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #17960 from obadz/nixos-install-cleanup

nixos-install: remove manifest related stuff

commit7310a947517e5b7c7a19072918d0ededb204dec0 authorEelco Dolstra <eelco.dolstra@logicblox.com> dateWed 24 Aug 2016, 17:17 (10 years ago) parentb63d68a697518d
1 file changed−9
nixos/modules/installer/tools/nixos-install.sh−9
nixos/modules/installer/tools/nixos-install.sh−9
@@ -136,7 +136,6 @@ fi
136136mkdir -m 0755 -p \
137137 $mountPoint/nix/var/nix/gcroots \
138138 $mountPoint/nix/var/nix/temproots \
139− $mountPoint/nix/var/nix/manifests \
140139 $mountPoint/nix/var/nix/userpool \
141140 $mountPoint/nix/var/nix/profiles \
142141 $mountPoint/nix/var/nix/db \
@@ -201,14 +200,6 @@ p=@nix@/libexec/nix/substituters
201200export NIX_SUBSTITUTERS=$p/copy-from-other-stores.pl:$p/download-from-binary-cache.pl
202201
203202
204−# Make manifests available in the chroot.
205−rm -f $mountPoint/nix/var/nix/manifests/*
206−for i in /nix/var/nix/manifests/*.nixmanifest; do
207− chroot $mountPoint @nix@/bin/nix-store -r "$(readlink -f "$i")" > /dev/null
208− cp -pd "$i" $mountPoint/nix/var/nix/manifests/
209−done
210−
211−
212203if [ -z "$closure" ]; then
213204 # Get the absolute path to the NixOS/Nixpkgs sources.
214205 nixpkgs="$(readlink -f $(nix-instantiate --find-file nixpkgs))"