summary refs log tree commit diff
path: root/pkgs/applications/networking/esniper/default.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2012-07-27 11:21:32 +0200
committerPeter Simons <simons@cryp.to>2012-07-27 11:21:32 +0200
commit1dacb511e29d47662d881bd9bd7e3ec331e60c68 (patch)
tree0ba06c5b872af2bcc7f0dab1ee0c58aaff61d46b /pkgs/applications/networking/esniper/default.nix
parent5c924ed7c5384bd92e9e1392ee617c2c0a49fbf9 (diff)
downloadnixlib-1dacb511e29d47662d881bd9bd7e3ec331e60c68.tar
nixlib-1dacb511e29d47662d881bd9bd7e3ec331e60c68.tar.gz
nixlib-1dacb511e29d47662d881bd9bd7e3ec331e60c68.tar.bz2
nixlib-1dacb511e29d47662d881bd9bd7e3ec331e60c68.tar.lz
nixlib-1dacb511e29d47662d881bd9bd7e3ec331e60c68.tar.xz
nixlib-1dacb511e29d47662d881bd9bd7e3ec331e60c68.tar.zst
nixlib-1dacb511e29d47662d881bd9bd7e3ec331e60c68.zip
esniper: add support for CURL_CA_BUNDLE variable to fix SSL authentication errors
Diffstat (limited to 'pkgs/applications/networking/esniper/default.nix')
-rw-r--r--pkgs/applications/networking/esniper/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/networking/esniper/default.nix b/pkgs/applications/networking/esniper/default.nix
index 8dedd4013b9a..327e4c4a9c52 100644
--- a/pkgs/applications/networking/esniper/default.nix
+++ b/pkgs/applications/networking/esniper/default.nix
@@ -10,6 +10,9 @@ stdenv.mkDerivation {
 
   buildInputs = [openssl curl];
 
+  # Add support for CURL_CA_BUNDLE variable.
+  patches = [ ./find-ca-bundle.patch ];
+
   postInstall = ''
     sed <"frontends/snipe" >"$out/bin/snipe" \
       -e "2i export PATH=\"$out/bin:${coreutils}/bin:${gawk}/bin:${bash}/bin:${which}/bin:\$PATH\""