Commit graph

109443 commits

Author SHA1 Message Date
Ross MacLeod
f63f96ae35 zlib: don't really override CC at ay point
but leave the preConfigure script as it was when not cross building in order to avoid hash breakage
2017-06-22 17:53:52 -04:00
John Ericson
38b2bd2f28 dropbear: Remove now-unneeded crossAttrs 2017-06-22 17:53:52 -04:00
John Ericson
12795a7068 misc: Remove almost all uses of stdenv.{ccCross,binutils} 2017-06-22 17:53:52 -04:00
Ross MacLeod
d016637629 podofo: unsimplify derivation a bit to avoid hash breakage 2017-06-22 17:53:52 -04:00
John Ericson
29c4d7f505 podofo: Simplify derivation
Bunch of junk for linux and cross compilation that's no longer needed
2017-06-22 17:53:52 -04:00
John Ericson
f55ccbb60f xbursttools: Fix eval at least so tests pass 2017-06-22 17:53:52 -04:00
John Ericson
fc42ec0a5c mingw-w64: Depend on own headers derivation
Without this, a `#include <float.h>` resolves incorrectly. Either the
headers weren't on the include path at all, or they only were for
local, not system, imports.

What's weird is this used to not be a problem. Not sure what other
change in e.g. cc-wrapper would affect this.
2017-06-22 17:53:51 -04:00
John Ericson
bb7067f882 mingw-w64: Clean up, especially clarifying staging 2017-06-22 17:53:51 -04:00
John Ericson
c2e2152afc cc-wrapper: Port over finding of dynamic linker from gcc-cross-wrapper
At the next break, we can deduplicate and go for the best of both
worlds.
2017-06-22 17:53:36 -04:00
John Ericson
0aee847858 cc-wrapper: Make the cross compiler use a crossEnvHook
This is a hack until stdenv's setup.hs gets overhauled
2017-06-22 17:52:29 -04:00
Ross MacLeod
c1fb71b74a cc-wrapper: when cross building, wedge in setting AR, AS, and LD env vars to their cross building versions
I think it's ok to export things which aren't wrapped. The cc-wrapper
can be thought of as responsible for all of binutils and the c
compiler, only wrapping those binaries which are necessary to
interposition---as opposed to all binaries it thinks are relevaant.

Conversely, adding the setup hook to the unwrapped compilers would be
unforunate as hooks are ugly hacks and the compilers themselves take
a long time to rebuild. Better to wholely separate "pure packages" from
hacks.
2017-06-22 17:52:28 -04:00
John Ericson
e0492d58a6 cross stdenv adaptor: Disable checkPhase by default
Before gcc-cross-wrapper did this unconditionally
2017-06-22 17:52:28 -04:00
John Ericson
594d264205 cross stdenv adaptor: Support --host --build --target across the board
Packages get --host and --target by default, but can explicitly request
any subset to be passed as needed. See docs for more info.

rustc: Avoid hash breakage by using the old (ignored)
dontSetConfigureCross when not cross building
2017-06-22 17:52:28 -04:00
John Ericson
9bfd03eff7 cross stdenv adaptor: Remove ccCross binutils attrs and binutils extra buildDepends
It now has the correct wrapped tools and nothing else is needed.
2017-06-22 17:52:28 -04:00
John Ericson
121e7d9335 gcc-cross-wrapper: Remove in favor of newly-cross-supporting cc-wrapper 2017-06-22 17:52:28 -04:00
John Ericson
8a7433fca4 cc-wrapper: Temporarily got to great lengths to avoid mass-rebuild
Eventually we should avoid this "pre-wrapping" and just update those
files in nixpkgs. This mass-rebuild change is best done along with
those needed to reduce the disparity between native and cross (i.e.
making native the "identity cross").
2017-06-22 17:52:28 -04:00
John Ericson
0f0383394d cc-wrapper: Salt environment variables with LLVM triples
We now (on cross) require per-target flag interposition by putting the
triple in the names of the relevant environment variables, e.g:

export NIX_arm_unknown_linux_gnu_CFLAGS_COMPILE=...

The wrapper also has a `infixSalt` attribute (and "_" prefixed and
suffixed variants) to assist downstream packages.

Note how that the dashes are replaced to keep the identifier valid.
Using names like this allows us to keep the settings for different
compilers seperate.

I think it might be even better to use names like `NIX_{BUILD,HOST}...`
using the platform's role rather than the platform itself, but this
would be more work as the previous stages' tools would have to be re-
wrapped to take on their new role. I therefore didn't do this for now,
but that route should be thoroughly explored in the future.
2017-06-22 17:52:28 -04:00
John Ericson
04a3cad968 cc-wrapper: Add support for no libc whatsoever 2017-06-22 17:52:27 -04:00
John Ericson
d70e7263f4 cc-wrapper: Simplify and correct logic to chose dynamic linker library 2017-06-22 17:52:27 -04:00
John Ericson
459f1c60f5 cc-wrapper: Learn about target prefixes
This is first step towards getting rid of gcc-wrapper-cross
2017-06-22 17:52:27 -04:00
John Ericson
c4ba2e3ef6 cc-wrapper: Remove stdenv.is* for targetPlatform.is*
Modify bootstrapping stdenvs to make sure `targetPlatform` also passed.
2017-06-22 17:52:27 -04:00
John Ericson
8f970d09fe ghcHEAD: Actually split docs into their own output
I put `outputs = ...` in the wrong spot in the last PR, oops. Sorry
about that.
2017-06-22 16:56:58 -04:00
Franz Pletz
03d1e8a14e
iproute: 4.9.0 -> 4.11.0 2017-06-20 03:56:43 +02:00
Franz Pletz
b0b9182241
gnuradio: 3.7.10.1 -> 3.7.11 2017-06-20 03:56:43 +02:00
Franz Pletz
1466bdd98f
wireshark: 2.2.6 -> 2.2.7 2017-06-20 03:56:42 +02:00
Franz Pletz
22fbdc9032
uhd: 3.10.1 -> 3.10.1.1 2017-06-20 03:56:42 +02:00
Franz Pletz
f33708bb7d
opusTools: 0.1.9 -> 0.1.10 2017-06-20 03:56:41 +02:00
Franz Pletz
22e0683aa8
thermald: 1.5.4 -> 1.6 2017-06-20 03:56:41 +02:00
Franz Pletz
83a4180947
thc-hydra: 8.2 -> 8.5 2017-06-20 03:56:40 +02:00
Franz Pletz
726645a94f
tpacpi-bat: 3.0 -> 3.1 2017-06-20 03:56:40 +02:00
Franz Pletz
5d851e8be8
ipv6calc: 0.99.1 -> 0.99.2 2017-06-20 03:56:39 +02:00
Franz Pletz
c8948e9109
josm: 11826 -> 12275 2017-06-20 03:56:39 +02:00
Franz Pletz
1ae0f2a1d4
ipmitool: 1.8.17 -> 1.8.18 2017-06-20 03:56:38 +02:00
Franz Pletz
d7624d6677
icecast: 2.4.1 -> 2.4.3 2017-06-20 03:56:25 +02:00
Franz Pletz
ffb0ddc516
bandwidth: 1.3.1 -> 1.4.2 2017-06-20 03:45:49 +02:00
Franz Pletz
65b3f5e8e7
kea: 1.1.0 -> 1.2.0 2017-06-20 03:45:49 +02:00
Franz Pletz
c9268482e0
lxd: 2.12 -> 2.14 2017-06-20 03:45:48 +02:00
Franz Pletz
9da4cb176a
lxcfs: 2017-03-02 -> 2.0.7 2017-06-20 03:45:48 +02:00
Franz Pletz
eb8c14751a
lxc: 2.0.7 -> 2.0.8 2017-06-20 03:45:47 +02:00
Franz Pletz
a7210764eb
squid4: 4.0.17 -> 4.0.20 2017-06-20 03:45:47 +02:00
Franz Pletz
fcbf28d6b5
squid: 3.5.23 -> 3.5.26 2017-06-20 03:45:46 +02:00
Franz Pletz
294a20ea02
smcroute: 2.1.0 -> 2.3.1 2017-06-20 03:45:46 +02:00
Franz Pletz
e60c958811
prometheus: 1.5.2 -> 1.7.1 2017-06-20 03:45:45 +02:00
Franz Pletz
05cb49625d
powertop: 2.8 -> 2.9 2017-06-20 03:45:45 +02:00
Franz Pletz
aa58307973
mbedtls: 2.4.0 -> 2.4.2 2017-06-20 03:45:44 +02:00
Franz Pletz
11bf721290
mbedtls_1_3: 1.3.18 -> 1.3.19 2017-06-20 03:45:44 +02:00
Franz Pletz
e7f5e7fe3b
whois: 5.2.15 -> 5.2.16 2017-06-20 03:45:43 +02:00
Franz Pletz
bc3ee6bfd4
dnsmasq: 2.76 -> 2.77 2017-06-20 03:45:43 +02:00
Franz Pletz
ed71a3a678
chrony: 3.0 -> 3.1 2017-06-20 03:45:42 +02:00
Franz Pletz
735dcc1a27
charybdis: 3.5.3 -> 3.5.5 2017-06-20 03:45:42 +02:00