From ee58ad840b53e536dd893d809b23b51dadccf002 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sat, 27 May 2023 18:43:20 +0300 Subject: [PATCH] gnome-decoder: migrate to bindgenHook --- pkgs/applications/graphics/gnome-decoder/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/applications/graphics/gnome-decoder/default.nix b/pkgs/applications/graphics/gnome-decoder/default.nix index 473d66d9c8b8..a7e895fb4b6b 100644 --- a/pkgs/applications/graphics/gnome-decoder/default.nix +++ b/pkgs/applications/graphics/gnome-decoder/default.nix @@ -1,7 +1,6 @@ { lib , clangStdenv , fetchFromGitLab -, libclang , rustPlatform , cargo , meson @@ -50,6 +49,7 @@ clangStdenv.mkDerivation rec { desktop-file-utils cargo rustc + rustPlatform.bindgenHook rustPlatform.cargoSetupHook ]; @@ -66,8 +66,6 @@ clangStdenv.mkDerivation rec { gst-plugins-bad ]; - LIBCLANG_PATH = "${libclang.lib}/lib"; - meta = with lib; { description = "Scan and Generate QR Codes"; homepage = "https://gitlab.gnome.org/World/decoder";