Merge staging-next into staging
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ config, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, which
|
||||
@@ -14,7 +14,7 @@
|
||||
, liburcu
|
||||
, libuuid
|
||||
, libkrb5
|
||||
, debug ? false
|
||||
, debug ? config.coreclr.debug or false
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
@@ -19,6 +19,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postPatch = ''
|
||||
sed -e 's/<= obj-date/<= (if (= 0 obj-date) 1 obj-date)/' -i lsp/make.lisp
|
||||
''
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902475
|
||||
+ ''
|
||||
substituteInPlace h/elf64_i386_reloc.h \
|
||||
--replace 'case R_X86_64_PC32:' 'case R_X86_64_PC32: case R_X86_64_PLT32:'
|
||||
'';
|
||||
|
||||
sourceRoot = "gcl/gcl";
|
||||
|
||||
@@ -21,6 +21,12 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "00jbsn0qp8ki2w7dx8caha7g2hr9076xa6bg48j3qqqncff93zdh";
|
||||
})];
|
||||
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902475
|
||||
postPatch = ''
|
||||
substituteInPlace h/elf64_i386_reloc.h \
|
||||
--replace 'case R_X86_64_PC32:' 'case R_X86_64_PC32: case R_X86_64_PLT32:'
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
mpfr m4 binutils emacs gmp
|
||||
libX11 xorgproto libXi
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libtool, zip, libffi, libsigsegv, readline, gmp,
|
||||
gnutls, gnome2, cairo, SDL, sqlite, emacsSupport ? false, emacs ? null }:
|
||||
{ config, stdenv, fetchurl, pkgconfig, libtool
|
||||
, zip, libffi, libsigsegv, readline, gmp
|
||||
, gnutls, gnome2, cairo, SDL, sqlite
|
||||
, emacsSupport ? config.emacsSupport or false, emacs ? null }:
|
||||
|
||||
assert emacsSupport -> (emacs != null);
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
{ stdenv, fetchFromGitHub, tzdata, iana-etc, go_bootstrap, runCommand, writeScriptBin
|
||||
, perl, which, pkgconfig, patch, procps, pcre, cacert, llvm, Security, Foundation }:
|
||||
, perl, which, pkgconfig, patch, procps, pcre, cacert, llvm, Security, Foundation
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
let
|
||||
|
||||
@@ -122,6 +124,11 @@ stdenv.mkDerivation rec {
|
||||
./creds-test.patch
|
||||
./go-1.9-skip-flaky-19608.patch
|
||||
./go-1.9-skip-flaky-20072.patch
|
||||
(fetchpatch {
|
||||
name = "missing_cpuHog_in_pprof_output.diff";
|
||||
url = "https://github.com/golang/go/commit/33110e2c.diff";
|
||||
sha256 = "04vh9lflbpz9xjvymyzhd91gkxiiwwz4lhglzl3r8z0lk45p96qn";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = optionalString stdenv.isDarwin ''
|
||||
|
||||
12
pkgs/development/compilers/ocaml/4.08.nix
Normal file
12
pkgs/development/compilers/ocaml/4.08.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
import ./generic.nix {
|
||||
major_version = "4";
|
||||
minor_version = "08";
|
||||
patch_version = "0+beta1";
|
||||
sha256 = "1jgvp4pyhrg27wqpsx88kacw3ymjiz44nms9lzbh5s8pp05z5f5f";
|
||||
|
||||
# If the executable is stripped it does not work
|
||||
dontStrip = true;
|
||||
|
||||
# Breaks build with Clang
|
||||
hardeningDisable = [ "strictoverflow" ];
|
||||
}
|
||||
@@ -41,8 +41,10 @@ stdenv.mkDerivation (args // rec {
|
||||
};
|
||||
|
||||
prefixKey = "-prefix ";
|
||||
configureFlags = optionals useX11 [ "-x11lib" x11lib
|
||||
"-x11include" x11inc ]
|
||||
configureFlags = optionals useX11 (
|
||||
if stdenv.lib.versionAtLeast version "4.08"
|
||||
then [ "--x-libraries=${x11lib}" "--x-includes=${x11inc}"]
|
||||
else [ "-x11lib" x11lib "-x11include" x11inc ])
|
||||
++ optional flambdaSupport "-flambda"
|
||||
;
|
||||
|
||||
|
||||
@@ -17,7 +17,8 @@
|
||||
, installjdk ? true
|
||||
, pluginSupport ? true
|
||||
, installjce ? false
|
||||
, licenseAccepted ? false
|
||||
, config
|
||||
, licenseAccepted ? config.oraclejdk.accept_license or false
|
||||
, glib
|
||||
, libxml2
|
||||
, libav_0_8
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
{ stdenv, fetchzip, fetchFromGitHub, boost, cmake, z3 }:
|
||||
{ stdenv, fetchzip, fetchFromGitHub, boost, cmake
|
||||
, z3Support ? true, z3 ? null
|
||||
}:
|
||||
|
||||
assert z3Support -> z3 != null;
|
||||
|
||||
let
|
||||
version = "0.5.3";
|
||||
@@ -33,6 +37,8 @@ stdenv.mkDerivation {
|
||||
cmakeFlags = [
|
||||
"-DBoost_USE_STATIC_LIBS=OFF"
|
||||
"-DBUILD_SHARED_LIBS=ON"
|
||||
] ++ stdenv.lib.optionals (!z3Support) [
|
||||
"-DUSE_Z3=OFF"
|
||||
];
|
||||
|
||||
doCheck = stdenv.hostPlatform.isLinux && stdenv.hostPlatform == stdenv.buildPlatform;
|
||||
@@ -40,7 +46,8 @@ stdenv.mkDerivation {
|
||||
"./test/soltest -p -- --no-ipc --no-smt --testpath ../test";
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ boost z3 ];
|
||||
buildInputs = [ boost ]
|
||||
++ stdenv.lib.optionals z3Support [ z3 ];
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user