nixpkgs/pkgs/development/ocaml-modules/janestreet/js-build-tools-darwin.patch

12 lines
383 B
Diff
Raw Normal View History

--- a/ocamlbuild_goodies/jane_street_ocamlbuild_goodies.ml
+++ b/ocamlbuild_goodies/jane_street_ocamlbuild_goodies.ml
@@ -65,7 +65,7 @@ let track_external_deps = function
let stat, md5sum =
match run_and_read "uname" |> String.trim with
- | "Darwin" ->
+ | "FreeBSD" | "NetBSD" ->
(S [A "stat"; A "-f"; A "%d:%i:%m"],
A "md5")
| _ ->