3
0
Fork 0
forked from mirrors/nixpkgs

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
This commit is contained in:
Sergei Trofimovich 2021-09-13 23:53:57 +01:00 committed by Bjørn Forsman
parent ac36cd7153
commit 03e61e35dd

View file

@ -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";