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:
adisbladis 2020-11-24 02:55:40 +01:00
parent bd4c7fdff4
commit 6847a5c12d
No known key found for this signature in database
GPG Key ID: 110BFAD44C6249B7
2 changed files with 2 additions and 3 deletions

View File

@ -15,7 +15,6 @@
moreutils,
nix,
pigz,
referencesByPopularity,
rsync,
runCommand,
runtimeShell,
@ -772,7 +771,7 @@ rec {
then tag
else
lib.head (lib.strings.splitString "-" (baseNameOf conf.outPath));
paths = referencesByPopularity overallClosure;
paths = buildPackages.referencesByPopularity overallClosure;
nativeBuildInputs = [ jq ];
} ''
${if (tag == null) then ''

View File

@ -511,7 +511,7 @@ in
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 { };