diff options
author | Guillaume Girol <symphorien@users.noreply.github.com> | 2024-01-14 11:00:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-14 11:00:47 +0100 |
commit | 0580b0793f7bf39502cb6e988e131c3cf6d0c53d (patch) | |
tree | 22dd5fe1b536434ef592002e371ac15f834194f6 /pkgs/applications/misc | |
parent | 68b6603c753cbc8a747b0543b1484fe4eae4483c (diff) | |
parent | aac9f87364922c3f19a4b58c109fceade3354385 (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.nix | 9 |
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 = { |