overlays: Replace fetchpatch with fetchurl

This commit is contained in:
PapaTutuWawa 2021-11-05 12:50:17 +01:00
parent ec70e43143
commit 66fd0b41fd

View File

@ -2,10 +2,10 @@ final: prev:
let let
libwacomPatchesCommit = "f811946d7d8bacb3b9ee75f08c150c435ad59331"; libwacomPatchesCommit = "f811946d7d8bacb3b9ee75f08c150c435ad59331";
mkPatch = name: sha256: prev.fetchpatch { mkPatch = name: sha256: prev.fetchurl {
name = "${name}.patch"; inherit sha256;
url = "https://raw.githubusercontent.com/linux-surface/libwacom-surface/${libwacomPatchesCommit}/${name}.patch"; url = "https://raw.githubusercontent.com/linux-surface/libwacom-surface/${libwacomPatchesCommit}/${name}.patch";
sha256 = sha256;
}; };
in { in {
libwacom = prev.libwacom.overrideAttrs (old: rec { libwacom = prev.libwacom.overrideAttrs (old: rec {