boringssl: add the "dev" output to match openssl
This allows building curl with a `openssl = boringssl` override.
This commit is contained in:
parent
678d0bfff1
commit
4dd8a61b51
1 changed files with 3 additions and 3 deletions
|
@ -36,7 +36,7 @@ buildGoModule {
|
||||||
cmakeFlags = [ "-GNinja" ] ++ lib.optionals (stdenv.isLinux) [ "-DCMAKE_OSX_ARCHITECTURES=" ];
|
cmakeFlags = [ "-GNinja" ] ++ lib.optionals (stdenv.isLinux) [ "-DCMAKE_OSX_ARCHITECTURES=" ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $bin/bin $out/include $out/lib
|
mkdir -p $bin/bin $dev $out/lib
|
||||||
|
|
||||||
mv tool/bssl $bin/bin
|
mv tool/bssl $bin/bin
|
||||||
|
|
||||||
|
@ -44,10 +44,10 @@ buildGoModule {
|
||||||
mv crypto/libcrypto.a $out/lib
|
mv crypto/libcrypto.a $out/lib
|
||||||
mv decrepit/libdecrepit.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; {
|
meta = with lib; {
|
||||||
description = "Free TLS/SSL implementation";
|
description = "Free TLS/SSL implementation";
|
||||||
|
|
Loading…
Reference in a new issue