Commit Graph

107622 Commits

Author SHA1 Message Date
John Ericson
1cde06acf6 stdenv cross adapter: Get rid of extra propagatation of buildInputs
Binutils is patched so we don't rely on `--rpath-link`.
2017-12-29 17:32:28 -05:00
Ben Gamari
c15c449236 binutils: Always search DT_RPATH 2017-12-29 17:32:28 -05:00
John Ericson
5dea877368 kmime, colord-kde: ki18n should be *run*-time dependency
It is gettext-based, but is a library for run time, relying on the
normal gettext tools at build time.
2017-12-29 17:20:20 -05:00
John Ericson
e73d805aa9 libelf: Fix cross compilation
There is an upstream bug where it is assumed that if host != build, host
doesn't support shared libraries. We override that overly conservative
check. See
http://lists.uclibc.org/pipermail/uclibc-cvs/2005-August/019383.html

Also clean up some comments.
2017-12-29 17:19:22 -05:00
Ben Gamari
946c1b26fa diffutils: Enable cross-compilation 2017-12-29 17:18:59 -05:00
Ben Gamari
6f4cfe0570 gawk: Enable cross-compilation 2017-12-29 17:18: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
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
Bojan Nikolic
2e0ebc0532 mingw-w64: Disable stack hardening of the runtime
Do this because it is built with the static stage
2017-12-29 14:23:30 -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
John Ericson
8b049712b2 Merge branch 'alt-stdenv' into ericson2314-cross-base 2017-12-27 17:19:21 -05:00
John Ericson
558c96fe13 treewide: Cleanup usage of multi-arch tools
- Don't needlessly force GCC

 - Prefer using multi-arch stdenvs to using multi-arch tools directly.
2017-12-27 15:15:45 -05:00
John Ericson
831c71eea3 top level: Clean up definitions of alternative stdenvs
- Dispatch off more appropriate conditions---`stdenv.cc.is*` and
   `hostPlatform.is*` directly---rather than the OS as a proxy.

 - Don't worry about pulling in binutils from normal `stdenv.cc` for
   `gccMultiStdenv`.

 - Defining a `multiStdenv` that uses whatever compiler is default.

 - Define `stdenv_32bit` in terms of `multiStdenv`.
2017-12-27 15:15:41 -05:00
John Ericson
f5fc1ff344 top level: Stop hacking around #28223
Clang stdenvs with either libc++ should work now.
2017-12-26 15:26:55 -05: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
John Ericson
dc906952be buildPythonPackage: Make setup hook part of nativeBuildInputs
This is better organization in general, but also needed to make python
work with #26805.
2017-12-21 15:54:52 -05:00
Vladimír Čunát
4a2340ff6b
Merge branch 'staging' 2017-12-19 10:27:13 +01:00
Vincent Laporte
b4551924b1
Merge pull request #32737 from vbgl/coq-packages-filter
Tidy up the Coq package sets
2017-12-19 10:15:31 +01:00
Lancelot SIX
982cd565cc
Merge pull request #32447 from lsix/add_djano_hijack_admin
pythonPackages.django_hijack_admin: init at 2.1.5
2017-12-19 09:18:22 +01:00
Lancelot SIX
298f404aeb
Merge pull request #32446 from lsix/update_django_1_11
pythonPackages.django: 1.11.7 -> 1.11.8
2017-12-19 09:16:24 +01:00
volth
489d3e7d06 qemu: fix bin/qemu-kvm on aarch64 + minor fixes
* $out/bin/qemu-kvm should point to qemu-system-aarch64 on aarch64, libvirt expect it
 * makeWrapper codes are separated as some architectures might require additional command flags (https://github.com/NixOS/nixpkgs/issues/31606#issuecomment-349675127)
 * x86_64-on-i686 is not a native emulation and not supported by KVM, so it is removed from the list
2017-12-19 06:22:16 +02:00
Orivej Desh
69345ec37b perlPackages: use ld-is-cc-hook to fix build
after #29396 removed `-L path/to/dir/of/libstdc++.so` from ld flags

See https://github.com/NixOS/nixpkgs/pull/29396#issuecomment-352600129

Module::Build build helper works correctly when LD is unset (taking LD from Perl
config to be `cc`).  However, we can not unset LD because this goes contrary to
the cross compilation effort, and we can not make it propagate ld-is-cc-hook
because it breaks e.g. the build of `libguestfs`. However, #29396 makes LD=ld
incompatible with just 3 perl packages; they are individually fixed by this
commit.
2017-12-19 02:19:35 +00:00
Orivej Desh
e2c8655405 ld-is-cc-hook: init
This hook sets LD to CC, for use with software that works as if LD=$CC when LD
is unset, and does not work when LD=ld.
2017-12-19 01:45:42 +00:00
Orivej Desh
170a964815 makeSetupHook: make the default name "hook" overridable
for occasional convenience while looking at drv paths,
such as in the output of nix-build and nix-diff.
2017-12-19 01:41:31 +00:00
Orivej Desh
8f53673c64
Merge pull request #32768 from yegortimoshenko/electron/1.7.9
electron: 1.8.1 -> 1.7.9
2017-12-18 23:56:04 +00:00
Yegor Timoshenko
a9d212fea4 electron: 1.8.1 -> 1.7.9
1.7.9 is the latest stable, and 1.8.1 is beta and it draws `rambox` as a white
rectangle (after a few manipulations with the window such as hiding, showing,
resizing): https://github.com/NixOS/nixpkgs/pull/32741#issuecomment-352203170
2017-12-18 23:52:11 +00:00
Jan Tojnar
64cc62162d
Merge pull request #32793 from jtojnar/telepathy
Telepathy updates
2017-12-19 00:47:18 +01:00
Tuomas Tynkkynen
fa822161b9 bmap-tools: init at 3.4 2017-12-19 01:12:14 +02:00
Benjamin Staffin
4ec5c79d60
signal-desktop-beta: init at 1.1.0-beta.5 (#32619)
Signal is a bit like google-chrome, wherein the beta version
is independent from the release builds and uses different data
locations and binary names.
2017-12-18 17:20:57 -05:00
Joachim F
50f5cf6537
Merge pull request #32820 from mdorman/emacs-updates
Semi-automated Emacs package updates
2017-12-18 21:53:09 +00:00
Michael Raskin
67f9fd9e9f
Merge pull request #32788 from fahadsadah/master
weechat: 1.9.1 -> 2.0
2017-12-18 19:39:23 +00:00
Tim Steinbach
6e7944b55e
linux-copperhead: 4.14.6.a -> 4.14.7.a 2017-12-18 13:56:21 -05:00
Michael Alan Dorman
21bcd523eb emacsPackagesNg: mark -rtags packages broken
They're all trying to use the same `configure` script that expects
/bin/bash.  This should be correctable.
2017-12-18 13:54:17 -05:00
Michael Alan Dorman
e529c6fd1f emacsPackageNg: Mark some broken packages...broken 2017-12-18 13:54:17 -05:00
Michael Alan Dorman
b0860b2a3c melpa-packages: 2017-12-18 2017-12-18 13:54:17 -05:00
Michael Alan Dorman
e349a987e9 melpa-stable-packages: 2017-12-18 2017-12-18 13:54:17 -05:00
Michael Alan Dorman
018db6a168 org-packages: 2017-12-18 2017-12-18 13:54:17 -05:00
Michael Alan Dorman
a44b7bcbe2 elpa-packages: 2017-12-18 2017-12-18 13:54:17 -05:00
Orivej Desh
5b6c5964b0 Revert "cairo: bugfix 1.14.10 -> 1.14.12"
This reverts commit fc5756ea5e4a73624e0cfbb0e3eef247fc312547.

It hangs in cairo_image_surface_create_from_png_stream consuming 100% CPU when
png is malformed:
fc5756ea5e
2017-12-18 18:18:15 +00:00
Yell0w Ghost
d9f4f9e3f9 xfdesktop: fix #12832 GTK 2.24.31 regression
Contains bug fix for #12832 which solves issue with GTK 2.24.31
regression - grayed out folders in wallpaper chooser dialog.
2017-12-18 18:17:51 +00:00
Shea Levy
c6c05dd255
gurobipy: Use buildPythonPackage on Darwin. 2017-12-18 13:07:41 -05:00
Shea Levy
03e10f8535
gurobipy: Use buildPythonPackage on Linux 2017-12-18 12:42:54 -05:00
Jan Tojnar
0875bea675
Merge pull request #32815 from jtojnar/evince-cleanup
gnome3.evince: clean up
2017-12-18 18:00:12 +01:00
Orivej Desh
745be0cb61 mpv: fix build with libva 2 2017-12-18 16:43:24 +00:00
Tim Steinbach
8faa0c91aa
Merge pull request #32810 from lierdakil/patch-1
atom-beta: 1.23.0-beta0->1.24.0-beta1
2017-12-18 16:39:03 +00:00
Orivej Desh
b29c78df66 gst_all_1.gst-vaapi: 1.12.3 -> 1.12.4 2017-12-18 16:17:50 +00:00
Jan Tojnar
e56c00c9dd
gnome3.evince: clean up
There was som cruft, for example, dogtail tests were removed long time ago.
2017-12-18 17:14:41 +01:00