programs: imagemagick: ship ghostscript as a suggested package

This commit is contained in:
Colin 2023-04-24 09:48:09 +00:00
parent b85bdf26fd
commit 6b7a8f9fec

View File

@ -99,7 +99,6 @@ let
flashrom
fwupd
gh # MS GitHub cli
ghostscript # TODO: imagemagick wrapper should add gs to PATH
git # needed as a user package, for config.
gnupg
gocryptfs
@ -302,9 +301,6 @@ in
}
{
# nontrivial package definitions
imagemagick.package = pkgs.imagemagick.override {
ghostscriptSupport = true;
};
dino.persist.private = [ ".local/share/dino" ];
@ -323,10 +319,19 @@ in
# TODO: we can populate gh's stuff statically; it even lets us use the same oauth across machines
gh.persist.private = [ ".config/gh" ];
ghostscript = {}; # used by imagemagick
# XXX: we preserve the whole thing because if we only preserve gPodder/Downloads
# then startup is SLOW during feed import, and we might end up with zombie eps in the dl dir.
gpodder-configured.persist.plaintext = [ "gPodder" ];
imagemagick = {
package = pkgs.imagemagick.override {
ghostscriptSupport = true;
};
suggestedPrograms = [ "ghostscript" ];
};
# jellyfin stores things in a bunch of directories: this one persists auth info.
# it *might* be possible to populate this externally (it's Qt stuff), but likely to
# be fragile and take an hour+ to figure out.