fetchFromSourcehut: allow passthru args (#441478)

Changed files
+1 -1
pkgs
build-support
fetchsourcehut
+1 -1
pkgs/build-support/fetchsourcehut/default.nix
···
postFetch = optionalString (vc == "hg") ''
rm -f "$out/.hg_archival.txt"
''; # impure file; see #12002
-
passthru = {
+
passthru = (args.passthru or { }) // {
gitRepoUrl = urlFor "git";
};
};