dune_2: 2.7.0 -> 2.7.1
https://github.com/ocaml/dune/releases/tag/2.7.1
This commit is contained in:
committed by
Vincent Laporte
parent
cadc15222f
commit
c7e8da6225
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, ocaml, findlib }:
|
||||
{ stdenv, fetchurl, ocaml, findlib, fetchpatch }:
|
||||
|
||||
if stdenv.lib.versionOlder ocaml.version "4.08"
|
||||
then throw "dune is not available for OCaml ${ocaml.version}"
|
||||
@@ -6,17 +6,25 @@ else
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dune";
|
||||
version = "2.7.0";
|
||||
version = "2.7.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocaml/dune/releases/download/${version}/dune-${version}.tbz";
|
||||
sha256 = "058wiyncczbmlfxj3cnwn5n68wkmbaf4mgjm2bkp2hffpn2wl5xl";
|
||||
sha256 = "0lnfmc06yhbdiv6mmp0aksnnvzz4aw4zabrdg89p5msyzir3qrvn";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ];
|
||||
|
||||
buildFlags = "release";
|
||||
|
||||
patches = [
|
||||
# Fix setup.ml configure path. Remove with the next release.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/ocaml/dune/commit/8a3d7f2f2015b71384caa07226d1a89dba9d6c25.patch";
|
||||
sha256 = "0dw4q10030h9xcdlxw2vp7qm0hd2qpkb98rir5d55m9vn65w8j28";
|
||||
})
|
||||
];
|
||||
|
||||
dontAddPrefix = true;
|
||||
|
||||
installFlags = [ "PREFIX=${placeholder "out"}" "LIBDIR=$(OCAMLFIND_DESTDIR)" ];
|
||||
|
||||
Reference in New Issue
Block a user