Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/nixPublic

nix-profile.fish: $NIX_STATE_HOME: Warn about old .nix-profile#14810

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
ilya-bobyr wants to merge1 commit intoNixOS:master
base:master
Choose a base branch
Loading
fromilya-bobyr:pr/nix-fish-NIX_STATE_HOME-check-new-profile-location

Conversation

@ilya-bobyr
Copy link
Contributor

Motivation

It seems reasonable to check if both.nix-profile and.local/state/nix/profile are present when$NIX_STATE_HOME is set.

Even more so,$XDG_STATE_HOME is used in the$NIX_LINK_NEW logic, that was effectively disabled innix-profile.fish.

Note that.local/state/nix/profile is actually an incorrect path, it will be fixed in a subsequent commit.

Context

This is a follow-up for changes in#13245.


Add 👍 topull requests you find important.

The Nix maintainer team uses aGitHub project board toschedule and track reviews.

It seems reasonable to check if both `.nix-profile` and`.local/state/nix/profile` are present when `$NIX_STATE_HOME` is set.Even more so, `$XDG_STATE_HOME` is used in the `$NIX_LINK_NEW` logic,that was effectively disabled in `nix-profile.fish`.Note that `.local/state/nix/profile` is actually an incorrect path, itwill be fixed in a subsequent commit.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@edolstraedolstraAwaiting requested review from edolstraedolstra is a code owner

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@ilya-bobyr

[8]ページ先頭

©2009-2025 Movatter.jp