Merge pull request #208045 from figsoda/fix-env

nixos/environment: fix variables type
This commit is contained in:
figsoda
2022-12-27 21:47:02 -05:00
committed by GitHub
+1 -1
View File
@@ -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}");
};