- Some recent StrategoXT distributions
- Build ocaml with x11 support svn path=/nixpkgs/trunk/; revision=1190
This commit is contained in:
@@ -1,13 +1,8 @@
|
||||
. $stdenv/setup
|
||||
|
||||
|
||||
configureFlags="-prefix $out $configureFlags"
|
||||
genericBuild
|
||||
|
||||
# make world
|
||||
# make bootstrap
|
||||
# make opt
|
||||
# make opt.opt
|
||||
# make install
|
||||
#cd emacs/
|
||||
#make EMACSDIR=$out/share/ocaml/emacs
|
||||
#mkdir -p $out/share/ocaml/emacs
|
||||
#make EMACSDIR=$out/share/ocaml/emacs install
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl}:
|
||||
{stdenv, fetchurl, x11}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-3.08.0";
|
||||
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
||||
};
|
||||
configureScript = ./configure;
|
||||
dontAddPrefix = "True";
|
||||
configureFlags = "-no-tk";
|
||||
configureFlags = ["-no-tk" "-x11lib" x11];
|
||||
makeFlags = ["world" "bootstrap" "opt"];
|
||||
checkTarget = ["opt.opt"];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user