mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
bbedit: preserve code signature by stripping APFS stream files
Preserve vendor code signature by removing APFS alternate data streams extracted by 7zz during unpackPhase. Assisted-by: Gemini 3.8 Flash <gemini@google.com>
This commit is contained in:
@@ -18,6 +18,11 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [ _7zz ];
|
||||
|
||||
# 7zz extracts APFS alternate data streams as separate files, breaking the seal
|
||||
postUnpack = ''
|
||||
find . -name "*:com.apple.*" -delete
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
|
||||
Reference in New Issue
Block a user