`name` of `nvidiaDrivers` and `nvidiaLibsOnly` is wrong
jian-lin opened this issue · 1 comments
jian-lin commented
linuxPackages.nvidia_x11
doesn't use pname
, instead it sets name = "nvidia-x11-${version}${nameSuffix}";
.
However, we only set pname
and version
in our overrideAttrs
, which doesn't change the original name
.
Do we need to keep the same name structure with linuxPackages.nvidia_x11
?
If so, the fix for nvidiaLibsOnly
is simple. But it's not simple to fix nvidiaDrivers
, since it contains nameSuffix
, which is defined by nameSuffix = optionalString (!libsOnly) "-${kernel.version}";
.
guibou commented
Hello,
Thank you for opening this ticket.
I just override the name
to "nvidia-x11-${version}"
and I'm happy with that.
Please reopen if you would like another solution.