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

Restore detailed Nix CLI version #12498

Merged
merged 3 commits into from
Feb 18, 2025
Merged

Restore detailed Nix CLI version #12498

merged 3 commits into from
Feb 18, 2025

Conversation

roberth
Copy link
Member

@roberth roberth commented Feb 18, 2025

... as intended.

Requirements:

  • don't build fresh libraries for each git commit
  • have git commit in the CLI

Bug:

  • echo ${version} went into the wrong file
    => use the fact that it's a symlink, not just for reading but also for writing.

Motivation

Context


Add 👍 to pull requests you find important.

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

... as intended.

Requirements:
- don't build fresh libraries for each git commit
- have git commit in the CLI

Bug:
- echo ${version} went into the wrong file => use the fact that it's
  a symlink, not just for reading but also for writing.
@roberth roberth added build-problem Nix fails to compile or test; also improvements to build process backport 2.26-maintenance Automatically creates a PR against the branch labels Feb 18, 2025
@github-actions github-actions bot added the new-cli Relating to the "nix" command label Feb 18, 2025
''
chmod u+w ./.version
echo ${version} > ../../../.version
Copy link
Member Author

Choose a reason for hiding this comment

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

The bad target.

I'll apply this change to all components.

This way it's easier to get right. See previous commit.
@github-actions github-actions bot added with-tests Issues related to testing. PRs with tests have some priority fetching Networking with the outside (non-Nix) world, input locking c api Nix as a C library with a stable interface labels Feb 18, 2025
@Ericson2314 Ericson2314 merged commit da51098 into master Feb 18, 2025
21 checks passed
@Ericson2314 Ericson2314 deleted the fix-cli-fine-version branch February 18, 2025 16:34
mergify bot added a commit that referenced this pull request Feb 19, 2025
…2498

Restore detailed Nix CLI version (backport #12498)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.26-maintenance Automatically creates a PR against the branch build-problem Nix fails to compile or test; also improvements to build process c api Nix as a C library with a stable interface fetching Networking with the outside (non-Nix) world, input locking new-cli Relating to the "nix" command with-tests Issues related to testing. PRs with tests have some priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants