From 16cb542828c158aff0599e1c319c5ecca6d65664 Mon Sep 17 00:00:00 2001 From: Robin Stumm Date: Sun, 12 Feb 2017 01:18:37 +0100 Subject: [PATCH] home-environment: fix evaluation error on undefined `lang.base` --- modules/home-environment.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/home-environment.nix b/modules/home-environment.nix index 4a770a59a..70889eb52 100644 --- a/modules/home-environment.nix +++ b/modules/home-environment.nix @@ -9,7 +9,8 @@ let languageSubModule = types.submodule { options = { base = mkOption { - type = types.str; + default = null; + type = types.nullOr types.str; description = '' The language to use unless overridden by a more specific option. '';