From mboxrd@z Thu Jan 1 00:00:00 1970 From: NOEU Subject: About "asdf-build-system/source" and dependent packages Date: Tue, 3 Mar 2020 17:32:38 +0900 Message-ID: <66c7c15a-ff2b-30eb-6bca-fd8a2b34a855@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:39017) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j92yq-0004W0-D2 for help-guix@gnu.org; Tue, 03 Mar 2020 03:32:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j92yp-0003fv-89 for help-guix@gnu.org; Tue, 03 Mar 2020 03:32:44 -0500 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]:34474) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j92yp-0003fh-0g for help-guix@gnu.org; Tue, 03 Mar 2020 03:32:43 -0500 Received: by mail-pl1-x62b.google.com with SMTP id j7so1011416plt.1 for ; Tue, 03 Mar 2020 00:32:42 -0800 (PST) Received: from [192.168.160.47] (ae139056.dynamic.ppp.asahi-net.or.jp. [14.3.139.56]) by smtp.gmail.com with ESMTPSA id k24sm20814850pgm.61.2020.03.03.00.32.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Mar 2020 00:32:40 -0800 (PST) Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Hello I am worried about the build-system of the GNU Guix package management system and the resolution of package dependencies. Please help if you like. I wanted to use the GNU Guix package management system to create a private channel for Common Lisp ASDF packages. I am working while checking "gnu/packages/lisp-xyz.scm". In lisp-xyz.scm, define the package for SBCL, and then add the ECL build package and source package to Is defined as ;; for SBCL (define-public sbcl-package-name ... (inputs `((" package-name-a ", sbcl-package-name-a) ("package-name-b", sbcl-package-name-b))) (build-system asdf-build-system / sbcl) ...) ;; for Source (define-public cl-package-name (sbcl-package-> cl-source-package sbcl-package-name)) ;; for ECL (define-public ecl-package-name (sbcl-package-> ecl-package sbcl-package-name)) To make such a definition, "guix package -i cl-package-name" will install the dependent "package-name-a" and "package-name-b" at the same time. You can find it under $GUIX_PROFILE/share/common-lisp/source. However, I simply wanted to define a package to install the source, and defined the package using "asdf-build-system/source" as follows: (define-public cl-package-name ... (inputs `((" package-name-a ", cl-package-name-a) ("package-name-b", cl-package-name-b))) (build-system asdf-build-system / source) ...) When this definition is made and "guix package -i cl-package-name" is executed, the dependent package specified in "inputs" will not be installed. (Dependent packages are also installed in asdf-build-system/source. It is executed after rewriting to the definition used) Is there a way to automatically install dependent(inputs) packages when using "asdf-build-system/source"? Best regards, NOEU