summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2020-07-14 17:32:06 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2020-07-15 20:08:30 +0200
commitd2694d936ef88d0d6028203105552efddf6db23d (patch)
tree740ea06448614c5ae0eed0ba148fc9c743d7e242 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent7713fba8f89a15fd0413ea61b98880e90a978eec (diff)
rustPlatform: don't install artifacts modified by `checkPhase`
While the artifacts from `buildPhase` should be used for testing as well, it should be avoided that those are modified during `checkPhase`. This can happen if a package is built e.g. with special `cargoBuildFlags` that don't apply to the `checkPhase`. In that case, a binary would be installed into `$out` without those flags since `checkPhase` overrides the binary in the `target`-directory. This patch copies the state of `target/release` into a temporary location at the end of the `buildPhase` and installs the results from that temporary directory into `$out` while `checkPhase` can continue using the configured build-dir. cc #91689 Closes #93119 Closes #91191
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions