mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
nixos/doc: Split mkdir
mode into chmod
command for clarity (#236740)
This commit is contained in:
commit
11874eccfa
@ -140,7 +140,8 @@ in {
|
||||
path = [ pkgs.su ];
|
||||
script =
|
||||
''
|
||||
mkdir -m 0755 -p $(dirname ${toString cfg.output})
|
||||
mkdir -p $(dirname ${toString cfg.output})
|
||||
chmod 0755 $(dirname ${toString cfg.output})
|
||||
exec updatedb \
|
||||
--localuser=${cfg.localuser} \
|
||||
${optionalString (!cfg.includeStore) "--prunepaths='/nix/store'"} \
|
||||
|
Loading…
Reference in New Issue
Block a user