pinentry-mac: fix build

This commit is contained in:
sempiternal-aurora
2026-07-02 17:28:29 +10:00
parent 17cafcb365
commit 3aa4bf236f

View File

@@ -10,6 +10,8 @@
common-updater-scripts,
writers,
re-plistbuddy,
# TODO: Clean up on `staging`
llvmPackages,
}:
stdenv.mkDerivation rec {
@@ -47,6 +49,8 @@ stdenv.mkDerivation rec {
makeBinaryWrapper
texinfo
re-plistbuddy
# TODO: Clean up on `staging`
llvmPackages.lld
];
configureFlags = [
@@ -56,6 +60,11 @@ stdenv.mkDerivation rec {
"--with-libassuan-prefix=${libassuan.dev}"
];
# Fix for ld64 hardening issue
#
# TODO: Clean up on `staging`
env.NIX_CFLAGS_LINK = "-fuse-ld=lld";
installPhase = ''
mkdir -p $out/Applications $out/bin
mv macosx/pinentry-mac.app $out/Applications