xca: fix darwin build

This commit is contained in:
Weijia Wang 2024-11-01 18:16:24 +01:00
parent 2da5697d50
commit 954c49aa1c

View File

@ -36,6 +36,13 @@ stdenv.mkDerivation (finalAttrs: {
enableParallelBuilding = true; enableParallelBuilding = true;
dontWrapQtApps = stdenv.hostPlatform.isDarwin;
postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
mkdir -p "$out/Applications"
mv "$out/xca.app" "$out/Applications/xca.app"
'';
meta = with lib; { meta = with lib; {
description = "X509 certificate generation tool, handling RSA, DSA and EC keys, certificate signing requests (PKCS#10) and CRLs"; description = "X509 certificate generation tool, handling RSA, DSA and EC keys, certificate signing requests (PKCS#10) and CRLs";
mainProgram = "xca"; mainProgram = "xca";