summary refs log tree commit diff
path: root/pkgs/shells/fish
diff options
context:
space:
mode:
authorScott Olson <scott@solson.me>2016-02-26 23:22:34 -0600
committerScott Olson <scott@solson.me>2016-02-28 14:55:51 -0600
commita93a2e23609dcc3fc20c84415219a872222d881f (patch)
treeac5c9d540c746b9b1b048ff32e950f4ecd59e439 /pkgs/shells/fish
parent96425dfa09a7a5ec4556a4a23102c481c72f5a4e (diff)
downloadnixpkgs-a93a2e23609dcc3fc20c84415219a872222d881f.tar
nixpkgs-a93a2e23609dcc3fc20c84415219a872222d881f.tar.gz
nixpkgs-a93a2e23609dcc3fc20c84415219a872222d881f.tar.bz2
nixpkgs-a93a2e23609dcc3fc20c84415219a872222d881f.tar.lz
nixpkgs-a93a2e23609dcc3fc20c84415219a872222d881f.tar.xz
nixpkgs-a93a2e23609dcc3fc20c84415219a872222d881f.tar.zst
nixpkgs-a93a2e23609dcc3fc20c84415219a872222d881f.zip
fish: remove kbd dependency on Darwin
Diffstat (limited to 'pkgs/shells/fish')
-rw-r--r--pkgs/shells/fish/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/shells/fish/default.nix b/pkgs/shells/fish/default.nix
index 11eeb18661c..88754fd95a1 100644
--- a/pkgs/shells/fish/default.nix
+++ b/pkgs/shells/fish/default.nix
@@ -22,8 +22,10 @@ stdenv.mkDerivation rec {
 
   postInstall = ''
     sed -e "s|expr|${coreutils}/bin/expr|" \
+  '' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
         -e "s|if which unicode_start|if true|" \
         -e "s|unicode_start|${kbd}/bin/unicode_start|" \
+  '' + ''
         -i "$out/etc/fish/config.fish"
     sed -e "s|bc|${bc}/bin/bc|" \
         -e "s|/usr/bin/seq|${coreutils}/bin/seq|" \