nixos: copy resize2fs only for stage-1 fileSystems
commit8da59c406cea9ee3fbe37fce6211421281c47b78
authorJan Malakhovski <oxij@oxij.org>
dateTue 23 Aug 2016, 17:26 (10 years ago)
parent65d26c4
nixos/modules/system/boot/stage-1.nix+1−1
@@ -79,7 +79,7 @@ let
7979 ln -sf kmod $out/bin/modprobe
8080
8181 # Copy resize2fs if needed.
82− ${optionalString (any (fs: fs.autoResize) config.system.build.fileSystems) ''
82+ ${optionalString (any (fs: fs.autoResize) fileSystems) ''
8383 # We need mke2fs in the initrd.
8484 copy_bin_and_libs ${pkgs.e2fsprogs}/sbin/resize2fs
8585 ''}