diff options
author | Alan Pearce | 2018-11-14 15:56:02 +0100 |
---|---|---|
committer | Alan Pearce | 2018-11-14 15:56:02 +0100 |
commit | 83cecc19118a232825bea1d54d81dc6c1400552e (patch) | |
tree | 2a54c1dc89463f77db00edcee8cdb2cd79f026c9 | |
parent | 460eae59fd62fbc8430b5e34bb6c82afcd71a568 (diff) | |
download | nixfiles-83cecc19118a232825bea1d54d81dc6c1400552e.tar.lz nixfiles-83cecc19118a232825bea1d54d81dc6c1400552e.tar.zst nixfiles-83cecc19118a232825bea1d54d81dc6c1400552e.zip |
shell: fix darwin check
-rw-r--r-- | modules/programs/shell.nix | 4 |
1 files changed, 3 insertions, 1 deletions
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 |