diff --git a/pkgs/development/ocaml-modules/twt/default.nix b/pkgs/development/ocaml-modules/twt/default.nix index e2a627aa3609..c06449f68b4c 100644 --- a/pkgs/development/ocaml-modules/twt/default.nix +++ b/pkgs/development/ocaml-modules/twt/default.nix @@ -16,9 +16,9 @@ stdenv.mkDerivation { mkdir $out/bin ''; - installPhase = '' - make install PREFIX=$out - ''; + dontBuild = true; + + installFlags = "PREFIX=$(out)"; meta = { homepage = http://people.csail.mit.edu/mikelin/ocaml+twt/;