1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00

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"