Fix more ca-bundle paths
This commit is contained in:
@@ -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; {
|
||||
|
||||
Reference in New Issue
Block a user