Skip to content

appimageTools.wrapAppImage: default produced derivations to sourceProvenance binaryNativeCode#177308

Merged
risicle merged 1 commit intoNixOS:masterfrom
risicle:ris-native-source-provenance-appimage
Jun 20, 2022
Merged

appimageTools.wrapAppImage: default produced derivations to sourceProvenance binaryNativeCode#177308
risicle merged 1 commit intoNixOS:masterfrom
risicle:ris-native-source-provenance-appimage

Conversation

@risicle
Copy link
Contributor

@risicle risicle commented Jun 11, 2022

Description of changes

This still allows special cases to override their sourceProvenance, but in the vast vast majority of cases AppImages will contain opaque binary native code.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • 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/)
  • 22.11 Release Notes (or backporting 22.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
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Jun 11, 2022
Copy link
Contributor

@kevincox kevincox left a comment

Choose a reason for hiding this comment

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

I'm ok with this. But please give a week or so for objections.

@@ -37,14 +37,24 @@ rec {
extractType2 = extract;
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it worth trying to do some analysis to see if there are exceptions? Or will we apply those in follow ups (if they exist)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm really hoping this is all just a first pass and maintainers will continually refine things. But I've left in the possibility of override so they can.

@bobby285271 bobby285271 added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jun 15, 2022
@bobby285271 bobby285271 added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Jun 18, 2022
@risicle risicle merged commit 0886438 into NixOS:master Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants