From 21202fe8a441ee2c673193fc785d4c4d8ee9d67b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 3 May 2024 13:43:20 +0200 Subject: [PATCH] nixos/shells-environment: remove floats again because of their unpredictable formatting --- nixos/modules/config/shells-environment.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/config/shells-environment.nix b/nixos/modules/config/shells-environment.nix index 2c19fb8a029d..f3f8eb182563 100644 --- a/nixos/modules/config/shells-environment.nix +++ b/nixos/modules/config/shells-environment.nix @@ -42,7 +42,7 @@ in strings. The latter is concatenated, interspersed with colon characters. ''; - type = with types; attrsOf (oneOf [ (listOf (oneOf [ float int str ])) float int str path ]); + type = with types; attrsOf (oneOf [ (listOf (oneOf [ int str ])) int str path ]); apply = mapAttrs (n: v: if isList v then concatMapStringsSep ":" toString v else toString v); };