[Hardware/AMD] rename ROCm packages with correct names

This commit is contained in:
Antoine Viallon 2024-05-13 02:15:26 +02:00
parent 4776a2acda
commit 3741bcd6b8
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -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
); );