amdgpu-pro-libs: use same firmware version as rest of libs

This commit is contained in:
Mateusz Słodkowicz 2023-08-31 11:01:04 +02:00
parent 43527046c9
commit 5748882088
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
1 changed files with 6 additions and 11 deletions

View File

@ -5,20 +5,15 @@ let
in
stdenv.mkDerivation rec {
pname = "amdgpu-firmware";
version = "5.4.6";
src = fetchurl {
url ="https://repo.radeon.com/amdgpu/5.4.6/ubuntu/pool/main/a/amdgpu-dkms/amdgpu-dkms-firmware_5.18.13.50406-1580598.22.04_all.deb";
name = "amdgpu-firmware";
sha256 ="7701fbb95900c2502aba03f4d3d29f1caaa935191bf21012ecff7ffa0f631696";
};
version = sources.version;
src = sources.bit64.amdgpu-dkms-firmware;
passthru = {
vcn = stdenv.mkDerivation rec {
pname = "amdgpu-firmware-vcn";
version = sources.version;
src = sources.bit64.amdgpu-dkms-firmware;
inherit src;
inherit version;
inherit meta;
inherit unpackPhase;
inherit dontBuild;
@ -50,8 +45,8 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
mkdir -p $out
mv usr/src/amdgpu-5.18.13-1580598.22.04 $out/lib
mkdir -p $out/lib/firmware/
mv lib/firmware/updates/amdgpu $out/lib/firmware/amdgpu
'';
meta = with lib; {