From 83cecc19118a232825bea1d54d81dc6c1400552e Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 14 Nov 2018 15:56:02 +0100 Subject: shell: fix darwin check --- modules/programs/shell.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/programs') diff --git a/modules/programs/shell.nix b/modules/programs/shell.nix index d59f9fb5..ab55e0c4 100644 --- a/modules/programs/shell.nix +++ b/modules/programs/shell.nix @@ -5,7 +5,9 @@ promptInit = ""; }; programs.bash.enableCompletion = true; - programs.vim.enable = pkgs.stdenv.isDarwin; + programs.vim = pkgs.lib.attrsets.optionalAttrs pkgs.stdenv.isDarwin { + enable = true; + }; environment.systemPackages = with pkgs; [ pv -- cgit 1.4.1