nixos/environment: fix variables type

This commit is contained in:
figsoda
2022-12-27 21:09:10 -05:00
parent a99848025d
commit 9d7339877a
+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}");
};