mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
chromium: Use patches from system OpenSSL.
This is mainly because of the patch to use OPENSSL_X509_CERT_FILE as a way to specify the CA bundle. A browser which isn't able to verify SSL certificates might be somewhat useless.
This commit is contained in:
parent
b1fdecc460
commit
f0cdea2e99
@ -85,10 +85,16 @@ in stdenv.mkDerivation rec {
|
||||
libXScrnSaver libXcursor
|
||||
] ++ stdenv.lib.optional gnomeKeyringSupport libgnome_keyring;
|
||||
|
||||
opensslPatches = openssl.patches;
|
||||
|
||||
prePatch = "patchShebangs .";
|
||||
|
||||
patches = stdenv.lib.optional (!useSELinux) ./enable_seccomp.patch;
|
||||
|
||||
postPatch = stdenv.lib.optionalString useOpenSSL ''
|
||||
cat $opensslPatches | patch -p1 -d third_party/openssl/openssl
|
||||
'';
|
||||
|
||||
gypFlags = mkGypFlags (gypFlagsUseSystemLibs // {
|
||||
linux_use_gold_binary = false;
|
||||
linux_use_gold_flags = false;
|
||||
|
Loading…
Reference in New Issue
Block a user