Commit Graph

62964 Commits

Author SHA1 Message Date
Peter Simons
86d299bc6e nixos: add config.services.openssh.moduliFile option so that users can replace the default file from OpenSSH
The man page for ssh-keygen(1) has a section "MODULI GENERATION" that describes
how to generate your own moduli file. The following script might also be helpful:

 | #! /usr/bin/env bash
 |
 | moduliFiles=()
 |
 | generateModuli()
 | {
 |   ssh-keygen -G "moduli-$1.candidates" -b "$1"
 |   ssh-keygen -T "moduli-$1" -f "moduli-$1.candidates"
 |   rm "moduli-$1.candidates"
 | }
 |
 | for (( i=0 ; i <= 16 ; ++i )); do
 |   let bitSize="2048 + i * 128"
 |   generateModuli "$bitSize" &
 |   moduliFiles+=( "moduli-$bitSize" )
 | done
 | wait
 |
 | echo >moduli "# Time Type Tests Tries Size Generator Modulus"
 | cat >>moduli "${moduliFiles[@]}"
 | rm "${moduliFiles[@]}"

Note that generating moduli takes a long time, i.e. several hours on a fast
machine!

This patch resolves https://github.com/NixOS/nixpkgs/pull/5870.
2015-05-22 16:28:45 +02:00
Peter Simons
0c35edb25c haskell-wuss: test suite needs network access --> disable to fix the build 2015-05-21 14:57:18 +02:00
Peter Simons
9b9d94def4 Disable builds for broken Haskell packages lens-action and servant-server. 2015-05-21 14:57:17 +02:00
Peter Simons
0a85cee798 haskell-curlhs: disable failing test suite 2015-05-21 14:57:17 +02:00
Peter Simons
f26b51e00e haskell-language-glsl: build has been fixed upstream 2015-05-21 14:57:17 +02:00
Nikolay Amiantov
7e55534e8d haskell-idris: fix build 2015-05-21 14:57:17 +02:00
Nikolay Amiantov
03f9f0a634 haskell-cheapskate: not broken now 2015-05-21 14:57:17 +02:00
Nikolay Amiantov
743c265797 haskell-pandoc: use ordinary jailbreak 2015-05-21 14:57:16 +02:00
Peter Simons
bf468dac2b haskell-HList: the build errors have been fixed upstream 2015-05-21 14:57:16 +02:00
Peter Simons
493663d785 jailbreak-cabal: always build the tool with Cabal 1.20
This change mitigates the effects of https://github.com/peti/jailbreak-cabal/issues/9.
2015-05-21 14:57:16 +02:00
Peter Simons
06d002acb5 hackage-packages.nix: update to 25810f6054 with hackage2nix revision a70a5194597133ba31b950c826ef09206249cca9 2015-05-21 14:57:12 +02:00
Arseniy Seroka
8d10975e4d Merge pull request #7918 from codyopel/ffmpeg
ffmpeg(-full): 2.6.2 -> 2.6.3
2015-05-21 15:48:23 +03:00
Ricardo M. Correia
5277bf945d grsecurity: Update stable patch from 3.1-3.14.43-201505181929 -> 3.1-3.14.43-201505191737 2015-05-21 14:45:56 +02:00
Paulus Esterhazy
c4a8acd983 Add sqlite3_analyzer 2015-05-21 13:57:53 +02:00
aszlig
7808efe5b7
nixos/release: Add luksroot test to "tested" job.
We want to avoid getting broken LUKS systems into the latest channel, so
let's ensure that the channel update won't happen if LUKS support is
broken again.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-05-21 13:21:41 +02:00
aszlig
1f34503010
nixos/tests/installer: Add test for LUKS rootfs.
This serves as a regression test for #7859.

It's pretty straightforward, except from the fact that nixos-generate-
config doesn't detect LUKS devices and the "sleep 60".

As for the former, I have tried to add support for LUKS devices for
nixos-generate-config, but it's not so easy as it sounds, because we
need to create a device tree across all possible mappers and/or LVM up
to the "real" device and then decide whether it is relevant to what is
currently mounted. So I guess this is something for the nixpart branch
(see #2079).

And the latter isn't very trivial as well, because the LUKS passphrase
prompt is issued on /dev/console, which is the last "console=..." kernel
parameter (thus the `mkAfter`). So we can't simply grep the log, because
the prompt ends up being on one terminal only (tty0) and using select()
on $machine->{socket} doesn't work very well, because the FD is always
"ready for read". If we would read the FD, we would conflict with
$machine->connect and end up having an inconsistent state. Another idea
would be to use multithreading to do $machine->connect while feeding the
passphrase prompt in a loop and stop the thread once $machine->connect
is done. Turns out that this is not so easy as well, because the threads
need to share the $machine object and of course need to do properly
locking.

In the end I decided to use the "blindly hope that 60 seconds is enough"
approach for now and come up with a better solution later. Other VM
tests surely use sleep as well, but it's $machine->sleep, which is bound
to the clock of the VM, so if the build machine is on high load, a
$machine->sleep gets properly delayed but the timer outside the VM won't
get that delay, so the test is not deterministic.

Tested against the following revisions:

5e3fe39: Before the libgcrypt cleanup (a71f78a) that broke cryptsetup.
69a6848: While cryptsetup was broken (obviously the test failed).
15faa43: After cryptsetup has been switched to OpenSSL (fd588f9).

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-05-21 13:21:41 +02:00
aszlig
3b396701fd
nixos/tests/installer: Allow pre-boot commands.
These commands will be executed directly after the machine is created,
so it gives us the chance to for example type in passphrases using the
virtual keyboard.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-05-21 13:21:41 +02:00
aszlig
5d2c6f0353
nixos/tests/installer: Allow to pass extra config.
We're going to need it for installer tests where nixos-generate-config
isn't yet able to fully detect the filesystems/hardware. for example for
device mapper configurations other than LVM.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-05-21 13:21:40 +02:00
Luca Bruno
478e1d6f14 vanubi: use vte 2.90 2015-05-21 12:58:01 +02:00
Joachim Schiele
d254729034 goPackage: enabled checks for goquery/cascadia 2015-05-21 12:55:44 +02:00
Joachim Schiele
a523f234f1 Merge pull request #7921 from qknight/goPackages_pq_goquery_cascadia
new goPackage(s): pq, goquery, cascadia
2015-05-21 12:51:44 +02:00
Joachim Schiele
ed8e6f62df new goPackage(s): goquery, cascadia 2015-05-21 12:51:04 +02:00
Arseniy Seroka
15faa43f13 Merge pull request #7853 from rushmorem/marathon-update
Update Mesos Library environment variable
2015-05-21 12:58:11 +03:00
William A. Kennington III
8d7d9723af kernel: 3.18.13 -> 3.18.14 2015-05-20 23:00:43 -07:00
William A. Kennington III
3462d04e27 kernel: 3.12.42 -> 3.12.43 2015-05-20 23:00:28 -07:00
William A. Kennington III
3988cfcbff lightdm: Add patch to fix some warnings 2015-05-20 19:14:31 -07:00
William A. Kennington III
4ed8cdc3d4 nixos/bird: Fix doc compilation 2015-05-20 18:53:54 -07:00
William A. Kennington III
acdc3e6c9a nixos/lightdm: Some fixups 2015-05-20 18:32:12 -07:00
William A. Kennington III
19c259161b qemu: 2.2.2 -> 2.3.0 2015-05-20 18:30:22 -07:00
William A. Kennington III
d6c6253be0 libseccomp: 2.2.0 -> 2.2.1 2015-05-20 18:30:22 -07:00
William A. Kennington III
737d77db75 btrfsprogs: 4.0 -> 4.0.1 2015-05-20 18:30:22 -07:00
codyopel
61fa78293d ffmpeg(-full): 2.6.2 -> 2.6.3 2015-05-20 20:45:59 -04:00
Arseniy Seroka
a9171953c6 Merge pull request #7860 from Lassulus/bird
nixos: add bird module
2015-05-21 03:24:20 +03:00
Pascal Wittmann
bfc1582b81 jumanji: fix gsettings schemas, closes #7916 2015-05-21 01:10:24 +02:00
Pascal Wittmann
c2dd7622c5 Merge pull request #7914 from pjones/pkg/mpdris2
New package: mpDris2, MPRIS 2 support for mpd
2015-05-20 23:45:35 +02:00
Peter Jones
05a6c34e04 New package: mpDris2, MPRIS 2 support for mpd 2015-05-20 15:37:25 -06:00
John Wiegley
98ad87fb4d t1lib: Conditionalize a recent change for Darwin 2015-05-20 15:42:13 -05:00
Nikolay Amiantov
dbcfd854c8 Merge pull request #7104 from gebner/mozc
Add mozc, a Japanese input method from Google.
2015-05-20 22:20:32 +03:00
Pascal Wittmann
2043857a73 youtube-dl: update from 2015-05-15 to 2015-05-20 2015-05-20 21:14:45 +02:00
Ozan Sener
97160a8644 Add Thrust 0.7.6 2015-05-20 20:58:03 +02:00
Gabriel Ebner
64ecc21b9a Add mozc and its dependency zinnia. 2015-05-20 20:25:23 +02:00
Shea Levy
e3ed4b590b Fix tarball 2015-05-20 14:09:15 -04:00
Pascal Wittmann
824da827ac phpPackages.redis: update from 2.2.5 to 2.2.7 2015-05-20 18:53:25 +02:00
Pascal Wittmann
57ec836416 aliceml: update version string 2015-05-20 18:06:18 +02:00
Pascal Wittmann
64dbf824b9 Merge pull request #6973 from doublec/aliceml
Update aliceml from git to get fix for tooltips in IDE
2015-05-20 18:04:52 +02:00
Tobias Geerinckx-Rice
8a53e1a312 geolite-legacy -> 2015-05-20 2015-05-20 16:42:38 +02:00
Tobias Geerinckx-Rice
d01927269e uae: use archive.org links
The original homepage is long gone (as is the tarball it hosted).
2015-05-20 16:42:12 +02:00
Tobias Geerinckx-Rice
622bd2e15f cassandra 2.1.4 -> 2.1.5 2015-05-20 16:42:12 +02:00
Tobias Geerinckx-Rice
b4ceac808b cassandra 2.0.14 -> 2.0.15 2015-05-20 16:42:12 +02:00
Peter Simons
cf6ab47be2 oracle-instantclient: don't strip or patchelf this library 2015-05-20 16:19:11 +02:00