mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-09 16:18:34 +01:00
fetchFromGitHub: pass githubBase to mkDerivation via derivationArgs
Reduce future test rebuilds when making githubBase overridable.
This commit is contained in:
parent
4e996b3920
commit
8bb3bbbf44
|
|
@ -129,6 +129,7 @@ lib.makeOverridable (
|
||||||
inherit passthru;
|
inherit passthru;
|
||||||
derivationArgs = {
|
derivationArgs = {
|
||||||
inherit
|
inherit
|
||||||
|
githubBase
|
||||||
owner
|
owner
|
||||||
repo
|
repo
|
||||||
;
|
;
|
||||||
|
|
@ -159,6 +160,7 @@ lib.makeOverridable (
|
||||||
extension = "tar.gz";
|
extension = "tar.gz";
|
||||||
derivationArgs = {
|
derivationArgs = {
|
||||||
inherit
|
inherit
|
||||||
|
githubBase
|
||||||
owner
|
owner
|
||||||
repo
|
repo
|
||||||
tag
|
tag
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue