darwin.postFixupSignHook: use absolute path to codesign_allocate#148282
Closed
sternenseemann wants to merge 1 commit intoNixOS:masterfrom
Closed
darwin.postFixupSignHook: use absolute path to codesign_allocate#148282sternenseemann wants to merge 1 commit intoNixOS:masterfrom
sternenseemann wants to merge 1 commit intoNixOS:masterfrom
Conversation
Member
Author
|
@ofborg build pkgsCross.aarch64-darwin.hello hello |
13 tasks
Member
|
@ofborg build tests.haskell.writers |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/repairing-codesign-allocate-on-darwin/16326/6 |
Member
Author
|
This is broken apparently: |
Member
|
Any progress on fixing this? It would help with #172249 (comment) (EDIT: this PR fixes #148189) |
Member
Author
|
Someone with the appropriate hardware would need to pick this up, I can't look into the build problems personally. |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/repairing-codesign-allocate-on-darwin/16326/10 |
13 tasks
sternenseemann
added a commit
to sternenseemann/nixpkgs
that referenced
this pull request
Mar 13, 2023
codesign_allocate is assumed to be in PATH: NixOS#154203 NixOS#148189 Using an absolute reference in post-link-sign-hook would be another possibility, but hasn't been fruitful so far: NixOS#148282 NixOS#208120
12 tasks
sternenseemann
added a commit
that referenced
this pull request
Mar 14, 2023
12 tasks
Contributor
|
This should be superseded by #238323. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation for this change
Eliminate the assumption that
codesign_allocateis inPATHwhen running the hook. which breaks the haskell writers atm: https://hydra.nixos.org/build/159988248.Untested so far.
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes