mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 11:36:07 +01:00
modules/environment/path: add extraOutputsToInstall option
This commit is contained in:
parent
b00cb5e7e2
commit
02c3b2d260
1 changed files with 9 additions and 0 deletions
|
|
@ -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.";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue