summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pytest-httpserver
diff options
context:
space:
mode:
authorR-VdP <141248+R-VdP@users.noreply.github.com>2023-01-20 15:56:31 +0100
committerR-VdP <141248+R-VdP@users.noreply.github.com>2023-01-30 17:58:05 +0100
commit51acc6245e5995c06c1304741263a8b954192e70 (patch)
tree681cdeab46e0919a994e54ca92f42ebec8f800f2 /pkgs/development/python-modules/pytest-httpserver
parent645af55243a863c174aa78fdf329930021aebb3d (diff)
stdenv: don't include drvs in disallowedRefs as build-time deps.
Derivations listed as disallowedReferences or disallowedRequisites, currently end up as build-time dependencies. This is problematic since the disallowed derivations will be built by nix as build-time dependencies, while those derivations might take a very long time to build, or might not even build successfully on the platform used. However, in order to scan for disallowed references in the final output, knowing the out path is sufficient, and the out path can be calculated from the derivation without needing to build it, saving time and resources. While the problem is less severe for allowedReferences and allowedRequisites, since we want the derivation to be built eventually, we would still like to get the error early and without having to wait while nix builds a derivation that might not be used (e.g. if we listed the wrong one).
Diffstat (limited to 'pkgs/development/python-modules/pytest-httpserver')
0 files changed, 0 insertions, 0 deletions