mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
Merge pull request #332027 from NixOS/backport-331334-to-release-24.05
[Backport release-24.05] switcheroo: add missing imagemagick dependency
This commit is contained in:
commit
bda052c9d9
@ -6,6 +6,7 @@
|
||||
, fetchFromGitLab
|
||||
, glib
|
||||
, gtk4
|
||||
, imagemagick
|
||||
, libadwaita
|
||||
, meson
|
||||
, ninja
|
||||
@ -53,6 +54,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
darwin.apple_sdk.frameworks.Foundation
|
||||
];
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
--prefix PATH : "${lib.makeBinPath [ imagemagick ]}"
|
||||
)
|
||||
'';
|
||||
|
||||
# Workaround for the gettext-sys issue
|
||||
# https://github.com/Koka/gettext-rs/issues/114
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString
|
||||
|
Loading…
Reference in New Issue
Block a user