forked from mirrors/nixpkgs
Merge pull request #208045 from figsoda/fix-env
nixos/environment: fix variables type
This commit is contained in:
commit
9a2e72335c
|
@ -42,7 +42,7 @@ in
|
|||
strings. The latter is concatenated, interspersed with colon
|
||||
characters.
|
||||
'';
|
||||
type = with types; attrsOf (oneOf [ str path (listOf str) ]);
|
||||
type = with types; attrsOf (oneOf [ (listOf str) str path ]);
|
||||
apply = mapAttrs (n: v: if isList v then concatStringsSep ":" v else "${v}");
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue