mirror of
https://github.com/nix-community/home-manager
synced 2024-11-24 03:59:46 +01:00
home-manager: minor attribute rename
The "activation-script" attribute doesn't actually point directly at
the activation script. Renamed the attribute to be more descriptive.
(cherry picked from commit b4fff6b9b7
)
This commit is contained in:
parent
331eb9b809
commit
0357f71d71
3 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@ let
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
inherit (env) activation-script;
|
inherit (env) activationPackage;
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ function doBuild() {
|
||||||
"@HOME_MANAGER_EXPR_PATH@" \
|
"@HOME_MANAGER_EXPR_PATH@" \
|
||||||
--argstr confPath "$HOME_MANAGER_CONFIG" \
|
--argstr confPath "$HOME_MANAGER_CONFIG" \
|
||||||
--argstr confAttr "$HOME_MANAGER_CONFIG_ATTRIBUTE" \
|
--argstr confAttr "$HOME_MANAGER_CONFIG_ATTRIBUTE" \
|
||||||
-A activation-script
|
-A activationPackage
|
||||||
}
|
}
|
||||||
|
|
||||||
function doSwitch() {
|
function doSwitch() {
|
||||||
|
|
|
@ -78,6 +78,6 @@ in
|
||||||
{
|
{
|
||||||
inherit (module) options config;
|
inherit (module) options config;
|
||||||
|
|
||||||
activation-script = module.config.home.activationPackage;
|
activationPackage = module.config.home.activationPackage;
|
||||||
home-path = module.config.home.path;
|
home-path = module.config.home.path;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue