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

Nix-env not working as expected; might be broken? #371239

Open
Anhsirkz opened this issue Jan 5, 2025 · 1 comment
Open

Nix-env not working as expected; might be broken? #371239

Anhsirkz opened this issue Jan 5, 2025 · 1 comment
Labels
0.kind: question Requests for a specific question to be answered

Comments

@Anhsirkz
Copy link

Anhsirkz commented Jan 5, 2025

Issue description

I Tried updating Freetube version v0.21.2 Beta To the newest version using nix-env -u nixpkgs.freetube.
This resulted in warning: name collision in input Nix expressions, skipping '/nix/store/akjcpy88....

Steps to reproduce

nix-env -iA nixpkgs.freetube results in
warning: name collision in input Nix expressions, skipping '/nix/store/akjcpy88.... [30 times] evaluation warning:[...] replacing old 'freetube-0.21.2' installing 'freetube-0.21.2'

which freetube shows that the program should be installed in ~/.nix-profile/bin/freetube
Another odd behaviour is that I cannot call nix from the default zsh shell, but only from the fish shell.
nix-env -u also answers with [30 times] evaluation warning:[...]

nix-env -iA nixpkgs.st results in the following error: the user '_nixbld1' in the group 'nixbld' does not exist.

Is my nix install broken of some sorts?
What is the cleanest way to get Nix back to a working state?
Thanks.

Technical details

  • system: "aarch64-darwin"
  • host os: Darwin 24.2.0, macOS 15.2
  • multi-user?: no
  • sandbox: yes
  • version: nix-env (Nix) 2.23.0
  • channels(root): "nixpkgs"
  • nixpkgs: ~/.nix-defexpr/channels/nixpkgs
@donovanglover donovanglover added the 0.kind: question Requests for a specific question to be answered label Jan 5, 2025
@Anhsirkz
Copy link
Author

Anhsirkz commented Feb 5, 2025

The script curl --proto '=https' --tlsv1.2 -sSf -L https://github.com/NixOS/nix/raw/master/scripts/sequoia-nixbld-user-migration.sh | bash - from
NixOS/nix#10892 Did not work.

  • system: "aarch64-darwin"
  • host os: Darwin 24.3.0, macOS 15.3
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Nix) 2.23.0
  • channels(root): "nixpkgs"
  • nixpkgs: ~/.nix-defexpr/channels/nixpkgs

I updated my computer to a newer version of MacOS.
Notice the change in sandbox and multi-user? after running the script ?!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: question Requests for a specific question to be answered
Projects
None yet
Development

No branches or pull requests

2 participants