From 52801e32b2042cfc2e43ce7402e62029db12ae3f Mon Sep 17 00:00:00 2001 From: Ulrik Strid Date: Thu, 4 May 2023 14:19:20 +0200 Subject: [PATCH] ocamlPackages.hacl-star-raw: fix build --- pkgs/development/ocaml-modules/hacl-star/raw.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/hacl-star/raw.nix b/pkgs/development/ocaml-modules/hacl-star/raw.nix index ce076ca779adb..027d6fe178540 100644 --- a/pkgs/development/ocaml-modules/hacl-star/raw.nix +++ b/pkgs/development/ocaml-modules/hacl-star/raw.nix @@ -38,12 +38,14 @@ stdenv.mkDerivation rec { runHook postBuild ''; + preInstall = '' + mkdir $out + mkdir -p $OCAMLFIND_DESTDIR/stublibs + ''; + installPhase = '' runHook preInstall - echo $OCAMLFIND_DESTDIR - mkdir $out - mkdir -p $OCAMLFIND_DESTDIR/stublibs make -C hacl-star-raw install runHook postInstall