Skip to content

devShellTools: add environment functions#324789

Merged
roberth merged 11 commits intomasterfrom
devShellTools-env
Jul 29, 2024
Merged

devShellTools: add environment functions#324789
roberth merged 11 commits intomasterfrom
devShellTools-env

Conversation

@roberth
Copy link
Copy Markdown
Member

@roberth roberth commented Jul 5, 2024

Description of changes

Moves the environment functions, adds tests, docs, and fixes.
See commit messages.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@roberth roberth requested a review from infinisil July 5, 2024 11:16
@github-actions github-actions bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: documentation This PR adds or changes documentation labels Jul 5, 2024
@roberth
Copy link
Copy Markdown
Member Author

roberth commented Jul 5, 2024

@ofborg build tests.devShellTools

Included in the above, but check it separately this time:

@ofborg build nixosTests.docker-tools-nix-shell

@roberth roberth force-pushed the devShellTools-env branch 3 times, most recently from 8355b09 to 2315aee Compare July 5, 2024 11:36
This was referenced Jul 5, 2024
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Jul 5, 2024
@nixos-discourse
Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/4215

@nixos-discourse
Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/little-bites-of-nix-with-mise-seeking-design-feedback/48785/2

@nixos-discourse
Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/2024-07-08-nix-team-meeting-minutes/49099/1

Copy link
Copy Markdown
Member

@tie tie left a comment

Choose a reason for hiding this comment

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

Tested with nix build --file . tests.devShellTools and also nix build --file . nixosTests.docker-tools-nix-shell on aarch64-linux after adjusting it to build for all systems.

@roberth roberth force-pushed the devShellTools-env branch from 3c235f2 to ae1cef4 Compare July 28, 2024 21:29
roberth and others added 2 commits July 29, 2024 00:23
The docker-tools test, where this originates, was not run on aarch64-linux, but this is an artifact of its age more so than anything else.

Co-authored-by: Ivan Trubach <mr.trubach@icloud.com>
@roberth roberth force-pushed the devShellTools-env branch from d9c740e to 1a70c80 Compare July 28, 2024 22:23
@ofborg ofborg bot added 2.status: merge conflict This PR has merge conflicts with the target branch and removed 2.status: merge conflict This PR has merge conflicts with the target branch labels Jul 28, 2024
@roberth roberth merged commit c38f9ee into master Jul 29, 2024
@roberth roberth deleted the devShellTools-env branch July 29, 2024 08:07
@mightyiam
Copy link
Copy Markdown

Thank you, @roberth .

@roberth roberth mentioned this pull request Jul 29, 2024
20 tasks
@roberth
Copy link
Copy Markdown
Member Author

roberth commented Jul 29, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: documentation This PR adds or changes documentation 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants