mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-18 14:41:18 +00:00
pinentry-mac: fix build
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user