From fd0740f4748ec543733cd9899ddaa1c7b07fab2a Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 11 May 2022 21:20:20 +0300 Subject: [PATCH] wdomirror: strictDeps --- pkgs/tools/wayland/wdomirror/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/wayland/wdomirror/default.nix b/pkgs/tools/wayland/wdomirror/default.nix index 5c3b7ddbb72..5d69ce66f6d 100644 --- a/pkgs/tools/wayland/wdomirror/default.nix +++ b/pkgs/tools/wayland/wdomirror/default.nix @@ -6,7 +6,8 @@ , pkg-config , wayland , wayland-protocols -, fetchurl +, fetchpatch +, wayland-scanner }: stdenv.mkDerivation { @@ -20,18 +21,19 @@ stdenv.mkDerivation { sha256 = "1fz0sajhdjqas3l6mpik8w1k15wbv65hgh9r9vdgfqvw5l6cx7jv"; }; - nativeBuildInputs = [ meson ninja pkg-config wayland-protocols ]; - - buildInputs = [ wayland ]; - patches = [ # https://github.com/progandy/wdomirror/pull/7 - (fetchurl { + (fetchpatch { url = "https://github.com/progandy/wdomirror/commit/142632208e9ea2b4a4ebd784532efdb8cad7b87c.patch"; - hash = "sha256-z6/8q2vOtmlGFbDVG5BVWWbLQT8kBvJXT9/oZkWS9gw="; + hash = "sha256-MG71IEwRAjjacAkRoB7Tn45+FbY7LAqTDkVJkoWuQUU="; }) ]; + strictDeps = true; + nativeBuildInputs = [ meson ninja pkg-config wayland-scanner ]; + + buildInputs = [ wayland wayland-protocols ]; + installPhase = '' runHook preInstall install -m755 -D wdomirror $out/bin/wdomirror