Merge pull request #14869 from rardiol/factorio
factorio: add explict dependency on cacert for chroot build
This commit is contained in:
commit
79de9293c2
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, curl
|
{ stdenv, curl, cacert
|
||||||
# Begin download parameters
|
# Begin download parameters
|
||||||
, username ? ""
|
, username ? ""
|
||||||
, password ? ""
|
, password ? ""
|
||||||
@ -20,7 +20,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [ curl ];
|
buildInputs = [ curl ];
|
||||||
|
|
||||||
inherit url loginUrl username password;
|
inherit url loginUrl username password cacert;
|
||||||
|
|
||||||
builder = ./fetch.sh;
|
builder = ./fetch.sh;
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ source $stdenv/setup
|
|||||||
curl="curl \
|
curl="curl \
|
||||||
--max-redirs 20 \
|
--max-redirs 20 \
|
||||||
--retry 3 \
|
--retry 3 \
|
||||||
--cacert /etc/ssl/certs/ca-bundle.crt \
|
--cacert $cacert/etc/ssl/certs/ca-bundle.crt \
|
||||||
$curlOpts \
|
$curlOpts \
|
||||||
$NIX_CURL_FLAGS"
|
$NIX_CURL_FLAGS"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user