mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 12:53:54 +00:00
linuxKernel.packages.linux_5_18.nvidia_x11_legacy390: fix build
Co-authored-by: @PedroHLC
This commit is contained in:
parent
bc01a2be50
commit
1319b5a244
@ -68,6 +68,19 @@ rec {
|
|||||||
sha256_64bit = "sha256-UibkhCBEz/2Qlt6tr2iTTBM9p04FuAzNISNlhLOvsfw=";
|
sha256_64bit = "sha256-UibkhCBEz/2Qlt6tr2iTTBM9p04FuAzNISNlhLOvsfw=";
|
||||||
settingsSha256 = "sha256-teXQa0pQctQl1dvddVJtI7U/vVuMu6ER1Xd99Jprpvw=";
|
settingsSha256 = "sha256-teXQa0pQctQl1dvddVJtI7U/vVuMu6ER1Xd99Jprpvw=";
|
||||||
persistencedSha256 = "sha256-FxiTXYABplKFcBXr4orhYWiJq4zVePpplMbg2kvEuXk=";
|
persistencedSha256 = "sha256-FxiTXYABplKFcBXr4orhYWiJq4zVePpplMbg2kvEuXk=";
|
||||||
|
patches =
|
||||||
|
let patch390 = o:
|
||||||
|
(lib.optional ((lib.versions.majorMinor kernel.modDirVersion) == o.version) (fetchpatch {
|
||||||
|
inherit (o) sha256;
|
||||||
|
url = "https://gitlab.com/herecura/packages/nvidia-390xx-dkms/-/raw/herecura/kernel-${o.version}.patch";
|
||||||
|
}));
|
||||||
|
in
|
||||||
|
[]
|
||||||
|
++ (patch390 {
|
||||||
|
version = "5.18";
|
||||||
|
sha256 = "sha256-A6itoozgDWmXKQAU0D8bT2vUaZqh5G5Tg3d3E+CLOTs=";
|
||||||
|
})
|
||||||
|
;
|
||||||
};
|
};
|
||||||
|
|
||||||
legacy_340 = generic {
|
legacy_340 = generic {
|
||||||
|
Loading…
Reference in New Issue
Block a user