Fix more ca-bundle paths

This commit is contained in:
William A. Kennington III
2015-05-29 14:26:32 -07:00
parent 95cc27149c
commit cd52c04456
9 changed files with 18 additions and 17 deletions
+3 -2
View File
@@ -1,4 +1,5 @@
{ stdenv, fetchurl, fetchgit, curl, scrot, imagemagick, xawtv, inetutils, makeWrapper, coreutils
{ stdenv, fetchurl, fetchgit, curl, scrot, imagemagick, xawtv, inetutils
, makeWrapper, coreutils, cacert
, apiKey ? ""
, deviceKey ? "" }:
@@ -35,7 +36,7 @@ in stdenv.mkDerivation rec {
cp -R ${modulesSrc}/* $out/modules/
wrapProgram "$out/prey.sh" \
--prefix PATH ":" "${xawtv}/bin:${imagemagick}/bin:${curl}/bin:${scrot}/bin:${inetutils}/bin:${coreutils}/bin" \
--set CURL_CA_BUNDLE "/etc/ssl/certs/ca-bundle.crt"
--set CURL_CA_BUNDLE "${cacert}/ca-bundle.crt"
'';
meta = with stdenv.lib; {