running nix profile
against /nix/var/nix/profiles/default breaks nix upgrade-nix
#16
Labels
No labels
Area/build-packaging
Area/cli
Area/evaluator
Area/flakes
Area/language
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/store
bug
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#16
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?
The cause for this is that
nix upgrade-nix
shells out tonix-env
, which explodes if the default profile was fromnix profile
.I fixed someone's Nix install with this:
Wondering if we should have a command that unbreaks this particular hilarious issue.
This could be part of some general analogue to things like
brew doctor
nix doctor
existssee also #17
i think that this kind of maintenance should actually be the job of the installer.
Or if not the job of the installer then maybe
nix upgrade-nix
should just transparently handle either kind of profile