Kete <k...@ninthfloor.org> skribis:

> On Saturday, January 04, 2014 08:15:40 AM John Darrington wrote:
>> The example in bash.scm is over complicated.  Look at some of the examples
>> in xorg.scm to see how to set configure-flags.
>
> That got me a little further.
>       Src/../Src/mkmakemod.sh: line 467: /bin/sh: No such file or directory
>       Makefile:299: recipe for target 'Makemod' failed

As John notes, there’s no /bin/sh in the build environment.  By default,
files starting with #!/bin/sh (or similar) are automatically patched to
#!/nix/store/.../bin/sh.

However, it could be that mkmakemod.sh explicitly invokes /bin/sh in its
body, in which case it has to be patched “manually”.

Try building with --keep-failed, inspect that file, and then don’t
hesitate to join #guix on Freenode for more advice/debugging.  ;-)

Ludo’.

Reply via email to