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
2 changed files with 2 additions and 3 deletions
+1 -2
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 ''
+1 -1
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 { };