biscuit

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 49dec9cbe10b0b489b1d73a071e0be15e35b7285
parent 6b323014a0c047d2ce3d07d664596b15f0ae2ca7
Author: Daniel Barlow <dan@telent.net>
Date:   Fri, 27 Feb 2026 23:39:36 +0000

add maps icon

Diffstat:
Mpkgs/maps/default.nix | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/pkgs/maps/default.nix b/pkgs/maps/default.nix @@ -25,7 +25,7 @@ let lgi = luaPackages.buildLuaPackage { pname = "lgi"; version = "0.9.2-2"; - buildInputs = [ gobject-introspection ]; + buildInputs = [ gobject-introspection wrapGAppsHook3 copyDesktopItems ]; nativeBuildInputs = [ pkg-config ]; src = fetchFromGitHub { @@ -72,8 +72,7 @@ in stdenv.mkDerivation { makeFlags = [ "PREFIX=${placeholder "out"}" "NAME=${pname}" ]; postInstall = '' - mkdir -p $out/share/icons/ - cp icon.svg $out/share/icons/${pname}.svg + install -Dm644 ${./icon.svg} $out/share/icons/hicolor/scalable/apps/${pname}.svg ''; desktopItems = [ @@ -82,7 +81,7 @@ in stdenv.mkDerivation { desktopName = "Maps"; exec = pname; type = "Application"; - icon = "nix-snowflake"; # "${placeholder "out"}/share/icons/${pname}.svg"; + icon = pname; }) ];