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

2013-01-21 Thread Ludovic Courtès
Andreas Enge skribis: > Am Montag, 21. Januar 2013 schrieb Ludovic Courtès: >> Alternately, you could move the ‘check’ phase after the install phase, >> like this (untested): > > But then, if the check fails, the /nix/store would contain an "invalid" > package, no? No: if ‘check’ fails (or ‘ins

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

2013-01-21 Thread Andreas Enge
Am Montag, 21. Januar 2013 schrieb Ludovic Courtès: > Alternately, you could move the ‘check’ phase after the install phase, > like this (untested): But then, if the check fails, the /nix/store would contain an "invalid" package, no? I think it would be desirable to install only packages for whi

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

2013-01-21 Thread Ludovic Courtès
Andreas Enge 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

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

2013-01-21 Thread Andreas Enge
Am Montag, 21. Januar 2013 schrieb Cyril Roelandt: > "patch-shebang: ./otherlibs/labltk/examples_labltk/hello.tcl: warning: > no binary for interpreter `wish' found in $PATH" > > wish is provided by tk, and seems to require X, so I don't think it's > too bad. Hopefully, this is detected during co

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

2013-01-20 Thread Cyril Roelandt
* gnu/packages/ocaml.scm: New file. * Makefile.am (MODULES): Add it. * guix/licenses.scm: New variable. --- Hey ! This patch is a first attempt at packaging OCaml. I'm getting a few error messages when building: "patch-shebang: ./otherlibs/labltk/examples_labltk/hello.tcl: warning: no binary for