git.iko.soy/typeable/nixpkgs
on master help sign in
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

commit052f58ffae317bf5b103ae502a72cc6157ebdea4 authorpacien <pacien.trangirard@pacien.net> dateSun 10 Jan 2021, 00:47 (6 years ago) parentd94921d
2 files changed+3−3
nixos/doc/manual/release-notes/rl-2103.xml+2−2 pkgs/top-level/aliases.nix+1−1
nixos/doc/manual/release-notes/rl-2103.xml+2−2
@@ -311,8 +311,8 @@
311311 </listitem>
312312 <listitem>
313313 <para>
314− <package>fish-foreign-env</package> is now an alias for the
315− <package>fishPlugins.foreign-env</package> package, in which the fish
314+ The <package>fish-foreign-env</package> package has been replaced with
315+ <package>fishPlugins.foreign-env</package>, in which the fish
316316 functions have been relocated to the
317317 <literal>vendor_functions.d</literal> directory to be loaded automatically.
318318 </para>
pkgs/top-level/aliases.nix+1−1
@@ -158,7 +158,7 @@ mapAliases ({
158158 firefoxWrapper = firefox; # 2015-09
159159
160160 firestr = throw "firestr has been removed."; # added 2019-12-08
161− fish-foreign-env = fishPlugins.foreign-env; # added 2020-12-29
161+ fish-foreign-env = throw "fish-foreign-env has been replaced with fishPlugins.foreign-env"; # added 2020-12-29, modified 2021-01-10
162162 flameGraph = flamegraph; # added 2018-04-25
163163 flvtool2 = throw "flvtool2 has been removed."; # added 2020-11-03
164164 foldingathome = fahclient; # added 2020-09-03