python3Packages.primp: fix boringssl

This commit is contained in:
liberodark
2025-09-25 15:03:10 +02:00
parent 5c00e92a59
commit 09ee233a75
@@ -55,6 +55,21 @@ let
);
vendorHash = "sha256-06MkjXl0DKFzIH/H+uT9kXsQdPq7qdZh2dlLW/YhJuk=";
installPhase = ''
runHook preInstall
mkdir -p $bin/bin $dev $out/lib
install -Dm755 tool/bssl -t $bin/bin
install -Dm644 ssl/libssl.a -t $out/lib
install -Dm644 crypto/libcrypto.a -t $out/lib
install -Dm644 decrepit/libdecrepit.a -t $out/lib
cp -r ../include $dev
runHook postInstall
'';
});
# boring-sys expects the static libraries in build/ instead of lib/
boringssl-wrapper = runCommand "boringssl-wrapper" { } ''