mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 01:18:55 +08:00
modules.services.slurm: fix
This commit is contained in:
parent
89f4c653d5
commit
f301b3945f
@ -24,8 +24,8 @@ inputs:
|
||||
package = (inputs.pkgs.slurm.override { enableGtk2 = true; }).overrideAttrs
|
||||
(prev: let inherit (inputs.pkgs.cudaPackages) cuda_nvml_dev; in
|
||||
{
|
||||
buildInputs = prev.buildInputs ++ [ cuda_nvml_dev ];
|
||||
LDFLAGS = [ "-L${cuda_nvml_dev}/lib/stubs" ];
|
||||
buildInputs = prev.buildInputs ++ [ cuda_nvml_dev cuda_nvml_dev.lib ];
|
||||
LDFLAGS = [ "-L${cuda_nvml_dev.lib}/lib/stubs" ];
|
||||
nativeBuildInputs = prev.nativeBuildInputs ++ [ inputs.pkgs.wrapGAppsHook ];
|
||||
});
|
||||
clusterName = inputs.config.nixos.system.networking.hostname;
|
||||
|
Loading…
Reference in New Issue
Block a user