From 052f58ffae317bf5b103ae502a72cc6157ebdea4 Mon Sep 17 00:00:00 2001 From: pacien Date: Sun, 10 Jan 2021 00:47:24 +0100 Subject: [PATCH] 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 --- nixos/doc/manual/release-notes/rl-2103.xml | 4 ++-- pkgs/top-level/aliases.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-2103.xml b/nixos/doc/manual/release-notes/rl-2103.xml index dbc4ecd6930e..aa26389e3ca2 100644 --- a/nixos/doc/manual/release-notes/rl-2103.xml +++ b/nixos/doc/manual/release-notes/rl-2103.xml @@ -311,8 +311,8 @@ - fish-foreign-env is now an alias for the - fishPlugins.foreign-env package, in which the fish + The fish-foreign-env package has been replaced with + fishPlugins.foreign-env, in which the fish functions have been relocated to the vendor_functions.d directory to be loaded automatically. diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 01c80ea3d804..5b5a91c116a3 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -158,7 +158,7 @@ mapAliases ({ firefoxWrapper = firefox; # 2015-09 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 flvtool2 = throw "flvtool2 has been removed."; # added 2020-11-03 foldingathome = fahclient; # added 2020-09-03