surface6: Replace fetchpatch with fetchurl
This commit is contained in:
parent
6617feea17
commit
f351549a82
@ -2,14 +2,14 @@
|
||||
|
||||
let
|
||||
fetchurl = pkgs.fetchurl;
|
||||
fetchpatch = pkgs.fetchpatch;
|
||||
commit = "821d8f0685ebad0fa2c05c7080f45eafb28ad08c";
|
||||
kernelVersion = "5.14";
|
||||
mkPatch = name: sha256: {
|
||||
name = name;
|
||||
patch = fetchpatch {
|
||||
name = name + ".patch";
|
||||
url = "https://raw.githubusercontent.com/linux-surface/linux-surface/${commit}/patches/5.13/${name}.patch";
|
||||
sha256 = sha256;
|
||||
patch = fetchurl {
|
||||
inherit sha256;
|
||||
|
||||
url = "https://raw.githubusercontent.com/linux-surface/linux-surface/${commit}/patches/${kernelVersion}/${name}.patch";
|
||||
};
|
||||
};
|
||||
cfg = config.ptw.hardware.surface;
|
||||
|
Loading…
Reference in New Issue
Block a user