From 6078624d8880e54b6b611a9ba28f964d5b34aa5b Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Sun, 26 May 2024 20:51:38 -0700 Subject: [PATCH] beatific: wrap ebook-convert I don't want calibre installed, it keeps setting itself as the default app for things, I just want to convert ebook formats --- modules/beatific.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/beatific.nix b/modules/beatific.nix index c0dd57d..1e82f12 100644 --- a/modules/beatific.nix +++ b/modules/beatific.nix @@ -135,7 +135,9 @@ in { (mkIf cfg.extraPrograms { environment.systemPackages = with pkgs; [ - calibre # provides ebook-convert + (pkgs.writeShellScriptBin "ebook-convert" '' + exec ${pkgs.calibre}/bin/ebook-convert "$@" + '') imagemagick # image convertion cli puddletag # mp3 tag editor tesseract # OCR engine