From 03e61e35dd911a43690342d4721f3c964d1bd621 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 13 Sep 2021 23:53:57 +0100 Subject: basex: fix Icon= store path to point to nix store. Noticed the problem on never disappearing diff reported by: $ ./maintainers/scripts/rebuild-amount.sh --print HEAD Estimating rebuild amount by counting changed Hydra jobs. 1 x86_64-linux basex.x86_64-linux /nix/store/5ng...-basex-9.4.3 Before the change local non-store path was used: $ nix-build -A basex; fgrep -R Icon result/ result/share/applications/basex.desktop:Icon=/home/.../tools/text/xml/basex/basex.svg After the change the file got into store as expected: $ nix-build -A basex; fgrep -R Icon result/ result/share/applications/basex.desktop:Icon=/nix/store/...-basex.svg --- pkgs/tools/text/xml/basex/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/tools/text/xml') diff --git a/pkgs/tools/text/xml/basex/default.nix b/pkgs/tools/text/xml/basex/default.nix index 30482196322f..0e2c8b824f5e 100644 --- a/pkgs/tools/text/xml/basex/default.nix +++ b/pkgs/tools/text/xml/basex/default.nix @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { desktopItem = makeDesktopItem { name = "basex"; exec = "basexgui %f"; - icon = ./basex.svg; # icon copied from Ubuntu basex package + icon = "${./basex.svg}"; # icon copied from Ubuntu basex package comment = "Visually query and analyse your XML data"; desktopName = "BaseX XML Database"; genericName = "XML database tool"; -- cgit 1.4.1