summary refs log tree commit diff stats
path: root/nix/package.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-03-21 19:30:39 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-03-21 19:30:39 +0100
commitcc119f1cbb0b3bbd0c5453a5b9c5ce4c7f2a5df5 (patch)
treeb6bd9f6f94eda70ba99360524987de677893f5f7 /nix/package.nix
parentfeat(treewide): Commit MVP (diff)
downloadweb-client-cc119f1cbb0b3bbd0c5453a5b9c5ce4c7f2a5df5.zip
build(treewide): Provide a working `manifest.json` file
The previous one had no really working images.
Diffstat (limited to 'nix/package.nix')
-rw-r--r--nix/package.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nix/package.nix b/nix/package.nix
index 1bcc0ae..e692242 100644
--- a/nix/package.nix
+++ b/nix/package.nix
@@ -16,6 +16,7 @@
   tailwindcss,
   wasm-bindgen-cli_0_2_104,
   binaryen,
+  imagemagick,
 }:
 craneLib.buildPackage {
   pname = "rocie-mobile";
@@ -37,7 +38,8 @@ craneLib.buildPackage {
         "input.css"
         "Trunk.toml"
         "manifest.json"
-        "favicon.ico"
+        "logo.svg"
+        "generate_logo.sh"
       ])
       || (lib.strings.hasSuffix ".rs" (builtins.baseNameOf name));
   };
@@ -54,6 +56,7 @@ craneLib.buildPackage {
     tailwindcss
     wasm-bindgen-cli_0_2_104
     binaryen # for wasm-opt
+    imagemagick # needed for the generate_logo.sh command
   ];
 
   buildInputs = [