lol

ocamlPackages_4_06.num: fix after #110571

authored by

Vincent Laporte and committed by
Vincent Laporte
e9831074 65f39b91

+5 -2
+5 -2
pkgs/development/ocaml-modules/num/default.nix
··· 1 1 { stdenv, lib, fetchFromGitHub, fetchpatch, ocaml, findlib, withStatic ? false }: 2 2 3 - stdenv.mkDerivation rec { 3 + stdenv.mkDerivation (rec { 4 4 version = "1.1"; 5 5 pname = "ocaml${ocaml.version}-num"; 6 6 src = fetchFromGitHub { ··· 28 28 inherit (ocaml.meta) platforms; 29 29 inherit (src.meta) homepage; 30 30 }; 31 - } 31 + } // (if lib.versions.majorMinor ocaml.version == "4.06" then { 32 + NIX_CFLAGS_COMPILE = "-fcommon"; 33 + } else {}) 34 + )