fetchfossil: Depend on cacert

Without it, it'll not able to verify SSL certificates, rendering
it mostly useless
This commit is contained in:
Ashish SHUKLA 2020-10-24 16:43:05 +05:30
parent 84d74ae9c9
commit 4eb42a4f1d
No known key found for this signature in database
GPG key ID: C746CFA9E74FA4B0

View file

@ -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