summaryrefslogtreecommitdiffstats
path: root/nixos/modules/config/shells-environment.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/config/shells-environment.nix')
-rw-r--r--nixos/modules/config/shells-environment.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/config/shells-environment.nix b/nixos/modules/config/shells-environment.nix
index ca2e91159729..2c19fb8a029d 100644
--- a/nixos/modules/config/shells-environment.nix
+++ b/nixos/modules/config/shells-environment.nix
@@ -42,8 +42,8 @@ in
strings. The latter is concatenated, interspersed with colon
characters.
'';
- type = with types; attrsOf (oneOf [ (listOf str) str path ]);
- apply = mapAttrs (n: v: if isList v then concatStringsSep ":" v else "${v}");
+ type = with types; attrsOf (oneOf [ (listOf (oneOf [ float int str ])) float int str path ]);
+ apply = mapAttrs (n: v: if isList v then concatMapStringsSep ":" toString v else toString v);
};
environment.profiles = mkOption {