mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 11:36:05 +01:00
darwin: use full path to commands in activation script
This commit is contained in:
parent
b764068a50
commit
c728307482
3 changed files with 9 additions and 9 deletions
|
|
@ -13,9 +13,9 @@ let
|
|||
cliFlags = lib.optionalString isLocal "-currentHost";
|
||||
|
||||
toActivationCmd = domain: attrs:
|
||||
"$DRY_RUN_CMD defaults ${cliFlags} import ${escapeShellArg domain} ${
|
||||
toDefaultsFile domain attrs
|
||||
}";
|
||||
"$DRY_RUN_CMD /usr/bin/defaults ${cliFlags} import ${
|
||||
escapeShellArg domain
|
||||
} ${toDefaultsFile domain attrs}";
|
||||
|
||||
nonNullDefaults =
|
||||
mapAttrs (domain: attrs: (filterAttrs (n: v: v != null) attrs))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue