xidel: add TLS support
Without this, it would try to find libcrypto in libc's prefix, and then fail with this message: Error: Internet Error: -2 Couldn't load ssl libraries: libopenssl and libcrypto They must be installed separately. On Debian/Ubuntu install libssl-dev. On Fedora/CentOS install openssl-devel. On Windows install OpenSSL from https://slproweb.com/products/Win32OpenSSL.html when talking to: https://archive.mozilla.org/pub/firefox/releases/ Tested with xidel -s https://archive.mozilla.org/pub/firefox/releases/ --extract "//a"
This commit is contained in:
parent
b256715457
commit
f31d4de37b
1 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchsvn, fetchFromGitHub, fpc }:
|
||||
{ lib, stdenv, fetchsvn, fetchFromGitHub, fpc, openssl }:
|
||||
|
||||
let
|
||||
flreSrc = fetchFromGitHub {
|
||||
|
@ -36,6 +36,9 @@ in stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [ fpc ];
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
NIX_LDFLAGS = [ "-lcrypto" ];
|
||||
|
||||
patchPhase = ''
|
||||
patchShebangs \
|
||||
|
|
Loading…
Reference in a new issue