Skip to content

sbom2dot: Remove meta.mainProgram override; sbom4files: Set meta.mainProgram in python3Packages.sbom4files instead#471631

Merged
SuperSandro2000 merged 2 commits intoNixOS:masterfrom
azuwis:push-zrskmvozzvwn
Jan 9, 2026
Merged

sbom2dot: Remove meta.mainProgram override; sbom4files: Set meta.mainProgram in python3Packages.sbom4files instead#471631
SuperSandro2000 merged 2 commits intoNixOS:masterfrom
azuwis:push-zrskmvozzvwn

Conversation

@azuwis
Copy link
Contributor

@azuwis azuwis commented Dec 17, 2025

Quote from NixOS 25.11 release notes:

meta.mainProgram is now used to determine the NIX_MAIN_PROGRAM environment variable. This means that changing it can now lead to a package rebuild.

Make sbom4files and python3Packages.sbom4files the same derivation again.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

Quote from NixOS 25.11 release notes:

> meta.mainProgram is now used to determine the NIX_MAIN_PROGRAM environment variable. This means that changing it can now lead to a package rebuild.

Make sbom4files and python3Packages.sbom4files the same derivation again.
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 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 This PR causes 1 package to rebuild on Linux. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 6.topic: python Python is a high-level, general-purpose programming language. labels Dec 17, 2025
@nixpkgs-ci nixpkgs-ci bot removed the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Dec 18, 2025
@nixpkgs-ci nixpkgs-ci bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Dec 18, 2025
@SuperSandro2000 SuperSandro2000 added this pull request to the merge queue Jan 9, 2026
Merged via the queue into NixOS:master with commit c75cb4b Jan 9, 2026
42 of 43 checks passed
@azuwis azuwis deleted the push-zrskmvozzvwn branch January 10, 2026 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 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. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants