[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] build: ruby: Add 'gem-flags' key to ruby build system
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] build: ruby: Add 'gem-flags' key to ruby build system |
Date: |
Sat, 18 Jul 2015 17:20:28 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Pjotr Prins <address@hidden> skribis:
> From ce8cfeadc8a661ff0fe0b96dc241d0063ed49ba3 Mon Sep 17 00:00:00 2001
> From: pjotrp <address@hidden>
> Date: Mon, 13 Jul 2015 15:32:36 +0200
> Subject: [PATCH] build: ruby: Add 'gem-flags' key to ruby build system
>
> * guix/build-system/ruby.scm (build): add 'gem-flags' key
> * guix/build/ruby-build-system.scm (build): use 'gem-flags' key
[...]
> (zero? (system* "gem" "install" "--local"
> - "--bindir" (string-append out "/bin")))))
> + "--bindir" (string-append out "/bin") "--"
> + (string-join (cond (null?
> gem-flags)('())(gem-flags)))))))
The ‘cond’ form is syntactically invalid, and ‘gem-flags’ is not a
procedure so it cannot be called. So I’ve changed that, also removing
the “--”. Pushed as 6e9f291.
Thanks!
Ludo’.