Combine substituteInPlace on Makefile

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
JB Gosselin 2022-12-18 01:13:08 +01:00 committed by GitHub
parent 1a5fda5f2b
commit 788a5c31da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,8 +27,9 @@ buildGoModule rec {
# clean fails with read only vendor dir
postPatch = ''
substituteInPlace Makefile --replace 'binaries: clean' 'binaries:'
substituteInPlace Makefile --replace 'codesign --entitlements vz.entitlements -s -' 'codesign --force --entitlements vz.entitlements -s -'
substituteInPlace Makefile \
--replace 'binaries: clean' 'binaries:' \
--replace 'codesign --entitlements vz.entitlements -s -' 'codesign --force --entitlements vz.entitlements -s -'
'';
# It attaches entitlements with codesign and strip removes those,