From 9d7339877a6d615fad1a0dd488e9d2dc7197fa63 Mon Sep 17 00:00:00 2001 From: figsoda Date: Tue, 27 Dec 2022 21:09:10 -0500 Subject: [PATCH] nixos/environment: fix variables type --- 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 d5ec420f3044..bc6583442edf 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 [ 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}"); };