mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Hardware/AMD] rename ROCm packages with correct names
This commit is contained in:
parent
4776a2acda
commit
3741bcd6b8
1 changed files with 3 additions and 4 deletions
|
|
@ -22,9 +22,9 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; []
|
environment.systemPackages = with pkgs; []
|
||||||
++ [ rocm-smi ]
|
++ [ rocmPackages.rocm-smi ]
|
||||||
++ optionals devCfg.enable [
|
++ optionals devCfg.enable [
|
||||||
rocminfo
|
rocmPackages.rocminfo
|
||||||
]
|
]
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
@ -38,8 +38,7 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = with pkgs; mkIf (!cfg.useProprietary) (
|
extraPackages = with pkgs; mkIf (!cfg.useProprietary) (
|
||||||
[
|
[
|
||||||
rocm-opencl-icd
|
rocmPackages.clr.icd
|
||||||
rocm-opencl-runtime
|
|
||||||
]
|
]
|
||||||
++ optional (cfg.defaultVulkanImplementation == "amdvlk") amdvlk
|
++ optional (cfg.defaultVulkanImplementation == "amdvlk") amdvlk
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue