mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-09 16:18:34 +01:00
fetchFromSourcehut: allow passthru args
This commit is contained in:
parent
66eba50c00
commit
b80554483b
|
|
@ -82,7 +82,7 @@ makeOverridable (
|
|||
postFetch = optionalString (vc == "hg") ''
|
||||
rm -f "$out/.hg_archival.txt"
|
||||
''; # impure file; see #12002
|
||||
passthru = {
|
||||
passthru = (args.passthru or { }) // {
|
||||
gitRepoUrl = urlFor "git";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue