git.iko.soy/typeable/nixpkgs
on master help sign in
nixpkgs: no parallel builds for mono 4.4

See #32386 -- while Mono in general should build correctly with parallel building, it seems the 4.4 branch has broken. Instead, allow parallel build support to be overridden by individual versions, and default to true. Signed-off-by: Austin Seipp <aseipp@pobox.com>

commit90bcfc78c3fcf1439ac7951861cfa266d1c6da1f authorAustin Seipp <aseipp@pobox.com> dateThu 7 Dec 2017, 17:29 (9 years ago) parent6f64bc5
2 files changed+10−2
pkgs/development/compilers/mono/4.4.nix+1 pkgs/development/compilers/mono/generic.nix+9−2
pkgs/development/compilers/mono/4.4.nix+1
@@ -4,4 +4,5 @@ callPackage ./generic.nix (rec {
44 inherit Foundation libobjc;
55 version = "4.4.2.11";
66 sha256 = "0cxnypw1j7s253wr5hy05k42ghgg2s9qibp10kndwnp5bv12q34h";
7+ buildParallel = false; # see #32386 -- parallel building broken on 4.4
78})
pkgs/development/compilers/mono/generic.nix+9−2
@@ -1,4 +1,11 @@
1−{ stdenv, fetchurl, bison, pkgconfig, glib, gettext, perl, libgdiplus, libX11, callPackage, ncurses, zlib, withLLVM ? false, cacert, Foundation, libobjc, python, version, sha256 }:
1+{ stdenv, fetchurl, bison, pkgconfig, glib, gettext, perl, libgdiplus, libX11
2+, callPackage, ncurses, zlib
3+, cacert, Foundation, libobjc, python
4+
5+, version, sha256
6+, withLLVM ? false
7+, buildParallel ? true
8+}:
29
310let
411 llvm = callPackage ./llvm.nix { };
@@ -40,7 +47,7 @@ stdenv.mkDerivation rec {
4047 # The file /nix/store/xxx-mono-2.4.2.1/lib/mscorlib.dll is an invalid CIL image
4148 dontStrip = true;
4249
43− enableParallelBuilding = true;
50+ enableParallelBuilding = buildParallel;
4451
4552 # We want pkg-config to take priority over the dlls in the Mono framework and the GAC
4653 # because we control pkg-config