From a3fa65880e44e6bb50acb3a407354db174702441 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Tue, 4 Mar 2025 14:52:06 -0500 Subject: [PATCH] flake: Copy logo.svg in postInstall hook --- default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/default.nix b/default.nix index d64064008..2f8ea435b 100644 --- a/default.nix +++ b/default.nix @@ -73,8 +73,9 @@ in postInstall = '' mkdir -p $out/lib installShellCompletion ${./contrib/completion}/hx.{bash,fish,zsh} - mkdir -p $out/share/{applications,icons/hicolor/256x256/apps} + mkdir -p $out/share/{applications,icons/hicolor/{256x256,scalable}/apps} cp ${./contrib/Helix.desktop} $out/share/applications + cp ${./logo.svg} $out/share/icons/hicolor/scalable/apps/helix.svg cp ${./contrib/helix.png} $out/share/icons/hicolor/256x256/apps '';