-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Getting error: attribute 'unsafeDiscardStringContext' missing while full update on Linux #4704
Comments
Ran into now also 😅 Also nix-env (Nix) 2.3.10 // Edit: Run now again curl -L https://nixos.org/nix/install | sh and stayed on stable channel |
|
I believe this is caused by NixOS/nixpkgs#118481 , where nix is being replaced by an "upgrade" to a broken statically-linked nix. While the bug is already closed, the PR hasn't yet rolled out to nixpkgs-unstable. https://nixpk.gs/pr-tracker.html?pr=119317 |
So, once this bug is fixed, how to we update to the latest version if the update mechanism is broken? Or perhaps I'm misunderstanding the ramifications of this issue. |
@adworacz you can rollback with |
Excellent, @arsfeld, that's exactly what I needed. |
If you update nixpkgs-unstable this should be fixed now. |
Confirmed - this is working just fine for me after upgrading. |
Describe the bug
I usually do
nix-channel --update
andnix-env --prebuilt-only --upgrade
to upgrade Nix and the installed dependencies. I started getting this error around 4/5 days ago:Steps To Reproduce
Expected behavior
To be able to update without error(s).
nix-env --version
outputThe text was updated successfully, but these errors were encountered: