Skip to content
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

bug: program.opam.enableFishIntegration results in error #3595

Closed
2 tasks done
bikallem opened this issue Jan 15, 2023 · 0 comments · Fixed by #3597
Closed
2 tasks done

bug: program.opam.enableFishIntegration results in error #3595

bikallem opened this issue Jan 15, 2023 · 0 comments · Fixed by #3597
Assignees
Labels
bug triage Issues or feature request that have not been triaged yet

Comments

@bikallem
Copy link
Contributor

Are you following the right branch?

  • My Nixpkgs and Home Manager versions are in sync

Is there an existing issue for this?

  • I have searched the existing issues

Issue description

The following results in error:

programs.opam = {
  enable = true;
  enableFishIntegration = true;
};

gives an error below:

~/.config/fish/config.fish (line 12): $(...) is not supported. In fish, please use '(/nix/store/8asq…)'.
eval "$(/nix/store/8asqgnhs89wzyjvs8p1n5hvxn7lkn9wa-opam-2.1.3/bin/opam env --shell=fish)"
      ^
from sourcing file ~/.config/fish/config.fish
	called during startup
source: Error while reading file “/home/user/.config/fish/config.fish”

The error from fish suggests "$ ... " is not needed.

fish version is 3.6.0.

https://nix-community.github.io/home-manager/options.html#opt-programs.opam.enableFishIntegration

Maintainer CC

@alois31 @marsam

System information

- system: `"x86_64-linux"`
 - host os: `Linux 5.15.0-58-generic, Ubuntu, 22.04.1 LTS (Jammy Jellyfish), nobuild`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.12.0`
 - channels(root): `"nixpkgs"`
 - channels(bikal): `"home-manager-22.11.tar.gz"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`
@bikallem bikallem added bug triage Issues or feature request that have not been triaged yet labels Jan 15, 2023
bikallem added a commit to bikallem/home-manager that referenced this issue Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage Issues or feature request that have not been triaged yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants