Andreas Enge <andr...@enge.fr> skribis: > Am Montag, 21. Januar 2013 schrieb Cyril Roelandt:
[...] >> Finally, a bunch of tests fail, and some of them cannot even be >> launched: >> "/nix/store/wqvmn0mmk68iwy88ljgqn57vjf15nf74-ocaml-4.00.1/bin/ocamlrun: >> bad interpreter: No such file or directory" >> >> This is because OCaml assumes that "make install" has been run before >> launching the tests. I'm not sure whether there's a clean solution to >> this problem. WDYT ? > > Maybe you could patch the files to point to the location of the binary in > the build tree? Alternately, you could move the ‘check’ phase after the install phase, like this (untested): (arguments '(#:phases (let ((check (assq-ref %standard-phases 'check))) (alist-cons-after 'install 'check-after-install check (alist-remove 'check %standard-phases))))) HTH, Ludo’.