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:
Bernardo Meurer 2022-04-04 10:46:44 -07:00 committed by GitHub
commit 974ce2dffa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ in
Restart = "always";
};
environment = {
environment = mkIf (cfg.toolkit == "cuda") {
LD_LIBRARY_PATH = "${config.boot.kernelPackages.nvidia_x11}/lib";
};