On Sat, Dec 03, 2016 at 11:42:13AM +0100, David Craven wrote: > * gnu/packages/ocaml.scm (ocaml-menhir): New variable.
> + #:phases > + (modify-phases %standard-phases > + (replace 'configure > + (lambda* (#:key outputs #:allow-other-keys) > + (let ((out (assoc-ref outputs "out"))) > + (setenv "PREFIX" out)) > + #t))))) This is skipping the configure phase and reusing it to set the PREFIX variable, right? If so, I think it's better to delete the configure phase and set the variable in its own set-env phase, or with #:configure-flags or #:make-flags (if they are respected by this build system).