mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
nixos/lib/make-squashfs: set root mode to 0755
default is 0777 which is likely undesirable in all situations
This commit is contained in:
parent
58872406ef
commit
da18b9bc79
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ stdenv.mkDerivation {
|
|||
# Generate the squashfs image.
|
||||
mksquashfs nix-path-registration $(cat $closureInfo/store-paths) $imgPath ${pseudoFilesArgs} \
|
||||
-no-hardlinks ${lib.optionalString noStrip "-no-strip"} -keep-as-directory -all-root -b 1048576 ${compFlag} \
|
||||
-processors $NIX_BUILD_CORES
|
||||
-processors $NIX_BUILD_CORES -root-mode 0755
|
||||
'' + lib.optionalString hydraBuildProduct ''
|
||||
|
||||
mkdir -p $out/nix-support
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue