Am Sonntag, 20. Januar 2013 schrieb Cyril Roelandt: > During compilation, I get this error message : > nix/store/4mg8b8vvmava68y64qmm70gqfnhhjzmx-bash-4.2/bin/sh: hostname: > command not found I did not see this. However, the patch-shebangs phase complains about a missing interpreter "perl", so it might be good to add perl to the inputs. Then there are also "nawk" (this could probably be patched to "gawk") and "csh" (which we do not have yet). > "make test" runs the test suite, but quickly fails : > /nix/store/4mg8b8vvmava68y64qmm70gqfnhhjzmx-bash-4.2/bin/bash: /bin/sh: > No such file or directory make[2]: *** [test1.out] Error 127 This is probably due to src/testdir/Makefile containing lines like this: test1.out: test1.in -rm -f $*.failed tiny.vim small.vim mbyte.vim mzscheme.vim test.ok X* viminfo $(VALGRIND) $(VIMPROG) -u unix.vim -U NONE --noplugin -s dotest.in $*.in @/bin/sh -c "if diff test.out $*.ok; \ A probable solution would be to replace the /bin/sh by calls to the correct bash; something similar to the following lines from ghostscript.scm: (#:phases (alist-replace 'configure (lambda* (#:key #:allow-other-keys #:rest args) (let ((configure (assoc-ref %standard-phases 'configure))) (apply configure args) (substitute* "base/all-arch.mak" (("/bin/sh") (which "bash"))) (substitute* "base/unixhead.mak" (("/bin/sh") (which "bash"))))) %standard-phases))) Andreas