depot/third_party/nixpkgs/pkgs/development/compilers/fstar/ulib.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

26 lines
356 B
Nix

{ 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;
}