mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
nixos/doc: Split mkdir
mode into chmod
command for clarity (#236740)
This commit is contained in:
commit
11874eccfa
1 changed files with 2 additions and 1 deletions
|
@ -140,7 +140,8 @@ in {
|
||||||
path = [ pkgs.su ];
|
path = [ pkgs.su ];
|
||||||
script =
|
script =
|
||||||
''
|
''
|
||||||
mkdir -m 0755 -p $(dirname ${toString cfg.output})
|
mkdir -p $(dirname ${toString cfg.output})
|
||||||
|
chmod 0755 $(dirname ${toString cfg.output})
|
||||||
exec updatedb \
|
exec updatedb \
|
||||||
--localuser=${cfg.localuser} \
|
--localuser=${cfg.localuser} \
|
||||||
${optionalString (!cfg.includeStore) "--prunepaths='/nix/store'"} \
|
${optionalString (!cfg.includeStore) "--prunepaths='/nix/store'"} \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue