Sree Harsha Totakura <[email protected]> writes:
> 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")))
Try this instead:
(arguments
'(#:make-flags (list (string-append "SH=" (which "sh")))
...))
If that doesn't work, then try this:
(arguments
'(#:make-flags (list (string-append "SH="
(assoc-ref %build-inputs "bash")
"/bin/sh"))
...))
I don't have time at the moment to research whether the first one would
work (it depends on when the code is evaluated), but I didn't want to
keep you waiting.
Mark