Commit graph

4890 commits

Author SHA1 Message Date
John Ericson 4d2b763817
Merge pull request #26805 from obsidiansystems/cross-elegant
Make cross compilation elegant
2017-12-30 22:58:02 -05:00
John Ericson 046f091e0d treewide: Don't use envHook anymore
This commits needs a MAJOR audit as I oftentimes just guessed which of
`$hostOffset`, `$targetOffset`, or a fixed offset should be used.
2017-12-30 22:04:22 -05:00
John Ericson 4ad9a97e96 gcc: Don't let solaris hack pollute CC elsehwere 2017-12-30 22:04:22 -05:00
John Ericson 0f5c804631 gcc, binutils: Get rid of 32-bit ARM configure flag exception
Now that we do `--enable-targes=all`, there is no risk of missing the
needed emulation.

This reverts commit ebc9b161cd.
This reverts commit 88efc22b44.
2017-12-30 22:04:22 -05:00
John Ericson 9cda2f5559 gcc: Fix deps, for cross and consistency
Mainly making sure we have tools to build target libs
2017-12-30 22:04:22 -05:00
John Ericson 114a9b6253 gcc: Let cc-wrapper's setup hook define any tool env vars we need 2017-12-30 22:04:21 -05:00
John Ericson bc23afe5c7 gcc: Add build->build dep for C compilers
5 already had this, but I forgot the other versions.
2017-12-30 22:04:21 -05:00
John Ericson 5b74540c5b treewide: Use depsBuildBuild for buildPackges.stdenv.cc 2017-12-30 22:04:21 -05:00
Dmitry Kalinkin 6d9769663d
cc-wrapper: allow compilers to specify unsupported hardening modes
Fixes: 0fd7ef61b2 ('clang_34: Disable hardening bits (#28543)')
2017-12-30 12:23:25 -05:00
Frederik Rietdijk 2d0bead714 Merge remote-tracking branch 'upstream/master' into HEAD 2017-12-30 17:04:54 +01:00
Peter Simons 1b33f09aae uhc: disable broken build 2017-12-30 13:54:25 +01:00
Peter Simons af6f4f0849 ghc: drop obsolete version 7.8.3
We have the newer minor release 7.8.4.
2017-12-30 13:51:07 +01:00
Yegor Timoshenko 41ab3d4bd5
Merge pull request #33100 from olynch/mitschemeX11
mitschemeX11: init at 9.2
2017-12-30 04:33:53 +03:00
John Ericson 7ede347ce9 Merge #33167 into staging 2017-12-29 15:46:46 -05:00
John Ericson 5db559f855 Merge branch 'mingw32-w64-fix' into ericson2314-cross-base 2017-12-29 15:46:02 -05:00
John Ericson 52a4a7c3bb
Merge pull request #33167 from bnikolic/mingw32-w64-fix
Mingw_w64 fix to get cross-compilation working again
2017-12-29 15:44:17 -05:00
John Ericson bc3a6e260a Merge commit '3afe325a3e2f906ba512fb7a2f28f79496711592' into mingw32-w64-fix 2017-12-29 15:28:56 -05:00
John Ericson 5d336d36bb Merge commit 'e82bd498d1a2a28fb20249569a6f49fcaab9aca8' into mingw32-w64-fix 2017-12-29 15:28:49 -05:00
John Ericson 169227bfd2 Merge commit '3a59cd87f26cc59c91fb821749b1ec0d64922f87' into mingw32-w64-fix 2017-12-29 14:24:10 -05:00
John Ericson 2365e2ffcd Merge commit '51948eab9415fde1825dea5c7d31b99b2e1a0fdb' into mingw32-w64-fix 2017-12-29 14:23:05 -05:00
Bojan Nikolic 771bae04e8 gcc: Enable SSP and shared libs in the final stage for MinGW
Hardening on by default now that we don't use the cross wrapper. In
turn, hardening requires libssp in particular.
2017-12-29 13:27:02 -05:00
Vladimír Čunát a1a3e54ac9
Merge branch 'master' into staging
Haskell rebuild :-)
Hydra: ?compare=1421865
2017-12-29 18:39:36 +01:00
Vincent Laporte efcb39233d ocaml: adds an argument to enable flambda 2017-12-29 10:49:13 +01:00
Vladimír Čunát f29000b002
Merge branch 'master' into staging
Hydra: ?compare=1421760
2017-12-29 10:13:33 +01:00
Vladimír Čunát 1963be9945
Merge #32795: vala_*: patch updates 2017-12-29 10:00:31 +01:00
Orivej Desh e63b2fbfb3
Merge pull request #32870 from dtzWill/update/llvm-5.0.1
llvm 5: 5.0.0 -> 5.0.1
2017-12-29 07:59:15 +00:00
Robin Gloster 572b2bda4e treewide: generalise for both mysql & mariadb 2017-12-29 02:18:35 +01:00
Robin Gloster 6903ea6050 treewide: libmysql -> mysql.connector-c 2017-12-29 02:18:35 +01:00
Robin Gloster d357734637 urweb: fix build 2017-12-29 02:18:35 +01:00
Domen Kožar 695a026f5f
ghc: wire up new binary ghc for bootstrapping
This change brings development feedback loop improvement
from a couple of ghc rebuilds to only one for working on generic
builder.

To completely eliminate the rebuilds, use two nixpkgs clones
and point boot packages to the unmodified one.
2017-12-28 15:11:50 +00:00
Peter Simons 63a9142279
Merge pull request #33054 from NixOS/ghc-prebuilt
ghc prebuilt: Add 7.8.4, 7.10.3 and 8.2.1, and make consistent style
2017-12-27 21:31:56 +01:00
Owen Lynch afd198f0f4 mitschemeX11: init at 9.2 2017-12-26 22:32:23 -05:00
Tuomas Tynkkynen 47c782f7f5 Merge remote-tracking branch 'upstream/master' into staging 2017-12-26 21:10:12 +02:00
John Ericson 696f3e702d
Merge pull request #33042 from obsidiansystems/darwin-cxx
darwin stdenv: Make stdenv.cc, not stdenv itself, bring in libcxx
2017-12-26 10:54:59 -08:00
idontgetoutmuch 482597b4bc cmdstan: 2.9.0 -> 2.17.1 (#33076) 2017-12-26 17:44:13 +00:00
Peter Simons b03ac7d22b jhc: drop broken Haskell compiler 2017-12-26 15:12:36 +01:00
Peter Simons e98e7fb329 haskell: drop obsolete GHC version 7.10.2; we have 7.10.3 2017-12-26 11:35:26 +01:00
John Ericson 4651407654 darwin stdenv: Make stdenv.cc, not stdenv, bring in libcxx
stdenvNoCC should not inject any C++ standard library, just as it
doesn't inject any C standard library. stdenv still does, but only
indirectly through stdenv.cc. Wrapped clangs can be simplified now that
they don't need to worry about clobbering CoreFoundation when replacing
the C++ standard library implementation.

This generally-good cleanup should assist with debugging some C++
failures in #26805.
2017-12-25 19:32:07 -05:00
Domen Kožar bd7c8ea255
ghc binaries: compile on darwin 2017-12-25 22:56:32 +00:00
Domen Kožar e4c05ae25a
ghc binaries: fix eval 2017-12-25 18:16:23 +00:00
Domen Kožar 398061dfc5
prebuilt ghcs: correctly handle rpaths 2017-12-25 17:19:43 +00:00
John Ericson ed93d2d645
ghc-{7.8.4, 7.10.3, 8.2.1}-binary: Init 2017-12-25 16:36:47 +00:00
John Ericson b6867f71f4
ghc prebuilt: Simplify and harden Darwin fixup
- Patch all executables and libraries, while skipping scripts. Base at
   least uses libiconv, so should need this too---I suspect it wasn't a
   problem before as we got away with the immpurity.

 - Rather than hardcoding the symlinks to add, do one per mach-o as
   needed

TEMP no -L no script
2017-12-25 16:36:47 +00:00
John Ericson 150255e318
ghc binary: Fix interpreter than patch RPATH
The newer to-be-added binaries have relative RPATHs that we'll break if
we try to `patchelf` before installation. We instead us LD_LOAD_LIBRARY
during the installation, which avoids needing to change the RPATH
temporarily.
2017-12-25 16:36:46 +00:00
John Ericson 26a46295eb
ghc prebuilt: Clean up derivations ever so slightly
These changes do break hashes, but are good to have everywhere for
consistency. Plus, changing the bootstrap causes a Haskell mass rebuild
anyways.
2017-12-25 16:36:43 +00:00
mingchuan 5a1d309787 crystal: 0.23.1 -> 0.24.1 2017-12-25 00:53:29 +08:00
Ben Wolsieffer 23ffb9d701 go-1.8, go-1.9: use stdenv.shell instead of /usr/bin/env bash
Fixes tests on ARMv6/7 during sandboxed builds.
2017-12-23 20:20:08 -05:00
Tim Steinbach 21c61d514d
openjdk: 9.0.0 -> 9.0.1 2017-12-23 10:02:38 -05:00
Will Dietz e9aa0d3f0f llvm 5: 5.0.0 -> 5.0.1 2017-12-21 15:54:08 -06:00
Moritz Ulrich e222d21eed
gnu-cobol: 2.0-rc2 -> 2.2
Instead of wrapping `cobc` and setting NIX_{LDFLAGS,CFLAGS_COMPILE}
set `COB_CC`, `COB_CFLAGS` and `COB_LDFLAGS` to make `cobc` find the
necessary libraries.
2017-12-21 10:40:02 +01:00
Orivej Desh 2949447c82 neko: update check for darwin, do not strip ndll 2017-12-21 01:51:00 +00:00
volth e19f22c55a neko: 2.1.0 -> 2.2.0 2017-12-21 01:50:52 +00:00
Peter Simons dbc55c11f0 ghc: drop 8.2.1 version; we have 8.2.2 already 2017-12-20 09:17:46 +01:00
Jan Tojnar ae1b059987
vala_0_23: remove 2017-12-19 17:25:55 +01:00
Orivej Desh 7c58e8dfc2 Merge branch 'master' into staging
* master: (125 commits)
  scummvm: fix eval
  tinycc: 0.9.27pre-20171016 -> 0.9.27
  Update terraform provider versions
  vscode: 1.18.1 -> 1.19.0
  linux: 4.14.6 -> 4.14.7
  scummvm: 1.9.0 -> 2.0.0
  cmst: 2017.03.18 -> 2017.09.19
  albert: 0.14.7 -> 0.14.14
  obs-studio: fix vlc plugin
  ffmpeg, ffmpeg-full: 3.4 -> 3.4.1
  uchiwa: 0.26.3 -> 1.1.0
  linux-testing: 4.15-rc3 -> 4.15-rc4
  steam: override nss, nspr, fixes #32781
  ponyc: 0.20.0 -> 0.21.0
  pythonPackages.pwntools: disable tests
  gnome3.gnome-tweak-tool: 3.26.3 → 3.26.4
  vim-rhubarb: init at 2017-06-28
  atom: depend on libsecret
  nvidia-settings: Make sure binary can find libXv.so
  backblaze-b2: 0.6.2 -> 1.1.0
  ...
2017-12-18 15:56:03 +00:00
Joachim Fasting 3b367119ee
tinycc: 0.9.27pre-20171016 -> 0.9.27 2017-12-18 16:06:42 +01:00
Joachim F 5450c225ae
Merge pull request #32775 from kamilchm/ponyc
ponyc: 0.20.0 -> 0.21.0
2017-12-18 12:36:52 +00:00
Peter Hoeg 38d8bcd7ac vala: patch releases for 0.23, 0.28, 0.34, 0.36 and 0.38 2017-12-18 15:27:20 +08:00
Kamil Chmielewski 860ce9e386 ponyc: 0.20.0 -> 0.21.0
https://github.com/ponylang/ponyc/issues/2379
2017-12-17 21:52:11 +01:00
Jörg Thalheim 0643952fa5
Merge pull request #32375 from volth/oracle-jdk-remove-redundand-asserts
oraclejdk: remove redundant asserts
2017-12-16 23:20:45 -08:00
Orivej Desh 1b3f837002
Merge pull request #32640 from Ralith/vulkan
vulkan-loader: 1.0.42.2 -> 1.0.61.1
2017-12-17 01:00:57 +00:00
Orivej Desh 08ff5462ed edk2 add short-circuit-the-transfer-of-an-empty-S3_CONTEXT.patch
as requested by @lukeadams in
https://github.com/NixOS/nixpkgs/pull/32724#issuecomment-352140119
2017-12-16 03:07:42 +00:00
Luke Adams 237cf9e21f edk2: 2014-12-10 -> 2017-12-05
src was at vUDK2017 tag (2017-06-13), updated to the latest commit in UDK2017 branch.
2017-12-16 03:01:38 +00:00
Vladimír Čunát 24d81d6332
Merge branch 'master' into staging 2017-12-15 21:40:23 +01:00
Evan Hanson 58f3e8e9e4 chicken: 4.11.0 -> 4.13.0
Also update the chicken-ssql egg dependency version for ugarit and
ugarit-manifest-maker from 0.2.2 to 0.2.4 to include a fix for an issue
uncovered by chicken-4.13.0 (see [1] and [2] for more info).

[1]: https://bitbucket.org/DerGuteMoritz/ssql/pull-requests/1
[2]: https://salmonella-linux-x86-64.call-cc.org/chicken-4/gcc/linux/x86-64/2017/04/19/yesterday-diff/log2/install/ssql.html
2017-12-15 12:14:20 +13:00
Franz Pletz cd7c8e42c6
cudatoolkit: fix build with newer glibc versions
Packages that use CUDA would fail to build with missing defines.
2017-12-14 16:03:08 +01:00
Tim Steinbach 3f3e548312
kotlin: 1.1.60-b55 -> 1.2.10 2017-12-14 08:29:16 -05:00
John Ericson a0b1ebeee9 Merge remote-tracking branch 'upstream/staging' into binutils-wrapper 2017-12-13 16:14:47 -05:00
John Ericson 84fb59e0be clang multi: Fix post bintools wrapper 2017-12-13 16:08:46 -05:00
John Ericson 7ef4448c97 Merge commit '9d8f9b2e531bf95a700a949d879927fb6996ffc9' into binutils-wrapper 2017-12-13 16:08:36 -05:00
John Ericson 12e0672d88 gcc: Adjust builder.sh to find some things in bintools-wrapper instead 2017-12-13 16:08:19 -05:00
John Ericson 2bba929062 bintools-wrapper: Import separately from cc-wrapper 2017-12-13 16:08:18 -05:00
Benjamin Saunders 775d35d0b2 vulkan-loader: 1.0.42.2 -> 1.0.61.1 2017-12-13 11:18:11 -08:00
volth 45121d9dfc
Merge branch 'master' into oracle-jdk-remove-redundand-asserts 2017-12-13 07:02:42 +00:00
Graham Christensen 105d9519c1
Merge remote-tracking branch 'origin/master' into staging 2017-12-12 20:06:36 -05:00
Graham Christensen e5629dc51a
Merge pull request #32365 from vcunat/p/check-meta
check meta, treewide
2017-12-12 18:55:23 -05:00
Vladimír Čunát 3a110ea3f9
treewide platform checks: abort -> throw
They aren't meant to be critical (uncatchable) errors.
Tested with nix-env + checkMeta:
[ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ]
2017-12-12 18:08:10 -05:00
Vladimír Čunát c2b679516f
Merge branch 'master' into staging 2017-12-12 21:08:16 +01:00
Joachim F 1354099daf
Merge pull request #32189 from yrashk/ats2-0.3.7
ats2: 0.3.0 -> 0.3.7
2017-12-11 23:27:27 +00:00
Orivej Desh 7d14f812ab mono50: disable parallel building 2017-12-11 10:46:15 +00:00
zimbatm 6371439e0b lazarus: 1.6.0-0 -> 1.8.0 2017-12-11 10:33:39 +00:00
Vladimír Čunát e9c12f6936
Merge older staging
There are some regressions, but not that many and I want
the security update of openssl fast.
2017-12-11 09:49:56 +01:00
John Ericson 9f1ab7cac7
Merge pull request #32549 from obsidiansystems/gcc-without-lib-output
gcc: Don't choke if there is no lib output
2017-12-10 18:55:42 -05:00
John Ericson 4e4520a0f3 gcc: Don't choke if there is no lib output 2017-12-10 17:36:15 -05:00
Orivej Desh dd604d575f Merge branch 'master' into staging
* master: (39 commits)
  pythonPackages: rename dns -> dnspython
  awesome: fix LUA_PATH/LUA_CPATH to lgi [now for version 3.5]
  qt4: fix qmake on darwin and delete custom install phase
  python.buildEnv: always include the $out output
  nix-bash-completions: lazy load aware install
  borg: 1.1.1 -> 1.1.3
  nixos/programs/bash: document that /etc/bash_completion.d is obsolete
  ocamlPackages.markup: 0.7.4 -> 0.7.5
  hhvm: 3.21 -> 3.23.2
  ocamlPackages.ulex: 1.1 -> 1.2
  notmuch: 0.25.2 -> 0.25.3
  gmime3: 3.0.1 -> 3.0.5
  qt4: fix darwin install phase
  nixos/programs/bash: Let bash-completion lazy load scripts
  Revert "gmime: 3.0.1 -> 3.0.5"
  rawtherapee: delete unused files
  pythonPackages: rename dns -> dnspython
  nixpkgs: remove sqlite/kyotocabinet deps for leveldb
  tor-browser-bundle-bin: 7.0.10 -> 7.0.11
  networkmanager: remove restart after suspend from resume
  ...
2017-12-10 15:24:30 +00:00
Orivej Desh 166536e152
Merge pull request #32535 from Gerschtli/update/hhvm
hhvm: 3.21 -> 3.23.2
2017-12-10 11:50:41 +00:00
Tobias Happ d5d7220770 hhvm: 3.21 -> 3.23.2 2017-12-10 11:50:15 +00:00
Vincent Laporte d98d944d5d
Merge pull request #32494 from mpickering/ber-metaocaml2
ber_metaocaml: (re)init at 104
2017-12-10 12:36:30 +01:00
Orivej Desh 926aaa4870
Merge pull request #32215 from dtzWill/feature/clang-multilib
multilib-capable clang, multilib tests
2017-12-09 21:41:54 +00:00
Vladimír Čunát 2309acf723
Merge branch 'master' into staging 2017-12-09 21:00:07 +01:00
Peter Simons 73d85455e4
Merge pull request #32503 from mpickering/ghc-head-updates-8.5
ghcHEAD: 8.3.20170808 -> 8.5.20171209
2017-12-09 19:27:04 +01:00
Matthew Pickering 9a072a466c Remove broken ber-metaocaml-003 attribute 2017-12-09 12:18:06 +00:00
Matthew Pickering 08dfb95673 ber_metaocaml: (re)init at 104 2017-12-09 12:18:05 +00:00
dywedir b53567e78f ocamlPackages.reason: 3.0.3 -> 3.0.4 2017-12-09 12:42:56 +01:00
Matthew Pickering e7a327da5c ghcHEAD: 8.3.20170808 -> 8.5.20171208 2017-12-09 11:04:31 +00:00
Orivej Desh 0a41fc6b7c mono46, mono48: disable parallel building
See #32386
mono46: https://hydra.nixos.org/build/65617511
mono48: https://hydra.nixos.org/build/65600645
2017-12-09 10:53:16 +00:00
Joachim F f5f6d8e393
Merge pull request #32481 from ThomasMader/dlang
dmd, ldc, dub: Inherit buildInput and meta from build derivation
2017-12-08 23:50:33 +00:00
John Ericson 0271644491
Merge pull request #32403 from obsidiansystems/gcc-modernize-builder
gcc: Modernize builder
2017-12-08 14:42:10 -08:00
Thomas Mader b2e76afa99 dmd, ldc, dub: Inherit buildInput and meta from build derivation 2017-12-08 22:12:11 +01:00
Vladimír Čunát cdde22aef5
Merge branch 'staging' (older one) 2017-12-08 10:22:31 +01:00