mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
Combine substituteInPlace
on Makefile
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
1a5fda5f2b
commit
788a5c31da
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user