unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Calling functions in `make-flags'
@ 2014-02-22  1:13 Sree Harsha Totakura
  2014-02-22  7:34 ` Mark H Weaver
  0 siblings, 1 reply; 5+ messages in thread
From: Sree Harsha Totakura @ 2014-02-22  1:13 UTC (permalink / raw)
  To: guix-devel

Hi,

I am trying to build a package which does not have 'configure' script.
It instead relies solely on a makefile.  For this to function, I have to
set the 'SH' variable inside the Makefile to a valid shell.

I am trying to set the 'SH' variable through build-flags like this:
> (arguments
>     '(#:make-flags '((string-append "SH=" (which "sh")))

But this fails with the following error:

> 203: 1 [build #:make-flags ((string-append "SH=" (which "sh"))) ...]
> In unknown file:
>    ?: 0 [system* "make" "-j" "4" (string-append "SH=" (which "sh"))]
> 
> ERROR: In procedure system*:
> ERROR: Wrong type (expecting string): (string-append "SH=" (which "sh"))

How can I get this to work?

Regards,
Sree

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-02-23  7:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-22  1:13 Calling functions in `make-flags' Sree Harsha Totakura
2014-02-22  7:34 ` Mark H Weaver
2014-02-22  9:07   ` Sree Harsha Totakura
2014-02-23  6:20     ` Mark H Weaver
2014-02-23  7:28       ` Sree Harsha Totakura

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).