dotnet: fix stripping on darwin

Fixes: 88e8d87fed
This commit is contained in:
David McFarland 2024-03-24 22:58:13 -03:00
parent 9e556b2ffb
commit 3801f8df06

View file

@ -251,6 +251,11 @@ in stdenv.mkDerivation rec {
substituteInPlace \
src/runtime/src/native/libs/System.Security.Cryptography.Native.Apple/CMakeLists.txt \
--replace-fail 'xcrun swiftc' 'xcrun swiftc -module-cache-path "$ENV{HOME}/.cache/module-cache"'
# fix: strip: error: unknown argument '-n'
substituteInPlace \
src/runtime/eng/native/functions.cmake \
--replace-fail ' -no_code_signature_warning' ""
'';
prepFlags = [