Commit Graph

90208 Commits

Author SHA1 Message Date
aszlig
f19c961b4e
linux-testing: Fix arg list too long in modinst
With the default kernel and thus with the build I have tested in
74ec94bfa2, we get an error during
modules_install:

make[2]: execvp: /nix/store/.../bin/bash: Argument list too long

I haven't noticed this build until I actually tried booting using this
kernel because make didn't fail here.

The reason this happens within Nix and probably didn't yet surface in
other distros is that programs only have a limited amount of memory
available for storing the environment and the arguments.

Environment variables however are quite common on Nix and thus we
stumble on problems like this way earlier - in this case Linux 4.8 - but
I have noticed this in 4.7-next as well already.

The fix is far from perfect and suffers performance overhead because we
now run grep for every *.mod file instead of passing all *.mod files
into one single invocation of grep.

But comparing the performance overhead (around 1s on my machine) with
the overall build time of the kernel I think the overhead really is
neglicible.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-08-30 06:55:52 +02:00
obadz
e7b2f05d20 Merge commit '6389f9b' (was in staging) 2016-08-30 02:31:59 +01:00
obadz
03b9a159fe opensmtpd nixos module: chmod & chown until the daemon's heart's content 2016-08-30 02:13:22 +01:00
Joachim Fasting
dab32a1fa6
nixos manual: move chapter on grsecurity to auto-generated module docs 2016-08-29 23:48:12 +02:00
Joachim Fasting
d78e0ed1f9
dnscrypt-proxy module: move detailed info to module documentation 2016-08-29 23:48:12 +02:00
Joachim Fasting
68210aa772
dnscrypt-proxy module: serviceConfig.Group is redundant
Same as user's primary group if left unspecified
2016-08-29 23:48:12 +02:00
Joachim Fasting
23a7e6e911
dnscrypt-proxy module: formatting 2016-08-29 23:48:11 +02:00
aszlig
86d1953ed4
build-rebar3: Append postPatch to original hook
The postPatch attribute is already in the function argument but is
unused elsewhere in the code, so setting postPatch with buildRebar3 is
going to end up in a no-op.

This now allows to use postPatch within buildRebar3 by simply appending
to the existing postPatch hook that removes the rebar and rebar3
escripts.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @ericbmerritt
2016-08-29 23:31:50 +02:00
Vladimír Čunát
3996aa8953 nix: maintenance 1.11.2 -> 1.11.3
Fixes #17804.
2016-08-29 22:44:01 +02:00
Frederik Rietdijk
357fbe1ccf Merge pull request #18080 from vbgl/qarte-3
qarte: 2.4.0 -> 3.2.0
2016-08-29 21:47:26 +02:00
aszlig
74ec94bfa2
linux/kernel/testing: 4.8-rc3 -> 4.8-rc4
Tested by only building the linux_testing attribute, but haven't yet
tested it in production.

I've also fixed the extraMeta.branch attribute.

Verified-with-PGP: ABAF 11C6 5A29 70B1 30AB E3C4 79BE 3E43 0041 1886
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-08-29 20:52:19 +02:00
aszlig
42e1ec215e
linux/kernel: Remove MLX4_EN_VXLAN for 4.8
This option is no longer needed and has been removed in upstream commit
torvalds/linux@a831274a13.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-08-29 20:52:19 +02:00
aszlig
0bce188ec1
linux/kernel: Remove KVM_APIC_ARCHITECTURE for 4.8
The option is no longer needed and has been removed upstream in
torvalds/linux@557abc40d1.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-08-29 20:52:19 +02:00
Vladimír Čunát
f85053a021 ilmbase: fix linkage
The library was missing -pthread symbols. It wasn't failing by itself,
but e.g. blender was failing to link against is fixed now.
2016-08-29 19:40:12 +02:00
Robin Gloster
1876ce8494
ataripp: add missing libSM dependency 2016-08-29 17:15:10 +00:00
Robin Gloster
57bd89e447
fsg: disable format hardening 2016-08-29 17:01:03 +00:00
Robin Gloster
6541dfe554
wxGTK: disable format hardening 2016-08-29 17:00:34 +00:00
Robin Gloster
6a04de991c
linuxPackages_3_12.ena: fix build 2016-08-29 16:35:13 +00:00
Franz Pletz
04ab7cee02 Merge pull request #18088 from groxxda/fix/libcommuni
libcommuni: 2016-03-23 -> 2016-08-17, communi 2016-01-03 -> 2016-08-19
2016-08-29 18:32:16 +02:00
Vladimír Čunát
acca6d2293 libreoffice: remove a flaky test on i686
... by a patch from Debian.
2016-08-29 18:29:12 +02:00
Guillaume Maudoux
3aef93e8f0 nixos/containers: Process config like toplevel options (#17365) 2016-08-29 18:25:50 +02:00
zimbatm
6ae57b1b63 bundler: fix usage on nested call
The combination of bundler 1.12.5 and rubygems 1.6.2 doesn't play well
at all when trying to run gems such as foreman where bundler is used to
run bundler.

Just upgrading to the latest bundler rc doesn't fix it and changing rubygems causes a massive rebuild.

Issues:

- https://github.com/bundler/bundler/issues/4402
- https://github.com/bundler/bundler/issues/4576
- https://github.com/bundler/bundler/issues/4602
- https://github.com/docker-library/ruby/issues/73

This PR patches bundler to work around the issue as highlighted here and
unbreaks everything for me:

https://github.com/bundler/bundler/issues/4602#issuecomment-233619696
2016-08-29 17:03:12 +01:00
Eelco Dolstra
2755bcfa7c In $NIX_PATH, use nixpkgs=...
This is required by the "nix" command to find Nixpkgs.
2016-08-29 17:50:25 +02:00
Eelco Dolstra
822e1ddd89 Use builtins.partition if available 2016-08-29 17:50:06 +02:00
obadz
6389f9b349 Revert "make-bootstrap-tools.darwin: upgrade to llvm 3.8"
This reverts commit bddf4e2180.

Trying to fix stdenvBootstrapTools.x86_64-darwin.stdenv

cc @copumpkin @domenkozar
2016-08-29 16:19:36 +01:00
Alexander Ried
8d26e56608 communi: 2016-01-03 -> 2016-08-19 2016-08-29 17:04:27 +02:00
Peter Simons
67c57a9ce5 Merge pull request #18016 from Profpatsch/spy-patch
haskellPackages.spy: fix for new fsnotify version
2016-08-29 16:55:06 +02:00
Peter Simons
486c204859 Merge pull request #18087 from YPares/stack-getlib
Haskell stack nix shell: using lib.getLib/Dev now
2016-08-29 16:54:36 +02:00
Peter Simons
8eaa645eca Merge pull request #18086 from vbgl/maxima-5.38.1
maxima: 5.36.1 -> 5.38.1
2016-08-29 16:53:55 +02:00
YPares
9ddcd5d456 Haskell stack nix shell: using lib.getLib/Dev now 2016-08-29 16:15:09 +02:00
Vincent Laporte
17af87323d maxima: 5.36.1 -> 5.38.1 2016-08-29 15:52:05 +02:00
Alexander Ried
07ed06f8da libcommuni: 2016-03-23 -> 2016-08-17
add missing build input (fixes build)
2016-08-29 15:37:41 +02:00
Robin Gloster
6f21201f93
rtags: git-2016-04-29 -> 2.3
should fix the darwin build
2016-08-29 13:33:36 +00:00
Robin Gloster
005a147f92
sage: fix build
closes #17842
2016-08-29 12:46:51 +00:00
Vladimír Čunát
b981fe2095 vim-indent-guides: init at 2016-04-17 2016-08-29 14:40:12 +02:00
Vladimír Čunát
f688ea37d8 bear: init at 2.2.0 2016-08-29 14:13:01 +02:00
obadz
c527ece0b1 Merge pull request #18083 from NixOS/staging
Merge Staging

Contains compiler hardening by default as well as binutils version bump.
2016-08-29 13:07:29 +01:00
obadz
0e9d355397 musl: disable stackprotector hardening
Prevents busybox segfault
2016-08-29 13:04:29 +01:00
obadz
b74793bd1c Merge branch 'master' into staging
Conflicts:
	pkgs/tools/system/facter/default.nix
2016-08-29 12:44:17 +01:00
Frederik Rietdijk
aebabb9871 qarte: create python env 2016-08-29 13:36:50 +02:00
Vincent Laporte
58738e4bc7 qarte: 2.4.0 -> 3.2.0 2016-08-29 13:36:50 +02:00
Joachim Fasting
898edb0fbc lttng-modules: 2.6.3 -> 2.8.0
Full changelog at
https://git.lttng.org/?p=lttng-modules.git;a=blob_plain;f=ChangeLog;hb=4d484e547c486f902a60216dc421cb891b772431

Built against linux and linux_latest

cc @bjornfor
2016-08-29 11:39:44 +02:00
Robin Gloster
6808de76e6
nixos doc: module meta attribute section cleanup 2016-08-29 09:34:24 +00:00
Robin Gloster
f3c994ca11
rhino: disable format/fortify hardening 2016-08-29 09:08:03 +00:00
Robin Gloster
b0b2a94751
pdftk: disable format/fortify hardening 2016-08-29 09:02:03 +00:00
Frederik Rietdijk
aca4801f53 mendeley: add missing liborc 2016-08-29 10:35:30 +02:00
Frederik Rietdijk
5da0b34591 liborc: init at 0.4.16 2016-08-29 10:35:21 +02:00
Robin Gloster
0865e22567
xorg.xf86videoxgi: add patch to fix build 2016-08-29 08:25:12 +00:00
Frederik Rietdijk
d87b415dec mendeley: 1.16.1 -> 1.16.2 2016-08-29 10:02:05 +02:00
Eric Sagnes
aa8e663b6e nixos doc: add modules meta-attributes (#18078) 2016-08-29 07:54:25 +00:00