From 4eb42a4f1d1f45d8715775fa38e31946ae95e21c Mon Sep 17 00:00:00 2001 From: Ashish SHUKLA Date: Sat, 24 Oct 2020 16:43:05 +0530 Subject: [PATCH] fetchfossil: Depend on cacert Without it, it'll not able to verify SSL certificates, rendering it mostly useless --- pkgs/build-support/fetchfossil/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/build-support/fetchfossil/default.nix b/pkgs/build-support/fetchfossil/default.nix index 27933b47178a..3a4876bc5de3 100644 --- a/pkgs/build-support/fetchfossil/default.nix +++ b/pkgs/build-support/fetchfossil/default.nix @@ -1,11 +1,11 @@ -{stdenv, fossil}: +{stdenv, fossil, cacert}: {name ? null, url, rev, sha256}: stdenv.mkDerivation { name = "fossil-archive" + (if name != null then "-${name}" else ""); builder = ./builder.sh; - nativeBuildInputs = [fossil]; + nativeBuildInputs = [fossil cacert]; # Envvar docs are hard to find. A link for the future: # https://www.fossil-scm.org/index.html/doc/trunk/www/env-opts.md