We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 3c82e6f commit 758b4c1Copy full SHA for 758b4c1
nixos/lib/make-disk-image.nix
@@ -130,7 +130,7 @@ let format' = format; in let
130
fakeroot nixos-prepare-root $root ${channelSources} ${config.system.build.toplevel} closure
131
132
# fakeroot seems to always give the owner write permissions, which we do not want
133
- find $root/nix/store -mindepth 1 -maxdepth 1 -type f -o -type d -exec chmod -R a-w '{}' \;
+ find $root/nix/store -mindepth 1 -maxdepth 1 -type f -o -type d | xargs chmod -R a-w
134
135
echo "copying staging root to image..."
136
cptofs ${optionalString partitioned "-P 1"} -t ${fsType} -i $diskImage $root/* /
0 commit comments