From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUH5K-0004sM-8p for guix-patches@gnu.org; Sat, 16 Jun 2018 15:42:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUH5G-0005h7-5o for guix-patches@gnu.org; Sat, 16 Jun 2018 15:42:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:44187) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fUH5G-0005go-1a for guix-patches@gnu.org; Sat, 16 Jun 2018 15:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fUH5F-0004Wl-Qi for guix-patches@gnu.org; Sat, 16 Jun 2018 15:42:01 -0400 Subject: [bug#31863] [PATCH] gnu: emacs-fish-completion: Don't propagate inputs. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUH4W-0004q5-TB for guix-patches@gnu.org; Sat, 16 Jun 2018 15:41:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUH4T-0005Pw-0i for guix-patches@gnu.org; Sat, 16 Jun 2018 15:41:16 -0400 Received: from mail-wr0-x22e.google.com ([2a00:1450:400c:c0c::22e]:37253) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fUH4S-0005Os-OS for guix-patches@gnu.org; Sat, 16 Jun 2018 15:41:12 -0400 Received: by mail-wr0-x22e.google.com with SMTP id d8-v6so12948541wro.4 for ; Sat, 16 Jun 2018 12:41:12 -0700 (PDT) Received: from localhost.localdomain ([37.171.5.73]) by smtp.gmail.com with ESMTPSA id y30-v6sm8965307wrd.70.2018.06.16.12.41.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Jun 2018 12:41:10 -0700 (PDT) From: Pierre Neidhardt Date: Sat, 16 Jun 2018 21:41:04 +0200 Message-Id: <20180616194104.18024-1-ambrevar@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31863@debbugs.gnu.org * gnu/packages/emacs.scm (emacs-fish-completion)[propagated-inputs]: Remove fish [inputs]: Add fish --- gnu/packages/emacs.scm | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 4999dda55..1bf046b44 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -10857,9 +10857,21 @@ Org-mode. It features: (base32 "16329py7fvid0bap1qhqxhdc68m9qqy1p8gc2bhng81zhm5a5zsm")))) (build-system emacs-build-system) - (propagated-inputs `(("fish" ,fish))) + (inputs `(("fish" ,fish))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((fish (assoc-ref inputs "fish"))) + ;; Specify the absolute file names of the various + ;; programs so that everything works out-of-the-box. + (emacs-substitute-variables + "fish-completion.el" + ("fish-completion-command" + (string-append fish "/bin/fish"))))))))) (home-page - "https://github.com/Ambrevar/emacs-fish-completion") + "https://gitlab.com/Ambrevar/emacs-fish-completion") (synopsis "Fish completion for Emacs pcomplete") (description "This package provides completion for the Fish shell to pcomplete (used -- 2.17.1