From f2cee89b22eb572cfaa24d679a6a6cdf64c5d3d7 Mon Sep 17 00:00:00 2001 From: Ricardo Ardissone Date: Thu, 21 Apr 2016 11:09:53 -0300 Subject: factorio: add explict dependency on cacert for chroot build --- pkgs/games/factorio/fetch.nix | 4 ++-- pkgs/games/factorio/fetch.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'pkgs') diff --git a/pkgs/games/factorio/fetch.nix b/pkgs/games/factorio/fetch.nix index 03dc786492a..78c7faf018c 100644 --- a/pkgs/games/factorio/fetch.nix +++ b/pkgs/games/factorio/fetch.nix @@ -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; diff --git a/pkgs/games/factorio/fetch.sh b/pkgs/games/factorio/fetch.sh index ad976673686..d6549c0a676 100644 --- a/pkgs/games/factorio/fetch.sh +++ b/pkgs/games/factorio/fetch.sh @@ -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" -- cgit 1.4.1