Brendan Tildesley writes: > From 9317684cdc23bcf6edb8f38abf5f057b319a0a68 Mon Sep 17 00:00:00 2001 > From: Brendan Tildesley > Date: Tue, 16 May 2017 10:53:44 +1000 > Subject: [PATCH 10/10] gnu: calibre: Don't create uninstaller. > > gnu/packages/ebook.scm (calibre). Don't create uninstaller. > --- > gnu/packages/ebook.scm | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm > index 289c2d07d..cca5e7895 100644 > --- a/gnu/packages/ebook.scm > +++ b/gnu/packages/ebook.scm > @@ -84,6 +84,8 @@ > (delete-file-recursively "resources/fonts/liberation") > (delete-file-recursively "src/chardet") > (substitute* (find-files "." "\\.py") > + ;; We can't use the uninstaller in Guix. Don't build it. > + (("self\\.create_uninstaller()") "") I moved this to a phase instead since 'snippets' affects the result of `guix build -S`. We try to keep the original source code as original as possible, and apply guix-specific tweaks in phases instead. Sorry I missed it the first round, and thanks for finding it!