summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorJosef Kemetmüller <josef.kemetmueller@gmail.com>2020-09-21 07:59:52 +0200
committerJosef Kemetmüller <josef.kemetmueller@gmail.com>2020-09-21 08:43:43 +0200
commit0996ac6b0ea3fb8530cfe59c24a1af4baeb553b4 (patch)
treeb13877b821b210e7651fd0ae7004c44de3567144 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent799f149bbff72426c5cf47f363f712801a1ae108 (diff)
nvtop: Make independent of Nvidia driver version
For packages relying on Nvidia drivers we don't want to hard-code the location of a particular driver version in the RPATH. Otherwise the software might fail with errors such as: > Impossible to initialize nvidia nvml : Driver/library version mismatch To fix this the usual pattern in nixpkgs is to add `/run/opengl-driver/lib` to the RPATH of these binaries. This is the global location where Nvidia libraries are available on NixOS and so this makes sure that the nvtop binary can be run with all versions of the driver. At build time however these libraries are not available at that particular location. For precisely this use case, Nvidia ships stub versions of the driver libraries with the cudatoolkit. So we just need to point CMake to that directory. Fixes: #98328
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions