mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Merge pull request #167209 from bjornfor/ethminer-remove-unneeded-nvidia-dep
nixos/ethminer: only pull in nvidia_x11 when needed
This commit is contained in:
commit
974ce2dffa
@ -97,7 +97,7 @@ in
|
||||
Restart = "always";
|
||||
};
|
||||
|
||||
environment = {
|
||||
environment = mkIf (cfg.toolkit == "cuda") {
|
||||
LD_LIBRARY_PATH = "${config.boot.kernelPackages.nvidia_x11}/lib";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user