modules/environment/path: add extraOutputsToInstall option

This commit is contained in:
jarkad 2023-05-16 02:22:13 +03:00 committed by Tobias Happ
parent b00cb5e7e2
commit 02c3b2d260

View file

@ -27,6 +27,13 @@ in
internal = true;
description = "Derivation for installing user packages.";
};
extraOutputsToInstall = mkOption {
type = types.listOf types.str;
default = [ ];
example = [ "doc" "info" "devdoc" ];
description = "List of additional package outputs to be installed as user packages.";
};
};
};
@ -71,6 +78,8 @@ in
paths = cfg.packages;
inherit (cfg) extraOutputsToInstall;
meta = {
description = "Environment of packages installed through Nix-on-Droid.";
};