3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/system
Josef Kemetmüller 0996ac6b0e 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
2020-09-21 08:43:43 +02:00
..
acct treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
acpica-tools acpica-tools: 20200326 -> 20200430 2020-05-05 18:52:12 -07:00
actkbd treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
amtterm treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
at treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
augeas treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
awstats treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
bar treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
bfs bfs: 1.6 -> 1.7 2020-05-02 02:45:54 +00:00
bpytop bpytop: 1.0.21 -> 1.0.25 2020-09-07 11:09:32 +02:00
chase treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
clinfo treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
cm-rgb cm-rgb: init at 0.3.4 2020-07-21 11:43:34 +02:00
collectd collectd: 5.11.0 -> 5.12.0 2020-09-07 16:12:19 +00:00
colorls colorls: 1.3.3 -> 1.4.2 2020-07-09 13:23:15 +01:00
confd confd: 0.9.0 -> 0.16.0 (#89180) 2020-05-29 16:14:06 +00:00
consul-template treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
cron treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ctop buildGoModule packages: set doCheck = false 2020-08-10 16:02:30 +10:00
daemon treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
daemonize treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
das_watchdog treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
datefudge datefudge: use tag instead of manual rev 2020-07-27 00:31:07 +02:00
dcfldd treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
dd_rescue treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
ddrescue ddrescue: 1.24 -> 1.25 2020-03-14 03:28:18 +00:00
ddrescueview ddrescueview: 0.4alpha3 -> 0.4alpha4 2020-09-03 14:39:11 +02:00
ddrutility treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
dfc treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
di di: 4.47.3 -> 4.48 2020-06-15 19:50:38 +00:00
disk-filltest disk-filltest: 0.8.1 -> 0.8.2 2020-07-28 08:29:54 +00:00
dog treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
efibootmgr efibootmgr: Fix the cross compilation 2020-06-20 13:00:49 +02:00
efivar efivar: fix Could not parse device path: Invalid Argument 2020-05-31 22:30:28 +08:00
envconsul treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
evemu treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
facter facter: 3.14.11 -> 3.14.12 2020-07-16 22:23:20 +00:00
fakechroot treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
fakeroot treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
fcron treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
fdisk treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
fio fio: 3.21 -> 3.22 2020-08-25 18:44:01 +00:00
foreman treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
foremost treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
freeipmi freeipmi: 1.6.4 -> 1.6.5 2020-05-22 08:23:38 +01:00
gdmap treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
gohai treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
goreman treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
gotop gotop: fix darwin build, enable checks 2020-08-15 10:57:56 +10:00
gptfdisk treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
gt5 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
hardinfo treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
hardlink treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
hiera-eyaml treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
honcho treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
htop htop: 3.0.0 -> 3.0.1 2020-09-03 19:59:38 +03:00
hwinfo hwinfo: 21.69 -> 21.70 2020-05-05 04:55:56 +00:00
idle3tools treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
illum treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
incron treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
inxi inxi: 3.1.05-4 -> 3.1.06-1 2020-08-17 18:00:57 +02:00
ioping treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
iops treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ior ior: 3.0.1 -> 3.2.1 2020-05-10 15:58:58 +02:00
ipmitool treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ipmiutil ipmiutil: 3.1.5 -> 3.1.6 2020-03-24 09:30:20 +00:00
java-service-wrapper java-service-wrapper: 3.5.42 -> 3.5.43 2020-03-08 13:11:20 +00:00
journalwatch treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
jump buildGoModule: remove platform.all from packages 2020-08-15 19:34:47 -07:00
kmon kmon: 1.3.5 -> 1.4.0 2020-08-11 04:42:03 +00:00
krakenx treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ledmon treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
loadwatch
localtime treewide: use $out instead of $bin with buildGoPackage 2020-04-28 20:30:29 +10:00
logcheck treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
logrotate logrotate: 3.16.0 -> 3.17.0 2020-07-12 08:36:33 +00:00
lr treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
lshw treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
mcron treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
memtester treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
minijail minijail: build and install constants.json 2020-04-01 13:44:28 +00:00
monit monit: 5.26.0 -> 5.27.0 (#92361) 2020-07-07 21:43:26 +02:00
mq-cli treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
netdata netdata: 1.24.0 -> 1.25.0 2020-09-15 12:08:37 +03:00
nq treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
nvtop nvtop: Make independent of Nvidia driver version 2020-09-21 08:43:43 +02:00
opencl-info treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
pciutils pciutils: support static compilation 2020-09-01 08:49:22 +02:00
pcstat treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
plan9port acme: build for aarch64 2020-07-28 16:05:10 +02:00
procodile treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
proot treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ps_mem treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
psensor psensor: 1.2.0 -> 1.2.1 2020-07-07 09:53:40 -07:00
psstop treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
r10k treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
rocm-smi rocm-smi: 3.5.0 -> 3.7.0 2020-08-22 07:43:00 +02:00
rofi-systemd treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
rowhammer-test treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
rsyslog rsyslog: 8.2004.0 -> 8.2006.0 2020-07-07 10:11:36 +00:00
runit runit: Add Darwin Compatibility 2020-06-01 17:11:51 -04:00
s-tui s-tui: 1.0.0 -> 1.0.1 2020-07-06 22:53:13 +00:00
s6 skawarePackages: release 2020-03 2020-03-30 01:23:46 +02:00
s6-rc skawarePackages: release 2020-03 2020-03-30 01:23:46 +02:00
safe-rm treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
safecopy treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
setserial treewide: installFlags is a list 2019-12-30 13:22:43 +01:00
sg3_utils sg3_utils: 1.44 -> 1.45 2020-03-09 22:39:16 +00:00
sleuthkit treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
smartmontools smartmontools: fix missing hostname in notifications 2020-08-16 20:48:03 +02:00
socklog treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
stress
stress-ng stress-ng: 0.11.14 -> 0.11.19 2020-08-31 03:39:12 +00:00
suid-chroot treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
supervise treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
symlinks treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
syslog-ng syslogng: 3.27.1 -> 3.28.1 2020-07-07 13:53:00 +00:00
syslog-ng-incubator treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
systemd-journal2gelf systemd-journal2gelf: use buildGoPackage 2019-09-21 04:29:00 -05:00
testdisk treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
thermald thermald: 2.2 -> 2.3 2020-09-16 18:27:16 +02:00
thinkfan thinkfan: 1.0.2 -> 1.1 2020-04-07 12:54:57 -07:00
throttled treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
tm treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
tre-command buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
tree treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ts treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
tuptime tuptime: 4.1.0 -> 5.0.0 2020-06-20 05:34:37 +02:00
uefitool uefitool.old-engine: 0.27.0 -> 0.28.0 2020-03-25 01:44:37 +01:00
undaemonize treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
uptimed treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
vbetool treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
vboot_reference Merge remote-tracking branch 'origin/master' into gcc-9 2019-12-26 14:17:36 +01:00
which treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
wsmancli treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
xe treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
yeshup treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ytop ytop: 0.6.1 -> 0.6.2 (#88064) 2020-05-18 15:17:37 +02:00
zenith zenith: 0.10.0 -> 0.10.1 2020-09-12 23:15:06 -04:00