referencesByPopularity: Don't use buildPackages at call-site
It's cleaner to reference buildPackages directly in build-support/docker directly.
This commit is contained in:
parent
bd4c7fdff4
commit
6847a5c12d
|
@ -15,7 +15,6 @@
|
||||||
moreutils,
|
moreutils,
|
||||||
nix,
|
nix,
|
||||||
pigz,
|
pigz,
|
||||||
referencesByPopularity,
|
|
||||||
rsync,
|
rsync,
|
||||||
runCommand,
|
runCommand,
|
||||||
runtimeShell,
|
runtimeShell,
|
||||||
|
@ -772,7 +771,7 @@ rec {
|
||||||
then tag
|
then tag
|
||||||
else
|
else
|
||||||
lib.head (lib.strings.splitString "-" (baseNameOf conf.outPath));
|
lib.head (lib.strings.splitString "-" (baseNameOf conf.outPath));
|
||||||
paths = referencesByPopularity overallClosure;
|
paths = buildPackages.referencesByPopularity overallClosure;
|
||||||
nativeBuildInputs = [ jq ];
|
nativeBuildInputs = [ jq ];
|
||||||
} ''
|
} ''
|
||||||
${if (tag == null) then ''
|
${if (tag == null) then ''
|
||||||
|
|
|
@ -511,7 +511,7 @@ in
|
||||||
|
|
||||||
nukeReferences = callPackage ../build-support/nuke-references { };
|
nukeReferences = callPackage ../build-support/nuke-references { };
|
||||||
|
|
||||||
referencesByPopularity = buildPackages.callPackage ../build-support/references-by-popularity { };
|
referencesByPopularity = callPackage ../build-support/references-by-popularity { };
|
||||||
|
|
||||||
removeReferencesTo = callPackage ../build-support/remove-references-to { };
|
removeReferencesTo = callPackage ../build-support/remove-references-to { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue