shell: fix darwin check
Alan Pearce alan@alanpearce.eu
Wed, 14 Nov 2018 15:56:02 +0100
1 files changed, 3 insertions(+), 1 deletions(-)
jump to
M modules/programs/shell.nix → modules/programs/shell.nix
@@ -5,7 +5,9 @@ enable = true; 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