From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 28 15:52:59 2019 Received: (at 37506) by debbugs.gnu.org; 28 Sep 2019 19:52:59 +0000 Received: from localhost ([127.0.0.1]:51313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEIm2-0006N4-LU for submit@debbugs.gnu.org; Sat, 28 Sep 2019 15:52:58 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:54672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEIly-0006Mv-OH for 37506@debbugs.gnu.org; Sat, 28 Sep 2019 15:52:55 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id C4E908FCC6; Sat, 28 Sep 2019 21:52:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Eisa8s0wUsfW; Sat, 28 Sep 2019 21:52:53 +0200 (CEST) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id C44698FCBF; Sat, 28 Sep 2019 21:52:52 +0200 (CEST) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Marius Bakke Subject: Re: bug#37506: [core-updates] Inferiors cannot reference master branch References: <87muetaau0.fsf@devup.no> <87v9tehi4u.fsf@gnu.org> <87d0fm9bno.fsf@devup.no> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 7 =?utf-8?Q?Vend=C3=A9miaire?= an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 28 Sep 2019 21:52:52 +0200 In-Reply-To: <87d0fm9bno.fsf@devup.no> (Marius Bakke's message of "Fri, 27 Sep 2019 14:16:59 +0200") Message-ID: <87a7aop59n.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 37506 Cc: 37506@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi Marius! Marius Bakke skribis: > Here is a manifest that reproduces this failure: > > (use-modules (guix channels) > (guix inferior) > (srfi srfi-1)) > > (define channels > (list (channel > (name 'guix) > (url "https://git.savannah.gnu.org/git/guix.git") > (commit "dec845606d2d184da31065fa26cd951b84b3ce2d")))) > > (define inferior > (inferior-for-channels channels)) > > (packages->manifest (first (lookup-inferior-packages inferior "hello"))) ^~~~~ =E2=80=98packages->manifest=E2=80=99 expects a list, so I had to remove the= call to =E2=80=98first=E2=80=99. But then it works for me on both =E2=80=98core-updates=E2=80=99 and =E2=80= =98master=E2=80=99: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix package -m /tmp/t.scm -p /tmp/prof Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... installing new manifest from '/tmp/t.scm' with 1 entries substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% The following derivation will be built: /gnu/store/4h0y9413i4nvdwccz5svv1m5y36l384v-profile.drv The following profile hooks will be built: /gnu/store/8rp1mzhlscri2ipx9xszld9sli79ywpn-ca-certificate-bundle.drv /gnu/store/g2cvc48yn91igp7bvsv6bw5cz47gzgzs-fonts-dir.drv /gnu/store/p5m0rag6q73qisrcnp0l79fdrp1hj2rv-manual-database.drv /gnu/store/pvhkcys50sz2apq1pb05fgva2hky91ap-info-dir.drv building CA certificate bundle... building fonts directory... building directory of Info manuals... building database for manual pages... building /gnu/store/4h0y9413i4nvdwccz5svv1m5y36l384v-profile.drv... 1 package in profile hint: Consider setting the necessary environment variables by running: GUIX_PROFILE=3D"/tmp/prof" . "$GUIX_PROFILE/etc/profile" Alternately, see `guix package --search-paths -p "/tmp/prof"'. $ git log|head -1 commit 3128d6a16a80d40d927c41f530dd48ebbb8a036d --8<---------------cut here---------------end--------------->8--- Am I missing something? Ludo=E2=80=99.