summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2023-01-15 20:54:48 +0100
committerRobert Hensing <robert@roberthensing.nl>2023-01-16 12:57:01 +0100
commit01d7f19346bc5de4508244b7b1dd23355d026899 (patch)
treedfae1438b4cb83ec6ccda84dddef2cd2b20dbeb5 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent5fb9ccbd5bf373994d1e0bc45e0e0cfae27465bf (diff)
multi-outputs.sh: Improve _assignFirst error message
Closes #16182 This improves the error message Error: _assignFirst found no valid variant! which occurred when the set of outputs was not sufficient to set the various outputDev, outputBin, etc variables. Specifically, this would mean that "out" is not among the outputs, which is valid for a derivation. This changes the message to something like error: _assignFirst: could not find a non-empty variable to assign to outputDev. The following variables were all unset or empty: dev out. If you did not define an "out" output, make sure to define all the specific required outputs: define an output for one of the unset variables. While this isn't a full explanation of what stdenv can and can not do, I think it's vast improvement over the 0 bits of information that it used to provide. This at least gives a clue as to what's going on, and even suggests a fix, although probably multiple such fixes are required in an instance where someone starts with a no-out derivation from scratch (and decide to persist).
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions