Merge pull request #251337 from iFreilicht/nwg-bar-fix-svg-icons

nwg-bar: Fix display of svg icons
This commit is contained in:
Weijia Wang
2023-09-07 01:51:03 +02:00
committed by GitHub
+10 -3
View File
@@ -1,4 +1,11 @@
{ lib, buildGoModule, fetchFromGitHub, pkg-config, gtk3, gtk-layer-shell }:
{ lib
, buildGoModule
, fetchFromGitHub
, librsvg
, pkg-config
, gtk3
, gtk-layer-shell
, wrapGAppsHook }:
buildGoModule rec {
pname = "nwg-bar";
@@ -19,9 +26,9 @@ buildGoModule rec {
vendorHash = "sha256-mqcXhnja8ed7vXIqOKBsNrcbrcaycTQXG1jqdc6zcyI=";
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
buildInputs = [ gtk3 gtk-layer-shell ];
buildInputs = [ gtk3 gtk-layer-shell librsvg ];
preInstall = ''
mkdir -p $out/share/nwg-bar