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 ms0.migadu.com with LMTPS id sO+5HrvUs2FvagEAgWs5BA (envelope-from ) for ; Fri, 10 Dec 2021 23:29:15 +0100 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 yGx+GrvUs2FyWQAA1q6Kng (envelope-from ) for ; Fri, 10 Dec 2021 22:29:15 +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 475FD4283 for ; Fri, 10 Dec 2021 23:29:15 +0100 (CET) Received: from localhost ([::1]:57912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvoOA-0004bU-2w for larch@yhetil.org; Fri, 10 Dec 2021 17:29:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvoNz-0004Zn-Vr for bug-guix@gnu.org; Fri, 10 Dec 2021 17:29:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36568) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvoNy-0004Z7-MF for bug-guix@gnu.org; Fri, 10 Dec 2021 17:29:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mvoNy-0005kV-Je for bug-guix@gnu.org; Fri, 10 Dec 2021 17:29:02 -0500 Subject: bug#52093: Incorrect argument handling in "guix shell" Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Fri, 10 Dec 2021 22:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 52093 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Konrad Hinsen Mail-Followup-To: 52093@debbugs.gnu.org, ludo@gnu.org, konrad.hinsen@fastmail.net Received: via spool by 52093-done@debbugs.gnu.org id=D52093.163917531622049 (code D ref 52093); Fri, 10 Dec 2021 22:29:02 +0000 Received: (at 52093-done) by debbugs.gnu.org; 10 Dec 2021 22:28:36 +0000 Received: from localhost ([127.0.0.1]:48110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvoNX-0005jZ-UU for submit@debbugs.gnu.org; Fri, 10 Dec 2021 17:28:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvoNU-0005jM-Mx for 52093-done@debbugs.gnu.org; Fri, 10 Dec 2021 17:28:34 -0500 Received: from [2001:470:142:3::e] (port=51536 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvoNP-0003e4-C4; Fri, 10 Dec 2021 17:28:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=ppdoLrcPnaLY0q/PISPtD/sYdo1UZidUDlG7ldNZdF8=; b=eRRsq1XKX0zglls4DXF/ z17L34QJcirsq904OISRHzlxDHTepsYZXKzJvck9I2Iw3Cf1srvl9WUyCbNwbDAriB38wknuhzq8L hX3gWftA7HHm1rMo8iyzE+4nM/VIFyvdJbROU0GY9VwbCHc3fyUXxj5w1lYGTtFaOO9Mg3MAyC6tR lN0BQPCR+rrKhUqwkNJGvJcRxnUckd2EXTULDZ2EFIWorcaW4279GRziBseAMBc1VEhU6cg4b3PUc WW/RA23LPNwhq+al6s2B8U6EAilJijZmU8Cv6iAqCKHxmYRtDw0PKtXle7i6nyrraQ4pdrWWzDpDN ZRmwjwwZPc1C0Q==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:64417 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvoNP-0005zx-9C; Fri, 10 Dec 2021 17:28:27 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Fri, 10 Dec 2021 23:28:24 +0100 In-Reply-To: (Konrad Hinsen's message of "Thu, 25 Nov 2021 08:57:20 +0100") Message-ID: <875yrw6qnr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 52093-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639175355; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ppdoLrcPnaLY0q/PISPtD/sYdo1UZidUDlG7ldNZdF8=; b=twcUduyZSpe7P5Yq4Pa6GxnYUK+vB3rCvtkLpUS9IWxKwg5uHGRye9mhcHvCWbtZ5+oyP3 d3Ozg/DTFebUTNPsiygbEtw6QxDwmI5kxaOnen54WblipZO70/rEACl19mJFNByZFG7vs4 sc2DQ0SokavMjwB2Nly6utpwGwo4rwePh//Fa6xlngCTAmnv+ejY7s/nJff6Wos65zK2Bo yIF3TG03nc55Cm8WtEac6f0NfT2KIxFugYKeWUy3E3U0mm58D4jeZhRx63rUGJeIthUi9Y dGx67A4qGPnK7jeF+7qDY6UCetHhOSRo/tvisvL4RlmQk8CZN/8iAgXme1YgAw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639175355; a=rsa-sha256; cv=none; b=jqo900w++svX8wT+YVs7ZYp90fYoxxlGJZbU0TZ9KhrEore0zs4UUI+5DXDnxKVtgbN0WO R0n75aTGYQ8Afw/UARYWsHFLwZxxFoRSX0vPwqUS8Um77WCBlyswMAwxHfkoftxyq+EZG3 v6gAUnnXncEp9YoW6aR7Q3+IWYBjDWkGZkuySz76gIe/8QLpFa0eMY0v4DOWbzsAVSnT9o BPsUvQa2JZxqgvzXRKEQyf5QxWoSHc57CEGZCyFca7mU3CQFzeQSctVCTv7hsCej/GrBUd VUE7pcnH65yI9g+2uy9BggVCyA4k67CvMNNWzm5vrCDWwJ/QuXEK8b4kz3LHnQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=eRRsq1XK; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=eRRsq1XK; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 475FD4283 X-Spam-Score: -3.66 X-Migadu-Scanner: scn1.migadu.com X-TUID: Q/DoCXs1KCLt Hi Konrad, Konrad Hinsen skribis: > The following session illustrates that the -D option to "guix shell" is > erroneously applied to *two* package arguments rather than just one if > the first package argument takes the form of a file. > > The file "empty-package.scm" is attached, it defines an empty package > with no inputs. The environment defined by the command below should thus > contain only "hello" and "bash", plus the run-time dependencies of > "bash". Instead, it contains the build dependencies of "hello". > > $ guix shell --container -D -f empty-package.scm hello Oops, fixed in 71977101218d1fd5d7f5016cbbcb8710be057d49. Thanks! Ludo=E2=80=99.