2023-06-09 00:31:51 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
sane.programs.imagemagick = {
|
2024-01-28 11:43:05 +00:00
|
|
|
sandbox.method = "bwrap";
|
2024-02-27 22:25:17 +00:00
|
|
|
sandbox.wrapperType = "inplace"; # /etc/ImageMagick-7/delegates.xml refers to bins by absolute path
|
2024-01-28 11:43:05 +00:00
|
|
|
sandbox.whitelistPwd = true;
|
2024-02-25 01:55:46 +00:00
|
|
|
sandbox.autodetectCliPaths = "existingOrParent"; #< arg formatting is complicated enough that this won't always work.
|
2024-01-20 11:11:12 +00:00
|
|
|
packageUnwrapped = pkgs.imagemagick.override {
|
2023-06-09 00:31:51 +00:00
|
|
|
ghostscriptSupport = true;
|
|
|
|
};
|
2024-02-17 15:45:50 +00:00
|
|
|
# suggestedPrograms = [ "ghostscript" ]; #< XXX: needed? is `ghostscriptSupport = true` alone not enough??
|
2023-06-09 00:31:51 +00:00
|
|
|
};
|
|
|
|
}
|