New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
programs.fish
broken on nixpkgs unstable
#1702
Comments
#1701 Is the same issue. |
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 NixOS#107834 (comment) GitHub: see LnL7/nix-darwin#269 GitHub: see nix-community/home-manager#1701 GitHub: see nix-community/home-manager#1702
Hey all- today I bumped into a possibly related issue building my config from nixpkgs unstable (I have home-manager installed as a nixos module, in case that's important):
Here's the whole trace:
Any thoughts? |
I ran into the same issue, even after upgrading to the latest nixpkgs on the unstable channel a few hours ago. $ nixos-version
21.03pre263749.b3616bd9640 (Okapi)
$ nix-channel --list
home-manager https://github.com/rycee/home-manager/archive/master.tar.gz I tried adding Any pointers on how to fix this much appreciated. |
I fixed this by adding this to my fish-foreign-env = pkgs.fishPlugins.foreign-env; |
This is not a fix. See NixOS/nixpkgs#108897.
|
Issue description
Changes is nixpkgs
fish-foreign-env
brakesprograms.fish
sourcing of home manager.Meta
Maintainer CC
@rycee
Technical details
When lauching a shell with
programs.fish
enabled on unstable nixpkgsNixOS/nixpkgs@d94921d seems to be responsible.
Changing:
home-manager/modules/programs/fish.nix
Line 346 in a361541
to the version currently in the nixpkgs fish module seems to fix the problem:
The text was updated successfully, but these errors were encountered: