1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00

Merge pull request #14869 from rardiol/factorio

factorio: add explict dependency on cacert for chroot build
This commit is contained in:
Joachim Fasting 2016-04-21 16:21:14 +02:00
commit 79de9293c2
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, curl
{ stdenv, curl, cacert
# Begin download parameters
, username ? ""
, password ? ""
@ -20,7 +20,7 @@ stdenv.mkDerivation {
buildInputs = [ curl ];
inherit url loginUrl username password;
inherit url loginUrl username password cacert;
builder = ./fetch.sh;

View file

@ -8,7 +8,7 @@ source $stdenv/setup
curl="curl \
--max-redirs 20 \
--retry 3 \
--cacert /etc/ssl/certs/ca-bundle.crt \
--cacert $cacert/etc/ssl/certs/ca-bundle.crt \
$curlOpts \
$NIX_CURL_FLAGS"