Suggested upgrade-nix
install method fails on macOS #431
Labels
No labels
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/store
bug
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
RFD
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
ux
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#431
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
I tried running the recommended install command for macOS systems with existing nix installations:
(adjusted slightly to work around frustrating sudo config that appears to break
--preserve-env
)but I got the following error:
Steps To Reproduce
Expected behavior
I wanted lix to be installed :(
nix --version
outputAdditional context
--show-trace output:
Triaged to being that the
nix run
command, regardless ofupgrade-nix
, does not work, because it cannot successfully evaluate the lix derivation itself. This is probably a bug or behaviour change in Nix 2.11, which we probably should not bother to root cause because 2.11 is so old.In a similar situation to this, you can probably run the installer to perform the upgrade by that way instead.
It should probably fix things in this exact situation if you pass
--impure
, even if really it should not be necessary; on matrix we found that it fixes thenix run
.