From 7e92ae903e10cec92f33e288050cc9b5d004fc16 Mon Sep 17 00:00:00 2001 From: Eric Seidel Date: Mon, 25 Apr 2016 09:13:06 -0700 Subject: fish: only use kbd on linux --- pkgs/shells/fish/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs/shells/fish') diff --git a/pkgs/shells/fish/default.nix b/pkgs/shells/fish/default.nix index 5bb7100a620..8916cca0f04 100644 --- a/pkgs/shells/fish/default.nix +++ b/pkgs/shells/fish/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { sed -e "s|expr|${coreutils}/bin/expr|" \ '' + stdenv.lib.optionalString (!stdenv.isDarwin) '' -e "s|if which unicode_start|if true|" \ + '' + stdenv.lib.optionalString stdenv.isLinux '' -e "s|unicode_start|${kbd}/bin/unicode_start|" \ '' + '' -i "$out/etc/fish/config.fish" -- cgit 1.4.1