fish: remove kbd dependency on Darwin
This commit is contained in:
parent
96425dfa09
commit
a93a2e2360
@ -22,8 +22,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
sed -e "s|expr|${coreutils}/bin/expr|" \
|
sed -e "s|expr|${coreutils}/bin/expr|" \
|
||||||
|
'' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
|
||||||
-e "s|if which unicode_start|if true|" \
|
-e "s|if which unicode_start|if true|" \
|
||||||
-e "s|unicode_start|${kbd}/bin/unicode_start|" \
|
-e "s|unicode_start|${kbd}/bin/unicode_start|" \
|
||||||
|
'' + ''
|
||||||
-i "$out/etc/fish/config.fish"
|
-i "$out/etc/fish/config.fish"
|
||||||
sed -e "s|bc|${bc}/bin/bc|" \
|
sed -e "s|bc|${bc}/bin/bc|" \
|
||||||
-e "s|/usr/bin/seq|${coreutils}/bin/seq|" \
|
-e "s|/usr/bin/seq|${coreutils}/bin/seq|" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user