diff options
| author | Alyssa Ross <hi@alyssa.is> | 2020-06-24 17:58:30 +0000 |
|---|---|---|
| committer | Alyssa Ross <hi@alyssa.is> | 2020-06-29 13:56:27 +0000 |
| commit | be1b22538a60e52987d238bb11f93043682b6e9a (patch) | |
| tree | da533f8d8c6c54f2fd958ce84b47014ab58271b4 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | 1421404d425ec3af31f9d3f53a69fd94b1b88657 (diff) | |
cmake: only set output paths with multiple outputs
This brings cmake inline with the behaviour used for configure
scripts, defined in multiple-outputs.sh. It's important because
that setup hook will only set shareDocName if multiple outputs are in
use (and setOutputFlags hasn't been disabled). So previously,
CMAKE_INSTALL_DOCDIR would be set to $out/share/doc for single-output
derivations, instead of $out/share/doc/$shareDocName, which would
result in collisions.
Since this hook now uses the setOutputFlags variable, I had to remove
the empty assignment of it added in
a714284d8b7d2dac3ed2c76670f290fe332da00c.
Fixes: https://github.com/NixOS/nixpkgs/issues/82304
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
