diff options
author | Ashish SHUKLA <ashish.is@lostca.se> | 2020-10-24 16:43:05 +0530 |
---|---|---|
committer | Ashish SHUKLA <ashish.is@lostca.se> | 2020-10-24 16:43:05 +0530 |
commit | 4eb42a4f1d1f45d8715775fa38e31946ae95e21c (patch) | |
tree | c4c2e802d32c082b44a5c72e7b1236a14ce94c79 /pkgs/build-support/fetchfossil/default.nix | |
parent | 84d74ae9c9cbed73274b8e4e00be14688ffc93fe (diff) |
fetchfossil: Depend on cacert
Without it, it'll not able to verify SSL certificates, rendering
it mostly useless
Diffstat (limited to '')
-rw-r--r-- | pkgs/build-support/fetchfossil/default.nix | 4 |
1 files 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 |