summary refs log tree commit diff
path: root/nixos/modules/config/shells-environment.nix
diff options
context:
space:
mode:
authorEric Sagnes <eric.sagnes@gmail.com>2016-11-04 13:33:59 +0900
committerNicolas B. Pierron <nicolas.b.pierron@gmail.com>2016-11-05 21:46:42 +0100
commit1fe1cdecb24de63be577a2df538da03bbe96cd1d (patch)
tree885c9bd93bad613bcd842d8b006d1f6b73ffe2c8 /nixos/modules/config/shells-environment.nix
parentf74d48e9fe7095244bb730dc5501321eedbd1719 (diff)
downloadnixlib-1fe1cdecb24de63be577a2df538da03bbe96cd1d.tar
nixlib-1fe1cdecb24de63be577a2df538da03bbe96cd1d.tar.gz
nixlib-1fe1cdecb24de63be577a2df538da03bbe96cd1d.tar.bz2
nixlib-1fe1cdecb24de63be577a2df538da03bbe96cd1d.tar.lz
nixlib-1fe1cdecb24de63be577a2df538da03bbe96cd1d.tar.xz
nixlib-1fe1cdecb24de63be577a2df538da03bbe96cd1d.tar.zst
nixlib-1fe1cdecb24de63be577a2df538da03bbe96cd1d.zip
types: loeOf -> listOf
Diffstat (limited to 'nixos/modules/config/shells-environment.nix')
-rw-r--r--nixos/modules/config/shells-environment.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/config/shells-environment.nix b/nixos/modules/config/shells-environment.nix
index f458bc39adaa..8147fed39d09 100644
--- a/nixos/modules/config/shells-environment.nix
+++ b/nixos/modules/config/shells-environment.nix
@@ -41,7 +41,7 @@ in
         strings.  The latter is concatenated, interspersed with colon
         characters.
       '';
-      type = types.attrsOf (types.loeOf types.str);
+      type = with types; attrsOf (either str (listOf str));
       apply = mapAttrs (n: v: if isList v then concatStringsSep ":" v else v);
     };