Commit Graph

139658 Commits

Author SHA1 Message Date
aszlig
a8b7372380
nixos: Add release notes about dhparams changes
This is not only to make users aware of the changes but also to give a
heads up to developers which are using the module. Specifically if they
rely on security.dhparams.path only.

Signed-off-by: aszlig <aszlig@nix.build>
2018-05-07 05:02:41 +02:00
aszlig
81fc2c3509
nixos/dhparams: Add a defaultBitSize option
This allows to set the default bit size for all the Diffie-Hellman
parameters defined in security.dhparams.params and it's particularly
useful so that we can set it to a very low value in tests (so it doesn't
take ages to generate).

Regardless for the use in testing, this also has an impact in production
systems if the owner wants to set all of them to a different size than
2048, they don't need to set it individually for every params that are
set.

I've added a subtest to the "dhparams" NixOS test to ensure this is
working properly.

Signed-off-by: aszlig <aszlig@nix.build>
2018-05-07 04:58:52 +02:00
R. RyanTM
2f467dd584 xmrig: 2.5.3 -> 2.6.1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/xmrig/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 2.6.1 with grep in /nix/store/wsy4vdhmqcr0mydcgp77dncf2xq906kf-xmrig-2.6.1
- directory tree listing: https://gist.github.com/ff33b30777a95f9fa0654b4da0ae47c2
2018-05-06 19:49:06 -07:00
aszlig
1eeeceb9c7
nixos/nsd: Allow to configure root zone
When trying to run NSD to serve the root zone, one gets the following
error message:

error: illegal name: '.'

This is because the name of the zone is used as the derivation name for
building the zone file. However, Nix doesn't allow derivation names
starting with a period.

So whenever the zone is "." now, the file name generated is "root"
instead of ".".

I also added an assertion that makes sure the user sets
services.nsd.rootServer, otherwise NSD will fail at runtime because it
prevents serving the root zone without an explicit compile-time option.

Tested this by adding a root zone to the "nsd" NixOS VM test.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @hrdinka, @qknight
2018-05-07 04:05:41 +02:00
Franz Pletz
2b499afa63
wget: 1.19.4 -> 1.19.5 for CVE-2018-0494 2018-05-07 03:00:22 +02:00
Jan Tojnar
d79609ac93
firefox-bin: use native notifications 2018-05-07 01:24:17 +02:00
Silvan Mosberger
facd51575e lib/types: remove unnecessary coerceFunc assertion 2018-05-06 23:58:36 +02:00
Silvan Mosberger
cd5736116c lib/types: clear up coercedTo description 2018-05-06 23:58:36 +02:00
Silvan Mosberger
b16a69289a lib/types: Add coercedTo unsound tests 2018-05-06 23:58:36 +02:00
Silvan Mosberger
ef8996f15e lib/types: Fix coercedTo check
Without this change

  (coercedTo str toInt int).check "foo"

would evaluate to true, even though

  (coercedTo str toInt int).merge {} [{ value = "foo"; }]

will throw an error because "foo" can't be coerced to an int.
2018-05-06 23:58:36 +02:00
Alexandre Esteves
85b5fc7c98 xcodeenv: fix typo 2018-05-06 21:34:05 +00:00
Matthew Justin Bauer
938fd3042e
Merge pull request #40031 from knedlsepp/reduce-qt5.qtwebkit-logsize
qt5.qtwebkit: Reduce log size to fix hydra build
2018-05-06 20:46:55 +00:00
Joachim F
9d3c5ce32e
Merge pull request #40044 from jfrankenau/lynx-ipv6
lynx: enable IPv6 and update
2018-05-06 20:43:10 +00:00
Jan Tojnar
300af66777
gnome3.gdm: fix session chooser
We are patching GDM to respect GDM_SESSIONS_DIR environment
variable, which we are setting in the GDM module. Previously, we
only took care of a single code path, the one that handled session
start-up; missing the one obtaining the list of sessions.

This commit patches the second code path, and also whitelists the
GDM_SESSIONS_DIR so that it can be passed to the greeter.

Fixes #34101
2018-05-06 22:20:56 +02:00
Léo Gaspard
faa0d2fa78
todiff: 0.4.0 -> 0.5.0 2018-05-06 22:13:15 +02:00
Johannes Frankenau
b131db5f9b lynx: 2.8.9dev.16 -> 2.8.9dev.17 2018-05-06 22:04:09 +02:00
Johannes Frankenau
c642fce382 lynx: enable IPv6 support 2018-05-06 22:03:53 +02:00
Timo Kaufmann
ca9ea31ae1 liblapack: 3.4.1 -> 3.8.0 2018-05-06 21:12:01 +02:00
Vladyslav Mykhailichenko
bd7c16e9c3 iwd: 0.1 -> 0.2 2018-05-06 21:10:24 +03:00
Peter Simons
127de7480e haskell-attoparsec-varword: fix infinite recursion in test dependencies 2018-05-06 19:31:04 +02:00
Michael Alan Dorman
4764a6e2e9 haskell-gi, gi-gdkx11: fix builds
The `haskell-gi` build fails its doctests because of a missing
library; I'm not 100% convinced that setting it to `dontCheck` is the
right thing to do, but I don't have a better idea at the moment.

The `gi-gdkx11` build fails because, surprise, Gdk-X11 isn't found; by
looking around in my store, I found that that that library seems to
live in gtk3 these days; this override is just a stop-gap, though,
I've also submitted the change to cabal2nix that I believe will fix
the automatic generation of the package in the future.
2018-05-06 19:31:04 +02:00
Peter Simons
fe95c5c64f hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.9.2-9-g07ca643 from Hackage revision
d2c0010bab.
2018-05-06 19:31:04 +02:00
Peter Simons
11096b2cfe hackage2nix: disable failing Hydra builds
@gebner: hledger-diff no longer compiles
2018-05-06 19:31:03 +02:00
Joachim F
e97d8fc0cb
Merge pull request #39455 from Ekleog/matterbridge-configfile
matterbridge module: add configPath option as a workaround, waiting for nix encryption
2018-05-06 17:29:43 +00:00
Josef Kemetmüller
472f21951a qt5.qtwebkit: Reduce log size to fix hydra build
This should fix the darwin build of qtwebkit.
2018-05-06 18:44:31 +02:00
zimbatm
716d877d0f gitea: 1.4.0 -> 1.4.1 2018-05-06 17:11:41 +01:00
Jörg Thalheim
71a8d0ca59 particl-core: replace utillinux with unixtools.hexdump
to make it platform agnostic
2018-05-06 15:15:04 +01:00
Jörg Thalheim
17950abc78 wllvm: 1.1.5 -> 1.2.0 2018-05-06 15:05:41 +01:00
Jan Tojnar
d8e3ce750f
Merge pull request #40009 from jD91mZM2/termplay
termplay: init at 2.0.4
2018-05-06 15:34:36 +02:00
jD91mZM2
cf09900bbc
xidlehook: init at 0.4.6 2018-05-06 15:27:25 +02:00
Daiderd Jordan
e6d555817d
Merge pull request #40014 from periklis/darwin-skhd
skhd: 0.0.12 -> 0.0.14
2018-05-06 15:02:30 +02:00
Josef Kemetmüller
f92cf4b93f pythonPackages.pyopengl: fix build 2018-05-06 12:50:22 +00:00
jD91mZM2
2d08df417f
termplay: init at 2.0.4 2018-05-06 14:49:18 +02:00
jD91mZM2
5fada46e88
powerline-rs: add bash & fish completion 2018-05-06 14:46:05 +02:00
Sander van der Burg
67ef59fd26
Merge pull request #39405 from timokau/node-three-mathjax
[WIP] Node: Init mathjax, threejs
2018-05-06 13:18:39 +02:00
Jörg Thalheim
6013c9598c
Merge pull request #40021 from marsam/feature/enable-scrapy-darwin
pythonPackages.scrapy: enable darwin build
2018-05-06 11:27:56 +01:00
Maximilian Bosch
f57986597f mkcast: drop and replace with xscast (#40026)
The package has been declared as unmaintained, `xscast` is the way to
go: https://github.com/KeyboardFire/mkcast#obsolete

Replacement for `mkcast` (https://github.com/KeyboardFire/mkcast#obsolete)
2018-05-06 11:27:31 +01:00
Tristan Helmich
560e91f1a7 nixos/matrix-synapse service: url_preview_url_blacklist fix (#40027)
Moved list of ip ranges to url_preview_ip_range_blacklist defaults.
Fixes #40017
2018-05-06 09:49:04 +00:00
Joachim F
7a39cb90a1
Merge pull request #39685 from ikervagyok/wine37
wine-{Unstable,Staging}: 3.5 -> 3.7
2018-05-06 09:47:46 +00:00
Joachim F
b0c9aa5d9f
Merge pull request #40024 from dywedir/emby
emby: 3.3.1.0 -> 3.4.0.0
2018-05-06 09:25:25 +00:00
Joachim F
e43946d287
Merge pull request #40022 from jD91mZM2/powerline-rs
powerline-rs: 0.1.6 -> 0.1.7
2018-05-06 09:25:11 +00:00
Joachim F
1ff22c7e7b
Merge pull request #39944 from erikarvstedt/refind
refind: fix runtime errors
2018-05-06 09:24:47 +00:00
Joachim F
cf437beab3
Merge pull request #39996 from jraygauthier/jrg/vscode_cpptools_update_r1
vscode-extension-ms-vscode-cpptools: 0.12.3 -> 0.16.1
2018-05-06 09:20:56 +00:00
Vincent Laporte
d79e9d3e16
Merge pull request #39656 from vbgl/ocsigen_server-2.9
ocsigen: 2.8 → 2.9; eliom: 6.2.0 → 6.3.0
2018-05-06 11:16:40 +02:00
Joachim F
7da1dcaf5a
Merge pull request #40018 from danbst/zoom-us-update
zoom-us: update 2.0.106600.0904 -> 2.0.123200.0405, cleanup
2018-05-06 09:10:17 +00:00
Vladyslav Mykhailichenko
f76301c6cb emby: 3.3.1.0 -> 3.4.0.0 2018-05-06 09:43:01 +03:00
jD91mZM2
4e906935cc
powerline-rs: 0.1.6 -> 0.1.7 2018-05-06 07:29:22 +02:00
Mario Rodas
f8351ba5f0 pythonPackages.scrapy: enable darwin build 2018-05-05 23:35:30 -05:00
aszlig
8ce802e8c8
gopass: Add xclip to wrapperPath
This is another dependency needed when invoked with "gopass -c".

I opted for xclip instead of xsel, because xclip is tried first in
order.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @andir, @suvash, @mkaito
2018-05-06 05:07:39 +02:00
aszlig
42a0b11450
dockerTools.pullImage: Fix build with sandboxing
Regression introduced in 736848723e.

This commit most certainly hasn't been tested with sandboxing enabled
and breaks not only pullImage but also the docker-tools NixOS VM test
because it doesn't find it's certificate path and also relies on
/var/tmp being there.

Fixing the certificate path is the easiest one because it can be done
via environment variable.

I've used overrideAttrs for changing the hardcoded path to /tmp (which
is available in sandboxed builds and even hardcoded in Nix), so that
whenever someone uses Skopeo from all-packages.nix the path is still
/var/tmp.

The reason why this is hardcoded to /var/tmp can be seen in a comment in
vendor/github.com/containers/image/storage/storage_image.go:

  Do not use the system default of os.TempDir(), usually /tmp, because
  with systemd it could be a tmpfs.

With sandboxed builds this isn't the case, however for using Nix without
NixOS this could turn into a problem if this indeed is the case.

So in the long term this needs to have a proper solution.

In addition to that, I cleaned up the expression a bit.

Tested by building dockerTools.examples.nixFromDockerHub and the
docker-tools NixOS VM test.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @nlewo, @Mic92, @Profpatsch, @globin, @LnL7
2018-05-06 04:57:24 +02:00