Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sign executables after patching revision on Darwin
#1580 introduced patching of resulting binary in a separate derivation that ends up with bad (or missing) code signature which prevents it from running: % nix run zsh: killed nix run and Console.app revealing the reason: Exception Type: EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid)) Exception Codes: UNKNOWN_0x32 at 0x00000001054e4199 Exception Codes: 0x0000000000000032, 0x00000001054e4199 This change uses autoSignDarwinBinariesHook to sign the result that seems to fix the problem.
- Loading branch information