From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#29814: impossible to pass spaces in GUIX_BUILD_OPTIONS Date: Fri, 22 Dec 2017 22:06:04 +0100 Message-ID: <87a7ya79s3.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSUX5-0004Nd-Km for bug-guix@gnu.org; Fri, 22 Dec 2017 16:07:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eSUX0-0001Wq-PA for bug-guix@gnu.org; Fri, 22 Dec 2017 16:07:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:39692) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eSUX0-0001WR-MK for bug-guix@gnu.org; Fri, 22 Dec 2017 16:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eSUX0-0000BC-0s for bug-guix@gnu.org; Fri, 22 Dec 2017 16:07:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Martin Castillo's message of "Fri, 22 Dec 2017 18:58:06 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Martin Castillo Cc: 29814@debbugs.gnu.org Martin Castillo skribis: > guix/util.scm:(arguments-from-envirenment-variable) uses > char-set:graphic to split the string. this makes it impossible to pass > spaces in the arguments. > > This makes it impossible to pass more than one substitute-url via the > environment. Yes, this is annoying. I think --substitute-urls (plural) was misguided. Instead we should instead have --substitute-url (singular), which could be repeated several times. That would solve the troubles with spaces. During a transition period we could keep accepting --substitute-urls. WDYT? Ludo=E2=80=99.