Use fetchpatch to fetch patches

This commit is contained in:
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 = [ #boot.kernelPatches = [
# { # {
# name = "force-rgb"; # name = "force-rgb";
# patch = pkgs.fetchurl { # patch = pkgs.fetchpatch {
# url = "https://gitlab.freedesktop.org/drm/amd/uploads/99b3664a49ec759075bde5c454e1d7c2/0001-force-rgb.patch"; # url = "https://gitlab.freedesktop.org/drm/amd/uploads/99b3664a49ec759075bde5c454e1d7c2/0001-force-rgb.patch";
# sha256 = "03dhnlxx9vlj1x8izh3c3j4r9s75q47nx8kf6mbdxqfy3cj96mjm"; # sha256 = "03dhnlxx9vlj1x8izh3c3j4r9s75q47nx8kf6mbdxqfy3cj96mjm";
# }; # };

View file

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