summary refs log blame commit diff
path: root/pkgs/development/ocaml-modules/janestreet/js-build-tools-darwin.patch
blob: 8878b4be68b89c2718b810efe3d005cfe22861ab (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                          
--- 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")
       | _ ->