summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2021-09-28 21:53:23 +0200
committerVincent Laporte <vbgl@users.noreply.github.com>2021-10-05 09:55:19 +0200
commita4b0e3042b33c07f0fb8f6eaf4e69c0cf8520e46 (patch)
tree1f962cc5dc96935625d9032883e437b35823f4b1
parentbc6a0a6a3b66dfa9d10409a3f76df1ddded93ef1 (diff)
downloadnixpkgs-a4b0e3042b33c07f0fb8f6eaf4e69c0cf8520e46.tar
nixpkgs-a4b0e3042b33c07f0fb8f6eaf4e69c0cf8520e46.tar.gz
nixpkgs-a4b0e3042b33c07f0fb8f6eaf4e69c0cf8520e46.tar.bz2
nixpkgs-a4b0e3042b33c07f0fb8f6eaf4e69c0cf8520e46.tar.lz
nixpkgs-a4b0e3042b33c07f0fb8f6eaf4e69c0cf8520e46.tar.xz
nixpkgs-a4b0e3042b33c07f0fb8f6eaf4e69c0cf8520e46.tar.zst
nixpkgs-a4b0e3042b33c07f0fb8f6eaf4e69c0cf8520e46.zip
ocamlPackages.twt: fix build
-rw-r--r--pkgs/development/ocaml-modules/twt/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/development/ocaml-modules/twt/default.nix b/pkgs/development/ocaml-modules/twt/default.nix
index 77635e8848e..f9af4ab8ca0 100644
--- a/pkgs/development/ocaml-modules/twt/default.nix
+++ b/pkgs/development/ocaml-modules/twt/default.nix
@@ -10,10 +10,9 @@ stdenv.mkDerivation {
 
   buildInputs = [ ocaml findlib ];
 
-  createFindlibDestdir = true;
-
-  configurePhase = ''
-    mkdir $out/bin
+  preInstall = ''
+    mkdir -p $out/bin
+    mkdir -p $OCAMLFIND_DESTDIR
   '';
 
   dontBuild = true;