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

Clean up env var logic in preparation for Windows #10400

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

Ericson2314
Copy link
Member

Motivation

#1320

Context

It's a little weird we don't check the return status for these, but changing that would introduce risk so I did not.

Priorities and Process

Add 👍 to pull requests you find important.

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

@Ericson2314 Ericson2314 requested a review from edolstra as a code owner April 4, 2024 16:50
@github-actions github-actions bot added the new-cli Relating to the "nix" command label Apr 4, 2024
@Ericson2314 Ericson2314 mentioned this pull request Apr 4, 2024
8 tasks
Copy link
Member

@thufschmitt thufschmitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small tidbits, looks good overall

src/libutil/unix/environment-variables.cc Outdated Show resolved Hide resolved
src/libutil/unix/environment-variables.cc Outdated Show resolved Hide resolved
It's a little weird we don't check the return status for these, but
changing that would introduce risk so I did not.

Co-authored-by: Théophane Hufschmitt <[email protected]>
@Ericson2314 Ericson2314 enabled auto-merge April 4, 2024 22:25
@Ericson2314 Ericson2314 merged commit 19016c7 into NixOS:master Apr 4, 2024
8 checks passed
@Ericson2314 Ericson2314 deleted the better-env-var branch April 4, 2024 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-cli Relating to the "nix" command windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants