nixpkgs/pkgs/development/compilers/fstar/ulib.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
363 B
Nix
Raw Normal View History

2023-12-27 21:20:31 +00:00
{
fstar-dune,
src,
stdenv,
version,
z3,
}:
stdenv.mkDerivation {
pname = "fstar-ulib";
inherit version src;
nativeBuildInputs = [
z3
];
postPatch = ''
mkdir -p bin
cp ${fstar-dune}/bin/fstar.exe bin
patchShebangs ulib/install-ulib.sh
cd ulib
'';
makeFlags = [ "PREFIX=$(out)" ];
enableParallelBuilding = true;
}