Use fetchpatch to fetch patches

pull/30/head
Simon Bruder 2021-01-02 10:58:08 +01:00
parent 0b1c19b481
commit 9c51d36c4d
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ in
#boot.kernelPatches = [
# {
# name = "force-rgb";
# patch = pkgs.fetchurl {
# patch = pkgs.fetchpatch {
# url = "https://gitlab.freedesktop.org/drm/amd/uploads/99b3664a49ec759075bde5c454e1d7c2/0001-force-rgb.patch";
# sha256 = "03dhnlxx9vlj1x8izh3c3j4r9s75q47nx8kf6mbdxqfy3cj96mjm";
# };

View File

@ -160,7 +160,7 @@ in
((mumble.override { pulseSupport = true; }).overrideAttrs (o: o // {
patches = o.patches ++ [
# TODO: remove patch once stable release supports this
(pkgs.fetchurl {
(pkgs.fetchpatch {
url = "https://github.com/mumble-voip/mumble/commit/03dbea56f650bba4f1aa0c54d02b6e8c3639d04f.patch";
sha256 = "1l7q2lxdkmykmqrvl5ga81vahs666yxiqsavx682kj1mh95pk3s4";
})