global/programming: move python packages into separate option
This commit is contained in:
parent
09b7f83b97
commit
b676e832dc
2 changed files with 23 additions and 14 deletions
|
@ -32,7 +32,12 @@ rec {
|
|||
in
|
||||
coercedTo packageListType flatten (listOf package);
|
||||
|
||||
coercedPackageListFunction =
|
||||
with types;
|
||||
coercedTo coercedPackageList (v: (_: v)) (functionTo coercedPackageList);
|
||||
|
||||
packageListOpt = mkOpt coercedPackageList [ ];
|
||||
packageListFunctionOpt = mkOpt coercedPackageListFunction [ ];
|
||||
|
||||
addPackageLists = lib.mapAttrs (
|
||||
name: value:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue