mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
Merge pull request #13498 from tsion/fish-darwin
Remove fish's kbd dependency on darwin.
This commit is contained in:
@@ -22,8 +22,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postInstall = ''
|
||||
sed -e "s|expr|${coreutils}/bin/expr|" \
|
||||
'' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
|
||||
-e "s|if which unicode_start|if true|" \
|
||||
-e "s|unicode_start|${kbd}/bin/unicode_start|" \
|
||||
'' + ''
|
||||
-i "$out/etc/fish/config.fish"
|
||||
sed -e "s|bc|${bc}/bin/bc|" \
|
||||
-e "s|/usr/bin/seq|${coreutils}/bin/seq|" \
|
||||
|
||||
Reference in New Issue
Block a user