fish-foreign-env: remove alias to incompatible package

The fish-foreign-env and the fishPlugins.foreign-env packages aren't
compatible due to changes in directory layout.

It's better to remove the alias so that the evaluation explicitly fails
instead of allowing silent runtime breakage.

GitHub: see https://github.com/NixOS/nixpkgs/pull/107834#issuecomment-756995696
GitHub: see https://github.com/LnL7/nix-darwin/issues/269
GitHub: see https://github.com/nix-community/home-manager/issues/1701
GitHub: see https://github.com/nix-community/home-manager/issues/1702
This commit is contained in:
pacien 2021-01-10 00:47:24 +01:00
parent d94921db12
commit 052f58ffae
2 changed files with 3 additions and 3 deletions

View File

@ -311,8 +311,8 @@
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<package>fish-foreign-env</package> is now an alias for the The <package>fish-foreign-env</package> package has been replaced with
<package>fishPlugins.foreign-env</package> package, in which the fish <package>fishPlugins.foreign-env</package>, in which the fish
functions have been relocated to the functions have been relocated to the
<literal>vendor_functions.d</literal> directory to be loaded automatically. <literal>vendor_functions.d</literal> directory to be loaded automatically.
</para> </para>

View File

@ -158,7 +158,7 @@ mapAliases ({
firefoxWrapper = firefox; # 2015-09 firefoxWrapper = firefox; # 2015-09
firestr = throw "firestr has been removed."; # added 2019-12-08 firestr = throw "firestr has been removed."; # added 2019-12-08
fish-foreign-env = fishPlugins.foreign-env; # added 2020-12-29 fish-foreign-env = throw "fish-foreign-env has been replaced with fishPlugins.foreign-env"; # added 2020-12-29, modified 2021-01-10
flameGraph = flamegraph; # added 2018-04-25 flameGraph = flamegraph; # added 2018-04-25
flvtool2 = throw "flvtool2 has been removed."; # added 2020-11-03 flvtool2 = throw "flvtool2 has been removed."; # added 2020-11-03
foldingathome = fahclient; # added 2020-09-03 foldingathome = fahclient; # added 2020-09-03