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:
parent
2177bf3074
commit
7e92ae903e
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue