boringssl: add the "dev" output to match openssl

This allows building curl with a `openssl = boringssl` override.
This commit is contained in:
Ivan Babrou 2021-10-28 13:55:47 -07:00
parent 678d0bfff1
commit 4dd8a61b51

View file

@ -36,7 +36,7 @@ buildGoModule {
cmakeFlags = [ "-GNinja" ] ++ lib.optionals (stdenv.isLinux) [ "-DCMAKE_OSX_ARCHITECTURES=" ];
installPhase = ''
mkdir -p $bin/bin $out/include $out/lib
mkdir -p $bin/bin $dev $out/lib
mv tool/bssl $bin/bin
@ -44,10 +44,10 @@ buildGoModule {
mv crypto/libcrypto.a $out/lib
mv decrepit/libdecrepit.a $out/lib
mv ../include/openssl $out/include
mv ../include $dev
'';
outputs = [ "out" "bin" ];
outputs = [ "out" "bin" "dev" ];
meta = with lib; {
description = "Free TLS/SSL implementation";