bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: Add OCaml. licenses: Add QPL.


From: Ludovic Courtès
Subject: Re: [PATCH] gnu: Add OCaml. licenses: Add QPL.
Date: Mon, 21 Jan 2013 21:18:46 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

Andreas Enge <address@hidden> 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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]