git.iko.soy/typeable/nixpkgs
on master help sign in
nixos: remove rsync from base install and add explicit path in nixos-install

As per https://github.com/NixOS/nixpkgs/commit/60b3f95ad86826faf95680a3529ced1c322d4d87#commitcomment-18507812

commit582313bafef4c81cb6df2dcf2ece4757eb5c8082 authorobadz <obadz-git@obadz.com> dateSun 7 Aug 2016, 01:25 (10 years ago) parent57b7c3c
3 files changed+2−3
nixos/modules/config/system-path.nix−1 nixos/modules/installer/tools/nixos-install.sh+1−1 nixos/modules/installer/tools/tools.nix+1−1
nixos/modules/config/system-path.nix−1
@@ -34,7 +34,6 @@ let
3434 config.programs.ssh.package
3535 pkgs.perl
3636 pkgs.procps
37− pkgs.rsync
3837 pkgs.strace
3938 pkgs.su
4039 pkgs.time
nixos/modules/installer/tools/nixos-install.sh+1−1
@@ -175,7 +175,7 @@ if ! NIX_DB_DIR=$mountPoint/nix/var/nix/db nix-store --check-validity @nix@ 2> /
175175 for i in $(@perl@/bin/perl @pathsFromGraph@ @nixClosure@); do
176176 echo " $i"
177177 chattr -R -i $mountPoint/$i 2> /dev/null || true # clear immutable bit
178− rsync -a $i $mountPoint/nix/store/
178+ @rsync@/bin/rsync -a $i $mountPoint/nix/store/
179179 done
180180
181181 # Register the paths in the Nix closure as valid. This is necessary
nixos/modules/installer/tools/tools.nix+1−1
@@ -21,7 +21,7 @@ let
2121 name = "nixos-install";
2222 src = ./nixos-install.sh;
2323
24− inherit (pkgs) perl pathsFromGraph;
24+ inherit (pkgs) perl pathsFromGraph rsync;
2525 nix = config.nix.package.out;
2626 cacert = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
2727