Tuomas Tynkkynen
8e643320c0
linuxHeaders: Drop usage of kernelHeadersBaseConfig
...
It's not actually needed, and AFAICT has never been. Or at least
Buildroot can build kernel headers as old as 3.2 without running the
config phase.
While at it, set ARCH unconditionally.
2018-02-14 01:47:28 +02:00
Will Dietz
b0c4138a3b
iproute: patchshebangs to work on 'hostPlatform' (not build)
2018-02-13 13:55:43 -06:00
Will Dietz
d3b59f864a
define top-level attrs for getent, getconf
...
Note that currently getent is explicitly taken from "glibc.bin",
regardless of build configuration which this preserves for now.
(on non-musl anyway)
2018-02-13 11:47:16 -06:00
Will Dietz
82dfab87fa
systemd: add getent-bin to nativeBuildInputs, meson searches for getent
2018-02-13 09:45:05 -06:00
Will Dietz
8323123e95
systemd: use musl-getent on musl instead of glibc.bin's getent
2018-02-13 09:45:05 -06:00
Will Dietz
22a5393041
pam: depsBuildBuild for buildPackages.stdenv.cc
2018-02-13 09:45:02 -06:00
Will Dietz
7522d6b02f
busybox: don't force gcc
2018-02-13 09:45:02 -06:00
Will Dietz
b281cb20d5
iputils: drop glibc assert
2018-02-13 09:45:01 -06:00
Will Dietz
d9b8f17341
shadow: fix attempt to access 'stdenv.glibc'
2018-02-13 09:45:01 -06:00
Ben Gamari
ef5d3d1c9f
kexectools: Fix cross compilation
2018-02-13 09:45:00 -06:00
Ben Gamari
f33a75a658
kexectools: Add dependency on build CC
...
Seems to allow cross-compilation.
2018-02-13 09:45:00 -06:00
Will Dietz
ad09de4d13
numactl: fix use of deprecated macros, patch to fix w/musl
2018-02-13 09:45:00 -06:00
Will Dietz
d8b15f8b05
numactl: 2.0.10 -> 2.0.11
...
grab release from github, old homepage seems defunct?
2018-02-13 09:44:59 -06:00
Will Dietz
7fbb42eabb
Similarly, use 4.15 kernel headers instead of patching 4.14 w/uapi fixes
2018-02-13 09:44:59 -06:00
Will Dietz
cea0765a29
libcap: depsBuildBuild, don't set CC/BUILD_CC
2018-02-13 09:44:57 -06:00
Ben Gamari
db9f302cf3
libcap: Fix cross-compilation
2018-02-13 09:44:57 -06:00
Will Dietz
5aed799ae0
iputils: only use libidn on non-musl
2018-02-13 09:44:55 -06:00
Will Dietz
e606e4d6a9
lvm2: musl patches from alpine
2018-02-13 09:44:55 -06:00
Will Dietz
f29bbd779c
musl: add patch to make full use of new guards in kernel headers
2018-02-13 09:44:53 -06:00
Will Dietz
bc76f767f6
linuxHeaders: allow multiple versions, use newest + patches w/musl
...
Hash unchanged for non-musl case.
2018-02-13 09:44:53 -06:00
Will Dietz
e2ef21d9b5
lm_sensors: add musl patch from alpine.
...
Doesn't fix build yet due to use of unconventional
object file extensions (which shouldn't matter but do).
2018-02-13 09:44:50 -06:00
Will Dietz
3b5e1131a7
libapparmor: Add musl patches from Alpine
...
(update: drop patches no longer needed on updated version)
2018-02-13 09:44:49 -06:00
Will Dietz
54b3967edc
libnl: use patch from gentoo-musl, fixes! \o/
2018-02-13 09:44:47 -06:00
Will Dietz
32b472dd9d
audit: tweaks to make musl compat
2018-02-13 09:44:46 -06:00
Will Dietz
4aca016313
changes some targetPlatform to hostPlatform checks
2018-02-13 09:44:42 -06:00
Will Dietz
cb521f75a6
linux-pam: fix build w/musl
2018-02-13 09:44:36 -06:00
Will Dietz
d4a2e336b4
busybox: fixup after musl multiple outputs
2018-02-13 09:44:34 -06:00
Will Dietz
b12a7c9225
add getconf, getent from Alpine for use w/musl
2018-02-13 09:44:34 -06:00
Will Dietz
9df72c0290
Add musl-fts for bits that need it.
2018-02-13 09:44:34 -06:00
Will Dietz
af6b756d98
muslCross: init
2018-02-13 09:44:34 -06:00
Will Dietz
1d538d51c3
musl: linux headers, bsd compat headers, and ldd
2018-02-13 09:44:33 -06:00
Will Dietz
290c62e749
musl: multiple outputs
2018-02-13 09:44:33 -06:00
Will Dietz
b9b57dada7
shadow: disable nscd on non-glibc (musl)
2018-02-13 09:44:28 -06:00
Ben Gamari
46c2e619e8
linux-pam: Add necessary build dependencies for cross-compilation
...
Ensure that we use the correct `ar` and add explicit dependency on the build CC.
(cherry picked from commit 5efb768011f6bce870f4ce814295a399d5a89c10)
2018-02-13 09:44:27 -06:00
Will Dietz
e120c42ccf
iproute: don't use host BASH for scripts, fix for cross
...
Doesn't eliminate glibc dep, somehow
a dependency on host's "db" leaks,
but it's a start.
Also don't attempt to build unused 'netem' tools,
avoiding need to use HOSTCC.
2018-02-13 09:44:27 -06:00
Tuomas Tynkkynen
1a06373c0a
Merge remote-tracking branch 'upstream/master' into staging
...
Conflicts:
pkgs/development/libraries/libclc/default.nix
pkgs/top-level/all-packages.nix
2018-02-13 16:42:55 +02:00
Franz Pletz
eb862c48dd
systemd: 234 -> 237
...
Co-Authored-By: Florian Klink <flokli@flokli.de>
Co-Authored-By: Andreas Rammhold <andreas@rammhold.de>
2018-02-13 01:24:24 +01:00
Vladimír Čunát
5e62091c45
Merge #34882 : linux: use absolute paths for compilers
...
This is needed to really build linux with gcc7 after ae040525d
.
2018-02-12 22:20:31 +01:00
Vladimír Čunát
3d24c5eecc
linux: use absolute paths for compilers
...
HOSTCC was taking precedence before stdenv's normal CC,
at least in case of non-cross build.
2018-02-12 14:00:51 -05:00
Tim Steinbach
8a60770f6b
linux-copperhead: 4.15.2.a -> 4.15.3.a
2018-02-12 07:56:21 -05:00
Tim Steinbach
71a2ffaa63
linux: 4.15.2 -> 4.15.3
2018-02-12 07:53:22 -05:00
Vladimír Čunát
169216fe14
linuxPackages: build by kernel's stdenv
2018-02-11 18:55:21 +01:00
Vladimír Čunát
ae040525d8
linux-*: build with gcc7, but allow overriding it
...
I expect we will revert this after general upgrade to gcc7.
See https://github.com/NixOS/nixpkgs/issues/34383
2018-02-11 18:55:18 +01:00
Daiderd Jordan
69779a5f7e
Merge pull request #33374 from dtzWill/update/llvm-5-default
...
Update LLVM default 4 -> 5
2018-02-11 18:29:26 +01:00
Frederik Rietdijk
06a7281d0f
Merge master into staging
2018-02-11 08:55:28 +01:00
Frederik Rietdijk
9d69ebe5a8
Merge staging at '256ba86' into master
2018-02-11 08:54:49 +01:00
Tuomas Tynkkynen
48f3036e87
Merge remote-tracking branch 'upstream/master' into staging
2018-02-11 02:10:02 +02:00
Léo Gaspard
97ee203a22
eudev: 3.2.4 -> 3.2.5
2018-02-10 23:28:30 +01:00
Tuomas Tynkkynen
6d8c1fe01c
linux: Use concatStringsSep
2018-02-11 00:17:47 +02:00
Jörg Thalheim
c69686e645
Merge pull request #34207 from dtzWill/fix/busybox-misc
...
busybox: bump copybuf, disable utmp/wtmp when not supported (musl)
2018-02-10 13:38:43 +00:00