about summary refs log tree commit diff
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien@users.noreply.github.com>2024-01-14 11:00:47 +0100
committerGitHub <noreply@github.com>2024-01-14 11:00:47 +0100
commit0580b0793f7bf39502cb6e988e131c3cf6d0c53d (patch)
tree22dd5fe1b536434ef592002e371ac15f834194f6 /pkgs/applications/misc
parent68b6603c753cbc8a747b0543b1484fe4eae4483c (diff)
parentaac9f87364922c3f19a4b58c109fceade3354385 (diff)
Merge pull request #278991 from onemoresuza/wallust-theme-feature
wallust: add imagemagick dependency
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r--pkgs/applications/misc/wallust/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/misc/wallust/default.nix b/pkgs/applications/misc/wallust/default.nix
index 1cd1184a23450..03630e5b82b43 100644
--- a/pkgs/applications/misc/wallust/default.nix
+++ b/pkgs/applications/misc/wallust/default.nix
@@ -2,6 +2,8 @@
 , fetchFromGitea
 , rustPlatform
 , nix-update-script
+, imagemagick
+, makeWrapper
 }:
 let
   version = "2.9.0";
@@ -20,6 +22,13 @@ rustPlatform.buildRustPackage {
 
   cargoHash = "sha256-O9w18ae83mgF3zjk0WUMeu16Ap7CF2ubuPnOqeCt4Nw=";
 
+  nativeBuildInputs = [ makeWrapper ];
+
+  postFixup = ''
+    wrapProgram $out/bin/wallust \
+      --prefix PATH : "${lib.makeBinPath [ imagemagick ]}"
+  '';
+
   passthru.updateScript = nix-update-script { };
 
   meta = {