From 77a4c25a2e5aeda0f0d1f1980eb7c85c99041c45 Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Sat, 25 Apr 2026 23:18:50 +0200 Subject: use system gtk4-layer-shell --- nix/package.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'nix') diff --git a/nix/package.nix b/nix/package.nix index 3b8be8f..666cf64 100644 --- a/nix/package.nix +++ b/nix/package.nix @@ -14,6 +14,7 @@ wayland-scanner, glib, gtk4, + gtk4-layer-shell, json-glib, gmp, librsvg, @@ -25,12 +26,6 @@ brightnessctl }: let - dep-gtk4-layer-shell = fetchFromGitHub { - owner = "wmww"; - repo = "gtk4-layer-shell"; - rev = "v1.0.2"; - hash = "sha256-decjPkFkYy7kIjyozsB7BEmw33wzq1EQyIBrxO36984="; - }; dep-gvc = fetchFromGitLab { domain = "gitlab.gnome.org"; owner = "GNOME"; @@ -44,7 +39,6 @@ src = ./..; postUnpack = '' pushd "$sourceRoot" - cp -R --no-preserve=mode,ownership ${dep-gtk4-layer-shell} subprojects/gtk4-layer-shell cp -R --no-preserve=mode,ownership ${dep-gvc} subprojects/gvc popd ''; @@ -55,7 +49,7 @@ ''; nativeBuildInputs = [ makeWrapper git meson ninja vala sassc pkg-config gobject-introspection wayland-scanner ]; - buildInputs = [ glib gtk4 json-glib gmp librsvg networkmanager wayland libpulseaudio alsa-lib upower brightnessctl ]; + buildInputs = [ glib gtk4 gtk4-layer-shell json-glib gmp librsvg networkmanager wayland libpulseaudio alsa-lib upower brightnessctl ]; meta = with lib; { homepage = "https://github.com/hannesschulze/foobar"; -- cgit v1.3.1