@@ -2,15 +2,14 @@
22
33{name ? null, url, rev ? null, md5 ? null, sha256 ? null}:
44
5−# TODO: statically check if mercurial as the https support if the url starts woth https.
65stdenv.mkDerivation {
76 name = "fossil-archive" + (if name != null then "-${name}" else "");
87 builder = ./builder.sh;
98 buildInputs = [fossil];
109
11− impureEnvVars = [
12− "http_proxy" "https_proxy" "ftp_proxy" "all_proxy" "no_proxy"
13− ];
10+ # Envvar docs are hard to find. A link for the future:
11+ # https://www.fossil-scm.org/index.html/doc/trunk/www/env-opts.md
12+ impureEnvVars = [ "http_proxy" ];
1413
1514 outputHashAlgo = if md5 != null then "md5" else "sha256";
1615 outputHashMode = "recursive";