mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
Merge pull request #51781 from Mic92/openssl-11-docs
openssl_1_1: Add "doc" output to contain HTML documentation
This commit is contained in:
commit
48e49d01b6
@ -7,7 +7,7 @@
|
||||
with stdenv.lib;
|
||||
|
||||
let
|
||||
common = args@{ version, sha256, patches ? [] }: stdenv.mkDerivation rec {
|
||||
common = args@{ version, sha256, patches ? [], withDocs ? false }: stdenv.mkDerivation rec {
|
||||
name = "openssl-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
@ -33,7 +33,7 @@ let
|
||||
'!defined(__ANDROID__) && !defined(__OpenBSD__) && 0'
|
||||
'';
|
||||
|
||||
outputs = [ "bin" "dev" "out" "man" ];
|
||||
outputs = [ "bin" "dev" "out" "man" ] ++ optional withDocs "doc";
|
||||
setOutputFlags = false;
|
||||
separateDebugInfo = stdenv.hostPlatform.isLinux;
|
||||
|
||||
@ -135,6 +135,7 @@ in {
|
||||
version = "1.1.1a";
|
||||
sha256 = "0hcz7znzznbibpy3iyyhvlqrq44y88plxwdj32wjzgbwic7i687w";
|
||||
patches = [ ./1.1/nix-ssl-cert-file.patch ];
|
||||
withDocs = true;
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user