ocamlPackages.hacl-star-raw: fix build

This commit is contained in:
Ulrik Strid 2023-05-04 14:19:20 +02:00
parent 353a67c4d0
commit 52801e32b2

View file

@ -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