-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removeReferencesToVendoredSources: manually sign on aarch64-darwin
- Loading branch information
Simon Zlender
committed
Oct 13, 2023
1 parent
25c0d96
commit 14d48cf
Showing
2 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
{ makeSetupHook | ||
{ darwin | ||
, lib | ||
, makeSetupHook | ||
, stdenv | ||
}: | ||
|
||
let | ||
darwinCodeSign = stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64; | ||
in | ||
makeSetupHook | ||
{ | ||
name = "removeReferencesToVendoredSourcesHook"; | ||
substitutions = { | ||
storeDir = builtins.storeDir; | ||
signingUtils = if darwinCodeSign then darwin.signingUtils else null; | ||
}; | ||
} ./removeReferencesToVendoredSourcesHook.sh |
This file contains 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