Commit graph

138480 commits

Author SHA1 Message Date
Matthew Bauer
4654643266 mysql → mariadb 2018-05-01 13:54:08 -05:00
Matthew Bauer
ffe4b64205 aliases: add skip aliases config
You can turn on this config option if you want to find references to
aliases in Nixpkgs. Ideally these can be removed from Nixpkgs and
eventually we can remove the alias altogether.
2018-05-01 13:54:08 -05:00
Matthew Bauer
9d7c57afc4 aliases: add check if alias still exists in all-packages.nix
If an alias is already defined in all-packages.nix, we want to throw
an error to make it obvious that something is wrong. Otherwise there
is no way to realize that the alias is shadowing the real definition.
2018-05-01 13:54:08 -05:00
Matthew Bauer
2911ece392 aliases: add gccApple 2018-05-01 13:54:08 -05:00
Matthew Bauer
218d81bc9d all-packages: move aliases to aliases.nix
Lots of aliases have been left over. This is a massive edit that
changes many random lines.
2018-05-01 13:54:07 -05:00
Matthew Bauer
9395d05b65 unix-tools: install man pages 2018-05-01 09:52:17 -05:00
Will Dietz
919dda7aba
Merge pull request #37814 from dtzWill/update/util-linux-2.32
util-linux: 2.31.1 -> 2.32
2018-04-30 13:21:59 -05:00
Michael Raskin
a591d28c17
Merge pull request #39464 from oxij/stdenv/docheck-infra
stdenv: implement most of #33599
2018-04-30 17:17:24 +00:00
Will Dietz
2d7e313e7c
Merge pull request #39698 from dtzWill/fix/systemd-pcre2-dep
systemd: add pcre2 as build dep for searching in journalctl
2018-04-30 12:14:50 -05:00
Will Dietz
06c67f893e
Merge pull request #39725 from dtzWill/update/mesa-17.3.9
mesa: 17.3.8 -> 17.3.9
2018-04-30 11:25:10 -05:00
Will Dietz
51d7dfac6c
Merge pull request #39724 from dtzWill/update/libepoxy-1.5.1
libepoxy: 1.5.0 -> 1.5.1
2018-04-30 11:16:52 -05:00
Will Dietz
910ad133b4 mesa: 17.3.8 -> 17.3.9
https://www.mesa3d.org/relnotes/17.3.9.html
2018-04-30 11:08:23 -05:00
Will Dietz
dadf222934 systemd: add pcre2 as build dep for searching in journalctl 2018-04-29 20:24:04 -05:00
Will Dietz
04380e713c libepoxy: 1.5.0 -> 1.5.1 2018-04-29 17:09:52 -05:00
Will Dietz
b341529a35 systemd: use upstream patch to fix building with util-linux 2.32
See linked PR.
2018-04-29 16:54:24 -05:00
Jörg Thalheim
8c733b176f
Merge pull request #39597 from Mic92/bundler
bundler: 1.14.6 -> 1.16.1
2018-04-29 19:33:57 +01:00
Jörg Thalheim
0a973b9985 vagrant: 2.0.2 -> 2.0.4 2018-04-29 19:08:42 +01:00
Michael Raskin
ce929e6a92
Merge pull request #39457 from oxij/stdenv/texinfo-bash
stdenv: change texinfo bootstrap handling; texinfo, bash: simplify expressions
2018-04-27 19:03:26 +00:00
Michael Raskin
6d95d1ddd8
Merge pull request #39578 from timokau/mpfr-update
mpfr update
2018-04-27 18:57:39 +00:00
Sander van der Burg
abbf965683 nodejs: use xcodebuild patch for Node.js 10.x so that modules with native dependencies on darwin will build properly 2018-04-27 16:35:02 +02:00
Benjamin Smith
c56c0ac945 bundler: 1.14.6 -> 1.16.1 2018-04-27 10:54:55 +01:00
adisbladis
e9841a62ae
Merge pull request #39564 from holidaycheck/nodejs-10
nodejs: init at v10.0.0
2018-04-27 12:46:45 +08:00
Timo Kaufmann
ec7502946f mpfr: 3.1.6 -> 4.0.1 2018-04-27 00:21:25 +02:00
Timo Kaufmann
7390e00763 mpfi: 1.5.1 -> 1.5.3 2018-04-27 00:21:25 +02:00
Jan Malakhovski
87651b32fe stdenv: steal checkInputs from buildPythonPackage
Note that a bunch of non-python packages use this attribute already.
Some of those are clearly unaware of the fact that this attribute does
not exists in stdenv because they define it but don't to add it to
their `bulidInputs` :)

Also note that I use `buildInputs` here and only handle regular
builds because python and haskell builders do it this way and I'm not
sure how to properly handle the cross-compilation case.
2018-04-26 20:22:51 +00:00
Jan Malakhovski
9345fc51d1 haskell-generic-builder: be explicit about doCheck, cleanup 2018-04-26 20:22:44 +00:00
Jan Malakhovski
912cfb8aaa buildPythonPackage: use config.doCheckByDefault 2018-04-26 20:15:52 +00:00
Jan Malakhovski
845fa56921 stdenv: cleanup things a little bit 2018-04-26 20:15:51 +00:00
Jan Malakhovski
d834ba6654 stdenv: introduce and use config.doCheckByDefault option 2018-04-26 20:15:47 +00:00
Sergej Leibenzon
2119545865 nodejs: init at v10.0.0 2018-04-26 17:54:36 +02:00
Sergej Leibenzon
c53c7a02fe libuv: 1.20.0 -> 1.20.2 2018-04-26 17:54:35 +02:00
John Ericson
893bf70a1c
Merge pull request #39562 from dtzWill/fix/bootstrap-assert-eval
linux bootstrap: remove assertion failure from dev, fixes 'nix eval'
2018-04-26 11:45:11 -04:00
John Ericson
591d8c7a19
Merge pull request #39458 from oxij/stdenv/beautifications
stdenv: better names for cc and bintools
2018-04-26 11:41:18 -04:00
Will Dietz
f31b147f63 linux bootstrap: remove assertion failure from dev, fixes 'nix eval'
As in:

$ nix eval -f . bash

Also remove the glibc propagation inherit that made these necessary,
stages handle propagating libc themselves (apparently) and
AFAICT no hashes are changed as a result of this.
2018-04-26 10:19:52 -05:00
Jan Malakhovski
43dbc268cb gccCrossStageStatic: don't override name 2018-04-26 15:07:06 +00:00
Jan Malakhovski
82dd4501f4 bintools-wrapper, cc-wrapper: don't add targetPrefix the second time
... binutils and gcc add it already anyway.

Without this it's easy to get cross-toolchain paths longer than 256
chars and nix-daemon will then fail to commit them to /nix/store on XFS.
2018-04-26 15:06:52 +00:00
Will Dietz
5e1603f1fd
Merge pull request #39556 from dtzWill/fix/procps-ng-version
procps-ng: Use official release tarballs, fix version.
2018-04-26 09:49:16 -05:00
Will Dietz
38ef327aec procps-ng: Use official release tarballs, fix version.
Also no need to re-generate config bits,
which is good since we encountered an error when trying to do so.

Fixes #39538.
2018-04-26 09:23:49 -05:00
Will Dietz
6e623fb07b
Merge pull request #39461 from dtzWill/update/git-2.17.0-again
git: 2.16.3 -> 2.17.0, again, installCheck
2018-04-26 08:49:04 -05:00
Will Dietz
bdf390f995
Merge pull request #39517 from dtzWill/fix/python3.x-musl-lchmod
cpython: don't use lchmod() on Linux, fix w/musl
2018-04-26 08:46:49 -05:00
Nikolay Amiantov
8460769e88 pam: build with userdb support 2018-04-26 13:56:17 +03:00
Nikolay Amiantov
4b0638394d db: split outputs 2018-04-26 13:56:17 +03:00
Will Dietz
f54d54dc71
Merge pull request #39448 from dtzWill/fix/nfs-bits-cleanup-and-musl
nfs-utils, tcp_wrappers, libnfsidmap: cleanup, fix w/musl
2018-04-25 22:40:38 -05:00
Will Dietz
b11f3bc8e3 cpython: don't use lchmod() on Linux, fix w/musl
upstream issue:
https://bugs.python.org/issue31940

There are two PR's proposed to fix this,
but both seem to be stalling waiting for review.

I previously used what appears to be the favored
of the two approaches[1] to fix this,
with plan of keeping it musl-only until PR was merged.

However, while writing up a commit message
explaining the problem and why it needed fixing...

I investigated a bit and found it increasingly
hard to justify anything other than ...
simply not using lchmod.

Here's what I found:
* lchmod is non-POSIX, seems BSD-only these days
* Functionality of lchmod isn't supported on Linux
  * best scenario on Linux would be an error
* POSIX does provide lchmod-esque functionality
  with fchmodat(), which AFAICT is generally preferred.
* Python intentionally overlooks fchmodat()[2]
  electing instead to use lchmod() behavior
  as a proxy for whether fchmodat() "works".
  I'm not sure I follow their reasoning...
* both glibc and musl provide lchmod impls:
  * glibc returns ENOSYS "not implemented"
  * musl implements lchmod with fchmodat(),
    and so returns EOPNOTSUPP "op not supported"
* Python doesn't expect EOPNOTSUPP from lchmod,
  since it's not valid on BSD's lchmod.
* "configure" doesn't actually check lchmod usefully,
  instead checks for glibc preprocessor defines
  to indicate if the function is just a stub[3];
  somewhat fittingly, if the magic macros are defined
  then the next line of the C source is "choke me",
  causing the compiler to trip, fall, and point
  a finger at whatever is near where it ends up.
  (somewhat amusing, but AFAIK effective way to get an error :P)

I'm leaving out links to threads on mailing lists and such,
but for now I hope I've convinced you
(or to those reading commit history: explained my reasons)
that this is a bit of a mess[4].

And so instead of making a big mess messier,
and with hopes of never thinking about this again,
I propose we simply tell Python "don't use lchmod" on Linux.

[1] https://github.com/python/cpython/pull/4783
[2] 28453feaa8/Lib/os.py (L144)
[3] 28453feaa8/configure (L2198)
[4] Messes happen, no good intention goes unpunished :).
2018-04-25 21:46:13 -05:00
Jan Malakhovski
50af975d85 stdenv: implement checkTarget and installCheckTarget autodetection 2018-04-25 19:53:25 +00:00
Jan Malakhovski
e9e06888ed stdenv: generic/setup.sh: cleanup installPhase 2018-04-25 19:53:25 +00:00
Jan Malakhovski
ad98c36f1b stdenv: generic/setup.sh: simplify buildPhase Makefile check 2018-04-25 19:53:24 +00:00
Jan Malakhovski
d531a1e967 texinfo: merge expressions for 5.2 and 6.5
Also add me as a maintainer.
2018-04-25 19:50:55 +00:00
Jan Malakhovski
3c7f6572ce bash: simplify expression, add withDocs option 2018-04-25 19:50:54 +00:00
Jan Malakhovski
a809fdc8e1 stdenv: linux: stop recompiling texinfo
This makes stdenv bootstraping a bit more efficient.
We don't recompile most of other stuff used in bootstrapping stdenv too.
2018-04-25 19:50:54 +00:00