nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1import ./generic.nix {
2 major_version = "4";
3 minor_version = "09";
4 patch_version = "1";
5 sha256 = "1aq5505lpa39garky2icgfv4c7ylpx3j623cz9bsz5c466d2kqls";
6
7 # Breaks build with Clang
8 hardeningDisable = [ "strictoverflow" ];
9
10 # Tests do not seem to run on this old version
11 doCheck = false;
12
13 patches = [
14 ./4.09.1-Werror.patch
15 # Compatibility with Glibc 2.34
16 {
17 url = "https://github.com/ocaml/ocaml/commit/8eed2e441222588dc385a98ae8bd6f5820eb0223.patch";
18 sha256 = "sha256:1b3jc6sj2k23yvfwrv6nc1f4x2n2biqbhbbp74aqb6iyqyjsq35n";
19 }
20 ];
21}