From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jack Hill Subject: bug#35919: recutils package does not install emacs rec-mode Date: Sun, 9 Jun 2019 22:01:12 -0400 (EDT) Message-ID: References: <87d0k2wqwr.fsf@gnu.org> <875zped46f.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="925712948-2022477210-1560132072=:5164" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52739) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ha9dL-0004Zk-22 for bug-guix@gnu.org; Sun, 09 Jun 2019 22:02:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ha9dK-0001Qt-02 for bug-guix@gnu.org; Sun, 09 Jun 2019 22:02:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42153) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ha9dJ-0001Qp-TM for bug-guix@gnu.org; Sun, 09 Jun 2019 22:02:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ha9dJ-0002DT-Ph for bug-guix@gnu.org; Sun, 09 Jun 2019 22:02:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <875zped46f.fsf@gmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Oleg Pykhalov Cc: 35919@debbugs.gnu.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --925712948-2022477210-1560132072=:5164 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT On Sun, 9 Jun 2019, Oleg Pykhalov wrote: > WDYT about creating a new package recipe in > ‘gnu/packages/emacs-xyz.scm’, which inherits ‘recutils’ and sets build > system to ‘emacs-build-system’? We will probably need to change > directory after unpack phase in this case, but we will not need to > maintain Emacs lisp files compilation manually. I have prepared the following patch implementing this suggestion (thanks again, I'm much happier with this). I ended up putting it in databases.scm rather than emacs-xyz.scm so that it can live with the recutls definition, and not run afoul of the advice by Ludo’ in [0], "The lesson is: when inheriting from a package, do it in the module where it’s defined." [0] https://issues.guix.gnu.org/issue/35154#5 I have also set the inputs and native inputs to the empty lists, because as far as I can tell, the emacs mode does not depend on anything outside of the emacs-build-system. Best, Jack --925712948-2022477210-1560132072=:5164--