Re: [PATCH] guix: scripts: Fix GUIX_BUILD_OPTIONS handling.

2014-12-06 Thread Ludovic Courtès
Deck Pickard deck.r.pick...@gmail.com skribis:

 From 9c27d995e1a622de8457209d40031b392538e0f8 Mon Sep 17 00:00:00 2001
 From: nebuli nebu@kipple
 Date: Fri, 5 Dec 2014 01:28:12 +0100
 Subject: [PATCH] guix: scripts: Fix GUIX_BUILD_OPTIONS handling.

 Appending to raw args broke optional parameters in 'guix package -I'
 and 'guix package -A', and possibly other places.  Therefore, switch to
 parsing each set of options on its own and append resulting alists
 together afterwards.

 * guix/scripts/archive.scm (parse-options-from): Rename from
   (parse-options) and add explicit argument.  New form of (parse-options)
   using its old algorithm via -from function.
 * guix/scripts/build.scm: Ditto.
 * guix/scripts/environment.scm: Ditto.
 * guix/scripts/package.scm: Ditto.
 * guix/scripts/system.scm: Ditto.

Good catch.  I’ve applied it along with a test case that reproduces the
problem and a clarification in the doc.

Thanks!

Ludo’.



[PATCH] guix: scripts: Fix GUIX_BUILD_OPTIONS handling.

2014-12-04 Thread Deck Pickard
Perhaps, now it WILL twerk.

Drp,
-- 
(or ((,\ (x) `(,x x)) '(,\ (x) `(,x x))) (smth (that 'like)))


0001-guix-scripts-Fix-GUIX_BUILD_OPTIONS-handling.patch
Description: Binary data