GNU bug report logs - #26790
[PATCH] bash.scm: fix keyword order in 'bash-minimal'

Previous Next

Package: guix-patches;

Reported by: Sergei Trofimovich <slyfox <at> inbox.ru>

Date: Fri, 5 May 2017 21:52:01 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Sergei Trofimovich <slyfox <at> inbox.ru>
Subject: bug#26790: closed (Re: bug#26790: [PATCH] bash.scm: fix keyword
 order in 'bash-minimal')
Date: Tue, 30 May 2017 20:02:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#26790: [PATCH] bash.scm: fix keyword order in 'bash-minimal'

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 26790 <at> debbugs.gnu.org.

-- 
26790: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26790
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: Sergei Trofimovich <slyfox <at> inbox.ru>
Cc: Andy Wingo <wingo <at> igalia.com>, rennes <rennes <at> openmailbox.org>,
 26790-done <at> debbugs.gnu.org, Manolis Ragkousis <manolis837 <at> gmail.com>
Subject: Re: bug#26790: [PATCH] bash.scm: fix keyword order in 'bash-minimal'
Date: Tue, 30 May 2017 22:00:05 +0200
Sergei Trofimovich <slyfox <at> inbox.ru> skribis:

> 'bash-minimal' is a package derived from 'bash' package.
> 'bash-minimal' is supposed to override keywords from
> 'bash', but does not do it due to ordering issue.
>
> Patch changes order
> from "#:modules ... 'bash'-keywords"
> to   "'bash'-keywords #:modules ..."
>
> That fixes guix bootstrap failure on core-updates
> reported by rennes, Manolis Ragkousis and tracked
> down by Andy Wingo in:
>     https://lists.gnu.org/archive/html/guix-devel/2017-05/msg00010.html
>
> * gnu/packages/bash.scm(bash-minimal): fix #:modules ordering

Pushed to ‘core-updates’ as a30188f561af3f84a1da687dffb4192e621929fc
where I adjusted the commit log.

Thank you!

Ludo’.

[Message part 3 (message/rfc822, inline)]
From: Sergei Trofimovich <slyfox <at> inbox.ru>
To: guix-patches <at> gnu.org
Cc: Andy Wingo <wingo <at> igalia.com>, rennes <rennes <at> openmailbox.org>, Ludovic Courtès <ludo <at> gnu.org>, Manolis Ragkousis <manolis837 <at> gmail.com>, Sergei Trofimovich <slyfox <at> inbox.ru>
Subject: [PATCH] bash.scm: fix keyword order in 'bash-minimal'
Date: Fri,  5 May 2017 22:51:25 +0100
'bash-minimal' is a package derived from 'bash' package.
'bash-minimal' is supposed to override keywords from
'bash', but does not do it due to ordering issue.

Patch changes order
from "#:modules ... 'bash'-keywords"
to   "'bash'-keywords #:modules ..."

That fixes guix bootstrap failure on core-updates
reported by rennes, Manolis Ragkousis and tracked
down by Andy Wingo in:
    https://lists.gnu.org/archive/html/guix-devel/2017-05/msg00010.html

* gnu/packages/bash.scm(bash-minimal): fix #:modules ordering

Signed-off-by: Sergei Trofimovich <slyfox <at> inbox.ru>
---
 gnu/packages/bash.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm
index ef22728a9..38aa1786e 100644
--- a/gnu/packages/bash.scm
+++ b/gnu/packages/bash.scm
@@ -211,11 +211,11 @@ without modification.")
     (outputs (delete "include" (package-outputs bash)))
 
     (arguments
-     (let ((args `(#:modules ((guix build gnu-build-system)
+     (let ((args `(,@(package-arguments bash)
+                   #:modules ((guix build gnu-build-system)
                               (guix build utils)
                               (srfi srfi-1)
-                              (srfi srfi-26))
-                   ,@(package-arguments bash))))
+                              (srfi srfi-26)))))
        (substitute-keyword-arguments args
          ((#:configure-flags flags)
           `(list "--without-bash-malloc"
-- 
2.12.2




This bug report was last modified 8 years and 86 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.