From 39e958b61e7fa04ad9ee74d62fb909b612ef3a1e Mon Sep 17 00:00:00 2001 From: "Ricardo M. Correia" Date: Fri, 20 Oct 2017 05:24:19 +0200 Subject: [PATCH] lxqt-panel: fix patch hash ... and switch to fetchpatch to avoid GitHub hash changes. --- pkgs/desktops/lxqt/core/lxqt-panel/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/desktops/lxqt/core/lxqt-panel/default.nix b/pkgs/desktops/lxqt/core/lxqt-panel/default.nix index d2faf9c0eee..8dbe8990937 100644 --- a/pkgs/desktops/lxqt/core/lxqt-panel/default.nix +++ b/pkgs/desktops/lxqt/core/lxqt-panel/default.nix @@ -1,5 +1,5 @@ { - stdenv, fetchFromGitHub, fetchurl, standardPatch, + stdenv, fetchFromGitHub, fetchpatch, standardPatch, cmake, pkgconfig, lxqt-build-tools, qtbase, qttools, qtx11extras, qtsvg, libdbusmenu, kwindowsystem, solid, kguiaddons, liblxqt, libqtxdg, lxqt-common, lxqt-globalkeys, libsysstat, @@ -50,9 +50,10 @@ stdenv.mkDerivation rec { ]; patches = [ - (fetchurl { + (fetchpatch { url = https://github.com/lxde/lxqt-panel/commit/ec62109e0fa678875a9b10fc6f1975267432712d.patch; - sha256 = "1ywwk8gb6gbvs8z9gwgsnb13z1jvyvjij349nq7ij6iyhyld0jlr"; + name = "fix-compile-explicit-keyword.patch"; + sha256 = "1grda0dw175kbsfq90lr5qaf79akwikzxw85jhd5f339nnramp81"; }) ];