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:
Robert Helgesson 2017-08-27 13:04:39 +02:00
parent 331eb9b809
commit 0357f71d71
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86
3 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ let
};
in
{
inherit (env) activation-script;
inherit (env) activationPackage;
}
'';

View file

@ -67,7 +67,7 @@ function doBuild() {
"@HOME_MANAGER_EXPR_PATH@" \
--argstr confPath "$HOME_MANAGER_CONFIG" \
--argstr confAttr "$HOME_MANAGER_CONFIG_ATTRIBUTE" \
-A activation-script
-A activationPackage
}
function doSwitch() {

View file

@ -78,6 +78,6 @@ in
{
inherit (module) options config;
activation-script = module.config.home.activationPackage;
activationPackage = module.config.home.activationPackage;
home-path = module.config.home.path;
}