mirror of https://github.com/materusPL/Nixerus.git
amdgpu-pro-libs: update to 5.5.1, keep firmware in 5.4.6 except for vcn
This commit is contained in:
parent
78cb1ec187
commit
5d0c8a0fba
File diff suppressed because it is too large
Load Diff
|
@ -5,13 +5,37 @@ let
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "amdgpu-firmware";
|
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";
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
vcn = stdenv.mkDerivation rec {
|
||||||
|
pname = "amdgpu-firmware-vcn";
|
||||||
version = sources.version;
|
version = sources.version;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
src = sources.bit64.amdgpu-dkms-firmware;
|
src = sources.bit64.amdgpu-dkms-firmware;
|
||||||
|
inherit meta;
|
||||||
|
inherit unpackPhase;
|
||||||
|
inherit dontBuild;
|
||||||
|
inherit dontFixup;
|
||||||
|
inherit dontPatchELF;
|
||||||
|
inherit nativeBuildInputs;
|
||||||
|
inherit sourceRoot;
|
||||||
|
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/lib/firmware/amdgpu
|
||||||
|
mv lib/firmware/updates/amdgpu/vcn* $out/lib/firmware/amdgpu
|
||||||
|
'';
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
dontFixup = true;
|
dontFixup = true;
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
|
@ -22,7 +22,7 @@ def readPackages(packageString, packages,version):
|
||||||
elif x[0] == "SHA256":
|
elif x[0] == "SHA256":
|
||||||
packages[len(packages) - 1]["sha256"] = x[1].strip()
|
packages[len(packages) - 1]["sha256"] = x[1].strip()
|
||||||
|
|
||||||
def generateFetchurl(version = "5.4.6", ubuntu_code = "jammy"):
|
def generateFetchurl(version = "5.5.1", ubuntu_code = "jammy"):
|
||||||
|
|
||||||
packages = []
|
packages = []
|
||||||
packages32 = []
|
packages32 = []
|
||||||
|
|
Loading…
Reference in New Issue