Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
672 B · 35 lines
Nix
123456789101112131415161718192021222324252627282930313233343536{ stdenv, lib, fossil, cacert,}:
lib.fetchers.withNormalizedHash { } ( { name ? null, url, rev, outputHash ? lib.fakeHash, outputHashAlgo ? null, }:
stdenv.mkDerivation { name = "fossil-archive" + (lib.optionalString (name != null) "-${name}"); builder = ./builder.sh; 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 impureEnvVars = [ "http_proxy" ];
inherit outputHash outputHashAlgo; outputHashMode = "recursive";
inherit url rev; preferLocalBuild = true; })