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-profile.fish: set --local NIX_LINK #12422

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

ilya-bobyr
Copy link
Contributor

Motivation

This is a minor cleanup.

Using set --local is better than using set/set --erase.
--local will preserve any existing NIX_LINK value.
And the local variable is automatically removed for any execution path.

Context

More idiomatic fish style.


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

Using `set --local` is better than using `set`/`set --erase`.  `--local`
will preserve any existing `NIX_LINK` value.  And the local variable is
automatically removed for any execution path.
@ilya-bobyr ilya-bobyr requested a review from edolstra as a code owner February 5, 2025 00:10
@edolstra edolstra merged commit d2425c5 into NixOS:master Feb 5, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants