From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6EmBLq5f4V6XBAAA0tVLHw (envelope-from ) for ; Wed, 10 Jun 2020 22:33:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id yLt5Kq5f4V5lQQAA1q6Kng (envelope-from ) for ; Wed, 10 Jun 2020 22:33:18 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 51FBF9400E1 for ; Wed, 10 Jun 2020 22:33:17 +0000 (UTC) Received: from localhost ([::1]:56184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jj9HW-0007L0-Tj for larch@yhetil.org; Wed, 10 Jun 2020 18:33:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45254) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jj9HK-0007Kg-D6 for bug-guix@gnu.org; Wed, 10 Jun 2020 18:33:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52271) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jj9HK-0004ex-38 for bug-guix@gnu.org; Wed, 10 Jun 2020 18:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jj9HK-00067L-0G for bug-guix@gnu.org; Wed, 10 Jun 2020 18:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41796: Grafts don't handle outputs other than out Resent-From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 10 Jun 2020 22:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41796 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 41796@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159182835423480 (code B ref -1); Wed, 10 Jun 2020 22:33:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Jun 2020 22:32:34 +0000 Received: from localhost ([127.0.0.1]:35584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jj9Gs-00066d-Dm for submit@debbugs.gnu.org; Wed, 10 Jun 2020 18:32:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:58504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jj9Gq-00066W-Gz for submit@debbugs.gnu.org; Wed, 10 Jun 2020 18:32:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jj9Gq-0007Il-7l for bug-guix@gnu.org; Wed, 10 Jun 2020 18:32:32 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:37390) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jj9Go-0004cW-Qt for bug-guix@gnu.org; Wed, 10 Jun 2020 18:32:31 -0400 Received: (qmail 28345 invoked by uid 1009); 11 Jun 2020 00:32:22 +0200 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25838. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.044012 secs); 10 Jun 2020 22:32:22 -0000 Received: from unknown (HELO gravity) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with SMTP; 11 Jun 2020 00:32:22 +0200 Date: Thu, 11 Jun 2020 00:32:20 +0200 From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Message-ID: <20200610223220.hi36uznx57jol2h5@gravity> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xlaou5elr4sabhoi" Content-Disposition: inline Received-SPF: none client-ip=37.59.186.212; envelope-from=kuba@kadziolka.net; helo=pat.zlotemysli.pl X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/10 18:32:22 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -2.61 X-TUID: iV1e6JF9BTU0 --xlaou5elr4sabhoi Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable $ cat test.scm (use-modules (guix packages) (guix build-system trivial)) (define-public core-pkg (package (name "core-pkg") (version "1.0") (replacement core-pkg/fixed) (source #f) (outputs '("out" "lib")) (build-system trivial-build-system) (arguments `(#:modules ((guix build utils)) #:builder (begin (use-modules (guix build utils)) (let ((outdir (assoc-ref %outputs "out")) (libdir (assoc-ref %outputs "lib"))) (mkdir-p outdir) (mkdir-p libdir) #t)))) (synopsis #f) (description #f) (home-page #f) (license #f))) (define-public core-pkg/fixed (package (inherit core-pkg) (version "1.1"))) (package (name "other-pkg") (version "4.2") (source #f) (build-system trivial-build-system) (inputs `(("core-pkg" ,core-pkg) ("core-pkg:lib" ,core-pkg "lib"))) (arguments `(#:modules ((guix build utils)) #:builder (begin (use-modules (guix build utils)) (let ((outdir (assoc-ref %outputs "out"))) (mkdir-p outdir) (with-output-to-file (string-append outdir "/hello") (lambda () (display (assoc-ref %build-inputs "core-pkg")) (newline) (display (assoc-ref %build-inputs "core-pkg:lib")) (newline))) #t)))) (synopsis #f) (description #f) (home-page #f) (license #f)) ~$ cat `guix build --no-offload -f test.scm`/hello /gnu/store/pmz07rzm63z02lkyyldsw3srf98h01y2-core-pkg-1.1 /gnu/store/pivsji8qfpln4i4v0f5v5cjmzakmcmvg-core-pkg-1.0-lib Expected output: the second line contains -core-pkg-1.1-lib. Regards, Jakub K=C4=85dzio=C5=82ka --xlaou5elr4sabhoi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIyBAABCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl7hX28ACgkQ4xWnWEYT FWSEyw/3XMAjfC55ltrKpOkpQnX8abjwBJjJlwHy/b+qQHf+WwTMGxecYCUVExXt qsFRho0qCQVqkhj5iwB0ownem/GZCnwjkbUXJ2vMwb3wHrra3pBFwoQjdg6Yv+Q5 KKlyP+nNK9+MTz8+AKzMd9Yng52dl2LE4qS/v9Gi6oxirreStG3+MdBrenpYBPWU gitD/erPRx6abYeHHP4l1HI5YdmU/MtP4orNBv8N+bKBMaqEcYhpg6dhPLJg6vHB mozrW9AMR0XghKr6xlNwg7ddh8xcyQnW6Mj4Ongl/LXqQXr/znq1kgrR3jeemRGu SDGMYdmW1gsRtqwBnrGL0bvY++Kcbb3+lYuxqOkLvE/Br2u4c9e/TYcw5p8AqeGA vY6McSyv1VLFOmFhQ19fejaO3bQiglACBRdZGVybWQ8yNh6olfip8DfVUVrgxPAz tpf1aqroaWAR68RrgsQEc6LmPfYysKzZVJp8drJtiGvqU7MsgWNFBrHVxZpGv4l9 DUSQMyz0M9NPLSMzz9Nz9q4lU4Nt1MkyvV52iT08Rgls9WU5w+M+QK2b3FS2sZlq uqV/8TzB3HhCbCjAeNY5HNYzFwiqBd/TCwSnArYlUwAKnb0/88tHoy0nS2+/C2pd x+VhpFNcqj+F/nbhhPuk0atztnhi274c6GYTKO0+uve6Wh9ZKA== =o5vg -----END PGP SIGNATURE----- --xlaou5elr4sabhoi--