From 8566d8793b005ae8ee2bf63b8817b301c94849cb Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 25 Jun 2019 19:09:51 +0300 Subject: gnu: toot: Don't install the Makefile. * gnu/packages/mastodon.scm (toot)[arguments]: Add custom phase to prevent installing data_files. --- gnu/packages/mastodon.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/mastodon.scm b/gnu/packages/mastodon.scm index 028745f681..cd12f5a7fd 100644 --- a/gnu/packages/mastodon.scm +++ b/gnu/packages/mastodon.scm @@ -42,6 +42,12 @@ '(#:phases (modify-phases %standard-phases (delete 'check) + ;; see https://github.com/ihabunek/toot/issues/91 + (add-after 'unpack 'dont-install-Makefile + (lambda _ + (substitute* "setup.py" + (("data_files.*" all) "")) + #t)) (add-after 'install 'check (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) -- cgit v1.2.3