fish: only use kbd on linux

This commit is contained in:
Eric Seidel 2016-04-25 09:13:06 -07:00
parent 2177bf3074
commit 7e92ae903e

View File

@ -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"