Skip to content

Conversation

dsg22
Copy link
Contributor

@dsg22 dsg22 commented Sep 3, 2025

Add postFixupResholved attribute to allow fixups on the resholved derivation. This is useful if referencing the outpath of the resholved derivation is needed. For example, I needed this ability to update systemd units and .desktop files that will run the resholved scripts.

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.

Add postFixupResholved attribute to allow fixups on the resholved derivation. This
is useful if referencing the outpath of the resholved derivation is needed.
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. labels Sep 3, 2025
@nixpkgs-ci nixpkgs-ci bot added the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Sep 3, 2025
@abathur
Copy link
Member

abathur commented Sep 4, 2025

I agree with adding an affordance for this, but I want to ponder the name for a little bit before we move forward. Poke me if I don't get back within a few days? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
9.needs: reviewer This PR currently has no reviewers requested and needs attention. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants