@@ -11,15 +11,17 @@ stdenv.mkDerivation rec {
1111 sha256 = "0lwp6hy3kfk7xfx4xvbk1ir8zkzm7gfjbm4bf6xg1y6iw9jq9dnl";
1212 };
1313
14− buildCommand = ''
14+ installPhase = ''
1515 mkdir -p $out/share/fish-foreign-env/functions/
16− cp $src/functions/* $out/share/fish-foreign-env/functions/
16+ cp functions/* $out/share/fish-foreign-env/functions/
1717 sed -e "s|sed|${gnused}/bin/sed|" \
1818 -e "s|bash|${bash}/bin/bash|" \
1919 -e "s|\| tr|\| ${coreutils}/bin/tr|" \
2020 -i $out/share/fish-foreign-env/functions/*
2121 '';
2222
23+ patches = [ ./hide-path-warnings.patch ];
24+
2325 meta = with stdenv.lib; {
2426 description = "A foreign environment interface for Fish shell";
2527 license = licenses.mit;