Compare commits

...

1430 Commits
rustc ... 17.09

Author SHA1 Message Date
Robin Gloster
39cd40f7be NixOS 17.09 "Hummingbird" is released on 2017-09-29 2017-09-29 06:06:15 +02:00
Robin Gloster
e73c24084a manual/releasing: update 2017-09-29 06:05:46 +02:00
Robin Gloster
3663760225 tests.hibernate: disable on 32 bit
very flaky due to not having 9pfs mounted after hibernation and
therefore needs nc in memory, which often fails on 32bit
2017-09-29 03:36:18 +02:00
Robin Gloster
309f965c91 tests.cjdns: only on 64-bit + python pkg fixup 2017-09-29 03:33:07 +02:00
WilliButz
4dbde1f10e spotify: 1.0.49.125.g72ee7853-111 -> 1.0.64.401.g9d720389-21
(cherry picked from commit ee6b48cc1f)
2017-09-29 03:24:40 +02:00
Franz Pletz
72550585cd pythonPackages.pyalgotrade: fix typo
(cherry picked from commit e68e149447)
2017-09-29 03:24:34 +02:00
Franz Pletz
b772ca9d21 pythonPackages.pyalgotrade: incompatible with python3
(cherry picked from commit 538b016ae0)
2017-09-29 03:24:26 +02:00
Franz Pletz
4beb7d1196 djbdns: don't try to build on hydra 2017-09-29 02:14:42 +02:00
Franz Pletz
5b09ca07b8 gplates: mark as broken 2017-09-29 02:13:55 +02:00
Franz Pletz
90c8b6eb51 pythonPackages.pyalgotrade: incompatible with python3
(cherry picked from commit 538b016ae0)
2017-09-29 02:11:31 +02:00
Franz Pletz
d9298e3a00 openmodelica: mark as broken, unmaintained 2017-09-29 02:00:12 +02:00
Franz Pletz
1a5acb9883 17.09 release notes: mention KDE upgrades
(cherry picked from commit 5b8a798137)
2017-09-29 01:55:11 +02:00
Franz Pletz
1e2711efd8 17.09 release notes: fix typos & ordering
(cherry picked from commit c22d717c75)
2017-09-29 01:55:11 +02:00
Franz Pletz
dcf1273fe1 firefox-bin: 55.0.3 -> 56.0
(cherry picked from commit 5b71411413)
2017-09-29 01:55:10 +02:00
Franz Pletz
c5c082a111 kicad: don't try to build on hydra
(cherry picked from commit 0dc882e3d4)
2017-09-29 01:55:10 +02:00
Robin Gloster
4b5cc4e808 python packages: mark as broken/disabled 2017-09-29 00:38:34 +02:00
Robin Gloster
ecd2a1a398 python.pkgs.futurist: dontCheck
(cherry picked from commit 169a344ab8)
2017-09-29 00:38:34 +02:00
Franz Pletz
49d34a4965 17.09 release notes: add network interface rename note
Fixes #29197.

(cherry picked from commit 49f175cd0c)
2017-09-29 00:08:21 +02:00
Franz Pletz
273e4afda5 virt-what: init at 1.18
(cherry picked from commit df86f19968)
2017-09-29 00:08:21 +02:00
Robin Gloster
23fdbaa375 treewide: mark a bunch of failing builds as broken 2017-09-28 23:16:18 +02:00
Robin Gloster
be9cd9aef7 qpid-cpp: fix build
(cherry picked from commit f0fa565dfb)
2017-09-28 23:16:14 +02:00
Robin Gloster
f349c2338c 17.09 release notes: update information on gitlab
(cherry picked from commit 83405798e6)
2017-09-28 23:15:58 +02:00
Joerg Thalheim
c12a3e2d47 nullmailer: simplify config generation
(cherry picked from commit 91eb6cf82c)
2017-09-28 22:43:50 +02:00
Marius Bergmann
4a8c74019e nullmailer: add remotesFile option
The current `remotes` option is a string option containing nullmailer remote
definitions. However, those definitions may contain secret credentials and
should therefore not be put world-readable in the nix store.

I added a `remotesFile` option, which allows to specify a path to the remotes
definition file instead. This way, the definitions can be kept outside of the
nix store with more secure file permissions.

(cherry picked from commit e741cc4881)
2017-09-28 22:43:50 +02:00
Marius Bergmann
e9356fd0df nullmailer: use proper description for remotes option
(cherry picked from commit 02e89de71c)
2017-09-28 22:43:50 +02:00
Marius Bergmann
89b75ba92f nullmailer: fix relative -> absolute path in preStart script
(cherry picked from commit f9d64a068b)
2017-09-28 22:43:49 +02:00
Cray Elliott
5b6ec42ca3 nvidia-x11: fix eval error from 4ef82339c9
(cherry picked from commit d4bdf302a3)
2017-09-28 22:43:49 +02:00
volth
75fe95076e collectd: fix darwin build (#29841)
- liboping supported on darwin since #29849
- libmicrohttpd supported on darwin since #29848

(cherry picked from commit e713349922)
2017-09-28 22:06:17 +02:00
Valérian Galliat
e9e037f871 perl-Mail-SPF: fix lib path
(cherry picked from commit f68b1c1a1c)
2017-09-28 21:56:20 +02:00
volth
bd0b1fedc5 mosquitto: fix darwin build (#29851)
(cherry picked from commit 144914121c)
2017-09-28 21:19:13 +02:00
volth
8133dbf9b2 libmicrohttpd: fix darwin build
(cherry picked from commit 547dba10c0)
2017-09-28 21:16:23 +02:00
Robin Gloster
3011e93486 mesos: fix for different protobuf outputs vs master 2017-09-28 21:05:01 +02:00
berdario
1f3087b069 rhino: enable on darwin
(cherry picked from commit d84d8af862)
2017-09-28 20:51:52 +02:00
Robin Gloster
3c31adf461 gitlab: 9.5.5 -> 10.0.2
(cherry picked from commit 19681fbffb8ba92284eada496ce68e500434c0ef)
2017-09-28 20:33:49 +02:00
Herwig Hochleitner
1c914df4c1 chromium: 61.0.3163.79 -> 61.0.3163.100
(cherry picked from commit e78bf2d1e9)
2017-09-28 20:33:49 +02:00
Orivej Desh
ad9c16bad1 gcsfuse: 0.19.0 -> 0.23.0
(cherry picked from commit ad3efa3b54)
2017-09-28 20:33:48 +02:00
Franz Pletz
3ac8986fb6 flightgear: 2016.4.4 -> 2017.3.1 for CVE-2017-13709
(cherry picked from commit dffd77b037)
2017-09-28 19:13:29 +02:00
Robin Gloster
53749d8eb2 openrw: 2016-06-29 -> 2017-09-17
fixes build

(cherry picked from commit 595c8fad83)
2017-09-28 19:00:14 +02:00
Robin Gloster
93a80a4a29 firebirdSuper: pin to gcc5
(cherry picked from commit 8e38de4e0c)
2017-09-28 19:00:14 +02:00
Eelco Dolstra
7d52f83676 Don't generate instance-store AMIs
These are obsolete, use EBS AMIs instead.

(cherry picked from commit 6c72efe0ba)
2017-09-28 19:00:06 +02:00
Mathias Schreck
794aaaa71b nodejs: 8.5.0 -> 8.6.0
(cherry picked from commit f8ffbcb520)
2017-09-28 19:00:06 +02:00
Robin Gloster
7bc3afdf5b amtterm: fix build
(cherry picked from commit 8fb9d37f27)
2017-09-28 18:59:48 +02:00
Yegor Timoshenko
6a0d99f840 fakenes: mark as broken
(cherry picked from commit 9aae605fe7)
2017-09-28 18:59:47 +02:00
Jan Tojnar
373dc7a130 nixos/tests/gnome3-gdm: Increase memory limit
The test was failing on x86_64 prematurely due to memory being exhausted.

See also 3b9f0c6a46

(cherry picked from commit dfdfb97f0f)
2017-09-28 18:59:47 +02:00
Robin Gloster
5faf5c25b6 treewide: mark batch of packages broken for 17.09 2017-09-28 18:59:17 +02:00
Franz Pletz
f8eac437a5 qemu: 2.9.0 -> 2.9.1
Security and bugfix release.

(cherry picked from commit 536ab403d4)
2017-09-28 17:09:04 +02:00
Franz Pletz
16dacbaad0 ettercap: fix CVE-2017-8366 & CVE-2017-6430
(cherry picked from commit b29051b2f5)
2017-09-28 17:09:04 +02:00
Franz Pletz
45a92ea43c fossil: 2.2 -> 2.3
Fixes XSS vulnerability on the /help webpage. No CVE known.

(cherry picked from commit faed026cd4)
2017-09-28 17:09:03 +02:00
Franz Pletz
1c82f5f98e augeas: 1.8.0 -> 1.8.1 for CVE-2017-7555
(cherry picked from commit d2b6e9cdb0)
2017-09-28 17:09:03 +02:00
Franz Pletz
9c5ce7642e postfix: 3.1.3 -> 3.2.3
Possibly fixes security issues. No CVE yet.

(cherry picked from commit 14e53aa0b1)
2017-09-28 17:09:03 +02:00
Franz Pletz
3411c42fca mpg123: 1.25.4 -> 1.25.7 for multiple CVEs
Fixes at least CVE-2017-10683, CVE-2017-11126, CVE-2017-9545,
CVE-2017-12797.

(cherry picked from commit 6c283ae8f3)
2017-09-28 17:09:02 +02:00
Robin Gloster
2231930b7d 17.09 release notes: reformat and generate added services
(cherry picked from commit a19c52a101)
2017-09-28 16:42:32 +02:00
Alastair Pharo
2d521bfb4f purePackages.gen: Don't build on Hydra (#29763)
Until https://github.com/agraef/pure-lang/issues/8 is resolved, this
package can't be compiled.  This patch turns off Hydra builds of this
package as part of #28643 (zero Hydra failures)

(cherry picked from commit 8ac4682e85)
2017-09-28 15:59:50 +02:00
Robin Gloster
06cf955c7a Revert "hsevm: project was renamed to hevm"
This reverts commit 743a1d5609.

needs haskell dependency only on master
2017-09-28 15:31:45 +02:00
Tom Hunger
ec24d2b24b flake8-future-import: Add patch to fix tests.
(cherry picked from commit 09fa385995)
2017-09-28 15:13:14 +02:00
Franz Pletz
9418365655 mongoc: don't use bundled zlib & snappy
(cherry picked from commit bc5ec7b1d4)
2017-09-28 15:12:46 +02:00
Robin Gloster
481fe76e63 guile-gnome: nitpicks fixed
(cherry picked from commit b3dab5b088)
2017-09-28 14:56:28 +02:00
xd1le
3d45679923 gwrap: set version in mkDerivation
(cherry picked from commit d063880986)
2017-09-28 14:56:28 +02:00
xd1le
3d9e5a1bc0 gwrap: switch maintainer from taktoa to vyp
(cherry picked from commit de9c86f81a)
2017-09-28 14:56:28 +02:00
xd1le
37f1f9b40a gwrap: code style nits
(cherry picked from commit 468626ce86)
2017-09-28 14:56:28 +02:00
xd1le
1daada3988 guile-gnome: fix build by building gwrap with guile-2.0
Apparently gwrap will not compile with guile-2.2 [1], even though the
news for version 1.9.15 says it "allows" Guile 2.2 [2]:

> it will _not_ compile using 2.2

Furthermore, it seems like it isn't being developed anymore either [1]:

> Also note that g-wrap itself is not being further developed anymore,
> it is recommended for new projects to use Guile's dynamic FFI.

Also, guile-gnome-2.16.5 is apparently compatible with guile-2.2 [3],
but I'm not sure how they built it with guile-2.2 because gwrap 1.9.15
(latest release) apparently doesn't build with guile-2.2. (And certainly
when I try to build gwrap 1.9.15 with guile-2.2 it doesn't work. Maybe
it can be made to work with certain compile flags, but I haven't pursued
that further due to [1] anyway.) This is why guile-gnome is still on
2.16.4 here. Because, although 2.16.5 can still (apparently) build with
guile-2.0.14, guile_2_0 is only at guile-2.0.13.

So to update guile-gnome to 2.16.5, guile_2_0 would first have to be
updated to 2.0.14.

[1]: http://lists.nongnu.org/archive/html/g-wrap-dev/2016-08/msg00001.html
[2]: http://www.nongnu.org/g-wrap/news.html
[3]: https://www.gnu.org/software/guile-gnome/news.html

(cherry picked from commit f1b7d0a54f)
2017-09-28 14:56:28 +02:00
xd1le
3062d28673 guile-gnome: code style formatting nitpicks
(cherry picked from commit 88ef99e2c3)
2017-09-28 14:56:27 +02:00
xd1le
3deecec6d1 guile-gnome: remove taktoa and amiloradovsky from maintainers and add
vyp

See discussion in [1].

[1]: https://github.com/NixOS/nixpkgs/pull/29732

(cherry picked from commit 16012ff98a)
2017-09-28 14:56:27 +02:00
xd1le
0aa13f1f3c guile-modules: stylistic nix expression changes to modules with sole
maintainer vyp

(cherry picked from commit 3579d7e2b2)
2017-09-28 14:56:27 +02:00
xd1le
8530b3ab73 guile-modules: add vyp as maintainer to unmaintained guile modules
(cherry picked from commit 796b69318f)
2017-09-28 14:56:27 +02:00
xd1le
debc5a9514 guile-modules: rename top level attributes to be consistent
(cherry picked from commit d7d33bd17c)
2017-09-28 14:56:27 +02:00
Franz Pletz
65e93e3f5c pyjwt: 1.4.2 -> 1.5.3 for CVE-2017-11424
(cherry picked from commit 232340f35b)
2017-09-28 14:54:14 +02:00
Franz Pletz
ddcdfea18c kerberos: 1.15 -> 1.15.2 for CVE-2017-11462
(cherry picked from commit 8678f14ac9)
2017-09-28 14:54:14 +02:00
Franz Pletz
d043bbb05e php71: 7.1.8 -> 7.1.9
(cherry picked from commit 09b6f1e605)
2017-09-28 14:54:13 +02:00
Franz Pletz
77d6cd7ec9 php70: 7.0.22 -> 7.0.24
(cherry picked from commit d27ebcbae3)
2017-09-28 14:54:13 +02:00
Franz Pletz
73454e4be2 unrar: 5.5.5 -> 5.5.7 for multiple CVEs
Fixes CVE-2012-6706, CVE-2017-12940, CVE-2017-12941, CVE-2017-12942.

(cherry picked from commit 58f15c1f95)
2017-09-28 14:54:13 +02:00
Franz Pletz
adaceb1331 libraw: 0.18.2 -> 0.18.5 for multiple CVEs
Fixes at least CVE-2017-13735, CVE-2017-14265, CVE-2017-14348.

(cherry picked from commit c7e16f5ce5)
2017-09-28 14:54:12 +02:00
Franz Pletz
e678842b76 oniguruma: 5.9.5 -> 6.6.1 for multiple CVEs
Fixes CVE-2017-9224, CVE-2017-9225, CVE-2017-9226, CVE-2017-9227,
 CVE-2017-9228, CVE-2017-9229.

(cherry picked from commit 41b43b201e)
2017-09-28 14:54:12 +02:00
Franz Pletz
a71be13260 samba3: mark as vulnerable
(cherry picked from commit c02c47d1eb)
2017-09-28 14:53:39 +02:00
Franz Pletz
dc9fe44312 samba: 4.6.7 -> 4.6.8 for multiple CVEs
Fixes CVE-2017-12150, CVE-2017-12151, CVE-2017-12163.

(cherry picked from commit 15a6c2c4fc)
2017-09-28 14:53:39 +02:00
Franz Pletz
c680d7fce3 libtiff: use patches from newer debian revision
(cherry picked from commit 8a5b8aeaf5)
2017-09-28 14:53:39 +02:00
Franz Pletz
d9b4e70c5f mongoc: 1.7.0 -> 1.8.0
(cherry picked from commit cc258a671a)
2017-09-28 14:53:38 +02:00
Franz Pletz
9e2e252e57 libbson: 1.6.1 -> 1.8.0 for CVE-2017-14227
(cherry picked from commit 6dd6f10615)
2017-09-28 14:53:38 +02:00
Robin Gloster
9766dde7b1 Revert "kubernetes: fix hashes after dockerTools change"
This reverts commit 9ba024f6d8.

(cherry picked from commit 4aeb38e5b9)
2017-09-28 14:12:11 +02:00
Robin Gloster
00dc83bfa0 dockerTools: fix hash to accomodate the pullImage revert
(cherry picked from commit 20677fca59)
2017-09-28 14:12:10 +02:00
Robin Gloster
289358e277 Revert "dockerTools.pullImage: use skopeo to pull the image"
This reverts commit 01174c5f4d.

See https://github.com/NixOS/nixpkgs/pull/29302#issuecomment-332809092
for more information. This broke image format compatibility and
therefore amongst others mesos.

(cherry picked from commit 5c6dc717a6)
2017-09-28 14:12:10 +02:00
Robin Gloster
8f923bfa48 mesos: use static protobuf libraries
(cherry picked from commit c2ce38473b)
2017-09-28 13:21:28 +02:00
Robin Gloster
5d7edb8e81 protobuf: build static libraries
mesos needs them

(cherry picked from commit 49e9a26e77)
2017-09-28 13:21:28 +02:00
Robin Gloster
38fd0a2f23 Revert "dockerTools.buildImage: Switch to the format image generated by Skopeo"
This reverts commit 35f205a4b6.

This does not use a standard format and by that breaks mesos

(cherry picked from commit dabb296c76)
2017-09-28 13:21:28 +02:00
lassulus
604aed80a4 electron-cash: init at 2.9.3
(cherry picked from commit 64d63907d8)
2017-09-28 13:20:58 +02:00
Yann Hodique
e3b405b521 hugo: 0.27.1 -> 0.29
(cherry picked from commit b3433aba3a)
2017-09-28 13:20:43 +02:00
Mikael Brockman
743a1d5609 hsevm: project was renamed to hevm
This also upgrades the hsevm package from v0.6.4 to v0.8.5.

The project `dapp` which depends on hsevm was also updated to use the
new name, so I have also upgraded that package from version v0.5.3 to
v0.5.7.

I also added a `dontCheck` to a Hackage dependency because its test
suite depends on Git and runs a bunch of Git repository manipulations.

(cherry picked from commit 74edd2c5db)
2017-09-28 13:20:23 +02:00
amorsillo
c92059e422 mongodb-tools: 3.0.12 -> 3.5.13 (#29884)
* Upgrade mongodb-tools to 3.5.13 with ssl

* mongodb-tools: fix go references

(cherry picked from commit b46b0468ca)
2017-09-28 13:19:10 +02:00
Orivej Desh
55b305a94d go: fix tests and impurity
(cherry picked from commit 589574e5c9)
2017-09-28 13:18:29 +02:00
Daiderd Jordan
f1955bf826 go: fix darwin build
(cherry picked from commit 57ef1a3564)
2017-09-28 13:18:25 +02:00
Charles Strahan
bf5c474db9 go: init 1.9 (and set as default)
(cherry picked from commit 3189b01647)
2017-09-28 13:18:15 +02:00
Orivej Desh
a2cf76a122 envoy: mark as broken
building
Extracting Bazel installation...
Loading:
Analyzing: target //source/exe:envoy-static
ERROR: java.io.IOException: Could not read the crosstool configuration file 'CROSSTOOL file /tmp/nix-build-envoy-1.3.0.drv-0/envoy-v1.3.0-src/.home/.cache/bazel/_bazel_nixbld1/cbe181aaebf3d7253cbcf6057028e514/external/local_config_cc/CROSSTOOL', because of a parser error (945:1: Expected identifier. Found '%')
INFO: Elapsed time: 3.065s
FAILED: Build did NOT complete successfully
builder for ‘/nix/store/09wh9hd81529pgr3ddwfw68higfzkfgr-envoy-1.3.0.drv’ failed with exit code 2
error: build of ‘/nix/store/09wh9hd81529pgr3ddwfw68higfzkfgr-envoy-1.3.0.drv’ failed

(cherry picked from commit 49a060ea1f)
2017-09-28 13:17:44 +02:00
Orivej Desh
2f2d1af65b docker: fix docker_17_06 build
Broken by #29843

(cherry picked from commit f1ffca9ac6)
2017-09-28 13:15:38 +02:00
Cray Elliott
01a800595b nvidia-x11: 384.69 -> 384.90
(cherry picked from commit 56d1a14419)
2017-09-28 13:13:59 +02:00
Joachim Fasting
0aa0af6d8b tinycc: 0.9.27pre-20170911 -> 0.9.27pre-20170924
Improves `long` handling

(cherry picked from commit 35c15d4a61)
2017-09-28 13:13:27 +02:00
Nikolay Amiantov
5fc4188780 octoprint-plugins.m33-fio: 1.20 -> 1.21
(cherry picked from commit c766092193)
2017-09-28 13:13:21 +02:00
Franz Pletz
9a10cd16dc network-interfaces: device routes for default gateway
Iff interface is set, it makes sense to add device route by default.

(cherry picked from commit d0435ba032)
2017-09-28 13:13:04 +02:00
Joerg Thalheim
a1f349b401 bitcoin-abc: build against qt5
(cherry picked from commit 589cff44bc)
2017-09-28 13:12:38 +02:00
lassulus
2d4e9aca23 bitcoin-abc: init at 0.15.0
(cherry picked from commit d82578addb)
2017-09-28 13:12:33 +02:00
Ryan Mulligan
0554733f57 nixos/monit: install monit as system package, use default config file path
(cherry picked from commit c6f513b56a)
2017-09-28 13:12:21 +02:00
Silvan Mosberger
890ab83a8b xwinwrap: init at 4
(cherry picked from commit 5a9e28190c)
2017-09-28 13:12:03 +02:00
Robin Gloster
938fcba622 mesos test: fix python handling
Still does not succeed but advances further

(cherry picked from commit 30d09f717aa94a78105bff22da548b904887b394)
(cherry picked from commit d05b0b6b70)
2017-09-28 13:11:51 +02:00
Samuel Leathers
3544c4f6da mesos: 1.1.1 -> 1.4.0
(cherry picked from commit 80021094b7)
2017-09-28 13:11:35 +02:00
Pascal Bach
1e137755f4 ipxe: 20160831 -> 20170922
(cherry picked from commit ece9245a4d)
2017-09-28 13:11:04 +02:00
Yegor Timoshenko
faf6166b4f snes9x-gtk: 1.53 -> 1.54.1
(cherry picked from commit 22b0c966aa)
2017-09-28 13:10:57 +02:00
Robin Gloster
179b357a66 freebayes: clean up build
(cherry picked from commit 7cbf3a27de)
2017-09-28 13:10:37 +02:00
Samuel Leathers
9bed9124e3 freebayes: 1.1.0 -> 2017-08-23
(cherry picked from commit a3e2ecd7f7)
2017-09-28 13:10:30 +02:00
José Romildo Malaquias
a7ca4e2909 lxqt.screengrab: 2017-02-18 -> 1.97 (#29835)
(cherry picked from commit 7d883056a0)
2017-09-28 13:10:23 +02:00
Tim Steinbach
34af32d860 i3-gaps: 4.14 -> 4.14.1
(cherry picked from commit bee055fa96)
2017-09-28 13:10:10 +02:00
Tim Steinbach
e0ee3d01e6 i3: 4.14 -> 4.14.1
(cherry picked from commit fc7f4f6fc3)
2017-09-28 13:10:05 +02:00
volth
8473519bf3 liboping: 1.9.0 -> 1.10.0
(cherry picked from commit ad38b7c9ae)
2017-09-28 13:10:00 +02:00
PanAeon
fd1b89a142 buildGo19Package: init (#29470)
(cherry picked from commit b39c42d5d0)
2017-09-28 13:06:56 +02:00
Samuel Leathers
f2d5a450d7 opencascade: remove 6.5.5 and 6.6.0
(cherry picked from commit 672a402122)
2017-09-28 13:06:01 +02:00
Nikolay Amiantov
7ae513564a mupdf: cleanup dependencies
This slims down build inputs (notably not requiring mesa anymore).

(cherry picked from commit 47f099777c)
2017-09-28 13:05:24 +02:00
Nikolay Amiantov
29810aea4d glfw3: cleanup dependencies, propagate mesa_noglu
(cherry picked from commit 98ef62e51a)
2017-09-28 13:05:09 +02:00
Nikolay Amiantov
d6a9d78d53 glfw2: don't use mesa
(cherry picked from commit d68e9b4938)
2017-09-28 13:05:04 +02:00
Franz Pletz
dc4750b3c3 weechat: 1.9 -> 1.9.1 for CVE-2017-14727
https://lists.nongnu.org/archive/html/weechat-security/2017-09/msg00000.html
(cherry picked from commit 15189140dd)
2017-09-28 13:02:33 +02:00
Franz Pletz
94fd15e1dc openvpn: 2.4.3 -> 2.4.4 for CVE-2017-12166
https://community.openvpn.net/openvpn/wiki/CVE-2017-12166
(cherry picked from commit 8e4586d077)
2017-09-28 12:28:02 +02:00
Sukant Hajra
3b83be98be hdf5: remove references to stdenv.cc
The build provides as text a summary of the build, including the
absolute path of the compiler used for compilation.  Unfortunately, this
pulls in stdenv.cc as a transitive closure.

So this change just calls remove-references-to as a postInstall step for
the one stdenv.cc dependency.

See #29889 for details.

(cherry picked from commit 405c7f9e437a89bbebc3e2663e8fcc74e69783d6)
2017-09-28 10:42:19 +02:00
Bjørn Forsman
772d5c03c0 nixos/iso-image.nix: add top-level /version.txt file
This makes it easy to identify which NixOS version is written to an USB
stick without actually booting it.

(cherry picked from commit 3c6eb3a247)
2017-09-28 08:11:30 +02:00
Robin Gloster
64a73dfc08 elasticsearch: use jre_headless
(cherry picked from commit c57e5d1aa9)
2017-09-28 04:17:20 +02:00
volth
c868d427cb nixos/tinc: add "restartTriggers" back
Add "restartTriggers" back to restart the Tinc daemon when its peer is removed.
Reverted #27660
2017-09-28 00:58:15 +01:00
Niklas Hambüchen
e9bbe85605 consul service: Restart on failure.
Consul is a service you typically want to have running all the time;
it's not supposed to quit by itself.

(cherry picked from commit f4c53f1940)

Closes #29861.
2017-09-28 00:44:55 +02:00
makefu
e1bcebfd2a udpt: 2016-02-20 -> 2017-09-27
(cherry picked from commit 9636e75464)
2017-09-28 00:44:55 +02:00
Nick Novitski
e5ebf5cdc9 youtube-dl: 2017.09.15 -> 2017.09.24 (#29866)
(cherry picked from commit ff15b852c1)
2017-09-28 00:44:55 +02:00
Yann Hodique
31bc7c0075 dgraph: 0.8.1 -> 0.8.2
(cherry picked from commit d02fac35a5)
2017-09-28 00:44:54 +02:00
Yann Hodique
bf87b8091d lftp: 4.8.0 -> 4.8.2
(cherry picked from commit ae259ff83b)
2017-09-28 00:44:54 +02:00
Rostislav Beneš
33494a75d7 nixos/xserver,gdm: let GDM handle X server verbosity.
(cherry picked from commit 0cad98dde1)
2017-09-28 00:44:54 +02:00
Rostislav Beneš
4500e11fda nixos/gdm,nvidia: new options to enable GDM on Wayland and disabling it for nvidia drivers.
(cherry picked from commit 4ef82339c9)
2017-09-28 00:44:53 +02:00
Rostislav Beneš
9e280b0c16 nixos/nvidia: populating /dev with nvidia devices at boot
(cherry picked from commit 4f91397c98)
2017-09-28 00:44:53 +02:00
Joachim Fasting
46c4c62373 nixos/release-notes: notable changes to the dnscrypt-proxy service
(cherry picked from commit a06f839439)
2017-09-28 00:44:53 +02:00
Franz Pletz
f76d2aa6e3 kbd service: systemd-vconsole-setup is triggered by udev
cc #22470

(cherry picked from commit 0ee866ed72)
2017-09-28 00:44:53 +02:00
Franz Pletz
2ae16ef5d7 wpa_supplicant service: restart instead of stop & start
We now wait for dhcpcd to acquire a lease but dhcpcd is restarted on
system activation. As wpa_supplicant is stopped while dhcpcd is
restarting a significant delay is introduced on systems with wireless
network connections only. This changes the wpa_supplicant service to
also be restarted together with dhcpcd in case both services were
changed.

(cherry picked from commit 725dee203a)
2017-09-28 00:44:52 +02:00
Alexander Ried
48465ae259 Revert "kbd service: use /dev/tty1 for systemd-vconsole-setup"
This reverts commit 0c81594a29.

It's no longer needed since systemd-vconsole-setup enumerates all ttys
until it finds a suitable one since systemd v234.

(cherry picked from commit 4a2442032e)
2017-09-28 00:44:52 +02:00
Marius Bergmann
b9935c7c5d znc: fix openFirewall option
The current version is broken:
- there's no `openFirewall` attribute directly in the `cfg` set
- the `port` option is an attribute of the `confOptions` set

I used the proper attribute for the firewall port and moved the `openFirewall`
option directly up to the `services.znc` set, as it's rather a general option
for the whole service than a znc-specific option (which are located inside the
`confOptions` set).
2017-09-27 23:09:56 +01:00
Joerg Thalheim
24f0aecab7 nixos: skip restarting systemd-logind to not break x11
(cherry picked from commit 23f398012b)

fixes #29579
2017-09-27 22:29:04 +01:00
Robin Gloster
455ed26f20 17.09 release notes: redis cluster mass-restart needed
see #29516

(cherry picked from commit 34750bb51c)
2017-09-27 22:15:28 +02:00
Franz Pletz
6f938a1115 postgresql: default to 9.6 like in the nixos module
(cherry picked from commit 259df64ef5)
2017-09-27 22:06:41 +02:00
Robin Gloster
81a229e0f9 Revert "postgresql: Add dev output"
Firstly this creates a cycle in 9.6 .out <-> .dev after fixing the PGXS
path.

Secondly this breaks extension handling and the pg_config as it
resolves a lot of paths relatively resulting in the following bogus
output:

BINDIR = /nix/store/csiq6zkn2c994kkdjln461jvgbka4yb1-postgresql-9.5.9-dev/bin
DOCDIR = /nix/store/csiq6zkn2c994kkdjln461jvgbka4yb1-postgresql-9.5.9-dev/share/doc
HTMLDIR = /nix/store/csiq6zkn2c994kkdjln461jvgbka4yb1-postgresql-9.5.9-dev/share/doc
INCLUDEDIR = /nix/store/csiq6zkn2c994kkdjln461jvgbka4yb1-postgresql-9.5.9-dev/include
PKGINCLUDEDIR = /nix/store/csiq6zkn2c994kkdjln461jvgbka4yb1-postgresql-9.5.9-dev/include
INCLUDEDIR-SERVER = /nix/store/csiq6zkn2c994kkdjln461jvgbka4yb1-postgresql-9.5.9-dev/include/server
LIBDIR = /nix/store/85s9m7hpfzsl93wcb5gr6ii2km9mpx3z-postgresql-9.5.9-lib/lib
PKGLIBDIR = /nix/store/85s9m7hpfzsl93wcb5gr6ii2km9mpx3z-postgresql-9.5.9-lib/lib
LOCALEDIR = /nix/store/csiq6zkn2c994kkdjln461jvgbka4yb1-postgresql-9.5.9-dev/share/locale
MANDIR = /nix/store/csiq6zkn2c994kkdjln461jvgbka4yb1-postgresql-9.5.9-dev/share/man
SHAREDIR = /nix/store/csiq6zkn2c994kkdjln461jvgbka4yb1-postgresql-9.5.9-dev/share
SYSCONFDIR = /etc/postgresql
PGXS = /nix/store/csiq6zkn2c994kkdjln461jvgbka4yb1-postgresql-9.5.9-dev/lib/pgxs/src/makefiles/pgxs.mk
CONFIGURE = '--prefix=/nix/store/irqqq4g173g9xrk1mh12kxv0s1d8dbyh-postgresql-9.5.9' '--with-openssl' '--with-libxml' '--sysconfdir=/etc' '--libdir=/nix/store/85s9m7hpfzsl93wcb5gr6ii2km9mpx3z-postgresql-9.5.9-lib/lib' '--with-ossp-uuid' 'CC=gcc'
CC = gcc
CPPFLAGS = -D_GNU_SOURCE -I/nix/store/z6r0j2b4bcdfw3pck2x6ay0vvx0qzb92-libxml2-2.9.5-dev/include/libxml2
CFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2
CFLAGS_SL = -fPIC
LDFLAGS = -L../../../src/common -L/nix/store/ighspl5sa3qi1zy7nkih0c9p73xjfqa6-libxml2-2.9.5/lib -Wl,--as-needed -Wl,-rpath,'/nix/store/85s9m7hpfzsl93wcb5gr6ii2km9mpx3z-postgresql-9.5.9-lib/lib',--enable-new-dtags
LDFLAGS_EX =
LDFLAGS_SL =
LIBS = -lpgcommon -lpgport -lxml2 -lssl -lcrypto -lz -lreadline -lrt -lcrypt -ldl -lm
VERSION = PostgreSQL 9.5.9

This can probably only be properly fixed by rewriting pg_config in large
parts as it does not in any way respect splitting the postgres tree and
assumes it can simply resolve paths relative to its location. This does
not even handle symlinks:

$ result-dev/bin/pg_config
BINDIR = /home/robin/dev/nixpkgs-upstream/result-dev/bin
DOCDIR = /home/robin/dev/nixpkgs-upstream/result-dev/share/doc
HTMLDIR = /home/robin/dev/nixpkgs-upstream/result-dev/share/doc
INCLUDEDIR = /home/robin/dev/nixpkgs-upstream/result-dev/include
PKGINCLUDEDIR = /home/robin/dev/nixpkgs-upstream/result-dev/include
INCLUDEDIR-SERVER = /home/robin/dev/nixpkgs-upstream/result-dev/include/server
LIBDIR = /nix/store/85s9m7hpfzsl93wcb5gr6ii2km9mpx3z-postgresql-9.5.9-lib/lib
PKGLIBDIR = /nix/store/85s9m7hpfzsl93wcb5gr6ii2km9mpx3z-postgresql-9.5.9-lib/lib
LOCALEDIR = /home/robin/dev/nixpkgs-upstream/result-dev/share/locale
MANDIR = /home/robin/dev/nixpkgs-upstream/result-dev/share/man
SHAREDIR = /home/robin/dev/nixpkgs-upstream/result-dev/share
SYSCONFDIR = /etc/postgresql
PGXS = /nix/store/csiq6zkn2c994kkdjln461jvgbka4yb1-postgresql-9.5.9-dev/lib/pgxs/src/makefiles/pgxs.mk
CONFIGURE = '--prefix=/nix/store/irqqq4g173g9xrk1mh12kxv0s1d8dbyh-postgresql-9.5.9' '--with-openssl' '--with-libxml' '--sysconfdir=/etc' '--libdir=/nix/store/85s9m7hpfzsl93wcb5gr6ii2km9mpx3z-postgresql-9.5.9-lib/lib' '--with-ossp-uuid' 'CC=gcc'
CC = gcc
CPPFLAGS = -D_GNU_SOURCE -I/nix/store/z6r0j2b4bcdfw3pck2x6ay0vvx0qzb92-libxml2-2.9.5-dev/include/libxml2
CFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2
CFLAGS_SL = -fPIC
LDFLAGS = -L../../../src/common -L/nix/store/ighspl5sa3qi1zy7nkih0c9p73xjfqa6-libxml2-2.9.5/lib -Wl,--as-needed -Wl,-rpath,'/nix/store/85s9m7hpfzsl93wcb5gr6ii2km9mpx3z-postgresql-9.5.9-lib/lib',--enable-new-dtags
LDFLAGS_EX =
LDFLAGS_SL =
LIBS = -lpgcommon -lpgport -lxml2 -lssl -lcrypto -lz -lreadline -lrt -lcrypt -ldl -lm
VERSION = PostgreSQL 9.5.9

cc @edolstra

Revert "bacula: fix after postgresql output splitting"

This reverts commit 13c9cbacdd.

Revert "postgresql: fix pgxs dir in pg_config"

This reverts commit 21998d597b.

Revert "rubyGems.pg: fix postgresql path"

This reverts commit e253ae7d3a.

Revert "kea: fix path to pg_config"

This reverts commit 086c636eb7.

Revert "php: fix build wrt. new postgres.dev build output"

This reverts commit 2f23a83920.

Revert "gdal: fix path to pg_config"

This reverts commit 032c50d45b.

Revert "postgresql: Add dev output"

This reverts commit b0280f598e.

(cherry picked from commit 6b05651c20)
2017-09-27 21:59:45 +02:00
Robin Gloster
ef52776f70 bluez: remove unneeded dependencies and fix test bins
(cherry picked from commit 50fb62994b)
2017-09-27 21:27:00 +02:00
Lancelot SIX
394aa5af2b ibus-engines.hangul: add python dependency
(cherry picked from commit f39ead7c74)
2017-09-27 20:48:54 +02:00
Vladimír Čunát
9fbad9bf16 manuals: document removal of newStdcpp from steam
/cc #29180.
(cherry-picked from 4013b381b3 and f2955e4fde)
2017-09-27 20:35:16 +02:00
Lancelot SIX
86e35b7b9b ibus-anthy: fix pygobject3 dependency
(cherry picked from commit be697dca4c)
2017-09-27 20:31:56 +02:00
Michael Weiss
c35be631b4 wlc: Downgrade back to 0.0.9
Unfortunately wlc 0.0.10 seems to be the cause for segfaults on sway,
way-cooler and orbment.

This will also build wlc with all optional packages (i.e. zlib,
valgrind and doxygen).

(cherry picked from commit 2d640b9d6e)
2017-09-27 20:25:27 +02:00
Stefan Siegl
53068f41ad kea: fix path to pg_config
refs commit b0280f598e

(cherry picked from commit 086c636eb7)
2017-09-27 20:20:31 +02:00
Robin Gloster
cdf4d69b1c bacula: fix after postgresql output splitting
(cherry picked from commit 13c9cbacdd)
2017-09-27 20:10:06 +02:00
Robin Gloster
ba86884c61 Revert "ibus: Move ibus-setup to .dev"
This reverts commit af44f99dca.

ibus-with-plugins was broken by this.

cc @edolstra

(cherry picked from commit e0771a2410)
2017-09-27 19:42:53 +02:00
Robin Gloster
645c591949 postgresql: fix pgxs dir in pg_config
(cherry picked from commit 21998d597b)
2017-09-27 19:20:44 +02:00
Tim Steinbach
165bc51f41 linux: 4.13.3 -> 4.13.4
(cherry picked from commit ab3ff4af9f)
2017-09-27 13:08:51 -04:00
Tim Steinbach
67402a34d3 linux: 4.9.51 -> 4.9.52
(cherry picked from commit 2ca84cfa29)
2017-09-27 13:08:50 -04:00
Tim Steinbach
65a718c4d4 linux: Remove 4.12 (EOL)
(cherry picked from commit 964672dde5)
2017-09-27 13:08:50 -04:00
Rodney Lorrimar
86528f928a mysqlBackup service: let it work with default settings
* Grants enough privileges to the configured user so that it can run
  mysqldump.

* Adds a nixos test.

* Use systemd timers instead of a cronjob (by @fadenb).

* Creates a new user for backups by default, instead of using mysql
  user.

* Ensures that backup user has write permissions on backup location.

* Write backup to a temporary file before renaming so that a failed
  backup won't overwrite the previous backup, and so that the backup
  location will never contain a partial backup.

Breaking changes:

 * Renamed period to calendar to reflect the change in how to
   configure the backup time.

 * A failed backup will no longer result in cron sending an e-mail --
   users' monitoring systems must be updated.

Resolves #24728

(cherry picked from commit 56eba66f77)
2017-09-27 18:46:21 +02:00
Rodney Lorrimar
d2cb5cd0cd nixos/release-notes: MySQL backup service breaking changes
(cherry picked from commit 34eefdfb9d)
2017-09-27 18:46:02 +02:00
Joerg Thalheim
e8278f584f nixos/tinc: remove useless script argument
ExecStart is sufficient and more transparent to the user.

(cherry picked from commit 75ba415fbc)
2017-09-27 18:21:27 +02:00
Joerg Thalheim
3615636fa0 nixos/tinc: do not add Device= by default
tinc can figure this out based on DeviceType.
I also got `/dev/net/tun FD in bad state` after a particular upgrade.

(cherry picked from commit ad8cb0917f)
2017-09-27 18:21:22 +02:00
Joerg Thalheim
b7ebe55ea2 metasploit: use makeWrapper instead
(cherry picked from commit b775b2cd4f)
2017-09-27 18:21:14 +02:00
Eelco Dolstra
861987c70e nix-daemon: Bump the default number of build users
While it's annoying to pollute the user database with a lot of nixbld*
users, 10 users is really too low for many modern systems.

(cherry picked from commit 79d547b4bb)
2017-09-27 18:20:55 +02:00
Tristan Helmich
dc4c56ab7f emby: 3.2.30.0 -> 3.2.32.0
(cherry picked from commit 71cc54300e)
2017-09-27 18:20:38 +02:00
Robin Gloster
e6e7c0fe5a libnfs: fix eval
(cherry picked from commit c0235ef611)
2017-09-27 18:20:27 +02:00
Peter Simons
930759d024 libnfs: fix broken meta.license attribute
A license called "bsd" does not exist. Ping @peterhoeg.

(cherry picked from commit 4398872523)
2017-09-27 18:20:19 +02:00
makefu
9fc37e24dd gdal: fix path to pg_config
(cherry picked from commit 032c50d45b)
2017-09-27 17:41:51 +02:00
Tim Steinbach
57e1610901 docker: add 17.09.0-ce
(cherry picked from commit 825e417457)
2017-09-27 11:36:00 -04:00
Tim Steinbach
8f09851a98 openjdk: Fix build
(cherry picked from commit 24bed29809)
2017-09-27 11:33:50 -04:00
Matt McHenry
20aa2dc228 openjdk9: init at 9.0.0+180
* openjdk 8: code cleanup

as recommended by 0xABAB in #27194

* openjdk 9: init at ea build 176

this starts with copy of 8.nix and just updates hashes and replaces 8
with 9.  it also tweaks the version handling because we aren't dealing
with an update version yet.

* openjdk 9: adapt patches from openjdk 8

fix-java-home: surrounding code changed slightly

swing-use-gtk-jdk9: location of the file being patched changed due to
modularization

read-truststore-from-env: the code that handles the trustStore was
refactored out into a helper class in upstream commit
http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/904861872c0e

adlc_updater: this isn't present anymore

* openjdk 9: make two more warnings-as-errors non-fatal

this requires that we switch to configureFlagsArray to deal with
whitespace

the errors being suppressed are show below:

* For target support_native_java.desktop_libawt_xawt_awt_Robot.o:
/tmp/nix-build-openjdk-9ea-b176.drv-0/jdk9-jdk-9+176/jdk/src/java.desktop/unix/native/libawt_xawt/awt/awt_Robot.c: In function 'isXCompositeDisplay':
/tmp/nix-build-openjdk-9ea-b176.drv-0/jdk9-jdk-9+176/jdk/src/java.desktop/unix/native/libawt_xawt/awt/awt_Robot.c:152:50: error: embedded '\0' in format
[-Werror=format-contains-nul]
     snprintf(NET_WM_CM_Sn, sizeof(NET_WM_CM_Sn), "_NET_WM_CM_S%d\0", screenNumber);
                                                  ^
/tmp/nix-build-openjdk-9ea-b176.drv-0/jdk9-jdk-9+176/jdk/src/java.desktop/unix/native/libawt_xawt/awt/awt_Robot.c:152:50: error: embedded '\0' in format
[-Werror=format-contains-nul]
cc1: all warnings being treated as errors
* For target support_native_jdk.hotspot.agent_libsa_ps_core.o:
/tmp/nix-build-openjdk-9ea-b176.drv-0/jdk9-jdk-9+176/hotspot/src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c: In function 'read_exec_segments':
/tmp/nix-build-openjdk-9ea-b176.drv-0/jdk9-jdk-9+176/hotspot/src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c:834:7: error: ignoring return value of 'pread', declared
with attribute warn_unused_result [-Werror=unused-result]
       pread(ph->core->exec_fd, interp_name, exec_php->p_filesz, exec_php->p_offset);
       ^
cc1: all warnings being treated as errors

* openjdk 9: ea+176 -> ea+180

* openjdk 9: TODO disable infinality patches, at least to start

the code being patched here seems to have changed substantially or
perhaps even disappeared altogether.  need to investigate whether
these patches are still relevant.

* openjdk 9: update installPhase for modularization

* separate jdk and jre images are now present under build/*/images

* samples have been removed (JEP 298)
  -- TODO that JEP says demos will be gone too, but it seems some are still present?

* bina directory is no longer present

* openjdk 9: TODO handle *.pf files or purge this code completely

* openjdk 9: update minimal jre components

in particular, the name of the config option for headless has changed,
per https://bugs.openjdk.java.net/browse/JDK-8163102

* TODO about echo -n vs printWords, #27427

(cherry picked from commit 02fe1207ab)
2017-09-27 11:33:49 -04:00
Robin Gloster
4d59b04bd9 rubyGems.pg: fix postgresql path
(cherry picked from commit e253ae7d3a)
2017-09-27 17:26:10 +02:00
Robin Gloster
794a22bfed urllib3: revert multiple outputs
only moved propagated build inputs to dev which broke packages depending
on it e.g. glusterfs

cc @edolstra

(cherry picked from commit d0d992a9a0)
2017-09-27 17:11:21 +02:00
WilliButz
9da34752a7 splUnstable: fix hash
(cherry picked from commit 43b7e69d13)
2017-09-27 15:35:17 +02:00
makefu
cbe02b52ba pyramid: fix propagated builds
hupper and plaster need to be propagated to dependent packages

(cherry picked from commit 3abee357e6)
2017-09-27 15:35:16 +02:00
Tristan Helmich
15c5cfd600 pythonPackages.phonenumbers: 8.8.1 -> 8.8.2
(cherry picked from commit b015f62965)
2017-09-27 15:35:16 +02:00
Rodney Lorrimar
9dd4263464 bower2nix: 3.1.1 -> 3.2.0
(cherry picked from commit 3d4ed0181e)
2017-09-27 15:35:16 +02:00
Peter Hoeg
f79ef8d63d cwiid: boy scout cleanups
(cherry picked from commit eba5dd84ef)
2017-09-27 15:35:16 +02:00
Peter Hoeg
c6ca4c3ce9 libnfs: init at 2.0.0
(cherry picked from commit 97e586b812)
2017-09-27 15:35:16 +02:00
Peter Simons
11d0942d66 nixos(spamassassin): fix trailing whitespace
(cherry picked from commit 99e24590cb)
2017-09-27 14:51:42 +02:00
Peter Simons
a30571c1cf nixos(spamassassin): provide /etc/spamassassin to fix sa-learn et al
Spamassassin expects its system-wide configuration at /etc/spamassassin, and
some user tools (like sa-learn) need to read those configuration files.
Therefore, we provide a symlink from /etc/spamassassin to the appropriate Nix
store path to make sure those tools work without the user having to pass an
elaborate --siteconfig path that, potentially, changes every time the system
updates.

Fixes https://github.com/NixOS/nixpkgs/issues/29414.

(cherry picked from commit bfab392e6e)
2017-09-27 14:51:42 +02:00
Florian Jacob
d30e143c05 mariadb: 10.1.25 -> 10.1.26
(cherry picked from commit e911e39c26)
2017-09-27 07:30:34 -04:00
Stefan Siegl
9b4b940fb6 php: fix build wrt. new postgres.dev build output
Refs commit b0280f598e

(cherry picked from commit 2f23a83920)
2017-09-27 12:33:27 +02:00
Eelco Dolstra
ea6947d6d2 Add even more dev outputs
(cherry picked from commit 28299f669a)
2017-09-27 12:33:12 +02:00
Eelco Dolstra
a97a8771bb network-manager-applet: Don't depend on webkitgtk by default
This added significant bloat to non-Gnome systems.

(cherry picked from commit 65b04b8bef)
2017-09-27 12:33:07 +02:00
Eelco Dolstra
25b76f8c4f ibus: Move ibus-setup to .dev
This removes python3.buildEnv from the runtime closure.

(cherry picked from commit af44f99dca)
2017-09-27 12:33:02 +02:00
Eelco Dolstra
5d348cf891 firefox: Remove about:buildconfig
Storing the build configuration caused Firefox to retain a dependency
on gcc, glibc.dev and icu4c.dev.

This reduces the size of the firefox closure from 587 to 415 MiB.

(cherry picked from commit c03326445b)
2017-09-27 12:32:58 +02:00
Eelco Dolstra
0208f54229 Add more dev outputs
(cherry picked from commit 8ccce8de89)
2017-09-27 12:32:51 +02:00
Eelco Dolstra
71e6e0c1d1 emacs: Clear the environment while dumping
This reduces the closure size of Emacs from 575 to 279 MiB. Dumping
Emacs had a chance of leaking parts of the environment (such as $PATH)
into the dumped executable. This hopefully fixes it. (It's a bit hard
to tell since the effect is not deterministic.)

(cherry picked from commit cf599d3f99)
2017-09-27 12:32:33 +02:00
Joerg Thalheim
cba8066e9f libproxy: 0.4.13 -> 0.4.15
reduces closure size from ~200mb to ~100mb

fixes #29775

(cherry picked from commit 30c380556c)
2017-09-27 12:32:28 +02:00
Eelco Dolstra
bf92abb6ab Add some dev outputs
(cherry picked from commit 60aaced9a0)
2017-09-27 12:32:23 +02:00
Eelco Dolstra
d2bfefe9bf postgresql: Add dev output
This reduces the closure size of postgresql.out by 72 MiB.

(cherry picked from commit b0280f598e)
2017-09-27 12:32:18 +02:00
Eelco Dolstra
f50da7bbca kdoctools: Move bin stuff to the "out" output
In particular, this moves share/kf5 to the "out" output. This prevents
kdelibs4support from pulling kdoctools.dev into its closure (via
share/kf5/kdoctools/customization/dtd/kdex.dtd, which references
${kdoctools}/share/kf5).

This reduces the closure size of kdelibs4support by 156 MiB.

(cherry picked from commit b790a31204)
2017-09-27 12:32:13 +02:00
Robin Gloster
b06336377b gdal: fix backport 2017-09-27 00:59:35 +02:00
Dario Bertini
f9db9c8ff1 sshuttle: fix tests for darwin
(cherry picked from commit 7055b4aa45)
2017-09-26 23:47:36 +02:00
Tuomas Tynkkynen
3dcd59f164 caffe: Make 'bin' the first output
So ${caffe}/bin/foo always works in scripts.

(cherry picked from commit 9824ca6975)
2017-09-27 00:41:13 +03:00
Tuomas Tynkkynen
9a3658d6f2 imlib2: Make 'bin' the first output
(cherry picked from commit 3ee733aafb)
2017-09-27 00:20:03 +03:00
John Ericson
21d9031802 ghc prebuilt: Fix indentation
Doing this separately so the other commits are more readable

(cherry picked from commit 2d52156793)
2017-09-26 17:16:07 -04:00
John Ericson
ab9218d01c ghc prebuilt: Clean up syntax, without changes hashes
If I'm going to make a bunch more of these, I think it's a good idea to
make them more uniform first.

(cherry picked from commit a8ef3f6742)
2017-09-26 17:16:07 -04:00
John Ericson
d626fc602d ghc prebuilt: Don't hardcode the version in a few more places
This removes noise in the diff, making creating new versions easier. No
hashes should be changed.

(cherry picked from commit 17de435533)
2017-09-26 17:16:07 -04:00
John Ericson
95f22fbfc1 ghc-6.10.2-binary: Remove dead Darwin code
This looks like a WIP attempt from 2008

(cherry picked from commit d72647bc05)
2017-09-26 17:16:07 -04:00
Vaibhav Sagar
189ec715ac vim: 8.0.0442 -> 8.0.1150
(cherry picked from commit 6498ac609a)
2017-09-26 23:13:35 +02:00
Robin Gloster
0405eaf127 17.09 release notes: fix typo
(cherry picked from commit 6ab200b066)
2017-09-26 23:12:53 +02:00
Yegor Timoshenko
fdf61a4269 epsxe: fix install, 32-bit executable uses mixed case
(cherry picked from commit c3e6e9b765)
2017-09-26 23:12:45 +02:00
Yegor Timoshenko
2de0784f22 epsxe: init at 2.0.5 (#29810)
* epsxe: init at 2.0.5

* epsxe: nitpicks

(cherry picked from commit 0ddca0715a)
2017-09-26 23:10:38 +02:00
Yegor Timoshenko
b2fd3ebb2f mba6x_bl: update to 2016-12-08
(cherry picked from commit fbc8fa8b42)
2017-09-26 23:10:15 +02:00
Frederik Rietdijk
8e3dc8999d wlc: fix homepage / eval
(cherry picked from commit a33402b890)
2017-09-26 23:08:46 +02:00
Yegor Timoshenko
145eeb6809 sct: fix segfault when DISPLAY is empty, clean up derivation
(cherry picked from commit 44beb56540)
2017-09-26 23:08:28 +02:00
Michael Weiss
87557cbab6 sway: Fix the build
While the last wlc upgrade (05d79c03ec)
makes it possible to build sway 0.14.0 it also breaks the current build
of sway 0.13.0.

Unfortunately sway 0.14.0 segfaults on launch and I couldn't fix it yet
(there are multiple upstream issues as well). I'll overwrite the wlc
version for sway in order to have a usable version in nixpkgs for the
meantime.

(cherry picked from commit 676f5cb02c)
2017-09-26 23:08:13 +02:00
Michael Weiss
6b6989e552 wlc: 0.0.9 -> 0.0.10
Initially the build was failing but it seems like
4b85b23534 already fixed it.

(cherry picked from commit 05d79c03ec)
2017-09-26 23:07:20 +02:00
Michael Weiss
1ee3559c4c wlc: Refactor the code
The code was a bit messy (unused parameters, etc.) and caused some
warnings/errors which could potentially cause some problems.

(cherry picked from commit 4b85b23534)
2017-09-26 23:07:12 +02:00
taku0
d2f824f5b9 oraclejdk: add version 9
Oracle JDK 9 does not seems to contain jre directory, so oraclejre9
package now uses a dedicated archive file.

There is no 32-bit version nor arm version (yet). If Oracle releases
them, I will update the package.

(cherry picked from commit 692fcd9f53)
2017-09-26 23:06:53 +02:00
Tim Steinbach
276cddd260 skopeo: 0.1.22 -> 0.1.23
(cherry picked from commit 4ec02cc332)
2017-09-26 23:06:01 +02:00
Yegor Timoshenko
e96e0a21c6 libmirage: add to top level
(cherry picked from commit 8815b81926)
2017-09-26 23:05:15 +02:00
Tristan Helmich
aaed97d6c5 oath-toolkit: 2.6.1 -> 2.6.2
(cherry picked from commit 62597385c3)
2017-09-26 23:05:02 +02:00
Yegor Timoshenko
a9f7a2e44b clojure: correct license (three-clause BSD -> EPLv1.0)
This is retroactive. See: https://clojure.org/community/license

(cherry picked from commit 2f3af251be)
2017-09-26 23:04:43 +02:00
Tim Steinbach
03ff20e53b kotlin: 1.1.4-2 -> 1.1.50
(cherry picked from commit bec98b765d)
2017-09-26 23:03:50 +02:00
berdario
17c4f379df rhino: remove dependency on GCJ (#29759)
(cherry picked from commit 472bb9681d)
2017-09-26 23:02:30 +02:00
Peter Hoeg
df997bd717 uchiwa: 0.25.3 -> 0.26.0
(cherry picked from commit dd6591c506)
2017-09-26 23:02:16 +02:00
makefu
9e8f046940 gdal: fix path to pg_config
(cherry picked from commit 032c50d45b)
2017-09-26 23:01:54 +02:00
Joerg Thalheim
d1b41428a8 celery: fix eventlet tests
(cherry picked from commit 1b628fb023)
2017-09-26 23:01:46 +02:00
makefu
27c46a7cd9 pyramid: 1.7 -> 1.9.1
(cherry picked from commit dcc36a4a04)
2017-09-26 23:01:39 +02:00
makefu
7f532c37e4 celery: disable eventlet tests
eventlet cannot be imported in any tests because it fails to be imported
inside the sandboxed environment

(cherry picked from commit d00ba8091f)
2017-09-26 23:01:32 +02:00
makefu
a3969e2f0d oslo-config,sqlalchemy: add makefu to list of maintainers
(cherry picked from commit d7c26f24b9)
2017-09-26 23:01:26 +02:00
makefu
743e2cc3b4 oslo-service: 0.10.0 -> 1.26.0, with dependencies
oslo-service:
  needs to disable tests due to network errors when importing eventlet
  for tests ( socket.getprotobyname('tcp') -> no such protocol )
eventlet: 0.17.4 -> 0.20.0
  cannot update to 0.21.0 due to version pinning ( < 0.21.0 ) of oslo-service
monotonic: 0.4 -> 1.3
oslo-serialization: 1.10.0 -> 2.20.0
oslo-utils: 2.6.0 -> 3.29.0
oslo-concurrency: 2.7.0 -> 3.22.0
oslo-log: 1.12.1 -> 3.31.0
oslo-context: 0.7.0 -> 2.18.1
routes: 1.12.3 -> 2.4.1
webob: 1.4.1 -> 1.7.3

when updating i rewrote the package to use fetchPypi for making future
updating easier

(cherry picked from commit 78621e384c)
2017-09-26 23:01:20 +02:00
makefu
4b26ccd475 sqlalchemy-migrate: re-enable tests
(cherry picked from commit 42edc6f35e)
2017-09-26 22:54:29 +02:00
makefu
7af7e873b3 keystoneauth1: enable tests
requires a later version of betamax, bumped to 0.8.0

(cherry picked from commit 97644a9f4f)
2017-09-26 22:53:13 +02:00
makefu
e6fff35eb7 oslo-config: 4.11.0 -> 4.12.0, fix build
also updated the following dependencies:
keystoneauth1: 3.1.0 -> 3.2.0
  disabled tests which require oslo-config, oslo-test or requests-kerberos
oslo-i18n: 2.7.0 -> 3.18.0
oslotest: 1.12.0 -> 2.18.0
os-client-config: 1.8.1 -> 1.28.0
  needed to disable testing due to circular dependency with oslotest
mox3: 0.11.0 -> 0.23.0
  disable tests for py36 due to upstream bug
debtcollector: 0.9.0 -> 1.17.0
  tests enabled

extra packages:
requestsexceptions: init at 1.3.0

(cherry picked from commit 7251699081)
2017-09-26 22:52:57 +02:00
Joerg Thalheim
16ad9ed52f {zfsUnstable,splUnstable}: 2017-09-12 -> 2017-09-26
(cherry picked from commit 8fcf95f102)
2017-09-26 22:52:48 +02:00
Jörg Thalheim
b97384ac14 nixos/zfs: import encrypted datasets by default for zfsUnstable
(cherry picked from commit 9164517c18)
2017-09-26 22:52:27 +02:00
Samuel Dionne-Riel
b968e8af94 mediawiki: 1.27.3 -> 1.29.1
(cherry picked from commit 0b1c73f4da)
2017-09-26 22:49:33 +02:00
Lancelot SIX
877c957ebc pythonPackages.channels: 1.1.6 -> 1.1.8 (#29772)
(cherry picked from commit f1a2b8627e)
2017-09-26 22:49:24 +02:00
Dan Peebles
a9d62189e7 nixos-install: re-enable --chroot option
I forgot to implement it the first time around. Whoops!

(cherry picked from commit 186c120bed)
2017-09-26 21:57:01 +02:00
Jan Solanti
c7842d024d nvidia-x11: generate nvidia_icd.json from template
(cherry picked from commit 4ec3d311cb)
2017-09-26 21:54:41 +02:00
Jörg Thalheim
9726f8edf8 dino: 2017-06-21 -> 2017-09-20
(cherry picked from commit f27feb5481)
2017-09-26 19:48:58 +01:00
Franz Pletz
abaa8ce24c libressl_2_6: 2.6.0 -> 2.6.2
(cherry picked from commit 4d7d5c8c34)
2017-09-26 17:29:46 +02:00
Franz Pletz
defa5d664a imagemagick7: 7.0.6-4 -> 7.0.7-4 for multiple CVEs
Too many CVEs to list because they are not tracked upstream by release
versions.

(cherry picked from commit de4abf7054)
2017-09-26 17:29:46 +02:00
Franz Pletz
614c302796 imagemagick: 6.9.9-7 -> 6.9.9-15 for multiple CVEs
Too many CVEs to list because they are not tracked upstream by release
versions.

(cherry picked from commit 2d854c4c92)
2017-09-26 17:29:46 +02:00
Tim Steinbach
a193400216 oh-my-zsh: 2017-06-22 -> 2017-09-24
(cherry picked from commit 1c3ba450acf6739429ea24af742b5ad55479a38e)
2017-09-26 08:59:24 -04:00
Tim Steinbach
735329ab9e git: 2.14.1 -> 2.14.2
(cherry picked from commit 5a2a35aef3)
2017-09-26 08:50:22 -04:00
Rodney Lorrimar
10bb7fddb9 gnuradio: fix build for gcc6 and newer boost (#29740)
(cherry picked from commit 3766637bdd)
2017-09-26 03:31:14 +02:00
Joerg Thalheim
461fab1376 sysdig: 0.17.0 -> 0.18.0
(cherry picked from commit b064137b7b)
2017-09-26 03:30:53 +02:00
Robin Gloster
0c9f99e01b 17.09 release notes: add module changes
(cherry picked from commit 3414265efa)
2017-09-26 03:29:03 +02:00
Robin Gloster
e6f075b07e termite: fix eval 2017-09-26 02:20:58 +02:00
Jan Tojnar
edf780b54f gnome3.at-spi2-core: fix service not found error
The service was not registered as a systemd service resulting in errors
in the system journal every time a GNOME application was launched.

See: #16327
2017-09-26 00:40:57 +01:00
Daiderd Jordan
e19b5ef047 reattach-to-user-namespace: 2.5 -> 2.6
(cherry picked from commit b196241f42)
2017-09-26 01:03:07 +02:00
Thomas Tuegel
e5a864fa6d hplip: remove 3.15.9
hplip-3.15.9 has not been buildable in some time due to changes in CUPS.

(cherry picked from commit 4c09acad5c)
2017-09-26 00:34:06 +02:00
Tim Steinbach
a6e79559fa linux: 4.14-rc1 -> 4.14-rc2
(cherry picked from commit b13a6d5720)
2017-09-26 00:32:15 +02:00
Tim Steinbach
65494c8b28 linux: 4.13-rc7 -> 4.14-rc1
(cherry picked from commit c8f43edaf5)
2017-09-26 00:32:07 +02:00
Jörg Thalheim
c6f102bbce docs/python: more infos regarding failing tests
(cherry picked from commit 9d9a28f014)
2017-09-26 00:31:00 +02:00
Elis Hirwing
8b7634aa43 testssl.sh: init at 2.9.5-1
Add testssl.sh which is a nice utility for testing TLS/SSL
capabilities of servers without having to use any kind of
web-service. It's very useful for testing setups of services before
deployment and such.

(cherry picked from commit 02d9d40d99)
2017-09-26 00:27:13 +02:00
Joachim Fasting
629b3f3835 mg: 20161005 -> 20170828
(cherry picked from commit 4429559aa1)
2017-09-26 00:26:11 +02:00
Kamil Chmielewski
4b9aae63fb ponyc: 0.19.1 -> 0.19.2
https://github.com/ponylang/ponyc/issues/2248
(cherry picked from commit 5835b1a156)
2017-09-26 00:25:48 +02:00
Antoine Eiche
572a0e1b12 dockerTools.examples.nix: set NIX_PAGER=cat environment variable
(cherry picked from commit ff4d7f0fd2)
2017-09-26 00:25:24 +02:00
Antoine Eiche
1231f40731 dockerTools.buildImageWithNixDb: populate the Nix Db of the image Nix store
Currently, the contents closure is copied to the layer but there is no
nix database initialization. If pkgs.nix is added in the contents,
nix-store doesn't work because there is no nix database.

From the contents of the layer, this commit generates and loads the
database in the nix store of the container. This only works if there
is no parent layer that already have a nix store (to support several
nix layers, we would have to merge nix databases of parent layers).

We also add an example to play with the nix store inside the
container. Note it seems `more` is a missing dependency of the nix
package!

(cherry picked from commit df589a438e)
2017-09-26 00:25:24 +02:00
Peter Hoeg
83dcd01968 open-vm-tools: 10.1.0 -> 10.1.10
(cherry picked from commit 4f25b7b6b3)
2017-09-26 00:19:38 +02:00
ibor
fcfd281892 js_of_ocaml: fix jbuild (explicitly call bash) (#29749)
* js_of_ocaml: fix jbuild (explicitly call bash)

* js_of_ocaml: Use patchShebangs instead of manual patch

(cherry picked from commit 00422b2279)
2017-09-26 00:19:24 +02:00
Aneesh Agrawal
fbe380a5d2 audit: Remove openldap dependency
The openldap dependency is only used for the audisp z/OS plugin.
This is not useful on Linux, so always disable this.

(cherry picked from commit 49fc06ed0a)
2017-09-26 00:16:48 +02:00
Vladimír Čunát
b5ec075d9e perl-XML-LibXML: update and avoid failing tests
The test failures were caused by #29431: libxml-2.9.4 -> 2.9.5

(cherry picked from commit c88fa59559)
2017-09-26 00:16:27 +02:00
Orivej Desh
e9c0481881 libxml2: 2.9.4 -> 2.9.5
(cherry picked from commit 604ca93182)
2017-09-26 00:14:24 +02:00
Richard Ipsum
434a0e7e7a luxio: Add maintainer
(cherry picked from commit 3d278be9ae)
2017-09-26 00:11:15 +02:00
Joerg Thalheim
3f1ef725c3 luxio: fix package build
(cherry picked from commit dd6691aa05)
2017-09-26 00:11:03 +02:00
Richard Ipsum
88683846c6 luxio: init at 13
(cherry picked from commit d42c062821)
2017-09-26 00:10:54 +02:00
David Izquierdo
2310682c56 latte dock: 0.6.0 -> 0.7.1
(cherry picked from commit 4105d02f70)
2017-09-26 00:10:34 +02:00
David Izquierdo
ce56b5a1db tdesktop: 1.1.22 -> 1.1.23
(cherry picked from commit f79c0b8627)
2017-09-26 00:10:25 +02:00
Joerg Thalheim
3e1940744a python.pkgs.simanneal: enable tests
(cherry picked from commit dd99592952)
2017-09-26 00:10:17 +02:00
Dmitry Kalinkin
1a747a017c pythonPackages.simanneal: init at 0.4.1
(cherry picked from commit de1480e079)
2017-09-26 00:10:12 +02:00
Joerg Thalheim
cd54c92211 nixos/tinydns: default data to empty string
(not strictly required to start the service)

(cherry picked from commit 735b41c34f)
2017-09-26 00:09:24 +02:00
Matt McHenry
80e8a10c47 nixos/dnscache: add module
with improvements suggested by Jörg Thalheim <joerg@thalheim.io>

(cherry picked from commit 1b7e5eaa79)
2017-09-26 00:09:08 +02:00
Matt McHenry
e92e498ad5 nixos/tinydns: add module
with improvements suggested by Jörg Thalheim <joerg@thalheim.io>

(cherry picked from commit ab851b63da)
2017-09-26 00:08:51 +02:00
Matt McHenry
7eeda5754e djbdns: init at 1.05
(cherry picked from commit a80ef5b88a)
2017-09-26 00:08:23 +02:00
Francois-Rene Rideau
bc149176ac nfsd: add extraNfsdConfig
(cherry picked from commit 62983f5cae)
2017-09-26 00:03:09 +02:00
gnidorah
5d00e52de8 termite: fix fonts in wayland
(cherry picked from commit 42dcf914d1)
2017-09-26 00:01:22 +02:00
Kranium Gikos Mendoza
2bbc6958da gpxsee: 4.9 -> 4.14
(cherry picked from commit 12b1852301)
2017-09-26 00:00:56 +02:00
Maximilian Bosch
42349942f6 vimPlugins.xptemplate: init at 2017-04-18
(cherry picked from commit 0a5d4ca5a8)
2017-09-26 00:00:32 +02:00
Matthias Beyer
9c7c88d044 mutt: 1.9.0 -> 1.9.1
(cherry picked from commit 3491f6a873)
2017-09-26 00:00:17 +02:00
Kranium Gikos Mendoza
8a3d960bd6 pick: 1.7.0 -> 1.9.0
(cherry picked from commit f43baf94a3)
2017-09-25 23:59:34 +02:00
Itai Zukerman
9c6cabe758 plex: 1.8.4 -> 1.9.1
(cherry picked from commit e24dc4d7ba)
2017-09-25 23:59:19 +02:00
Francois-Rene Rideau
1ff620567b gerbil: 0.12-DEV -> 0.12-DEV-777-gd855915
(cherry picked from commit fc82bad4a9)
2017-09-25 23:59:02 +02:00
Francois-Rene Rideau
53779dd249 gambit: 4.8.8-f3ffeb6 -> 4.8.8-300db59
(cherry picked from commit 34739b3cc6)
2017-09-25 23:57:59 +02:00
Neil Mayhew
21934a1a9b spideroak: 6.0.1 -> 6.1.9
(cherry picked from commit 9d01b511b5)
2017-09-25 23:57:31 +02:00
Bjørn Forsman
9da04799cc vimPlugins.robotframework-vim: init at 2017-04-14
(cherry picked from commit d757d8142e)
2017-09-25 22:41:13 +02:00
Pavel Goran
a35620e5f2 nixos/gitolite: add enableGitAnnex option
(cherry picked from commit cee657f9a3)
2017-09-25 22:12:59 +02:00
Peter Hoeg
f5af8a757a pywbem: hash keeps changing - why? Embed the patch
(cherry picked from commit 23ef826139)
2017-09-25 21:32:59 +08:00
Silvan Mosberger
6a1978f7b4 nixos/radicale: fix default version (#29743)
(cherry picked from commit a8c97ad23e)
2017-09-25 14:12:43 +02:00
Joachim Fasting
66384f9e52 tor-browser-bundle-bin: optionally disable multiprocess support
Multiprocess tabs always crash, as first reported by the issue mentioned
below.  It is now consistently reproducible both on NixOS and non-NixOS
for me, so I've decided to add a toggle to conveniently disable
multiprocess support as a work-around.

Closes https://github.com/NixOS/nixpkgs/issues/27759 but does
not really fix the underlying problem ...

(cherry picked from commit 69e3817eb6)
2017-09-25 14:12:41 +02:00
Jan Malakhovski
7c80f69bb6 linuxPackages: properly propagate features and extraConfig
`kernel.override { features = ... }` didn't work before, now it works as
expected.

(cherry picked from commit 8525b78d05)
2017-09-25 14:12:40 +02:00
Franz Pletz
cc7ed96716 nixos/network-interfaces: ensure slave interfaces are up
Fixes #28620.

(cherry picked from commit 263185aa68)
2017-09-25 14:07:25 +02:00
Franz Pletz
35cbbeb146 nixos/network-interfaces: cannot delay device units
Systemd is complaining that it can't delay the startup of device units.
We have a before dependency on the respective device unit for every
netdev service, which doesn't make any sense because we create the
actual interface in this service.

(cherry picked from commit 13a110e696)
2017-09-25 14:07:24 +02:00
Franz Pletz
2d178d8793 nixos/network-interfaces: IPs must always be set
Previously, depending on the environment and the type of interface that
was created, the configured IPs of an interface wouldn't be applied on a
nixos-rebuild switch. It works after a reboot.

This patch ensures that the network-addresses service is started
either via the network-link service or if the networking target is
activated (i.e. on system activation).

Fixes #28474 #16230.

(cherry picked from commit 3a670daa98)
2017-09-25 14:07:24 +02:00
Kai Harries
d9dabb0e66 libvirt: Add qemu to runtime closure
The program `qemu-img` is needed during creation of virtual machines
with qcow2 images. Otherwise creation of such VMs (e.g. with
virt-manager) are failing.

(cherry picked from commit 32e4e2c47b)
2017-09-25 07:52:45 +02:00
Peter Hoeg
e075c65956 pywbem: changed hash
(cherry picked from commit 0353ddc5c5)
2017-09-25 09:51:50 +08:00
Peter Hoeg
6540bc5b02 pywbem: make the tests pass again with patch from upstream
(cherry picked from commit 4c496c0232)
2017-09-25 09:44:20 +08:00
Jean-François Roche
773e5ddef1 Update kbfs: 20170429.44efa06 -> 20170922.f76290 (#29716)
kbfs was not working with the lastest keybase update
(ef3cb5cc47).

We should enforce update of keybase/keybase-ui and kbfs (like done here:
f74a1e6bcb)
all together to avoid API problems.

(cherry picked from commit b50ae94ed3)
2017-09-24 18:09:10 +01:00
zimbatm
58b7abc2fc keybase: add darwin support
Fixes the cyclic dependency issue as described in #18131.

(cherry picked from commit eaa0e19a34)
2017-09-24 17:53:54 +01:00
Kranium Gikos
ad0f639d43 influxdb sevice: make postStart test work with non-localhost configurations (#29734)
make postStart test work with non-localhost configurations

(cherry picked from commit 412fa16bff)
2017-09-24 15:38:16 +01:00
Robert Scott
40b0653486 python.pkgs.pyscss: 1.3.4 -> 1.3.5
this also:
 - enables tests (properly)
 - fixes build on python 3.6

(cherry picked from commit a358c43975)
2017-09-24 15:11:09 +01:00
Joerg Thalheim
550a7c9fbb termite: use wrapGAppsHook
(cherry picked from commit 4d4c32504a)
2017-09-24 14:50:02 +01:00
Robin Gloster
49be64017f kupfer: fixup merge
This had not been backported and does not exist in 17.09 (cc @zimbatm)
2017-09-24 13:57:09 +02:00
Robin Gloster
34cc80018d kube-dns: fixup merge
Should've been removed here, is built with kubernetes.
2017-09-24 13:54:06 +02:00
Jan Tojnar
bc28875f8c gnome3: only maintain single GNOME 3 package set (#29397)
* gnome3: only maintain single GNOME 3 package set

GNOME 3 was split into 3.10 and 3.12 in #2694. Unfortunately, we barely have the resources
to update a single version of GNOME. Maintaining multiple versions just does not make sense.
Additionally, it makes viewing history using most Git tools bothersome.

This commit renames `pkgs/desktops/gnome-3/3.24` to `pkgs/desktops/gnome-3`, removes
the config variable for choosing packageset (`environment.gnome3.packageSet`), updates
the hint in maintainer script, and removes the `gnome3_24` derivation from `all-packages.nix`.

Closes: #29329

* maintainers/scripts/gnome: Use fixed GNOME 3 directory

Since we now allow only a single GNOME 3 package set, specifying
the working directory is not necessary.

This commit sets the directory to `pkgs/desktops/gnome-3`.

(cherry picked from commit 69698ec11c)
2017-09-24 12:45:23 +01:00
zimbatm
0e60332559 kubernetes-helm: 2.5.1 -> 2.6.1
(cherry picked from commit f069ee7af6)

Conflicts:
	pkgs/top-level/all-packages.nix
2017-09-24 12:40:07 +01:00
Stefan Siegl
c05c38296c owncloud-client: 2.3.2 -> 2.3.3
(cherry picked from commit 9fc87cc376)
2017-09-24 13:24:51 +02:00
Robin Gloster
1c641c46d6 systemd-tmpfiles: fix docs
We have been doing this since 4e4161c212

(cherry picked from commit 43404d9acf)
2017-09-24 13:22:15 +02:00
Peter Jones
f4653e55b2 playbar2: init at 2.5
(cherry picked from commit f1355079b9)
2017-09-24 13:06:21 +02:00
Michal Rus
7efb9fa5f9 xpad: init at 5.0.0 (#29720)
* xpad: init at 5.0.0

* xpad: wrapGAppsHook is required

(cherry picked from commit 0e71e03583)
2017-09-24 13:05:47 +02:00
Robin Gloster
24a8c6d5a4 kubernetes: fix bad merge 2017-09-24 13:05:04 +02:00
Robin Gloster
cc668d5dea kubernetes: fix hashes after dockerTools change
(cherry picked from commit 9ba024f6d8)
2017-09-24 13:05:04 +02:00
Matej Cotman
0a029ead07 kubernetes: fix tests
(cherry picked from commit 6ef8cad2a7)
2017-09-24 13:05:04 +02:00
Matej Cotman
65120b99e2 kubernetes: build e2e.test
(cherry picked from commit 1febe07de7)
2017-09-24 13:05:03 +02:00
Matej Cotman
0c7ff1e626 kubernetes: fix dns addon hashes, fix clusterDns, enable proxy on master
(cherry picked from commit 6ea272ced4)
2017-09-24 13:05:03 +02:00
Jaka Hudoklin
d4c9d7ed0e kubernetes module: refactor module system, kube-dns as module
(cherry picked from commit ddf5de5de0)
2017-09-24 13:05:03 +02:00
Jaka Hudoklin
30b99fed97 kubernetes module: seedDockerImages option for seeding docker images built with nix
(cherry picked from commit 2beadcf181)
2017-09-24 13:05:03 +02:00
Jaka Hudoklin
bbefc9eb13 kubernetes module: webhook authorization for kubelet
(cherry picked from commit 9d97c92d68)
2017-09-24 13:05:03 +02:00
Jaka Hudoklin
b913ef9358 kubernetes module: fix documentation links
(cherry picked from commit 7c893623d4)
2017-09-24 13:05:03 +02:00
Jaka Hudoklin
e901b8c15e kubernetes module: add featureGates option
(cherry picked from commit 74f99525e0)
2017-09-24 13:05:03 +02:00
Jaka Hudoklin
bffd00bb38 kuberentes: expose kube-addons script
(cherry picked from commit f10138bd32)
2017-09-24 13:05:03 +02:00
Jaka Hudoklin
db96b84055 kubernetes: 1.6.4 -> 1.7.1
(cherry picked from commit bff428616a)
2017-09-24 13:05:02 +02:00
Jaka Hudoklin
0c543a52ff cni: 0.3.0 -> 0.5.2
(cherry picked from commit ff6413850b)
2017-09-24 13:05:02 +02:00
Jaka Hudoklin
f8971667d1 kubernetes module: kubelet, add socat to path for kubectl portforward
(cherry picked from commit 55dbbfd899)
2017-09-24 13:05:02 +02:00
Jaka Hudoklin
613cc03b62 kubernetes module: enable leader elect by default
(cherry picked from commit 8e48fff268)
2017-09-24 13:05:02 +02:00
Jaka Hudoklin
0603b6c6f1 kubernetes module: add storage and tolerations addmission controllers
(cherry picked from commit 856ca7347f)
2017-09-24 13:05:02 +02:00
Jaka Hudoklin
77f08ce157 kubernetes module: fix cidr ranges
(cherry picked from commit d842d539d9)
2017-09-24 13:05:02 +02:00
Jaka Hudoklin
cec76e3b8a kubernetes module: default auth mode to only RBAC
(cherry picked from commit b25d155976)
2017-09-24 13:05:02 +02:00
Jaka Hudoklin
c75998c202 kubernetes module: add support for common CA file
(cherry picked from commit c2622910ab)
2017-09-24 13:05:01 +02:00
Jaka Hudoklin
99af0a66e5 kubernetes module: per service kubeconfig support
(cherry picked from commit c96ca5f3bd)
2017-09-24 13:05:01 +02:00
Jaka Hudoklin
11bbff3883 kubernetes module: flannel support, minor fixes
- add flannel support
- remove deprecated authorizationRBACSuperAdmin option
- rename from deprecated poratalNet to serviceClusterIpRange
- add nodeIp option for kubelet
- kubelet, add br_netfilter to kernelModules
- enable firewall by default
- enable dns by default on node and on master
- disable iptables for docker by default on nodes
- dns, restart on failure
- update tests

and other minor changes

(cherry picked from commit 7dfeac88ac)
2017-09-24 13:05:01 +02:00
Matej Cotman
29617dfc97 kubernetes: fix minor issues
(cherry picked from commit 8e14e978c8)
2017-09-24 13:05:01 +02:00
Matej Cotman
4b93a73f32 kubernetes: add tests
(cherry picked from commit 7f9d1a7aaf)
2017-09-24 13:05:01 +02:00
Matej Cotman
05dc4e6bf6 kubernetes: update service
(cherry picked from commit ed322f4235)
2017-09-24 13:05:01 +02:00
Matej Cotman
dc596ef734 kube-dns: 1.14.1
(cherry picked from commit 7332179285)
2017-09-24 13:05:01 +02:00
Jaka Hudoklin
51f0056f85 kubernetes module: authorization improvements
(cherry picked from commit 90d5468ad6)
2017-09-24 13:05:01 +02:00
Florian Jacob
4fad98082e tinc: 1.0.31 -> 1.0.32
(cherry picked from commit 8704e82eba)
2017-09-24 13:05:00 +02:00
Robin Gloster
5f41bf128c maintainers/hydra-eval-failures: fix with new lib
lib/maintainers.nix now is a function

(cherry picked from commit 1554282290)
2017-09-24 13:05:00 +02:00
Matt McHenry
3b03b528ec minecraft-server: 1.12 -> 1.12.2
(cherry picked from commit aedfc0d8d3)
2017-09-24 13:05:00 +02:00
Pascal Bach
b662fcd5f4 riot-web: 0.12.5 -> 0.12.6
(cherry picked from commit 8a249c51b6)
2017-09-24 13:05:00 +02:00
danbst
a164105477 salt: 2016.11.5 -> 2017.7.1, patch fix
The libcrypto patch didn't work well with `salt-ssh` (that code failed on
remote machines), so let's make Nix-based library lookup as fallback.

https://github.com/saltstack/salt/issues/43350
(cherry picked from commit a5b8c0c2de)
2017-09-24 13:05:00 +02:00
Joachim Fasting
a769d908fc encfs: 1.9.1 -> 1.9.2
See https://github.com/vgough/encfs/releases/tag/v1.9.2

(cherry picked from commit c951a0ad07)
2017-09-24 13:05:00 +02:00
Joachim Fasting
f439ce677e openafs-client: 1.6.21 -> 1.6.21.1
Per https://www.openafs.org/dl/openafs/1.6.21.1/RELNOTES-1.6.21.1
this release adds support for linux 4.13

Related to https://github.com/NixOS/nixpkgs/issues/28643

(cherry picked from commit cb94feb2d1)
2017-09-24 13:05:00 +02:00
Michael Weiss
af367259ab sshfs: 3.2.0 -> 3.3.0
(cherry picked from commit 699231ed78)
2017-09-24 13:05:00 +02:00
Joachim Fasting
be26a1c06f apulse: 0.1.6 -> 0.1.10
(cherry picked from commit c97e5f2670)
2017-09-24 13:04:59 +02:00
Michael Weiss
d020624a16 fuse3: 3.1.1 -> 3.2.0
(cherry picked from commit 1a9467edd5)
2017-09-24 13:04:59 +02:00
mimadrid
f09a976729 axel: 2.13.1 -> 2.14.1
(cherry picked from commit 9c46ef3d9a)
2017-09-24 13:04:59 +02:00
mimadrid
b971730f58 entr: 3.7 -> 3.8
(cherry picked from commit 47974b2670)
2017-09-24 13:04:59 +02:00
mimadrid
2da5e958dd filezilla: 3.27.0.1 -> 3.27.1
(cherry picked from commit ece5c1482b)
2017-09-24 13:04:59 +02:00
mimadrid
47edac9039 libfilezilla: 0.10.0 -> 0.10.1
(cherry picked from commit 00bdbcd99e)
2017-09-24 13:04:59 +02:00
mimadrid
5a9ac44972 gsource: 0.44 -> 0.47
(cherry picked from commit 80a14bf5fb)
2017-09-24 13:04:59 +02:00
Robert Scott
93441f1a69 python.pkgs.python-gnupg: disable failing test test_search_keys
reading the code, it's hard to see how this test was *ever* supposed to
pass. interestingly, peeking across the fence, guix have disabled this test
too for the same reason.

note that tests don't actually run *at all* on py27 but that's a problem
for another day

(cherry picked from commit 9ca4f39b97)
2017-09-24 13:04:58 +02:00
Rodney Lorrimar
240f529269 guile-lib: Disable a test which doesn't work with Guile 2.2
Error is:

    ERROR: In procedure %resolve-variable:
    ERROR: Unbound variable: use-syntax
    FAIL: sxml.ssax.scm

Also add pkg-config so that configure script can find libguile.

Relevant to #28643

(cherry picked from commit 913e770fa8)
2017-09-24 11:35:33 +01:00
Graham Christensen
beb1f1ea91 nixos/rabbitmq: fix restarts and sasl logs
1. The chmod 400 with the preset cookie prevented restarts, as
on the second boot it would fail to write to the cookie. Oops.

2. As far as I can tell, sasl logs were disabled because of the
following error:

{error,{cannot_log_to_tty,sasl_report_tty_h,not_installed}}

Not because we actually wanted to disable them. This meant the
management plugin wasn't usable due to a bug set to be fixed in
3.7.0.

(cherry picked from commit f3b9ac73e2)
2017-09-23 17:59:07 -04:00
Daiderd Jordan
5a59b45811 libjack2: fix darwin build
(cherry picked from commit 7d98316a97)
2017-09-23 22:37:09 +02:00
Daiderd Jordan
cb78d96a64 darwin-frameworks: add impure version of CoreFoundation
(cherry picked from commit bb02b800a2)
2017-09-23 22:36:57 +02:00
Patrick Callahan
8d34b090a7 varnish: enable Darwin build
(cherry picked from commit 8be447b522)
2017-09-23 21:33:03 +02:00
Daiderd Jordan
ae583307ef qt5-qtbase: fix darwin build
Fixes #27474

(cherry picked from commit db2538fb0c)
2017-09-23 21:07:06 +02:00
Franz Pletz
7bd9dac1bd nixos-generate-config: add programs options examples
(cherry picked from commit 0f5cd17f2c)
2017-09-23 20:05:01 +02:00
Franz Pletz
8c5fdf1baf nixos/install: disable kernel debug console logging
Add another option for debugging instead. Lots of users have been
complaining about this default behaviour.

This patch also cleans up the EFI bootloader entries in the ISO.

(cherry picked from commit 3d040f9305)
2017-09-23 20:05:01 +02:00
Silvan Mosberger
aca6a2bd3f encrypted devices: add label set assertion (#29651) 2017-09-23 19:02:58 +01:00
Michael Raskin
81e4fbefda asymptote: do not install sty-files, let texlive care of it
TeXLive version is effectively identical anyway, and it caused an
unneccessary file name collision.

Fixes: #29671
(cherry picked from commit 8d001911db)
2017-09-23 19:36:01 +02:00
Robin Gloster
5825331856 fanctl, fan module: remove
This has been broken nearly all the time due to the patches needed to
iproute2 not being compatible with the newer versions we have been
shipping. As long as Ubuntu does not manage to upstream these changes
so they are maintained with iproute2 and we don't have a maintainer
updating these patches to new iproute2 versions it is not feasible to
have this available.

(cherry picked from commit 08b09fdc5c)
2017-09-23 18:00:40 +02:00
Peter Simons
bfbbfa09e1 yi: mark builds broken
Yi and its libraries have inconsistent versions because some of them are in LTS
Haskell and others aren't. Ping @fuuzetsu.
2017-09-23 17:28:27 +02:00
Bjørn Forsman
1cdb055879 nixos/gitolite: use group 'gitolite' instead of 'nogroup'
Having files (git repositories) owned by 'nogroup' is a bad idea.

(cherry picked from commit 3a58e41e43)
2017-09-23 17:13:06 +02:00
Samuel Leathers
5aa76ba06d kodi: 17.3 -> 17.4
(cherry picked from commit 694e7e08d6)
2017-09-23 17:08:12 +02:00
Peter Simons
23a021d12e Revert "nixos: add option for bind to not resolve local queries (#29503)"
This reverts commit 670b4e29ad. The change
added in this commit was controversial when it was originally suggested
in https://github.com/NixOS/nixpkgs/pull/29205. Then that PR was closed
and a new one opened, https://github.com/NixOS/nixpkgs/pull/29503,
effectively circumventing the review process. I don't agree with this
modification. Adding an option 'resolveLocalQueries' to tell the locally
running name server that it should resolve local DNS queries feels
outright nuts. I agree that the current state is unsatisfactory and that
it should be improved, but this is not the right way.
2017-09-23 16:36:05 +02:00
aszlig
f7411b81ed nixos/dovecot: Fix createMailUser implementation
This option got introduced in 7904499542
and it didn't check whether mailUser and mailGroup are null, which they
are by default.

Now we're only creating the user if createMailUser is set in conjunction
with mailUser and the group if mailGroup is set as well.

I've added a NixOS VM test so that we can verify whether dovecot works
without any additional options set, so it serves as a regression test
for issue #29466 and other issues that might come up with future changes
to the Dovecot service.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Fixes: #29466
Cc: @qknight, @abbradar, @ixmatus, @siddharthist, @peti
(cherry picked from commit 3ba2095a42)
2017-09-23 15:00:33 +02:00
Jörg Thalheim
3b2e3dfef3 traefik: link against libc, set build version/codename
this way gethostbyname() works as indented

(cherry picked from commit ad2004afd3)
2017-09-23 14:06:31 +02:00
Hamish Hutchings
c0f4005e4a Change to using source files to build traefik
(cherry picked from commit 0cc4cb96bb)
2017-09-23 14:06:25 +02:00
Hamish Hutchings
ea18f35e76 Traefik init at 1.3.8
(cherry picked from commit e0b81b9c3c)
2017-09-23 14:06:17 +02:00
Antoine Eiche
d41f20e9cc dockerTools.buildImage: Switch to the format image generated by Skopeo
We were using 'Combined Image JSON + Filesystem Changeset Format' [1] to
unpack and pack image and this patch switches to the format used by the registry.

We used the 'repository' file which is not generated by Skopeo when it
pulls an image. Moreover, all information of this file are also in the
manifest.json file.
We then use the manifest.json file instead of 'repository' file. Note
also the manifest.json file is required to push an image with Skopeo.

Fix #29636

[1] 749d90e10f/image/spec/v1.1.md (combined-image-json--filesystem-changeset-format)

(cherry picked from commit 35f205a4b6)
2017-09-23 14:00:32 +02:00
Michael Raskin
5cf35d7ae4 singular: use gcc5
Progress on: #28643
Fixes: #29682

(cherry picked from commit f7d7c7bedf)
2017-09-23 14:00:25 +02:00
Frederik Rietdijk
d5cc00eca4 python.pkgs: alias dateutil to python-dateutil
(cherry picked from commit 5e916914ef)
2017-09-23 13:58:44 +02:00
Andreas Rammhold
7dda5471d7 ferm: 2.3.1 -> 2.4.1
(cherry picked from commit e9a56e798a)
2017-09-23 13:31:06 +02:00
Joachim Fasting
8dd308c031 nixos/lock-kernel-modules: fix deferred fileSystem mounts
Ensure that modules required by all declared fileSystems are explicitly
loaded.  A little ugly but fixes the deferred mount test.

See also https://github.com/NixOS/nixpkgs/issues/29019

(cherry picked from commit 1df6cf5d1d)
2017-09-23 13:30:18 +02:00
Joachim Fasting
cf4e7c0181 nixos/hardened test: add failing test-case for deferred mounts
(cherry picked from commit bccaf63067)
2017-09-23 13:29:47 +02:00
Joachim Fasting
ce59db3423 nixos/hardened: simplify script
(cherry picked from commit 15a4f9d8ef)
2017-09-23 13:29:35 +02:00
Joachim Fasting
6a17d11ff7 snapper: 0.3.3 -> 0.5.0
(cherry picked from commit 6bf56656f0)
2017-09-23 13:29:17 +02:00
Joachim Fasting
a8120e1828 tor: enable parallel building
(cherry picked from commit fd3a9e6468)
2017-09-23 13:27:42 +02:00
Kranium Gikos Mendoza
06caa2ac3a trackballs: 1.1.4 (broken) -> 1.2.3
(cherry picked from commit 92ec5cddbc)
2017-09-23 13:25:55 +02:00
Kranium Gikos Mendoza
99d7dcdf61 giv: 20150811-git (broken) -> 0.9.26
(cherry picked from commit 5da75526f7)
2017-09-23 13:22:17 +02:00
mimadrid
8d4cb4e214 calc: 2.12.6.1 -> 2.12.6.3
(cherry picked from commit 676db57c37)
2017-09-23 09:10:01 +02:00
Daiderd Jordan
980cbaea1e lmdb: fix library id on darwin
(cherry picked from commit 84bd2f4ab0)
2017-09-22 23:35:28 +02:00
Daiderd Jordan
90a034b67c textql: fix darwin build
(cherry picked from commit 1acf6716aa)
2017-09-22 21:26:19 +02:00
Tuomas Tynkkynen
83b72a90c5 darwin: Disable yet another bunch of packages never having built successfully
cjdns: https://hydra.nixos.org/build/61134279
jonprl: https://hydra.nixos.org/build/61123711
mate.libmatemixer: https://hydra.nixos.org/build/61126968
dirac: https://hydra.nixos.org/build/61132432
idnkit: https://hydra.nixos.org/build/61123544
trousers: https://hydra.nixos.org/build/61109766
packetdrill: https://hydra.nixos.org/build/61116190
osm2pgsql: https://hydra.nixos.org/build/61118017
nawk: https://hydra.nixos.org/build/61139000

(cherry picked from commit 4acb425c39)
2017-09-22 21:20:08 +03:00
Daiderd Jordan
a8214f6e33 tw-rs: fix darwin build
(cherry picked from commit 8a0d857aa9)
2017-09-22 19:46:02 +02:00
Tuomas Tynkkynen
71f5290b4a hdf5: Re-enable on darwin
Oops, ab71280823 intended to only disable hdf5-fortran but also
disabled the others that are fine.

(cherry picked from commit a7440aa7c6)
2017-09-22 19:59:02 +03:00
Tuomas Tynkkynen
733336153d darwin: Disable another bunch of packages never having built successfully
tecoc: https://hydra.nixos.org/build/61141995
shallot: https://hydra.nixos.org/build/61145497
plink-ng: https://hydra.nixos.org/build/61130149
tshark: https://hydra.nixos.org/build/61479600
(cherry picked from commit 4b4bfbf3e5)
2017-09-22 19:59:01 +03:00
Pavel Goran
5b1d686a22 nixos/gitolite: customize .gitolite.rc declaratively
Add the `extraGitoliteRc` option to customize the `.gitolite.rc`
configuration file declaratively.

Resolves #29249.

(cherry picked from commit c73a3813fa)
2017-09-22 18:30:22 +02:00
Michael Weiss
b8919e7ba0 sshfs-fuse: Fix the build on i686-linux
The last upgrade (137142a72c) broke the
build on i686. Thanks @globin for noticing this.

(cherry picked from commit 6f02c3bf77)
2017-09-22 17:23:44 +02:00
Tuomas Tynkkynen
f5d5180562 darwin: Disable some packages that have never built successfully
mate.mate-desktop: https://hydra.nixos.org/build/61110037
gdmap: https://hydra.nixos.org/build/61144743
redsocks: https://hydra.nixos.org/build/61123106
resolv_wrapper: https://hydra.nixos.org/build/61121132
ogmtools: https://hydra.nixos.org/build/61108726
mp3info: https://hydra.nixos.org/build/61139015
lxappearance-gtk3: https://hydra.nixos.org/build/61126327
hdf5-fortran: https://hydra.nixos.org/build/61146631
pqiv: https://hydra.nixos.org/build/61124724

(cherry picked from commit ab71280823)
2017-09-22 17:27:49 +03:00
Michael Weiss
d108cafd0e pythonPackages.raven: 6.1.0 -> 6.2.0
(cherry picked from commit 8758a4dde2)
2017-09-22 16:03:47 +02:00
Joerg Thalheim
18822c3263 jetbrains.datagrip: 2017.1.5 -> 2017.2.2
(cherry picked from commit e4a859a95d)
2017-09-22 16:03:36 +02:00
Lancelot SIX
b05b750eb3 qtcreator: 4.3.1 -> 4.4.0
See http://blog.qt.io/blog/2017/09/05/qt-creator-4-4-0-released/ for
release information

(cherry picked from commit bd170e778b)
2017-09-22 16:02:58 +02:00
Joerg Thalheim
2007c5171b neomutt: fix missing libidn
(cherry picked from commit a2444a2831)
2017-09-22 16:02:14 +02:00
Brandon Barker
56d062ea3a jetbrains: update.pl fixes
* indentation, retab
  * url handling for alternative version names
  * handling for alt. download url format
  * made unknown channel error non-fatal

(cherry picked from commit 14f2e0cd36)
2017-09-22 16:02:07 +02:00
André-Patrick Bubel
f9efede475 nixos/fileystems: Fix boot fails with encrypted fs
Boot fails when a keyfile is configured for all encrypted filesystems
and no other luks devices are configured. This is because luks support is only
enabled in the initrd, when boot.initrd.luks.devices has entries. When a
fileystem has a keyfile configured though, it is setup by a custom
command, not by boot.initrd.luks.

This commit adds an internal config flag to enable luks support in the
initrd file, even if there are no luks devices configured.

(cherry picked from commit 2000fba561)
2017-09-22 16:01:53 +02:00
Mathias Schreck
1fdd60ff08 nodejs: 8.4.0 -> 8.5.0
(cherry picked from commit 9d2a2dc43e)
2017-09-22 16:01:19 +02:00
Mathias Schreck
4abcec18f9 libuv: 1.13.1 -> 1.14.1
(cherry picked from commit f4b207438d)
2017-09-22 16:01:12 +02:00
John M. Harris, Jr
5d20f56ca5 pim-data-exporter: init at 17.08.1
* Add pim-data-exporter

* pim-data-exporter: fix indentation

(cherry picked from commit b2924389ac)
2017-09-22 16:00:57 +02:00
Edward Tjörnhammar
f7182dc53d jetbrains.clion: set CL_JDK
(cherry picked from commit 4e12dbb092)
2017-09-22 16:00:06 +02:00
Russell O'Connor
8694cec1be bitcoin: 0.15.0 -> 0.15.0.1
(cherry picked from commit 6075d4ad07)
2017-09-22 15:59:58 +02:00
Cray Elliott
19a0166eb8 wineUnstable: 2.16 -> 2.17
per usual, staging has been updated as well!

(cherry picked from commit 5522cd5cb1)
2017-09-22 15:59:28 +02:00
Vincent Laporte
6aa5fbed97 abella: fix build with OCaml ≥ 4.03
(cherry picked from commit 3b7c68615e)
2017-09-22 15:59:15 +02:00
Ruben Maher
4070c95d3c nfs-utils: set /etc/krb5.keytab as default path for rpc-gssd
Currently the `rpc-gssd.service` has a `ConditionPathExists` clause that can
never be met, because it's looking for stateful data inside `/nix/store`.

`auth-rpcgss-module.service` also only starts if this file exists.

Fixes NixOS/nixpkgs#29509.

(cherry picked from commit 98a2316166)
2017-09-22 15:59:06 +02:00
Thomas Mader
d59fd99b90 dmd: Disable check phase because some tests are not working if build has
sandboxing enabled

(cherry picked from commit 4535008a4c)
2017-09-22 15:57:50 +02:00
Thomas Mader
6fd611c5ba dmd: Fix bootstrap dmd to build with sandboxing of nixUnstable
(cherry picked from commit 8fa1b39279)
2017-09-22 15:57:39 +02:00
Ben Darwin
f36c13564f ants: bump version and fix sandboxed build
(cherry picked from commit c7bbe471b0)
2017-09-22 15:57:21 +02:00
Jörg Thalheim
4d86845c68 assh: add openssh to PATH
(cherry picked from commit 81569ecd72)
2017-09-22 15:56:56 +02:00
Diego Zamboni
631bed3947 assh: init at 2.6.0
Powerful wrapper around ssh.

(cherry picked from commit 334dfc3086)
2017-09-22 15:56:47 +02:00
Michael Weiss
c1c0717f81 sshfs-fuse: 2.10 -> 3.2.0
(cherry picked from commit 137142a72c)
2017-09-22 15:55:09 +02:00
Michael Weiss
586db45da0 fuse3: init at 3.1.1
This includes fuse-common (fusePackages.fuse_3.common) as recommended by
upstream. But while fuse(2) and fuse3 would normally depend on
fuse-common we can't do that in nixpkgs while fuse-common is just
another output from the fuse3 multiple-output derivation (i.e. this
would result in a circular dependency). To avoid building fuse3 twice I
decided it would be best to copy the shared files (i.e. the ones
provided by fuse(2) and fuse3) from fuse-common to fuse (version 2) and
avoid collision warnings by defining priorities. Now it should be
possible to install an arbitrary combination of "fuse", "fuse3", and
"fuse-common" without getting any collision warnings. The end result
should be the same and all changes should be backwards compatible
(assuming that mount.fuse from fuse3 is backwards compatible as stated
by upstream [0] - if not this might break some /etc/fstab definitions
but that should be very unlikely).

My tests with sshfs (version 2 and 3) didn't show any problems.

See #28409 for some additional information.

[0]: https://github.com/libfuse/libfuse/releases/tag/fuse-3.0.0

(cherry picked from commit 351f5fc585)
2017-09-22 15:54:59 +02:00
Joachim Fasting
47d2582533 hydra: 2017-07-27 -> 2017-09-14
Builds against recent nixUnstable

(cherry picked from commit 3e96cee147)
2017-09-22 15:54:23 +02:00
Pascal Bach
85ae319351 gluster service: use str instead of path for private key
This pervents the user from accidently commiting the key to the nix store.
If providing a path instead of a string.

(cherry picked from commit 8ed758696c)
2017-09-22 15:53:49 +02:00
Pascal Bach
5f996d59d9 glusterfs service: add support for TLS communication
TLS settings are implemented as submodule.

(cherry picked from commit c68118ce65)
2017-09-22 15:53:35 +02:00
Pascal Bach
2f3e3c6348 riot-web: 0.12.3 -> 0.12.5
(cherry picked from commit 50f12373af)
2017-09-22 15:53:15 +02:00
José Romildo Malaquias
f1e01bc2b2 google-drive-ocamlfuse: 0.6.17 -> 0.6.21
(cherry picked from commit 2bbef7658a)
2017-09-22 15:52:16 +02:00
dywedir
be0f44bd1a tokei: 6.0.1 -> 6.1.2
(cherry picked from commit 69379fcf10)
2017-09-22 15:52:05 +02:00
Théo Zimmermann
16254ddb63 compcert: fix license
The license of CompCert is not a generic "INRIA" license. It is "INRIA Non-Commercial
Agreement for the CompCert verified compiler". As unfortunate as it may seem, this
is a non-free license (clearly mentioned as such in its preamble). See also #20256.

(cherry picked from commit 8fde5790b4)
2017-09-22 15:48:24 +02:00
Théo Zimmermann
a955480320 compcert: 3.0.1 -> 3.1
Note that the fix of the VERSION file can likely be removed at the next update.

(cherry picked from commit 3370615a7f)
2017-09-22 15:48:11 +02:00
Robert Helgesson
7972f6c59a perl-Scope-Upper: 0.24 -> 0.29
(cherry picked from commit 41cca299ef)
2017-09-22 15:46:13 +02:00
Robert Helgesson
bdda999ce8 perl-File-Slurper: 0.009 -> 0.010
(cherry picked from commit 2dae9980cc)
2017-09-22 15:46:04 +02:00
Robert Helgesson
9264d3d413 svtplay-dl: 1.9.4 -> 1.9.6
(cherry picked from commit 25a2b4b3ec)
2017-09-22 15:45:58 +02:00
Edward Tjörnhammar
d699866fd2 jetbrains.jdk: style fixes, platform restriction
(cherry picked from commit 85cd648778)
2017-09-22 15:45:34 +02:00
Aleksey Kladov
c94a1f6a18 jetbrains.jdk: init at 152b970.2
(cherry picked from commit 53337c0fc8)
2017-09-22 15:45:11 +02:00
Andreas Rammhold
1df3a94254 jetbrains.webstorm: 2017.2.2 -> 2017.2.4
(cherry picked from commit ac9353b815)
2017-09-22 15:45:01 +02:00
Andreas Rammhold
5ab5ba8684 jetbrains.rider: 171.4456.1432 -> 2017.1.1
(cherry picked from commit 4948b09524)
2017-09-22 15:44:49 +02:00
Andreas Rammhold
b72287dd40 jetbrains.pycharm-professional: 2017.2.2 -> 2017.2.3
(cherry picked from commit eb363ff3dc)
2017-09-22 15:44:41 +02:00
Andreas Rammhold
5bf43ab50e jetbrains.pycharm-community: 2017.2.2 -> 2017.2.3
(cherry picked from commit 0d6b50f2eb)
2017-09-22 15:44:33 +02:00
Andreas Rammhold
491227305e jetbrains.phpstorm: 2017.2.1 -> 2017.2.2
(cherry picked from commit 5f9a4cb163)
2017-09-22 15:44:25 +02:00
Andreas Rammhold
af9fef4777 jetbrains.idea-ultimate: 2017.2.2 -> 2017.2.4
(cherry picked from commit 74d7542892)
2017-09-22 15:44:15 +02:00
Andreas Rammhold
7ed7f686a7 jetbrains.idea-community: 2017.2.2 -> 2017.2.4
(cherry picked from commit d6663a559c)
2017-09-22 15:44:09 +02:00
Andreas Rammhold
1466d9f375 jetbrains.gogland: 172.3757.46 -> 172.3968.45
(cherry picked from commit 5b3dad3b1c)
2017-09-22 15:44:00 +02:00
Andreas Rammhold
8cfa0f8a3c jetbrains.clion: 2017.2.1 -> 2017.2.2
(cherry picked from commit 42e13a85ed)
2017-09-22 15:43:52 +02:00
Neil Mayhew
f7ca2a5d47 spideroak: fix crash due to zlib version mismatch
Fixes #23960

(cherry picked from commit 4d7dd8169c)
2017-09-22 15:43:44 +02:00
Jörg Thalheim
b9e95f5c43 khal: use fetchPypi
(cherry picked from commit d5b46fdd80)
2017-09-22 15:43:33 +02:00
Matthias Beyer
e85ec8617b khal: 0.9.5 -> 0.9.7
(cherry picked from commit d697403303)
2017-09-22 15:43:22 +02:00
Diego Zamboni
50fd6b73f3 elvish: 0.9 -> 0.10; fix darwin build (#29587)
* First attempt at making elvish compile on darwin

* Fixed cyclic dependency on darwin

This fixes the "cycle detected in the references of" error when building
on darwin. The fix is based on the solution in issue #18131.

* Use version 0.10 and not 0.10.1, which is not officially released yet

(cherry picked from commit 8b8a2fd542)
2017-09-22 15:42:44 +02:00
José Romildo Malaquias
41fdc7aa34 ocamlfuse: 2.7-3 -> 2.7.1_cvs5 (#29606)
(cherry picked from commit 595d92eb7a)
2017-09-22 15:42:23 +02:00
Linus Heckemann
d5549f722d oil: 0.0.0 -> 0.1.0
(cherry picked from commit 6988537835)
2017-09-22 15:41:55 +02:00
Robert Schütz
92fc55b281 texworks: init at 0.6.2
(cherry picked from commit 50d52ac8a8)
2017-09-22 15:41:28 +02:00
Andreas Rammhold
b1f0ae87c0 afew: git-2017-02-8 -> 1.2.0
(cherry picked from commit 559d8d4c3a)
2017-09-22 15:25:45 +02:00
Jörg Thalheim
4ec394bf1b nifticlib: use mirror for sourceforge
(cherry picked from commit aab8f8df4b)
2017-09-22 15:25:27 +02:00
Ben Darwin
31614f59f2 nifticlib: init at 2.0.0
(cherry picked from commit 0d981c5761)
2017-09-22 15:25:19 +02:00
Nick Novitski
6e4da2a7e1 gemconfig: add curb
(cherry picked from commit 5ddfcc774c)
2017-09-22 15:24:15 +02:00
Robert Schütz
828dcf805a pythonPackages.py3status: add file as a dependency
(cherry picked from commit d58a88277d)
2017-09-22 15:22:39 +02:00
Raphael Das Gupta
47bc25a916 xonsh: fix typo ("xnosh") in "enable" description
(cherry picked from commit 42d6e933d6)
2017-09-22 15:22:29 +02:00
Bas van Dijk
9858d7ee80 elk: 5.5.2 -> 5.6.1
Release notes:

* https://www.elastic.co/guide/en/elasticsearch/reference/5.6/release-notes-5.6.1.html
* https://www.elastic.co/guide/en/logstash/5.6/logstash-5-6-1.html
* https://www.elastic.co/guide/en/kibana/current/release-notes-5.6.1.html

(cherry picked from commit ea8e7ed1e3)
2017-09-22 15:22:19 +02:00
José Romildo Malaquias
6c08148ec2 tint2: 0.14.6 -> 15.1
(cherry picked from commit ee88bd3424)
2017-09-22 15:21:28 +02:00
José Romildo Malaquias
739a070db0 numix-icon-theme: 2017-01-25 -> 2017-09-17
(cherry picked from commit b9907fc6fe)
2017-09-22 15:21:17 +02:00
José Romildo Malaquias
6d263a3658 numix-icon-theme-circle: 2016-11-10 -> 17-09-13
(cherry picked from commit c40b6862f2)
2017-09-22 15:21:11 +02:00
José Romildo Malaquias
7d1ffbaf2f numix-icon-theme-square: 2016-11-23 -> 17-09-13
(cherry picked from commit 79941a3bf4)
2017-09-22 15:21:05 +02:00
José Romildo Malaquias
5ee4a2044f flat-plat: 20170605 -> 20170917
(cherry picked from commit f89ba64f00)
2017-09-22 15:20:55 +02:00
Samuel Leathers
b331778066 mqtt-bench: init at 0.3.0
(cherry picked from commit f8ad84ad23)
2017-09-22 15:19:56 +02:00
Michael Weiss
638abc6b49 gengetopt: Fix the build
Thanks @orivej for providing this fix.

Fix #28255 (the build was broken since
2bc7b4e134).

(cherry picked from commit 9182927998)
2017-09-22 15:17:44 +02:00
Tuomas Tynkkynen
5b8be60bee esptool: Fix tests in sandbox
It actually requires flake8-future-import but manages to download it
from the Internet when run outside the sandbox.

(cherry picked from commit 2c2cd34b54)
2017-09-22 15:11:39 +02:00
Tuomas Tynkkynen
4acbf1ed2b pythonPackages.flake8-future-import: Init at 0.4.3
(cherry picked from commit ecebb6090a)
2017-09-22 15:11:07 +02:00
Peter Hoeg
b347e5951b calibre: 3.5.0 -> 3.7.0
(cherry picked from commit 55c58c0826)
2017-09-22 15:09:31 +02:00
Jörg Thalheim
4eff61a87b valauncher: 1.2 -> 1.3.1
(cherry picked from commit e3141bc1b1)
2017-09-22 15:08:33 +02:00
Jörg Thalheim
0d5f45340a nvim-cm-racer: init at 2017-07-27
(cherry picked from commit 2ebfdf972f)
2017-09-22 15:07:57 +02:00
Jörg Thalheim
7d4b13f1fa vimPlugins.LanguageClient-neovim: init at 2017-09-05
(cherry picked from commit 276d234659)
2017-09-22 15:07:50 +02:00
Jean-Francois Roche
68d7d26616 openfortivpn: 1.2.0 -> 1.5.0
fixes #29578

(cherry picked from commit 0b39118494)
2017-09-22 15:07:23 +02:00
Lancelot SIX
a654fa6af9 gnupg: 2.2.0 -> 2.2.1
See http://lists.gnu.org/archive/html/info-gnu/2017-09/msg00010.html
for release information

(cherry picked from commit 4935d5f376)
2017-09-22 15:07:07 +02:00
John Ericson
dfff946215 vim: Properly categorize pkgconfig dependency
(cherry picked from commit 100db4fa3b)
2017-09-22 15:06:18 +02:00
Jörg Thalheim
2dd2baaf97 libwebsockets: revert making libuv a propagated build input
it is possible to use libwebsockets without libuv

cc @volth

(cherry picked from commit c1de354a3d)
2017-09-22 15:05:52 +02:00
Bas van Dijk
5eadc1fe7a journalbeat: 5.5.0 -> 5.6.0
(cherry picked from commit 8d07b99b96)
2017-09-22 15:05:31 +02:00
Ruben Maher
a34dc6cd1c flow: 0.54.0 -> 0.55.0
(cherry picked from commit 1787043323)
2017-09-22 15:05:25 +02:00
Peter Hoeg
eef72844de syncthing: 0.14.37 -> 0.14.38
(cherry picked from commit f170dbe16f)
2017-09-22 15:05:18 +02:00
Frank Doepper
8c853bbf67 circumvent hdaps name clash
(cherry picked from commit 28dd1158ff)
2017-09-22 15:05:10 +02:00
Frank Doepper
6f6602b93d tp_smapi with hdaps
(cherry picked from commit a3e806ef0f)
2017-09-22 15:04:58 +02:00
Samuel Leathers
91aa0f43f5 lenmus: removing custom cmakeFlags
(cherry picked from commit 2c2252247c)
2017-09-22 15:03:20 +02:00
Thomas Tuegel
c57bf23a76 alacritty: respect pre- and post-hooks of overridden phases
Failing to `runHook` when overriding phases can have unpredictable results.

fixes #29572

(cherry picked from commit 6e01011211)
2017-09-22 15:03:06 +02:00
Thomas Tuegel
63c5978fae alacritty: install desktop icon
(cherry picked from commit a50d0b719f)
2017-09-22 15:02:53 +02:00
Joerg Thalheim
053d9a4dab topydo: use throw instead of trace to not break evaluation
(cherry picked from commit f2aecac5c7)
2017-09-22 10:56:21 +01:00
Joerg Thalheim
ae26449964 topydo: really move out of python-packages
(cherry picked from commit 446f9c96f5)
2017-09-22 10:56:21 +01:00
Samuel Leathers
1c8872bfeb topydo: 0.9 -> 0.13
(cherry picked from commit be530263bc)
2017-09-22 10:56:21 +01:00
Vladimír Čunát
beacbecfd7 knot-resolver: 1.3.3 -> 1.4.0
Also drop rarely used dependencies, by default,
and utilize root server addresses from nixpkgs.

(cherry picked from commit fd56648a04)
2017-09-22 11:31:12 +02:00
timor
ee06b11141 ParaView: 4.0.1 -> 5.4.0
(cherry picked from commit 274333e222)
2017-09-22 08:32:28 +01:00
Florian Jacob
e6ca475e24 piwik: 3.1.0 -> 3.1.1
(cherry picked from commit 6aea372e28)
2017-09-21 23:54:04 +01:00
Daiderd Jordan
e53621734e transfig: cleanup and fix darwin clang
(cherry picked from commit 570c0b3a72)
2017-09-22 00:26:05 +02:00
Daiderd Jordan
c2affb9c90 vapoursynth: fix darwin build
(cherry picked from commit 62f8e255a4)
2017-09-21 22:33:15 +02:00
Pascal Bach
0269045390 node-exporter service: fix documentation for enabledCollectors
(cherry picked from commit a217d73381)
2017-09-21 21:04:57 +01:00
Daiderd Jordan
6c34d1dc26 vmmlib: fix darwin frameworks
(cherry picked from commit 7c30c83b7b)
2017-09-21 21:52:33 +02:00
Daiderd Jordan
1f60b1e18b erlang: remove erlangR16 and all versioned variants from all-packages
(re-applies commit 0fafa0d7d7)
2017-09-21 21:34:53 +02:00
Daiderd Jordan
af8d8bf049 vsqlite: fix darwin build
(cherry picked from commit bafb9c4d50)
2017-09-21 21:34:52 +02:00
Vladimír Čunát
1c6357cc0f Merge #29612: unbound: 1.6.5 -> 1.6.6
(cherry picked from commit e15123092c)
2017-09-21 21:14:18 +02:00
Thomas Tuegel
db0b50da2a hplip: fix Python wrappers
We cannot rely on wrapPythonPrograms to wrap the installed executables because
they are symlinks (which it ignores). Instead, we have to emulate it to make
the wrappers ourselves.

(cherry picked from commit 1e2ebee42a)
2017-09-21 13:59:35 -05:00
Thomas Tuegel
ae580c8dbf hplip: install PPDs where CUPS will find them
(cherry picked from commit 5ab37fb913)
2017-09-21 13:59:28 -05:00
Daiderd Jordan
fce9c33905 zroc-ice: cleanup and fix darwin build
(cherry picked from commit 1ae204d2fa)
2017-09-21 20:49:43 +02:00
Tim Steinbach
79cc48735a linux-copperhead: 4.13.2.a -> 4.13.3.a
(cherry picked from commit 28071e9d9c4f6f1bbc7818e6b46a76ec3b8002a6)
2017-09-21 14:38:00 -04:00
Jörg Thalheim
0c59c5f406 Merge pull request #29420 from roberth/release-17.09-arelle
arelle: enable only on python 3.4 (merge as necessary)
2017-09-21 19:32:37 +01:00
Robin Gloster
0ca5090fd8 gitlab: 9.5.2 -> 9.5.5
(cherry picked from commit e2822f6384)
2017-09-21 20:26:59 +02:00
rnhmjoj
1a3072133a vapoursynth-mvtools: 17 -> 19
(cherry picked from commit a7eb2e01bc)
2017-09-21 16:23:37 +01:00
rnhmjoj
80fea39662 vapoursynth: R36 -> R38
(cherry picked from commit 3f9661588b)
2017-09-21 16:23:37 +01:00
Shea Levy
4a5c1a3fe6 openldap: Use a global localstatedir
(cherry picked from commit c3b41a77e6)
2017-09-21 08:18:54 -06:00
Théophane Hufschmitt
6052d2b6cc pythonPackages.pafy: 0.5.2 -> 0.5.3.1 (#29588)
* pythonPackages.pafy: 0.5.2 -> 0.5.3.1

* pythonPackages.pafy: move to its own file

* pythonPackages.pafy: fetchurl -> fetchPypi

(cherry picked from commit e76c2c1496)
2017-09-21 12:46:32 +01:00
Thomas Tuegel
811f15305a dropbox: 34.4.22 -> 35.4.20
(cherry picked from commit b0deb1ed48)
2017-09-21 06:12:47 -05:00
Vaibhav Sagar
3f44159ae1 nginxModules.echo: 0.57 -> 0.61
This fixes #29555.

(cherry picked from commit dea2affe6c)
2017-09-21 12:03:13 +01:00
Linus Heckemann
4a17dea467 impressive: fixes and improvements
- Fix finding SDL (would previously fail unless gcc was in environment)
- Use ghostscript rather than xpdf for rendering as it has a slightly
  smaller closure
- Fix broken link for reasoning behind name change
- Add self to maintainers
- Add reference to DejaVu fonts so it can always find the OSD fonts
- Install manpage into correct location

(cherry picked from commit 05101d32c0)
2017-09-21 08:53:50 +01:00
Peter Hoeg
34efc5b056 kmscon: reset ExecStart to allow override
The getty@.service unit already has an ExecStart so we cannot simply set a new
one in order to override it or we will get this error:

systemd[1]: getty@tty1.service: Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing.

Instead "reset" ExecStart by setting it to empty which is the systemd way of
doing it.

(cherry picked from commit 6558f81bc9)
2017-09-21 10:03:18 +08:00
aszlig
5f5eb7f0d8 nixos/tests/virtualbox: Fix netcat invocation
This is a backwards-incompatibility in netcat-openbsd introduced due to
bumping the netcat version to 1.130 in
a72ba661ac.

Version 1.130 no longer exits on EOF but now needs to be passed the -N
flag in order to exit on EOF.

The upstream change reads[1] like this:

  Don't shutdown nc(1)'s network socket when stdin closes. Matches
  *Hobbit*'s original netcat and GNU netcat; revert to old behaviour
  with the new -N flag if needed. After much discussion with otto
  deraadt tedu and Martin Pelikan.  ok deraadt@

Here is the diff of this change:

http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/nc/netcat.c.diff?r1=1.110&r2=1.111&f=h

[1]: http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/nc/netcat.c?rev=1.111&content-type=text/x-cvsweb-markup

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
(cherry picked from commit a75265924f)
2017-09-21 03:50:20 +02:00
Samuel Leathers
00ca2b3a6c jfbview: 0.5.3 -> 0.5.4
(cherry picked from commit 2fdb8f9b8f)
2017-09-21 00:52:24 +02:00
Franz Pletz
883ea76934 unifi: 5.5.20 -> 5.6.16
(cherry picked from commit 94a5de61af)
2017-09-20 23:53:09 +02:00
Simon Lackerbauer
a4754a575f atlassian-jira: 7.4.1 -> 7.5.0
(cherry picked from commit 27ed570445)
2017-09-20 23:53:09 +02:00
Simon Lackerbauer
7d0fe7b86e atlassian-confluence: 6.3.1 -> 6.4.0
(cherry picked from commit c95e158143)
2017-09-20 23:53:09 +02:00
Robin Gloster
0fccf291f2 gitlab module: fix shell hook path
(cherry picked from commit 370ac6275e)
2017-09-20 23:53:08 +02:00
Tim Steinbach
ec43a30698 sbt: 1.0.1 -> 1.0.2
(cherry picked from commit e200cfbae1)
2017-09-20 09:42:23 -04:00
Tim Steinbach
31f048e624 vscode: 1.16.0 -> 1.16.1
(cherry picked from commit 605dba0ac9)
2017-09-20 08:41:58 -04:00
Tim Steinbach
0859004342 linux: 4.13.2 -> 4.13.3
(cherry picked from commit eab480ac3d)
2017-09-20 08:37:39 -04:00
Tim Steinbach
93862afe6b linux: 4.12.13 -> 4.12.14
(cherry picked from commit 726765404b)
2017-09-20 08:37:38 -04:00
Tim Steinbach
1eb54ed156 linux: 4.9.50 -> 4.9.51
(cherry picked from commit 7cfa6895e8)
2017-09-20 08:37:38 -04:00
Peter Hoeg
1d7ba9f7d6 mtr nixos module: wrap the proper binary
(cherry picked from commit 4b78d44ab6)
2017-09-20 20:15:44 +08:00
Rob Vermaas
eb873f6c78 Make sure dummy kernel module is loaded for hologram-agent. 2017-09-20 10:57:54 +00:00
Gauthier POGAM--LE MONTAGNER
a695feff16 jetbrains.phpstorm10: remove
(cherry picked from commit bca1c64f4afcbdb208d345ff8c322699aa4bcb38)
2017-09-20 10:48:00 +02:00
Gauthier POGAM--LE MONTAGNER
f276d4fdb5 jetbrains.idea{14,15}-{community,ultimate}: remove
(cherry picked from commit d132887ef30fcd371b0a3ee9a94c124d6ca087d5)
2017-09-20 10:48:00 +02:00
Gauthier POGAM--LE MONTAGNER
27bcf11646 jetbrains.webstorm{10,11}: remove
(cherry picked from commit 3287c23f8edb21ef35d6015f86131096eb5b6c4b)
2017-09-20 10:48:00 +02:00
Gauthier POGAM--LE MONTAGNER
9443496c8e jetbrains.ruby-mine{7,8}: remove
(cherry picked from commit 1487a344bc1de108cd933fa57862552535530b18)
2017-09-20 10:47:59 +02:00
Franz Pletz
f837532664 p11_kit: don't build documentation
This depends ultimately on texlive which is a big build and depends on
lots of libraries which often get security updates. This triggers
mass rebuilds because systemd depends on gnutls which depends on
p11_kit.

This was introduced with 93d80f1951.

(cherry picked from commit 0a2c39e205)
2017-09-19 22:30:37 +02:00
Benjamin Staffin
609290bd94 slack: 2.7.1 -> 2.8.0 (#29339)
(cherry picked from commit 7e6011083d)
2017-09-19 22:30:37 +02:00
Vincent Demeester
aed3fe9676 runc: 1.0.0-rc3 -> 1.0.0-rc4
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit 19ba982b40)
2017-09-19 22:30:37 +02:00
dywedir
8e0e4d8343 fd: 3.0.0 -> 3.1.0
(cherry picked from commit 72129c2cb4)
2017-09-19 22:30:37 +02:00
John Mercier
2c75bfedae obnam: 1.21 -> 1.22
(cherry picked from commit 90e572f40a)
2017-09-19 22:30:37 +02:00
Edward Tjörnhammar
1564b3284e jetbrains: update.pl, make sure hashes are in base32
(cherry picked from commit add7faf539)
2017-09-19 22:30:37 +02:00
Tuomas Tynkkynen
09bf503231 qt4: Add aarch64 patch
(cherry picked from commit bc850cfed5)
2017-09-19 22:30:36 +02:00
Matthieu Coudron
e27e62b9d1 tshark: init at 2.4.0
as an alias to wireshark-cli

(cherry picked from commit bfd6d20c3e)
2017-09-19 22:30:36 +02:00
zimbatm
f8d73885c3 fixes missing attributes
(cherry picked from commit 3920a44628)
2017-09-19 22:30:36 +02:00
timor
4716b5b442 perl-Term-Animation: init at 2.6
(cherry picked from commit ccfce4b958)
2017-09-19 22:30:36 +02:00
Samuel Leathers
dd83590578 pydub 0.16.7 -> 0.20.0
(cherry picked from commit bef916338d)
2017-09-19 22:30:36 +02:00
rybern
6245eb0ab5 pythonPackages.pomegranate: init at 0.7.7 (#29338)
(cherry picked from commit 1d0c8f8687)
2017-09-19 22:30:36 +02:00
Samuel Leathers
652985b233 eve: 0.6.1 -> 0.7.4
(cherry picked from commit 6d367ba9f3)
2017-09-19 22:30:35 +02:00
Samuel Leathers
7569c375e1 pymongo: 3.0.3 -> 3.5.1
(cherry picked from commit 756cd8a6c4)
2017-09-19 22:30:35 +02:00
Ryan Mulligan
9e36b98c9c matterbridge: fix src hash
I used the wrong source hash because of some kind of metadata problem.
See https://github.com/NixOS/nixpkgs/pull/28892#issuecomment-330344570
for details.

(cherry picked from commit 20f949376f)
2017-09-19 22:30:35 +02:00
Samuel Leathers
69a76a3277 dyn: 1.5.0 -> 1.6.3
(cherry picked from commit 96bd8daebc)
2017-09-19 22:30:35 +02:00
Robert Schütz
1476291405 esptool: 1.3 -> 2.1
(cherry picked from commit 7f89abd820)
2017-09-19 22:30:35 +02:00
Samuel Leathers
58405c1332 awesome-slugify: fixes tests
(cherry picked from commit 7fa2c54a60)
2017-09-19 22:30:35 +02:00
Samuel Leathers
88c71be748 logilab_common: 0.63.2 -> 1.4.1
(cherry picked from commit dce4276d5e)
2017-09-19 22:30:34 +02:00
Samuel Leathers
ccefc74081 logilab-constraint: move to python-modules
(cherry picked from commit 4db4f70be6)
2017-09-19 22:30:34 +02:00
Aneesh Agrawal
2c1879863e radicale: Test migration functionality
This also provides an example of how to migrate.

(cherry picked from commit 28c2cea847)
2017-09-19 22:30:34 +02:00
Aneesh Agrawal
e6d5a7828f radicale: 2.1.2 -> 2.1.6
Radicale 2.1.5 is the first to support the `--verify-storage` option.

(cherry picked from commit 61de150aa8)
2017-09-19 22:30:34 +02:00
Aneesh Agrawal
3e9f43b6f3 radicale: Add extraArgs option to assist in data migration
(cherry picked from commit fcd590d116)
2017-09-19 22:30:34 +02:00
Elis Hirwing
1dad6c1010 gocode: 20170530 -> 20170903
(cherry picked from commit 0eb1fdc50a)
2017-09-19 22:30:33 +02:00
volth
64e3f1f1d3 haxe: 3.4.2 -> 3.4.3
(cherry picked from commit 9efe27ee3b)
2017-09-19 22:30:33 +02:00
Franz Pletz
10b71b2a15 newsbeuter: fix CVE-2017-14500
(cherry picked from commit 38c14d7132)
2017-09-19 22:30:33 +02:00
Franz Pletz
09227354cc gd: 2.2.4 -> 2.2.5 for multiple CVEs
Fixes:
  * CVE-2017-6362
  * CVE-2017-7890
(cherry picked from commit 0653abc07a)
2017-09-19 22:30:33 +02:00
Franz Pletz
3347e007d8 geolite-legacy: 2017-05-26 -> 2017-09-17
(cherry picked from commit c7ed26b6a9)
2017-09-19 22:30:33 +02:00
Franz Pletz
562090ebd6 mirrorbits: init at 0.4
(cherry picked from commit ad13618c9b)
2017-09-19 22:30:33 +02:00
Franz Pletz
70882471df mercurial: 4.3.1 -> 4.3.2
(cherry picked from commit 316858466a)
2017-09-19 22:30:32 +02:00
Franz Pletz
a3f35a270a ssh service: add sftpFlags option
(cherry picked from commit dc08dcf6e7)
2017-09-19 22:30:32 +02:00
Franz Pletz
58f7a2dd41 clawsMail: 3.15.0 -> 3.15.1
(cherry picked from commit a796d692c4)
2017-09-19 22:30:32 +02:00
Franz Pletz
1deeb8b7f2 matterircd: 0.11.4 -> 0.12.0
This version is compatible with our current Mattermost.

(cherry picked from commit 05b1e514bc)
2017-09-19 22:30:32 +02:00
Franz Pletz
950d032311 bluez4: remove, unused and probably vulnerable
(cherry picked from commit 94bbe7db22)
2017-09-19 22:30:32 +02:00
Franz Pletz
c8b1784ed4 bluez: 5.43 -> 5.47 for CVE-2017-1000250
Fixes #29289.

(cherry picked from commit dadb16a57f)
2017-09-19 22:30:32 +02:00
WilliButz
17f97e8c93 grafana: 4.5.0 -> 4.5.1
(cherry picked from commit 8eb3e45f37)
2017-09-19 22:30:31 +02:00
Maximilian König
baf06fd7e6 palemoon: 27.4.1 -> 27.4.2
(cherry picked from commit 460cd80729)
2017-09-19 22:30:31 +02:00
Samuel Leathers
49c2e9dc79 mpi4py: disabling tests
(cherry picked from commit 2f9cb45bd4)
2017-09-19 22:30:31 +02:00
Bastian Köcher
05c5b3b669 teamspeak_client: Adds missing dependency
(cherry picked from commit 34b1e4c3db)
2017-09-19 22:30:31 +02:00
Robert Klotzner
00b7744d46 coturn service: Fix coturn to properly come up (#29415)
properly also in case dhcpcd being used.

Without network-online.target, coturn will fail to listen on addresses that
come up with dhcpcd.

(cherry picked from commit a9f60224f8)
2017-09-19 22:30:31 +02:00
Franz Pletz
e4e7f61d8d nixos/networking: network is online if default gw set
Previously services depending on network-online.target would wait until
dhcpcd times out if it was enabled and a static network address
configuration was used. Setting the default gateway statically is enough
for the networking to be considered online.

This also adjusts the relevant networking tests to wait for
network-online.target instead of just network.target.

(cherry picked from commit b179908414)
2017-09-19 22:30:31 +02:00
Maximilian Güntner
50b5587fe5 tests: ipfs: enable autoMount tests
(cherry picked from commit 44475cae27)
2017-09-19 22:30:30 +02:00
Eric Litak
0f2484c34f ipfs: autoMount working without root
(cherry picked from commit 1a15c5d8c6)
2017-09-19 22:30:30 +02:00
Eric Litak
a8d411e3cb ipfs: workaround for upstream bug; doc fixes
(cherry picked from commit 6324317c76)
2017-09-19 22:30:30 +02:00
Florian Jacob
ddbec38741 nixos/mysql: declarative users & databases
using Unix socket authentication, ensured on every rebuild.

(cherry picked from commit 839e3c7666)
2017-09-19 22:30:30 +02:00
Russell O'Connor
daafea2788 bitcoin: 0.14.0 -> 0.15.0
(cherry picked from commit 08824d7ae0)
2017-09-19 22:30:30 +02:00
Samuel Leathers
e90b75dd2c trollius: fix tests
(cherry picked from commit 3a33ed7c46)
2017-09-19 22:30:30 +02:00
Samuel Leathers
68e20d5871 discogs_client: 2.0.2 -> 2.2.0
(cherry picked from commit 28a9f74769)
2017-09-19 22:30:30 +02:00
Kranium Gikos
66eccc7c23 influxdb service: fixup postStart script to handle TLS
(cherry picked from commit 662b409b72)
2017-09-19 22:30:29 +02:00
Justin Humm
e2197ade16 gollum service: init
(cherry picked from commit b5a5d0ba84)
2017-09-19 22:30:29 +02:00
Samuel Leathers
1ae126fd28 marionette-harness: disable for python 3
(cherry picked from commit 700b0945b1)
2017-09-19 22:30:29 +02:00
Samuel Leathers
ca4c570dfe marionette-driver: disable for python 3
(cherry picked from commit cbea57b9c7)
2017-09-19 22:30:29 +02:00
Samuel Leathers
47a8bddcac interruptingcow: 0.6 -> 0.7
(cherry picked from commit d355b55e82)
2017-09-19 22:30:29 +02:00
Bastian Köcher
45a02ffb91 teamspeak_client: 3.1.4 -> 3.1.6
(cherry picked from commit afa8c106fb)
2017-09-19 22:30:29 +02:00
Yurii Rashkovskii
192a73c5fd awesome: specify version
By default, awesome will use "devel" as a version name
(or `git describe`). This has led to awesome always
showing "devel" for its version.

Some extensions depend on version information to figure
out what features they can use.

This change overrides the version for the build from the
derivations' `version` attribute.

(cherry picked from commit 824b30a715)
2017-09-19 22:30:28 +02:00
Kranium Gikos Mendoza
0afa3c0ddb freeswitch: fix build
(cherry picked from commit 50edaffb0c)
2017-09-19 22:30:28 +02:00
Pascal Bach
594b193c7b arangodb: 3.2.2 -> 3.2.3
(cherry picked from commit 6af8b104fd)
2017-09-19 22:30:28 +02:00
Pascal Bach
f6d4769b34 squid service: intial service based on default config
(cherry picked from commit 2ed89eddf3)
2017-09-19 22:30:28 +02:00
yesbox
071e8251db netdata: 1.5.0 -> 1.7.0
(cherry picked from commit 6b3d9144b0)
2017-09-19 22:30:28 +02:00
k0ral
0bee7f3c25 youtube-dl: 2017.08.27 -> 2017.09.15
(cherry picked from commit 579a190cfd)
2017-09-19 22:30:28 +02:00
Rodney Lorrimar
f3c517d5e0 nixos/gogs: Fix module when no passwords provided
If neither database.password or database.passwordFile were provided,
it would try and fail to coerce null to a string.

This fixes the situation where there is no password for the database.

Resolves #27950

(cherry picked from commit 6460e459de)
2017-09-19 22:30:27 +02:00
Jörg Thalheim
841b32a49e libwebsockets: fix eval
(cherry picked from commit 6d423da7cc)
2017-09-19 21:16:48 +01:00
Volth
910eb529a0 mosquitto: 1.4 -> 1.4.14
fixes #29567

(cherry picked from commit 6950da832d)
2017-09-19 20:35:23 +01:00
volth
9383721f46 libwebsockets: 1.4 -> 2.3.0
(cherry picked from commit 4916f64948)
2017-09-19 20:35:23 +01:00
Graham Christensen
97452cc795 Convert libs to a fixed-point
This does break the API of being able to import any lib file and get
its libs, however I'm not sure people did this.

I made this while exploring being able to swap out docFn with a stub
in #2305, to avoid functor performance problems. I don't know if that
is going to move forward (or if it is a problem or not,) but after
doing all this work figured I'd put it up anyway :)

Two notable advantages to this approach:

1. when a lib inherits another lib's functions, it doesn't
   automatically get put in to the scope of lib
2. when a lib implements a new obscure functions, it doesn't
   automatically get put in to the scope of lib

Using the test script (later in this commit) I got the following diff
on the API:

  + diff master fixed-lib
  11764a11765,11766
  > .types.defaultFunctor
  > .types.defaultTypeMerge
  11774a11777,11778
  > .types.isOptionType
  > .types.isType
  11781a11786
  > .types.mkOptionType
  11788a11794
  > .types.setType
  11795a11802
  > .types.types

This means that this commit _adds_ to the API, however I can't find a
way to fix these last remaining discrepancies. At least none are
_removed_.

Test script (run with nix-repl in the PATH):

  #!/bin/sh

  set -eux

  repl() {
      suff=${1:-}
      echo "(import ./lib)$suff" \
          | nix-repl 2>&1
  }

  attrs_to_check() {
      repl "${1:-}" \
          | tr ';'  $'\n' \
          | grep "\.\.\." \
          | cut -d' ' -f2 \
          | sed -e "s/^/${1:-}./" \
          | sort
  }

  summ() {
      repl "${1:-}" \
          | tr ' ' $'\n' \
          | sort \
          | uniq
  }

  deep_summ() {
      suff="${1:-}"
      depth="${2:-4}"
      depth=$((depth - 1))
      summ "$suff"

      for attr in $(attrs_to_check "$suff" | grep -v "types.types"); do
          if [ $depth -eq 0 ]; then
              summ "$attr" | sed -e "s/^/$attr./"
          else
              deep_summ "$attr" "$depth" | sed -e "s/^/$attr./"
          fi
      done
  }

  (
      cd nixpkgs

      #git add .
      #git commit -m "Auto-commit, sorry" || true
      git checkout fixed-lib
      deep_summ > ../fixed-lib
      git checkout master
      deep_summ > ../master
  )

  if diff master fixed-lib; then
      echo "SHALLOW MATCH!"
  fi

  (
      cd nixpkgs
      git checkout fixed-lib
      repl .types
  )

(cherry picked from commit 152c63c9ff)
2017-09-19 10:53:10 -04:00
Peter Simons
db849d3c66 haskell-generic-builder: rename withBenchmarkDepends argument to doBenchmark
This partially undoes the change from 8788bfe762.
The 'doBenchmark' name is more consistent with the naming scheme used for
other phases, like 'doCheck', 'doHaddock', etc.

(cherry picked from commit 33e34aa95b)
2017-09-19 15:46:35 +02:00
Robin Gloster
fb16e57508 dmtcp: fix buffer overflow due to too long ld-linux.so path
fixes #29565

(cherry picked from commit 5c18c55062)
2017-09-19 13:42:48 +02:00
Joachim Fasting
4a524b55ec tor: 0.3.0.10 -> 0.3.1.7
(cherry picked from commit 1ee60e98e2)
2017-09-19 13:32:29 +02:00
dywedir
9c9a10650c feh: 2.19.3 -> 2.20
(cherry picked from commit 1b261730f2)
2017-09-19 13:32:23 +02:00
Robert Hensing
4f7e6a2c20 arelle: enable only on python 3.4 2017-09-19 13:15:10 +02:00
Rob Vermaas
06896f2648 keybase: update to 1.0.30 2017-09-19 07:34:35 +00:00
Jonathan Rudenberg
4197ff7086 kodiPlugins: fix path for shared object links
Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
2017-09-19 08:13:14 +02:00
Tuomas Tynkkynen
f5daefbef6 linuxPackages.mxu11x0: Mark broken on >= 4.13
https://hydra.nixos.org/build/61465503
(cherry picked from commit 779aea8868)
2017-09-19 08:43:31 +03:00
Tuomas Tynkkynen
b54190b8ac linuxPackages.cryptodev: Mark broken on >= 4.13
https://hydra.nixos.org/build/61470492
(cherry picked from commit 3e495bfd94)
2017-09-19 08:43:30 +03:00
Franz Pletz
5fa2fe91c0 Merge branch 'staging-17.09' into release-17.09 2017-09-19 01:36:17 +02:00
Rodney Lorrimar
9e0896334c pythonPackages.unidecode: 0.04.18 -> 0.04.21
Higher version is a requirement of textacy.

(cherry picked from commit 151d0fde19)
2017-09-18 23:20:32 +02:00
Daiderd Jordan
c7957215e0 gperftools: fix darwin build
(cherry picked from commit 69bf06ad6c)
2017-09-18 22:29:45 +02:00
Daiderd Jordan
17c6710100 nmap: patch vendored libz for darwin
(cherry picked from commit 6b7e103870)
2017-09-18 22:04:36 +02:00
Franz Pletz
50bd460ddc Revert "libreoffice-still: 5.2.6.2 -> 5.3.6.1"
This reverts commit fcec6aec78.
2017-09-18 20:14:22 +02:00
Franz Pletz
c9202ce956 Revert "libreoffice-fresh: 5.3.1.2 -> 5.4.1.2; fixes #29379"
This reverts commit 2c131c5e16.
2017-09-18 20:14:14 +02:00
Franz Pletz
ee18a31907 Revert "xmlsec: 1.2.23 -> 1.2.25; enable nss (for LO)"
This reverts commit ab526141b0.
2017-09-18 20:14:05 +02:00
Franz Pletz
3dba8b2a29 potrace: 1.14 -> 1.15
Fixes CVE-2017-12067 and other security issues.

Fixes NixOS/security#107.

(cherry picked from commit ede0ecdc69)
2017-09-18 20:13:44 +02:00
Frederik Rietdijk
9dee43f188 python27: support test/support
In the maintenance release bump in
90059701a8 a certain change to /test/ was
backported from Python 3:

- bpo-30207: To simplify backports from Python 3, the test.test_support
  module was converted into a package and renamed to test.support.  The
  test.script_helper module was moved into the test.support package.
  Names test.test_support and test.script_helper are left as aliases to
  test.support and test.support.script_helper.

(cherry picked from commit 96d15eaddb)
2017-09-18 19:46:41 +02:00
Frederik Rietdijk
b516a2e4fb python.pkgs.subprocess32: 3.2.6 -> 3.2.7
(cherry picked from commit bebdd7ac61)
2017-09-18 19:46:31 +02:00
Frederik Rietdijk
e532d32e03 python27: 2.7.13 -> 2.7.14
The enosys patch is not needed anymore since the patch is included in
this maintenance release.

(cherry picked from commit 90059701a8)
2017-09-18 19:46:21 +02:00
Josef Kemetmueller
f8f126b9a1 valgrind: Fix darwin build
The bzero-patch was merged upstream in
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16103, so it does no
longer apply.

Additionally - to make the build succeed on darwin systems more recent
than our nixpkgs.darwin.xnu kernel version - we need to teach the build
the version of the xnu headers we provide, instead of letting the build
figure out the actual system version using `uname -r`.

(cherry picked from commit c71fd76822)
(cherry picked from commit cab5d25d3081a6d13773264000a308a7e07938b8)
2017-09-18 18:53:54 +02:00
Franz Pletz
e7d8bc1574 apacheHttpd: fix CVE-2017-9798 (Optionsbleed)
https://blog.fuzzing-project.org/60-Optionsbleed-HTTP-OPTIONS-method-can-leak-Apaches-server-memory.html
(cherry picked from commit c9d11b8a1d)
2017-09-18 16:04:29 +02:00
gwitmond
670b4e29ad nixos: add option for bind to not resolve local queries (#29503)
When the user specifies the networking.nameservers setting in the
configuration file, it must take precedence over automatically
derived settings.

The culprit was services.bind that made the resolver set to
127.0.0.1 and ignore the nameserver setting.

This patch adds a flag to services.bind to override the nameserver
to localhost. It defaults to true. Setting this to false prevents the
service.bind and dnsmasq.resolveLocalQueries settings from
overriding the users' settings.

Also, when the user specifies a domain to search, it must be set in
the resolver configuration, even if the user does not specify any
nameservers.
2017-09-18 13:21:44 +02:00
Franz Pletz
49c3ca3f05 Revert "cppunit: 1.14.0"
This reverts commit 12f460962b.
2017-09-18 02:01:14 +02:00
Daiderd Jordan
3ff962d844 gcc: add gccStdenv for darwin
(cherry picked from commit a5168fe457)
2017-09-17 20:06:56 +02:00
Daiderd Jordan
2cbe9488ff darwin-frameworks: move fixup setup-hook
(cherry picked from commit 5a28fd660a)
2017-09-17 19:10:14 +02:00
Daiderd Jordan
f4af3c5408 darwin-frameworks: use the system CF when frameworks are used
This will get propagated down to other libraries loaded because
everything in nixpkgs references CF based on an rpath entry.

(cherry picked from commit cc1bfbd9a7)
2017-09-17 19:10:13 +02:00
Daiderd Jordan
285ed1fdae darwin-CF: use @rpath for library id and add an rpath entry for CF based on NIX_COREFOUNDATION_RPATH
(cherry picked from commit 92652b4d79)
2017-09-17 19:10:13 +02:00
lassulus
07b24cc2e5 altcoins: remove obsolete boost override
(cherry picked from commit 077dd9fca3)
2017-09-17 18:37:18 +02:00
Michael Raskin
fcec6aec78 libreoffice-still: 5.2.6.2 -> 5.3.6.1
(cherry picked from commit ea1d5e9c7a)
2017-09-17 18:33:27 +02:00
Vaibhav Sagar
4d0052dbfb nginx-modules: remove unused fetchpatch
(cherry picked from commit 70eb31c853)
2017-09-17 18:32:28 +02:00
romildo
5976b3514d gnome-shell-extensions: enable all extensions
(cherry picked from commit 349782cee4)
2017-09-17 18:31:44 +02:00
rnhmjoj
0c53e6b7b7 lua-nginx-module: 0.10.5 -> 0.10.10
(cherry picked from commit d0aa64a8e2)
2017-09-17 18:31:25 +02:00
Michael Raskin
2c131c5e16 libreoffice-fresh: 5.3.1.2 -> 5.4.1.2; fixes #29379
(cherry picked from commit 08b1bc9fcb)
2017-09-17 18:31:18 +02:00
Michael Raskin
12f460962b cppunit: 1.14.0
(cherry picked from commit 02f439d062)
2017-09-17 18:31:12 +02:00
Michael Raskin
ab526141b0 xmlsec: 1.2.23 -> 1.2.25; enable nss (for LO)
(cherry picked from commit 44db65d61c)
2017-09-17 18:30:40 +02:00
Vladimír Čunát
90b1a1ad37 gtkmm3: maintenance 3.22.0 -> 3.22.2
(cherry picked from commit 222e18698a)
2017-09-17 18:28:34 +02:00
Eelco Dolstra
96a3fda34a blender: Fix CUDA support
CUDA toolkit 8 doesn't support gcc 6, so we have to build opensubdiv
and blender with gcc 5.

(cherry picked from commit afc0218ecd)
2017-09-17 18:28:26 +02:00
Eelco Dolstra
43e2f2087c cudatoolkit: Move libcudart to a separate output
This prevents opensubdiv (and thus blender) from having all of
cudatoolkit in its closure.

(cherry picked from commit bb1c9b027d)
2017-09-17 18:28:26 +02:00
Eelco Dolstra
e7114a503f opencollada: 1.3 -> 1.6.59
(cherry picked from commit 63f3b35204)
2017-09-17 18:28:26 +02:00
Eelco Dolstra
5845606631 openimage: 1.7.12 -> 1.7.17
(cherry picked from commit 9f740f1f7c)
2017-09-17 18:27:48 +02:00
Georges Dubus
66ae29c09e nox: 0.0.5 -> 0.0.6
(cherry picked from commit 94400c0cd2)
2017-09-17 18:27:33 +02:00
aszlig
6f03d690fa krita: 3.1.4 -> 3.2.1
New features since version 3.2.0:

  * G'MIC Plugin
  * Touch Painting
  * Smart Patch Tool
  * New Brush Presets

The full release notes can be found at:

https://krita.org/en/release-notes-for-krita-3-2/

Version 3.2.1 contains these fixes:

  * Crash on startup if only OpenGL 2.1 is found: if you had to disable
    opengl for 3.2.0, you can try to enable it again
  * A crash when changing layer types in the gmic-qt plugin
  * A bug where gmic-qt could crash on odd-sized images
  * A regression where using the text tool would break the brush tool
  * The option to use the native platform's file dialogs was restored
  * A bug where selecting the line tool would disable the flow slider
  * Some issues with the LUT docker were fixed

Upstream release notes for 3.2.1:

https://krita.org/en/item/krita-3-2-1-released/

I've dropped the patch, because it was already from the upstream
development version and thus is also included in this release.

Built and tested using a few images and just playing around with a few
new features.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @abbradar, @Mic92, @kragniz
(cherry picked from commit 8180085733)
2017-09-17 18:27:14 +02:00
Joachim Fasting
15abcf6237 nixos/tests: move sysctl test to misc
(cherry picked from commit c85cf60c83)
2017-09-17 18:26:32 +02:00
Jaka Hudoklin
b677fa83d3 pkgs/telepresence: init at 0.65
(cherry picked from commit 18245fd222)
2017-09-17 18:25:54 +02:00
Ryan Mulligan
b81ef1e31d matterbridge, modules/matterbridge: init at 1.1.0
(cherry picked from commit 9c786d82f2)
2017-09-17 18:25:27 +02:00
adisbladis
6c60ce8f8b caddy: 0.10.7 -> 0.10.9
(cherry picked from commit 9ede0dea45)
2017-09-17 18:24:54 +02:00
Matt McHenry
73f34f1c7a systemd: better document enabled, wantedBy, and requiredBy (#29453)
the systemd.unit(5) discussion of wantedBy and requiredBy is in the
[Install] section, and thus focused on stateful 'systemctl enable'.
so, clarify that in NixOS, wantedBy & requiredBy are still what most
users want, and not to be confused with enabled.

(cherry picked from commit cfbac1beb4)
2017-09-17 18:24:07 +02:00
Cray Elliott
2f7733c20e zandronum: fix soundfont support, minor cleanup
also add myself to maintainers

(cherry picked from commit 8080285966)
2017-09-17 18:22:12 +02:00
Jörg Thalheim
a3793f7a1f kerberos: store state in /var/lib instead of $out/var
(cherry picked from commit 0016d925e4)
2017-09-17 18:20:51 +02:00
Tuomas Tynkkynen
545d8e7cb4 sd-image-aarch64: Increase CMA memory so RPi3 virtual console works again
(cherry picked from commit c8e7aab0c8)
2017-09-17 18:19:46 +02:00
Cray Elliott
41882d76f4 zandronum: 2.1.2 -> 3.0
remove sqlite-amalgamation and put it internal to the zandronum folder,
as it is only used by zandronum. Patches needed to avoid build impurities
and to get the correct protocol version to connect to public servers.

remove zandronum_bin as it is no longer needed

(cherry picked from commit 990ea8789d)
2017-09-17 18:19:46 +02:00
Cray Elliott
6091fa7c3d doomseeker: 1.0 -> 1.1
(cherry picked from commit ae624c89c1)
2017-09-17 18:19:46 +02:00
Daniel Fullmer
8fbd366a0c gocr: Install libraries and includes
(cherry picked from commit 6182b67228)
2017-09-17 18:19:45 +02:00
Samuel Leathers
ccc94bfd3c cram: fix ignored tests causing failures
(cherry picked from commit a4633ca5a3)
2017-09-17 18:19:45 +02:00
joachim schiele
4ddf1959d0 dovecot2: added quota, changed pop3 default
(cherry picked from commit 7904499542)
2017-09-17 18:19:45 +02:00
Jörg Thalheim
f6d4327d55 zfsUnstable: init at 2017-09-12
(cherry picked from commit 1ecf3e862f)
2017-09-17 18:19:45 +02:00
lassulus
d89d8e818c tinc_pre: 1.1pre14 -> 1.1pre15
Remove an obsolete patch
Add lassulus to maintainers
Supply the build with the correct version number and changelog

(cherry picked from commit f4dfa30d24)
2017-09-17 18:19:45 +02:00
WilliButz
48cd0f7bbf grafana: 4.4.3 -> 4.5.0
(cherry picked from commit e13e3dd2fb)
2017-09-17 18:19:45 +02:00
Maximilian Güntner
79b92d787c emscriptenfastcomp: move wrap magic to own file, use newScope
(cherry picked from commit 8550e4e520)
2017-09-17 18:19:45 +02:00
Linus Heckemann
787bf9292f nixos-install: use FIFO for system closure
This avoids running out of space in space-constrained environments,
e.g. VMs with relatively small amounts of memory and tmp on tmpfs

(cherry picked from commit 77ce02201e)
2017-09-17 18:19:44 +02:00
Linus Heckemann
d0edf75d99 nixos-install: only search for nixpkgs when needed
(cherry picked from commit 8b1f1d93fa)
2017-09-17 18:19:44 +02:00
Eelco Dolstra
887d60d5aa nix: 1.11.14 -> 1.11.15
(cherry picked from commit 6dad1f70ce)
2017-09-17 18:19:44 +02:00
Joachim Fasting
e6dfef0eda tinycc: 0.9.27pre-20170821 -> 0.9.27pre-20170911
Contains various fixes.

(cherry picked from commit 3f7ac92175)
2017-09-17 18:19:44 +02:00
Michael Fellinger
62e6dcf20b ruby: 2.4.1 -> 2.4.2 (#29417)
(cherry picked from commit 2edb7e9b2d)
2017-09-17 18:19:44 +02:00
Robert Schütz
4d2f667df3 abcMIDI: init at 2017.06.10
(cherry picked from commit 608045aed5)
2017-09-17 18:19:44 +02:00
Muhammad Herdiansyah
a45d99a1b2 neofetch: 3.2.0 -> 3.3.0
(cherry picked from commit 25944370e1)
2017-09-17 18:19:43 +02:00
Muhammad Herdiansyah
b92266c1db maintainer: change email
(cherry picked from commit 0e09b79bcc)
2017-09-17 18:19:43 +02:00
Lancelot SIX
9ce29fd755 xorriso: 1.4.6 -> 1.4.8
See http://lists.gnu.org/archive/html/info-gnu/2017-09/msg00009.html
for release information

(cherry picked from commit 259d61b34a)
2017-09-17 18:19:43 +02:00
Nadrieril
33a014211a bitlbee-facebook: 1.1.1 -> 1.1.2
(cherry picked from commit d0090c0941)
2017-09-17 18:19:43 +02:00
adisbladis
5a98afc530 go-ethereum: 1.6.7 -> 1.7.0
(cherry picked from commit 090947b285)
2017-09-17 18:19:43 +02:00
romildo
030ff06053 clearlooks-phenix: 5.0.7 -> 7.0.1
(cherry picked from commit 17c3599ee3)
2017-09-17 18:19:43 +02:00
romildo
534a0a8880 numix-gtk-theme: 2017-02-15 -> 2017-07-26
(cherry picked from commit 32f7c567cd)
2017-09-17 18:19:42 +02:00
romildo
5ba3e43924 zuki-themes: 3.24.2017-06-26 -> 3.24-2
- Update to version 3.24-2, released on 2017 Aug 3

- Remove versions for GNOME 3.22 and 3.20. The version for 3.24 should
  work with them as well.

(cherry picked from commit 6319210b8a)
2017-09-17 18:19:42 +02:00
Gabriel Ebner
ba17627adb lean: 3.2.0 -> 3.3.0
(cherry picked from commit aad00e35db)
2017-09-17 18:19:42 +02:00
Cray Elliott
f74cb90455 ffmpeg, ffmpeg-full: 3.3.3 -> 3.3.4
(cherry picked from commit 739b4091cf)
2017-09-17 18:19:42 +02:00
Tuomas Tynkkynen
0cbb125748 diffoscope: Move cbfstool and poppler_utils to bloat category
(cherry picked from commit 0dc4672d36)
2017-09-17 18:19:42 +02:00
Tuomas Tynkkynen
79862c96c0 diffoscope: Add even more tools
(cherry picked from commit 2581865717)
2017-09-17 18:19:42 +02:00
Kamil Chmielewski
ecbbef8c7b ponyc: 0.19.0 -> 0.19.1
https://github.com/ponylang/ponyc/issues/2226
(cherry picked from commit a2666e3668)
2017-09-17 18:19:41 +02:00
Peter Hoeg
2874ab06dd pdf2odt: 20141217 -> 20170207
(cherry picked from commit d29a8f25c3)
2017-09-17 18:19:41 +02:00
Jörg Thalheim
04d81781b0 vimPlugins.nvim-completion-manager: init at 2017-09-05
(cherry picked from commit 5c544b8c78)
2017-09-17 18:19:41 +02:00
Jörg Thalheim
c2769d7388 vimPlugins.vim-devicons: init at 2017-05-29
(cherry picked from commit e477fa94b5)
2017-09-17 18:19:41 +02:00
romildo
9ee486ec9d adapta-gtk-theme: 3.91.2.10 -> 3.91.2.147
(cherry picked from commit 9b985dfb2f)
2017-09-17 18:19:41 +02:00
Jörg Thalheim
fc592b13ad perlPackages.SCGI: init at 0.6
(cherry picked from commit 4addea54ae)
2017-09-17 18:19:41 +02:00
Jörg Thalheim
97e5fa4cb1 perlPackages.ProtocolHTTP2: init at 1.08
(cherry picked from commit 9b960686bf)
2017-09-17 18:19:40 +02:00
Jörg Thalheim
86071abcb9 perlPackages.HTTPDAV: init at 0.44
(cherry picked from commit 94dc132ff9)
2017-09-17 18:19:40 +02:00
Jörg Thalheim
afd1a906aa perlPackages.TermReadKey: 2.31 -> 2.37
(cherry picked from commit 068fd9fb8e)
2017-09-17 18:19:40 +02:00
Peter Hoeg
9616c99871 mtr: 0.87 -> 0.92
(cherry picked from commit 68764d50b3)
2017-09-17 18:19:40 +02:00
Robert Helgesson
a9a39a201d josm: minor cleanups
- Use `makeWrapper` to generate wrapper script.

- Use `buildCommand` instead of explicit phases.`

(cherry picked from commit 2a36c6c185)
2017-09-17 18:19:40 +02:00
Robert Helgesson
abda418b45 josm: 12545 -> 12712
(cherry picked from commit fd4d957ac4)
2017-09-17 18:19:40 +02:00
Robert Helgesson
b7bab3ca98 cloc: add myself as maintainer
(cherry picked from commit a3a8887b7f)
2017-09-17 18:19:39 +02:00
Robert Helgesson
1173b76249 cloc: 1.72 -> 1.74
(cherry picked from commit d35e4439dd)
2017-09-17 18:19:39 +02:00
zraexy
1b801b8acd streamlink: 0.7.0 -> 0.8.1
(cherry picked from commit e87a72caef)
2017-09-17 18:19:39 +02:00
AndersonTorres
d11e20300a mgba: 0.5.2 -> 0.6.0
(cherry picked from commit 4a67ee9893)
2017-09-17 18:19:39 +02:00
Peter Hoeg
7edb3f1fe5 neomutt: 20170907 -> 20170912
(cherry picked from commit addfb83852)
2017-09-17 18:19:39 +02:00
Sarah Brofeldt
56cb9ef008 s3fs: 1.80 -> 1.82
(cherry picked from commit fc2566e966)
2017-09-17 18:19:39 +02:00
geistesk
05bd6d0549 racket: 6.10 -> 6.10.1
(cherry picked from commit af2ceaf63c)
2017-09-17 18:19:38 +02:00
Frank Doepper
d54a6379ee oysttyer: init at 2.9.1
A Perl Console Twitter Client

(cherry picked from commit 9c4233f7b6)
2017-09-17 18:19:38 +02:00
Tim Steinbach
db92b49ade atom: 1.19.7 -> 1.20.0
(cherry picked from commit 3d812d2037)
2017-09-17 18:19:38 +02:00
Jan Tojnar
7dd575d610 meson: 0.41.2 → 0.42.1
(cherry picked from commit ad8e4c272a)
2017-09-17 18:19:38 +02:00
Emanuele Peruffo
ddf427ec42 epson-alc1100: init at version 1.2-0
Driver for printer Epson AcuLaser C1100

(cherry picked from commit 03187c3e15)
2017-09-17 18:19:38 +02:00
Jan Tojnar
75bc3407dd sublime3: 3126 → 3143
(cherry picked from commit 74065fc780)
2017-09-17 18:19:38 +02:00
Tuomas Tynkkynen
74ca4b651f strace: 4.18 -> 4.19
(cherry picked from commit 1e84bb90d4)
2017-09-17 18:19:37 +02:00
Yann Hodique
5bfb2a80af hugo: 0.27 -> 0.27.1
(cherry picked from commit 85f3834bad)
2017-09-17 18:19:37 +02:00
Robin Gloster
55f626fbb6 nixos/redmine: fix create role
postgresql create role no longer supports NOCREATEUSER option. See
https://www.postgresql.org/docs/9.6/static/release-9-6.html for
details.

(cherry picked from commit f5e0e94b2a)
2017-09-17 18:19:37 +02:00
Matthias Beyer
7e71499756 bean-add: 2017-04-16 -> 2017-09-13
(cherry picked from commit b0237f767e)
2017-09-17 18:19:37 +02:00
Matthias Beyer
195b25c23a rtv: 1.15.1 -> 1.18.0
Disable tests, which try to access the network.

(cherry picked from commit 8c1403066c)
2017-09-17 18:19:37 +02:00
Matthias Beyer
48aaf6237a mdp: 1.0.9 -> 1.0.10
(cherry picked from commit 495dbc2cc2)
2017-09-17 18:19:37 +02:00
Matthias Beyer
f10058e774 ctodo: 1.2 -> 1.3
(cherry picked from commit 30a1e189ac)
2017-09-17 18:19:36 +02:00
Matthias Beyer
36de5d341b buku: 3.0 -> 3.3.1
(cherry picked from commit 678c149e53)
2017-09-17 18:19:36 +02:00
Matthias Beyer
cfbe0fb72b toot: 0.13.0 -> 0.15.0
(cherry picked from commit 56cf561581)
2017-09-17 18:19:36 +02:00
Ryan Mulligan
cc7c4bb36f nixos/mattermost: fix create role
postgresql create role no longer supports NOCREATEUSER option. See
https://www.postgresql.org/docs/9.6/static/release-9-6.html for
details.

(cherry picked from commit 8585898909)
2017-09-17 18:19:36 +02:00
Ryan Mulligan
68374e59aa mattermost: 3.8.2 -> 4.1.0
(cherry picked from commit 65ee687439)
2017-09-17 18:19:36 +02:00
Gabriel Adomnicai
87a687d101 meteor: 1.4.2.3 -> 1.5 (#28905)
(cherry picked from commit 49eb1664d8)
2017-09-17 18:19:36 +02:00
Domen Kožar
f64a4878eb Add atom-beta
(cherry picked from commit 4ffa9ace43)
2017-09-17 18:19:35 +02:00
Symphorien Gibol
ae046076e4 bombono: init at 1.2.4
(cherry picked from commit 945f346f60)
2017-09-17 18:19:35 +02:00
Vincent Laporte
daa0ccd626 proverif: 1.95 -> 1.97pl1
(cherry picked from commit cc5491d02c)
2017-09-17 18:19:35 +02:00
geistesk
935dbdc30a nixos/fireqos: add service
(cherry picked from commit 2316f16ac0)
2017-09-17 18:19:35 +02:00
geistesk
8df4af5e4d firehol: init at 3.1.4
(cherry picked from commit f84a8fb605)
2017-09-17 18:19:35 +02:00
geistesk
b7e4dd7f8a iprange: init at 1.0.3
(cherry picked from commit 5e25459144)
2017-09-17 18:19:35 +02:00
Michael Alan Dorman
b273ab6454 melpa-packages: 2017-09-13
Removals:
 - debian-bug: removed from melpa
 - debian-changelog-mode: removed from melpa
 - rcirc-color: removed from melpa
 - sentence-highlight: removed from melpa
(cherry picked from commit 9feb5bdf06)
2017-09-17 18:19:34 +02:00
Michael Alan Dorman
f5afacd499 melpa-stable-packages: 2017-09-13
Removals:
 - sentence-highlight: removed from melpa
(cherry picked from commit b9eb2d3348)
2017-09-17 18:19:34 +02:00
Michael Alan Dorman
4b9ba2c1ad org-packages: 2017-09-13
(cherry picked from commit cfe5664e04)
2017-09-17 18:19:34 +02:00
Michael Alan Dorman
21cced0782 elpa-packages: 2017-09-13
(cherry picked from commit bae9557826)
2017-09-17 18:19:34 +02:00
Silvan Mosberger
7ba40a38ed s-tui: init at 0.6.0
(cherry picked from commit 753d114b34)
2017-09-17 18:19:33 +02:00
Tuomas Tynkkynen
02886260f7 afl: 2.48b -> 2.51b
(cherry picked from commit 42a3be191d)
2017-09-17 18:19:33 +02:00
Tuomas Tynkkynen
827c4689c7 _915resolution: Only works on x86
https://hydra.nixos.org/build/60928068
(cherry picked from commit 204a15ec42)
2017-09-17 18:19:33 +02:00
Tuomas Tynkkynen
2c1436ac02 libsmbios: Only works on x86
https://hydra.nixos.org/build/60942499
(cherry picked from commit 9aa998eb48)
2017-09-17 18:19:33 +02:00
Tuomas Tynkkynen
6224ed46f2 reptyr: Only works on x86
https://hydra.nixos.org/build/60933200
(cherry picked from commit 4f34a3b230)
2017-09-17 18:19:33 +02:00
Tuomas Tynkkynen
c02952a8b3 seabios: Only works on x86
https://hydra.nixos.org/build/60949790
(cherry picked from commit 84544c5bc2)
2017-09-17 18:19:33 +02:00
Tuomas Tynkkynen
1fea5575c8 syslinux: Only works on x86
https://hydra.nixos.org/build/60930963
(cherry picked from commit f567d0a5a6)
2017-09-17 18:19:32 +02:00
Tuomas Tynkkynen
d55ec1aad2 x86info: only works on x86
https://hydra.nixos.org/build/60931250
(cherry picked from commit 21298fd3f7)
2017-09-17 18:19:32 +02:00
dywedir
8e7ea87607 mpv: 0.26.0 -> 0.27.0
(cherry picked from commit 15002fbf7e)
2017-09-17 18:19:32 +02:00
Robert Schütz
b14457605c seafile-client: add optional Shibboleth support
(cherry picked from commit 7cceee29fb)
2017-09-17 18:19:32 +02:00
Peter Hoeg
2149004768 arc-theme: docs were going to the wrong directory
(cherry picked from commit 3f56114223)
2017-09-17 18:19:32 +02:00
Winnie Quinn
1adc4dd110 aspcud: add darwin platform support
This works because `gringo` now builds on Darwin.

(cherry picked from commit abeb6af482)
2017-09-17 18:19:32 +02:00
Orivej Desh
96e838764f aseprite: install desktop icons
(cherry picked from commit 247fa20962)
2017-09-17 18:19:31 +02:00
Orivej Desh
6b59cddaeb aseprite unfree: init at 1.2-beta12
(cherry picked from commit f0483d59f3)
2017-09-17 18:19:31 +02:00
Orivej Desh
74ed524310 aseprite: 0.9.5 -> 1.1.7
(cherry picked from commit 05eb7ba6e4)
2017-09-17 18:19:31 +02:00
Tristan Helmich
5964f952b5 graylogPlugins: update and add plugins
(cherry picked from commit ea5e03085a)
2017-09-17 18:19:31 +02:00
Yann Hodique
395c626161 hugo: 0.26 -> 0.27
(cherry picked from commit ebf1f8c4e6)
2017-09-17 18:19:31 +02:00
Daiderd Jordan
18fc3525af nginx: disable pie on darwin
(cherry picked from commit 734788b71d)
2017-09-17 18:19:31 +02:00
Franz Pletz
c99d568261 ncurses: 6.0-20170729 -> 6.0-20170902
Fixes issues with xterm terminfo.

(cherry picked from commit fea02e30f1)
2017-09-17 18:19:30 +02:00
Maximilian Güntner
a2238d2ea2 samba: 4.6.4 -> 4.6.7
(cherry picked from commit e6353a82bf)
2017-09-17 18:19:30 +02:00
Robin Gloster
43ea0d6dc0 systemd: use fetchpatch for patch with the correct hash
the fetchurl failed on hydra sometimes

(cherry picked from commit 61733ed6cc)
2017-09-17 18:19:30 +02:00
Vladimír Čunát
22852e0627 pango: maintenance 1.40.9 -> 1.40.11
(cherry picked from commit daa12ab7b9)
2017-09-17 18:19:30 +02:00
Vladimír Čunát
e8e53043ca mesa: maintenance 17.1.7 -> 17.1.8
(cherry picked from commit 6d2d7d5f46)
2017-09-17 18:19:30 +02:00
Tim Steinbach
4bb826c760 gnutls: 3.5.14 -> 3.5.15
(cherry picked from commit 5c66a4e221)
2017-09-17 18:19:30 +02:00
Frederik Rietdijk
a729a1d933 systemd: use fetchurl for patch
because a hash corresponding to fetchurl was provided.

(cherry picked from commit 91ede67a5a)
2017-09-17 18:19:29 +02:00
teh
35e06baae7 systemd: add patch to fix suspend.target
(cherry picked from commit 3e50f0ae0e)
2017-09-17 18:19:29 +02:00
Matthew Robbetts
a62fbe0922 openldap: Fix build with LibreSSL.
(cherry picked from commit e82cb3dfa4)
2017-09-17 18:19:29 +02:00
Casey Rodarmor
3c42f36ff5 ncurses: put tic binary in bin
(cherry picked from commit 555900081d)
2017-09-17 18:19:29 +02:00
WilliButz
e7ffb76a75 highlight: 3.35 -> 3.39
(cherry picked from commit 5b36d3993f)
2017-09-17 18:19:29 +02:00
Jörg Thalheim
a3f5e1c642 openssh: update gssapi patch
(cherry picked from commit 7786aab173)
2017-09-17 18:19:29 +02:00
gnidorah
50e57c4e59 maxx: allow launching individual components
(cherry picked from commit d627ded461)
2017-09-17 18:19:29 +02:00
yesbox
74d1043c9b jackett: 0.7.1308 -> 0.8.151
(cherry picked from commit e70e5de2c7)
2017-09-17 18:19:28 +02:00
Chris Burr
11dbd1876f dns-root-data: 2017-07-26 -> 2017-08-29
(cherry picked from commit 0b356dfb75)
2017-09-17 18:19:28 +02:00
Jörg Thalheim
be8038d7ec cheat: 2.2.0 -> 2.2.1
(cherry picked from commit 7f2f427e8f)
2017-09-17 18:19:28 +02:00
mingchuan
28f6b7fba5 spin: 6.4.6 -> 6.4.7
(cherry picked from commit cb8bfbdbba)
2017-09-17 18:19:28 +02:00
Edward Tjörnhammar
5cd35fe367 i2pd: 2.14.0 -> 2.15.0
(cherry picked from commit 90e78aafad)
2017-09-17 18:19:28 +02:00
Edward Tjörnhammar
fe0ea07417 nixos, i2pd: nat option, default true
(cherry picked from commit 847ce53ab1)
2017-09-17 18:19:28 +02:00
timor
5218059660 physlock: 0.5 -> 11-dev
Update physlock to a more current version which supports PAM and
systemd-logind.  Amongst others, this should work now with the slim
login manager without any additional configuration, because it does
not rely on the utmp mechanism anymore.

(cherry picked from commit ae87a30a83)
2017-09-17 18:19:27 +02:00
Orivej Desh
c6425e3c2b gopherclient: init at 2016-10-02
(cherry picked from commit e47543f1be)
2017-09-17 18:19:27 +02:00
Winnie Quinn
8c23e20e23 gringo: add darwin platform support
(cherry picked from commit a1013287f3)
2017-09-17 18:19:27 +02:00
Jörg Thalheim
141e50fdac buildbot-full: also include wsgi-dashboards
(cherry picked from commit 6844b1375b)
2017-09-17 18:19:27 +02:00
Artem Kazakov
9bb346312d buildbot: add wsgi dashboards plugin
fixes #29236

(cherry picked from commit 60709abb82)
2017-09-17 18:19:27 +02:00
rnhmjoj
83264136ce vapoursynth-mvtools: 17 -> 19
(cherry picked from commit a7eb2e01bc)
2017-09-17 18:19:27 +02:00
rnhmjoj
b99022efba vapoursynth: R36 -> R38
(cherry picked from commit 3f9661588b)
2017-09-17 18:19:26 +02:00
AndersonTorres
c994dbce04 Moe: init at 1.9
Moe is a small text editor.

(cherry picked from commit 6126e3add4)
2017-09-17 18:19:26 +02:00
Tristan Helmich
a26af0221d pythonPackages.phonenumbers: 8.8.0 -> 8.8.1
(cherry picked from commit c3b304e811)
2017-09-17 18:19:26 +02:00
Michael Weiss
29c9481f6d lf: 2017-05-15 -> 2017-09-06
(cherry picked from commit 9f4fa7339b)
2017-09-17 18:19:26 +02:00
Pascal Bach
8e2391d169 nixos/prometheus-collectd-exporter: init module (#29212)
* prometheus-collectd-exporter service: init module

Supports JSON and binary (optional) protocol
of collectd.

* nixos/prometheus-collectd-exporter: submodule is not needed for collectdBinary

(cherry picked from commit 334e23d244)
2017-09-17 18:19:26 +02:00
romildo
80a387df9b greybird: 3.22.4 -> 3.22.5
(cherry picked from commit 3c02edc290)
2017-09-17 18:19:26 +02:00
Roman Volosatovs
ecb46b8f5b mopidy-iris: 3.3.3 -> 3.4.1
(cherry picked from commit 383b7c658a)
2017-09-17 18:19:25 +02:00
lewo
a6bf07155a nixos/nova-image: cleanup image builders (#29242)
There are currently two ways to build Openstack image. This just picks
best of both, to keep only one!

- Image is resizable
- Cloudinit is enable
- Password authentication is disable by default
- Use the same layer than other image builders (ec2, gce...)

(cherry picked from commit 3a377e26b2)
2017-09-17 18:19:25 +02:00
Robert
8563cb9f15 NixOS Manual: document assertions and warnings (#29206)
* NixOS Manual: document assertions and warnings

* NixOS manual: re-wrap assertions text

(cherry picked from commit 1b1fc65505)
2017-09-17 18:19:25 +02:00
lassulus
2117b2ea29 bitcoin-classic: 1.2.5 -> 1.3.6
(cherry picked from commit 0a4a6f71cb)
2017-09-17 18:19:25 +02:00
AndersonTorres
f144015dc7 jupp: init at 3.1
jupp is a fork of joe's editor.

(cherry picked from commit 4f976bdd3e)
2017-09-17 18:19:25 +02:00
Klaas van Schelven
d55e0c9330 andviro/flake8-vim: init at 2017-02-17
(cherry picked from commit 6e6a3c9ba5)
2017-09-17 18:19:25 +02:00
James Kay
d6060457d1 buildbot: 0.9.9post2 -> 0.9.11
(cherry picked from commit cf497c60f0)
2017-09-17 18:19:24 +02:00
Michael Weiss
b5763e0054 dynamips: init at 0.2.17
(cherry picked from commit 1011c76598)
2017-09-17 18:19:24 +02:00
hiberno (Christian Lask)
10cb4e312b tasksh: Add readline support.
(cherry picked from commit 38563d6130)
2017-09-17 18:19:24 +02:00
Ioannis Koutras
a90af04760 sddm: 0.14.0 -> 0.15.0
(cherry picked from commit 01b4c3c13b)
2017-09-17 18:19:24 +02:00
Peter Hoeg
00364fa6bd qtox: drop gtk2 dependency
Tray icon still works without gtk2.

(cherry picked from commit 90b3d2db91)
2017-09-17 18:19:24 +02:00
Thomas Bach
a819f3b18f manual: reworked submodule section for better readability
The section was strange to read, as the initial example already used
`listOf' which is mentioned in the very first paragraph. Then you read
in a subsection about `listOf' and the exact same example is given
once again.

(cherry picked from commit 4d101993bf)
2017-09-17 18:19:24 +02:00
Thomas Bach
d9afaff2be manual: fixed remaining placeholder literal
(cherry picked from commit f37a1e155e)
2017-09-17 18:19:23 +02:00
Thomas Bach
fd059ca1a9 manual: name' is not an argument for mkOption'
(cherry picked from commit 572726a570)
2017-09-17 18:19:21 +02:00
Vaibhav Sagar
07425e43ed nginx-modules: remove unused fetchpatch
(cherry picked from commit 70eb31c853)
2017-09-17 18:17:33 +02:00
rnhmjoj
5687327e29 lua-nginx-module: 0.10.5 -> 0.10.10
(cherry picked from commit d0aa64a8e2)
2017-09-17 18:17:32 +02:00
Anthony Cowley
e7e8d1fd21 emacsMacport: emacs-25.2 => 25.3, macport-6.3 => 6.7
(cherry picked from commit 50a33089c6)
2017-09-17 18:17:27 +02:00
Maximilian Güntner
800e422653 hostapd/wpa_supplicant: update urls
(cherry picked from commit daf07c9d62)
2017-09-17 17:43:40 +02:00
Daniel Fullmer
4f7e499315 k2pdfopt: 2.32 -> 2.42
(cherry picked from commit 8c2895400f)
2017-09-17 17:43:37 +02:00
Matt Smith
777e002054 monero: 0.10.3.1 -> 0.11.0.0
(cherry picked from commit 21e135c8bd)
2017-09-17 17:43:36 +02:00
Paul Hendry
9882b7fcbf ktorrent: Add missing meta.license
(cherry picked from commit f814c3d090)
2017-09-17 17:43:35 +02:00
Hoang Xuan Phu
76b36ad9a6 rabbitmq_server: 3.6.6 -> 3.6.10
(cherry picked from commit 2c58562d48)

Addresses some known vulns in 3.6.6: https://pivotal.io/security/cve-2017-4965
2017-09-17 17:43:34 +02:00
Florian Jacob
c69ee73db1 nixos/tinc: Fix tinc cli wrapper for tinc 1.0.
tinc prior to 1.1 doesn't have the `tinc` executable,
and `tincd` isn't of any use while the daemon already runs.

(cherry picked from commit 8cea87c1eb)
2017-09-17 17:43:33 +02:00
Silvan Mosberger
2fd44d9847 namecoin service: fix typo
(cherry picked from commit fea9e081a9)
2017-09-17 17:43:33 +02:00
Joachim Fasting
884ac056a5 nixos/tests: expand hardened tests
(cherry picked from commit 586d04c588)
2017-09-17 17:43:32 +02:00
Jan Malakhovski
5ae9a94cb0 linuxPackages: hardened-config: enable DEBUG_PI_LIST
(cherry picked from commit 62fa45eac5)
2017-09-17 17:43:31 +02:00
Jan Malakhovski
e8af562d48 linuxPackages: hardened-config: check kernelArch, not system
(cherry picked from commit c345761c13)
2017-09-17 17:43:30 +02:00
Jan Malakhovski
ec00da8d10 linuxPackages: hardened-config: disable BUG_ON_DATA_CORRUPTION for older kernels
They don't support it.

(cherry picked from commit 616a7fe237)
2017-09-17 17:43:30 +02:00
Joachim Fasting
34f867d96e hardened-config: build with fortify source
(cherry picked from commit dd170cd5df)
2017-09-17 17:43:29 +02:00
Joachim Fasting
e15669fa07 hardened-config: enable the randstruct plugin
(cherry picked from commit 9a763f8f59)
2017-09-17 17:43:28 +02:00
Joachim Fasting
84f5bb3e43 hardened-config: additional refcount checking
(cherry picked from commit edd0d2f2e9)
2017-09-17 17:43:23 +02:00
Daiderd Jordan
523fb3c77e opensc: add darwin frameworks
(cherry picked from commit 64bf283104)
2017-09-17 16:26:31 +02:00
Frederik Rietdijk
fe2f16e289 niff: init at 0.1
(cherry picked from commit 8a09e51dc2)
2017-09-17 15:37:59 +02:00
Bjørn Forsman
1d156a60fc fpart: init at 0.9.3
(cherry picked from commit 983d01421e)
2017-09-17 13:07:04 +02:00
Joachim Fasting
676560af25 lttng-uts: 2.9.1 -> 2.10.0
(cherry picked from commit 40d6414863)
2017-09-17 09:49:48 +02:00
Joachim Fasting
622afa9dc7 lttng-tools: 2.9.5 -> 2.10.1
(cherry picked from commit 969db57853)
2017-09-17 09:49:46 +02:00
Joachim Fasting
b967357400 linuxPackages.lttng-modules: broken on kernels >4.11
(cherry picked from commit 7d69e5a18f)
2017-09-17 09:49:45 +02:00
Joachim Fasting
5946d7d2c7 linuxPackages.lttng-modules: 2.9.3 -> 2.10.0
(cherry picked from commit 9e395545e8)
2017-09-17 09:49:43 +02:00
Frederik Rietdijk
20e1833914 aspellWithDicts: use a single env
In c0cf19608f the function
`aspellWithDicts` was introduced, that allows to build a derivation
consisting of aspell and specified dictionaries. In
96457d26dd a fix was included to properly
find the dictionaries.

Issue #29429 describes that, while the current method works for the
aspell binary, it does not in case of the API.

This commit rewrites the wrapper into a single derivation, create a
single tree of symbolic references to both the binary and the
dictionaries so that its possible to find the dictionaries with the API.
Furthermore, the binary is wrapped so it can still find the dictionaries
as well.

(cherry picked from commit 91f7042aa0)
2017-09-17 09:30:19 +02:00
Antoine Eiche
b94ee1a9b5 dockerTools.pullImage: release note regarding sha256 argument value
(cherry picked from commit ea6d37c2bb)
Signed-off-by: Domen Kožar <domen@dev.si>
2017-09-17 09:27:11 +02:00
Antoine Eiche
dc4178e15a dockerTools.pullImage: use skopeo to pull the image
Before this patch, a VM was used to spawn docker that pulled the
VM. Now, the tool Skopeo does this job well so we can simplify our
dockerTools since we doesn't need Docker anymore:)

This also fixe the regression described in
https://github.com/NixOS/nixpkgs/issues/29271 : cntlm proxy doesn't
work in 17.09 while it worked in 17.03.

Note Skopeo doesn't produce the same output than docker pull so, we
have to update sha.

(cherry picked from commit 01174c5f4d)
Signed-off-by: Domen Kožar <domen@dev.si>
2017-09-17 09:27:04 +02:00
Samuel Leathers
f22378c383 python pies: remove packages
(cherry picked from commit 0f0aeed803)
2017-09-17 09:03:41 +02:00
Daiderd Jordan
2ad805568c python-cffi: fix test failures when using clang
(cherry picked from commit 35649750c3)
2017-09-16 17:11:10 +02:00
Vladimír Čunát
a4bf452eb3 vivaldi-ffmpeg-codecs: fix evaluation (forgotten file)
(cherry picked from commit d5724ef2dd)
2017-09-16 15:28:48 +02:00
Samuel Leathers
9284617344 arelle: 2017-06-01 -> 2017-08-24
(cherry picked from commit d15c019edd)
2017-09-16 14:06:16 +01:00
Tim Steinbach
27809dd7a7 linux-copperhead: 4.13.1.b -> 4.13.2.a
(cherry picked from commit 7de078ccae4c9e0a81df7da3440295cc7d8459c7)
2017-09-16 08:58:13 -04:00
Jörg Thalheim
b83dde56bb gns3: 2.0.3 -> 2.1.0rc1
(cherry picked from commit 27e87d8bc8)
2017-09-16 13:57:41 +01:00
Samuel Leathers
ee4c2cbac7 aiohttp-cors: 0.5.1 -> 0.5.3
(cherry picked from commit eb125adf24)
2017-09-16 13:57:41 +01:00
Vladimír Čunát
902a863df5 vivaldi-ffmpeg-codecs: fix evaluation
The patch was removed during chromium update.
It won't build, but the error seems the same as before chromium update...

(cherry picked from commit 9a55f74e43)
2017-09-16 14:32:48 +02:00
Samuel Leathers
2001001d7c hglib: 1.7 -> 2.4
(cherry picked from commit c256a685e8)
2017-09-16 13:27:39 +01:00
Jörg Thalheim
2dceddeaf6 python.pkgs.hcs_utils: fix tests; disable python2
(cherry picked from commit 46c30b2232)
2017-09-16 13:08:11 +01:00
Samuel Leathers
fba5537677 hcs_utils: 1.5 -> 2.0
(cherry picked from commit 755e6eb22e)
2017-09-16 13:07:59 +01:00
Samuel Leathers
4285cdb4b1 jscoverage: fix build with gcc6 (#29423) 2017-09-16 13:21:32 +02:00
Samuel Leathers
81e650b451 moto: 0.4.25 -> 0.4.31
(cherry picked from commit 49fac1f824)
2017-09-16 12:33:24 +02:00
Frederik Rietdijk
0ab6f09539 python.pkgs.PyXAPI: remove old package
url of source and homepage is dead as well.

(cherry picked from commit bb57df26dd)
2017-09-16 12:23:38 +02:00
Frederik Rietdijk
66d3d19b31 python.pkgs.{pitz, clepy}: remove old packages
These were added in 2013 by @bjornfor but haven't been touched since.
They seem to be unmaintained, both in Nixpkgs and by upstream.
2017-09-16 11:47:50 +02:00
Vladimír Čunát
adfd4fe950 Merge #29335: chromium: 60.0.3112.90 -> 61.0.3163.79 [security]
(cherry picked from commit b82b23b25b)
2017-09-16 11:23:04 +02:00
Peter Hoeg
bf75da298b dropbox: 34.4.20 -> 34.4.22
(cherry picked from commit 569867b3e8)
2017-09-16 10:35:48 +08:00
Samuel Leathers
11c88047b8 nilearn: 0.2.5 -> 0.3.1
fixes #29178

(cherry picked from commit f8f62d5216)
2017-09-16 00:26:26 +01:00
Bjørn Forsman
8f37a144e1 nixos/wpa_supplicant: use literalExample
For various reasons, big Nix attrsets look ugly in the generated manual
page[1]. Use literalExample to fix it.

[1] Quotes around attribute names are lost, newlines inside multi-line
strings are shown as '\n' and attrs written on multiple lines are joined
into one.

(cherry picked from commit 6b7a9376f1)
2017-09-15 20:31:53 +02:00
Daiderd Jordan
c90c29550f nntp-proxy: fix clang build
(cherry picked from commit 8554eafb78)
2017-09-15 20:01:47 +02:00
Vincent Laporte
46a68c8680 gtk+: 3.22.19 -> 3.22.21
(cherry picked from commit 2f70241e21)
2017-09-15 20:30:14 +03:00
Vladimír Čunát
831e310f24 gkt3: maintenance 3.22.18 -> 3.22.19
(cherry picked from commit 3980abe191)
2017-09-15 20:30:07 +03:00
Joachim Fasting
838f8617ce pharo-launcher: fix build
As noted by @dtzWill at https://github.com/NixOS/nixpkgs/pull/26924/files#r126686231

(cherry picked from commit 42f2439228)

Re: https://github.com/NixOS/nixpkgs/issues/28643
2017-09-15 18:53:08 +02:00
Peter Simons
2f90efacab ghc-7.2.2 is broken
(cherry picked from commit 33b09c0f0e)
2017-09-15 13:56:33 +02:00
Rob Vermaas
38883f8ddc google-instance-setup: add openssh to path
(cherry picked from commit 0783efb41c)
2017-09-15 10:49:01 +00:00
Frederik Rietdijk
baee496f37 Merge pull request #29353 from disassembler/pgpdump
pgpdump: disable tests
(cherry picked from commit 56f8b3626f)
2017-09-15 12:36:58 +02:00
Frederik Rietdijk
e13c4975c1 Merge pull request #29357 from FRidh/ld_library_path
Python 3.4 and 3.5: support LD_LIBRARY_PATH

(cherry picked from commit fdbe81bab0)
2017-09-15 12:36:18 +02:00
Frederik Rietdijk
631b96acbf Merge pull request #29407 from disassembler/cxfreeze
cx_Freeze: 4.3.4 -> 5.3.2

(cherry picked from commit beaada6c2d)
2017-09-15 12:32:07 +02:00
Samuel Leathers
8067485230 mdp: disable tests
(cherry picked from commit 140136ad95)
2017-09-15 12:29:42 +02:00
Frederik Rietdijk
01aafc644f Merge pull request #29388 from disassembler/arelle
arelle: add py3to2 as a buildInput
(cherry picked from commit 47e1751fd0)
2017-09-15 12:27:05 +02:00
Frederik Rietdijk
329d844c81 Merge pull request #29405 from disassembler/jedi
jedi: disable tests
(cherry picked from commit f5ea99f195)
2017-09-15 12:16:46 +02:00
Eelco Dolstra
cb3203645a nixUnstable: 1.12pre5511_c94f3d55 -> 1.12pre5619_346aeee1
(cherry picked from commit b86fd340f0)
2017-09-15 11:41:10 +02:00
Eelco Dolstra
8e80fa158b blender: 2.78c -> 2.79
(cherry picked from commit e3b562e0e2)
2017-09-15 11:40:54 +02:00
Jörg Thalheim
a3a0594820 dmd: remove broken flag
(cherry picked from commit 3b5245f0c4)
2017-09-15 04:38:39 -05:00
Thomas Mader
7bfde1d2b9 apple-sdk: Move cf-private first in list, otherwise the build fails because CoreFoundation/CFAttributedString.h could not be found.
The problem appeared when building ldc on Mac OSX. See also 13778.

(cherry picked from commit 2a0f1ecdc8)
2017-09-15 04:38:30 -05:00
Thomas Mader
463656e755 dtools: Fix rdmd test when building with newer phobos version which doesn't include std.stdiobase.d anymore.
(cherry picked from commit 930b01ab3d)
2017-09-15 04:38:21 -05:00
Thomas Mader
f5fe80a042 dmd: Run dmd-testsuite in checkPhase
Remove cppa test for now because it isn't working.

(cherry picked from commit 5a35b0707f)
2017-09-15 04:37:54 -05:00
Thomas Mader
e357ee4589 dmd: Fix bootstrap dmd compiler build. Doesn't work with gcc6.
(cherry picked from commit e17fdb9607)
2017-09-15 04:37:44 -05:00
Samuel Leathers
706f3a3833 PyWebDAV: Fix src url
(cherry picked from commit 95f88c458b)
2017-09-15 10:42:15 +02:00
Maarten Hoogendoorn
ec76904f30 mount is in utillinux
(cherry picked from commit d27f710b87)
2017-09-15 08:55:23 +01:00
Maarten Hoogendoorn
d8f979d0e2 Fix oc cluster up
The command `oc cluster up` mainly runs code though Docker containers.

However, in pkg/bootstrap/docker/host/host.go, nsenter is used to run
some commands on the host. For this to work on NixOS, we need to provide
the absolute path to the required programs.

(cherry picked from commit a3dde7776b)
2017-09-15 08:55:23 +01:00
Maarten Hoogendoorn
57ae49b05a openshift: 1.5.0 -> 3.6.0
- Updated from 1.5.0 to 3.6.0 (this is just the next version, but Red
  Hat did quite the version bump there)
- Added 'v' to the version; it is used by `oc cluster up` to determine
  which image should be downloaded.
- Added myself as a maintainer.

(cherry picked from commit f8a72662cf)
2017-09-15 08:55:22 +01:00
Orivej Desh
84cb90d690 include-what-you-use: 0.6 -> 0.8
(cherry picked from commit a4a187fe5f)
2017-09-15 01:04:34 +02:00
Daiderd Jordan
b1c115e211 nixpkgs-tests: add tests for llvm 3.9
(cherry picked from commit 70c4ac12cd)
2017-09-15 00:56:19 +02:00
Daiderd Jordan
af12478dfb llvm-packages: apply cc-wrapper/stdenv changes to older versions
(cherry picked from commit ad486c48a6)
2017-09-15 00:56:06 +02:00
Daiderd Jordan
c13335a5ca clang-stdenv: move libstdcxxHook to cc-wrapper
(cherry picked from commit ac88515052)
2017-09-15 00:55:37 +02:00
Matthias Beyer
bec8a34469 sqlitebrowser: 3.9.1 -> 3.10.0
(cherry picked from commit 65b91cd23b)
2017-09-14 22:31:37 +02:00
Daiderd Jordan
f17ceeab18 irony-server: don't use wrapped clang
(cherry picked from commit d1260ea6aa)
2017-09-14 22:25:40 +02:00
Daiderd Jordan
56b2df0923 rtags: use clang-unwrapped
(cherry picked from commit cd97211358)
2017-09-14 22:04:56 +02:00
Thomas Tuegel
4515d4af50 Merge pull request #29369 from bkchr/remove_kde4_workspace_kde_telepathy
Remove kde4workspace and kdetelepathy

(cherry picked from commit 815135f31b)
2017-09-14 11:19:36 -05:00
Tuomas Tynkkynen
5190526d1c linuxPackages.evdi: Mark broken on >= 4.13
(cherry picked from commit 94454384c2)
2017-09-14 18:55:06 +03:00
Tuomas Tynkkynen
7545ab5f31 linuxPackages.netatop: Mark broken on >= 4.13
(cherry picked from commit 2459616f0f)
2017-09-14 18:55:06 +03:00
Tuomas Tynkkynen
6529d7d2c1 linuxPackages.sch_cake: Mark broken on >= 4.13
(cherry picked from commit 808ddd86fc)
2017-09-14 18:55:06 +03:00
Tuomas Tynkkynen
4215b390d3 swfmill: Fix build on GCC 6
https://hydra.nixos.org/build/60900173
(cherry picked from commit c8c82a67f0)
2017-09-14 18:21:41 +03:00
Bastian Köcher
9475c13a7f mailnag: 1.1.0 -> 1.2.1
(cherry picked from commit 5b91f125aa)
2017-09-14 17:07:00 +03:00
Jörg Thalheim
bd98103fac Merge pull request #29370 from mguentner/urltypofixes
fix src.url typos

(cherry picked from commit 610eac1773)
2017-09-14 14:50:22 +02:00
Tuomas Tynkkynen
6baffd9af5 awesomebump: Yet another RPATH-contains-TMPDIR hack
https://github.com/NixOS/patchelf/pull/98
(cherry picked from commit 14b833e560)
2017-09-14 15:46:16 +03:00
Tuomas Tynkkynen
058cb603f2 pythonmagick: Fix sha256
(cherry picked from commit eab8124939)
2017-09-14 15:46:07 +03:00
Tim Steinbach
1e588f9bc3 linux: 4.9.49 -> 4.9.50
(cherry picked from commit 5e4fcb63ac76e10aa36623477ebbafc00e3bcda1)
2017-09-14 08:40:27 -04:00
Tim Steinbach
ede357afda linux: 4.12.12 -> 4.12.13
(cherry picked from commit e5beeced7a1fd725e203ad88acf1c67b16d5e5fa)
2017-09-14 08:40:27 -04:00
Tim Steinbach
eec780b687 linux: 4.13.1 -> 4.13.2
(cherry picked from commit 0e9599181dd85d68c32c089e95055e7dbffd9f5c)
2017-09-14 08:40:27 -04:00
Samuel Leathers
c6eb5fbe87 ws4py: add git to checkInputs
(cherry picked from commit 3f5f208d13)
2017-09-14 13:19:39 +02:00
Frederik Rietdijk
8822c7f348 python.pkgs.mwlib: mark as broken
(cherry picked from commit 1e16bceb46)
2017-09-14 13:07:38 +02:00
Domen Kožar
71fb65709c vm: remove trusty-updates hash as it changes too often
(cherry picked from commit f49b7d3c88)
Signed-off-by: Domen Kožar <domen@dev.si>
2017-09-14 11:31:00 +02:00
Samuel Leathers
cd2ecbe919 credstash: 1.13.2 -> 1.13.3
(cherry picked from commit dabf89fadd)
2017-09-14 09:52:43 +02:00
Samuel Leathers
304d3a4bce colanderalchemy: fixes tests
(cherry picked from commit 746f20fc7f)
2017-09-14 09:31:43 +02:00
Bjørn Forsman
5e860f6737 OVMF: add 'src' attribute
No functional change, but allows getting the source via the standard
attribute: `nix-build -A OVMF.src`.

(cherry picked from commit 67c70aa581)
2017-09-14 08:08:01 +02:00
Ruben Maher
e61f1a24c4 nextcloud-client: provide optional gnome-keyring integration
`qtkeyring` can use `gnome-keyring`, but it needs some help to find it.

I have not enabled this by default because not everyone who uses this will want
to pull in GNOME dependencies.

(cherry picked from commit e828dcb5cd)
2017-09-14 08:01:06 +02:00
Ruben Maher
d1414523f2 nextcloud-client: enable parallel building
So that the client can build faster.

(cherry picked from commit 4ce18c8367)
2017-09-14 08:01:05 +02:00
Ruben Maher
bb290c95e5 nextcloud-client: add inotify dependency when building on linux
This allows for more efficient change detection.

(cherry picked from commit e02f936b27)
2017-09-14 08:01:04 +02:00
Ruben Maher
6bd0b33261 nextcloud-client: use cmakeDir and cmakeFlags attrs
(cherry picked from commit ebb6488e74)
2017-09-14 08:01:03 +02:00
Jörg Thalheim
892015000a tor: skip ControlPort in torrc, if not set. 2017-09-13 23:34:04 +01:00
Tuomas Tynkkynen
7d7e9673fc treewide: Escape backslash in strings properly
"\." is apparently the same as "." wheras the correct one is "\\."

(cherry picked from commit 0c368ef02f)
2017-09-14 01:06:31 +03:00
Sarah Brofeldt
9483d1641f steam: Get rid of newStdcpp option, always on
(cherry picked from commit 734a04800a)
2017-09-13 22:05:03 +01:00
Daiderd Jordan
70cc6fa727 prometheus-node-exported: fix output cycle on darwin
(cherry picked from commit 56ea313c29)
2017-09-13 22:10:35 +02:00
Tuomas Tynkkynen
708f1683c6 diffoscope: Update tool list
(cherry picked from commit 98d84b1375)
2017-09-13 22:44:42 +03:00
Tuomas Tynkkynen
9e8da964d4 diffoscope: Remove obsolete and unreferenced patch
(cherry picked from commit ab5bd5e596)
2017-09-13 22:44:42 +03:00
Tuomas Tynkkynen
94bba27fed diffoscope: Revive hard links patch
(cherry picked from commit 890d4a2853)
2017-09-13 22:44:42 +03:00
Tuomas Tynkkynen
39acaf7c25 diffoscope: 85 -> 86
(cherry picked from commit 4b28da6fd8)
2017-09-13 22:44:42 +03:00
Andreas Rammhold
f1d6e24bdf afewmail: update meta.homepage (#29313)
(cherry picked from commit f47ab6c2fe)
2017-09-13 20:05:26 +02:00
Samuel Leathers
5879433aa9 irods-icommands: 4.2.0 -> 4.2.1
(cherry picked from commit 5fb93524b3)
2017-09-13 20:05:20 +02:00
Joachim Fasting
1939476ec1 socklog: properly disable the chkshsgr test
My previous attempt d438cbb0b6 was
bogus ...

(cherry picked from commit 705f47f50e)
2017-09-13 18:31:44 +02:00
taku0
23b2ca654b flashplayer: 26.0.0.151 -> 27.0.0.130
(cherry picked from commit c2e7d1f1f2)
2017-09-13 18:31:42 +02:00
Florian Jacob
c4674a88bb piwik: 3.0.4 -> 3.1.0
Patch for Nix was merged upstream and therefore could be removed.

(cherry picked from commit 556dfedda7)
2017-09-13 18:31:39 +02:00
Joachim Fasting
11f8e12aec libffcall: 1.10 -> 2.0
Thanks to Bruno Haible for a notifying me of this.

(cherry picked from commit e2ddc7ffd2)
2017-09-13 18:31:30 +02:00
John Ericson
a9ccf26c3b treewide: Use *Platform.extensions
(cherry picked from commit 5aec3f96a2)
2017-09-13 11:25:02 -04:00
John Ericson
e8e99f7466 lib: Add *Platform.extensions
This is used to platform specific library and exectuable extensions. In
the next commit I'll replace a bunch of ad-hoc logic with it.

(cherry picked from commit 741839a687)
2017-09-13 11:23:01 -04:00
Tim Steinbach
97eef25947 linux-copperhead: 4.13.1.a -> 4.13.1.b
(cherry picked from commit 87fa247867)
2017-09-13 08:21:21 -04:00
Bjørn Forsman
dcb66ca0d7 doc/submitting-changes.xml: suggest "nixos/<module>" prefix for NixOS changes
Commit 8537cf0f81
("CONTRIBUTING.md: suggest "nixos/<module>" prefix for NixOS changes")
only changed CONTRIBUTING.md file and forgot about the Nixpkgs manual.
(I didn't know this information was stored in two places.)

(cherry picked from commit 56a047c7a1)
2017-09-13 14:14:24 +02:00
Tuomas Tynkkynen
221a743514 prelink: Disable on Darwin
https://hydra.nixos.org/build/60439488

A tool that works on ELF files only isn't probably that useful on
Darwin.

(cherry picked from commit 2cd2ee5f85)
2017-09-13 14:49:50 +03:00
Tuomas Tynkkynen
62eeec7486 firebird: Fix build by using gcc5
https://hydra.nixos.org/build/59941948
(cherry picked from commit c78c565245)
2017-09-13 14:43:41 +03:00
Tuomas Tynkkynen
439c2073d2 policycoreutils: Fix setuid install
(cherry picked from commit 4d205eb044)
2017-09-13 14:21:40 +03:00
Antoine Eiche
7c1278d94f dockerTools.pullImage: change the docker deamon readiness mechanism
To wait for the docker deamon, curl requests are sent. However, if a
http proxy is set, it will respond instead of the docker daemon.
To avoid this, we send docker ps command instead of curl command.

(cherry picked from commit 132e790735)
2017-09-13 10:40:43 +01:00
Frederik Rietdijk
6076d9f31b python.pkgs.jupyter_console: 5.0.0 -> 5.2.0
(cherry picked from commit 8d4e37710f)
2017-09-13 10:25:04 +02:00
Frederik Rietdijk
64478a07fe python.pkgs.joblib: move expression
(cherry picked from commit 47dcf634bb)
2017-09-13 09:37:40 +02:00
Rodney Lorrimar
5ea5dbcd56 pythonPackages.ftfy: 5.1.1 -> 4.4.3
ftfy package was added for spaCy and is only used by spaCy.

This change downgrades its version to meet the bounds specified by
spaCy (>=4.4.2,<5.0.0).

Relevant to #28643.

(cherry picked from commit 566f5e9e8d)
2017-09-13 09:19:40 +02:00
Klaas van Schelven
f8cb04b96c PyBrain: Mark as broken
It's broken on all versions of Python (I've tried 2.7, 3.4, 3.5, 3.6)

I think the root cause is that PyBrain is not working with numpy >= 1.12.0 as I reported here:
https://github.com/pybrain/pybrain/issues/217

(The relevant release notes may be found here):
https://docs.scipy.org/doc/numpy-1.12.0/release.html#compatibility-notes

The PyBrain github repo does not seem very active (last commit 18 months ago, last release 3 years),
so I have some doubts as to whether this will be fixed any time soon.

I suppose an alternative solution could be to reintroduce the explicit dependency to numpy 1.11. But,
this is not entirely trivial: in c9b4a2f319, the versions 1.10, 1.11, 1.12 were folded into a single version.
Also, the numpy dependency is not a direct one, but is implied via scipy

(cherry picked from commit 50d36558a4)
2017-09-13 09:09:03 +02:00
Frederik Rietdijk
9bf53d18b5 python.pkgs.wheel: 0.29.0 -> 0.30.0
(cherry picked from commit 88367b1e78)
2017-09-13 09:06:58 +02:00
Vladimír Čunát
0b131dfaeb hpsa service: fallout from #28557 merge and revert
(cherry picked from commit 97ac29cafc)
2017-09-13 07:58:29 +02:00
Jan Tojnar
fd1b9e357d gnome-disk-utility: fix missing schemas for gnome-disk-image-mounter
Continuation of #28053

gnome-disk-image-mounter from gnome-disk-utility was not wrapped, resulting in an
error due to the inability to find gsettings schemas.

This commit replaces the manual wrapping of gnome-disks binary with wrapGAppsHook
so that all binaries are wrapped correctly.

(cherry picked from commit b64f149ea9)
2017-09-13 07:41:26 +02:00
rnhmjoj
3a52fb941a btfs: 2.13 -> 2.17
(cherry picked from commit b9dc49e847)
2017-09-13 01:02:43 +02:00
rnhmjoj
6adb5cbcfb pirate-get: 0.2.10 -> 0.2.12
(cherry picked from commit 375ff71380)
2017-09-13 01:02:40 +02:00
Mikael Brockman
a19583934f emacs: 25.2 -> 25.3
https://lists.gnu.org/archive/html/emacs-devel/2017-09/msg00211.html

> This is an emergency release to fix a security vulnerability in Emacs.
>
> Enriched Text mode has its support for decoding 'x-display' disabled.
> This feature allows saving 'display' properties as part of text.
> Emacs 'display' properties support evaluation of arbitrary Lisp forms
> as part of instantiating the property, so decoding 'x-display' is
> vulnerable to executing arbitrary malicious Lisp code included in the
> text (e.g., sent as part of an email message).

(cherry picked from commit 78f457c76c)
2017-09-13 01:02:34 +02:00
Joachim F
68778d0b77 Merge pull request #29286 from abuibrahim/release-17.09
odp-dpdk: fix a typo
2017-09-12 22:42:28 +00:00
Ruslan Babayev
d88ec014ef odp-dpdk: fix a typo
(cherry picked from commit 4ac8529dd4)
2017-09-12 13:43:52 -07:00
Daiderd Jordan
5fe5c843d0 kyotocabinet: fix darwin build
(cherry picked from commit 4d7c3b2f5f)
2017-09-12 22:16:16 +02:00
Daiderd Jordan
b16c73697a python-keyring: disable tests on darwin
(cherry picked from commit f0956b7baf)
2017-09-12 21:04:14 +02:00
Josef Kemetmueller
947f295ef1 pythonPackages.audiotools: Fix darwin build
(cherry picked from commit 6d760d970f)
2017-09-12 19:55:14 +02:00
Jörg Thalheim
30d6f55f47 nixos/openafs-client: update cellServDB 2009-06-29 -> 2017-03-14
(cherry picked from commit 39e327eeb5)
2017-09-12 13:14:01 +01:00
Tuomas Tynkkynen
e39775fd49 lib.cleanSourceFilter: Fix VIM swap file filtering
The backslash wasn't properly escaped, and "\." is apparently equal to
".". So it's accidentally filtering out these valid file names (in
Nixpkgs):

trace: excluding clfswm
trace: excluding larswm
trace: excluding mkpasswd

While at it, turn the file filter stricter to what it was before
e2589b3ca2. That is, the file name must
start with a dot: '.swp', '.foo.swo' are filtered but 'bar.swf' is not.

(cherry picked from commit 9275c3387e)
2017-09-12 15:01:15 +03:00
Tuomas Tynkkynen
6b5eeca9b7 pythonPackages.audiotools: Disable on Darwin
Last successful build 2015-09-20 07:44:17

https://hydra.nixos.org/build/60587519
(cherry picked from commit 8f566f4bde)
2017-09-12 15:01:09 +03:00
Tuomas Tynkkynen
7b05f25ffb pythonPackages.alot: Disable on Darwin
Last successful build 2015-12-31 19:17:08

https://hydra.nixos.org/build/60775312
(cherry picked from commit 8d85d279f2)
2017-09-12 15:01:06 +03:00
Tuomas Tynkkynen
1b6e075e59 toxic: Disable on Darwin
Last successful build 2014-03-12 17:47:58

https://hydra.nixos.org/build/59716009
(cherry picked from commit e6e8565131)
2017-09-12 15:01:03 +03:00
Tuomas Tynkkynen
37fc2c0c0a chromaprint: Disable on Darwin
Last successful build 2015-09-20 08:03:33

https://hydra.nixos.org/build/60589826
(cherry picked from commit 817c20c7ee)
2017-09-12 15:00:59 +03:00
Domen Kožar
3418e73469 pyopenssl: 17.0.0 -> 17.2.0
An attempt to fix tests under 32bit linux to unblock nix build
2017-09-12 13:37:03 +02:00
Dmitry Vyal
eb7b9e1edf tensorflow-1.1.0 for python3.6
Google publishes prebuilt tensorflow whl for python 3.4, 3.5, 3.6,
but nix expression for tensorflow only supported 3.5.
This change adds support for python-3.6.
2017-09-12 12:52:14 +02:00
Maximilian Güntner
124555b7b6 simavr: fix build for separate avr toolchain
(cherry picked from commit b22718d51c)
2017-09-12 10:33:31 +01:00
Maximilian Güntner
bc6561132b microscheme: replaced avrgcclibc with separate dependencies
(cherry picked from commit 414f5eff2d)
2017-09-12 10:33:31 +01:00
Maximilian Güntner
4ed547b94a arduino/ino: remove avrgcclibc as a dependency (see TODO)
(cherry picked from commit 6e54dbb49e)
2017-09-12 10:33:30 +01:00
Maximilian Güntner
ace472e343 avrdudess: add separate avr-{gcc, binutils} dependencies
(cherry picked from commit 0f74f11b03)
2017-09-12 10:33:30 +01:00
Maximilian Güntner
64d008cb73 avr-*: split avr-gcc-libc into separate packages
- avr-gcc 5.3.0 -> 5.4.0

closes #28220

Since the packages do not share a common prefix anymore, you need
to define the current store paths in your project's Makefile.

Example for an atmega644 build:

CFLAGS += -I /nix/store/9rffxzds5crcpm76g3nr03jx0aa657cf-avr-libc-2.0.0/avr/include
CFLAGS += -B /nix/store/9rffxzds5crcpm76g3nr03jx0aa657cf-avr-libc-2.0.0/avr/lib/avr5
CFLAGS += -L /nix/store/9rffxzds5crcpm76g3nr03jx0aa657cf-avr-libc-2.0.0/avr/lib/avr5
CFLAGS += -L /nix/store/8409dj9js4i5901i63275wxdm783l0p6-avr-gcc-5.4.0/lib/gcc/avr/5.4.0/avr5

(cherry picked from commit 6a458c169b)
2017-09-12 10:33:30 +01:00
Tuomas Tynkkynen
99d9f74d9f Revert "libgcrypt: Add pre-ARMv7 patch"
This reverts commit 1cfe9539f9.

No longer needed after the upgrade in 095af3e63b.

(cherry picked from commit ab62b7e9b9)
2017-09-12 12:26:06 +03:00
Bjørn Forsman
b98fda5cad nixos/gitolite: don't leak nix store hash into gitolite-admin username/key
It doesn't look good when the initial admin user is named
"<hash>-gitolite-admin" and the key stored as
"<hash>-gitolite-admin.pub". Instead, make it simply "gitolite-admin"
and "gitolite-admin.pub".

(cherry picked from commit 6b9ee30672)
2017-09-12 10:59:30 +02:00
pvgoran
898924ed5e services.gitolite: Add RequiresMountsFor unit option ...
... to ensure that the filesystem where `dataDir` resides is mounted when we do initialization or upgrade.

(cherry picked from commit 4c4f73c0eb)
2017-09-12 07:04:05 +00:00
rnhmjoj
6d7530563a vapoursynth-mvtools: 17 -> 19
(cherry picked from commit a7eb2e01bc)
2017-09-12 06:58:30 +00:00
rnhmjoj
902afad78e vapoursynth: R36 -> R38
(cherry picked from commit 3f9661588b)
2017-09-12 06:58:22 +00:00
Silvan Mosberger
37340f2f2c namecoin: legacy 0.3.80 -> core 0.13.0rc1
This updates namecoin from a legacy version from about 3 years ago
(https://github.com/namecoin/namecoin-legacy) to
the new namecoin-core.

(cherry picked from commit 8bd3664f373cb78a0526dc8a86e750f55b96420a)
(cherry picked from commit 31f349dbb4)
2017-09-12 07:17:49 +01:00
lassulus
20b9942065 bitcoin-xt: 0.11F -> 0.11G2
(cherry picked from commit f87d4ac2c1)
2017-09-12 07:17:49 +01:00
lassulus
f70f4c68bf altcoins: remove obsolete boost override
(cherry picked from commit 077dd9fca3)
2017-09-12 07:17:49 +01:00
Bjørn Forsman
726c294cae nixos/samba: remove space in "[ global ]" heading
Use consistent no-space style. (All documentation I've seen use no
space, and the generated section headings from the NixOS module also use
no space.)

(cherry picked from commit fc02a0265a)
2017-09-12 08:04:02 +02:00
Daiderd Jordan
5f165451c0 jbigkit: fix substituteInPlace
(cherry picked from commit 2509b629d7)
2017-09-12 00:17:52 +02:00
Daiderd Jordan
f155c98522 html2text: fix clang build
(cherry picked from commit 7b00a6ef15)
2017-09-11 23:42:02 +02:00
Daiderd Jordan
f15742bbaf go-mtpfs: fix darwin build
(cherry picked from commit 77294205ac)
2017-09-11 23:05:01 +02:00
timor
5566ca9fcd coin3d: include fix for newer compilers
This manifests as a segfault in any applications that use the library.

(cherry picked from commit cf32537210)
2017-09-11 21:32:43 +01:00
Jörg Thalheim
a82fe0ec5e Merge pull request #29187 from vanschelven/recaptcha-client
python.pkgs.recaptcha-client: disable broken versions
2017-09-11 19:41:02 +01:00
Markus Mueller
b7144b2db8 desmume: fix build with gcc6 by adding debian patch
Debian also removed the package in testing when building
with gcc7.

(cherry picked from commit 55b5a94d84)
2017-09-11 19:33:01 +01:00
Markus Mueller
6fb2a7c676 dmenu-wayland: git-2014-11-02 -> git-2017-04-07 fix build
Bumped and fixed substitution for package to build successfully.

(cherry picked from commit 301ab39213)
2017-09-11 19:31:28 +01:00
timor
9be724d65b qfsm: fix build with gcc 6 (#29245) 2017-09-11 20:29:16 +02:00
Aristid Breitkreuz
2248565ea4 blitz++: mark as broken 2017-09-11 20:15:15 +02:00
Bjørn Forsman
da832b5855 qmmp: 1.1.9 -> 1.1.10
(cherry picked from commit 88ae298467)
2017-09-11 20:10:04 +02:00
Bjørn Forsman
42caac39d8 qmmp: 1.1.5 -> 1.1.9
(cherry picked from commit 4b84127f1c)
2017-09-11 20:03:58 +02:00
timor
5bdfcbbea2 perl-Class-Autouse: 1.99_02 -> 2.01
(cherry picked from commit f717af03ad)
2017-09-11 18:50:35 +02:00
Robert Helgesson
c5f150d5ed perl-Data-Dumper-Concise: 2.022 -> 2.023
(cherry picked from commit 99b09a2006)
2017-09-11 18:44:54 +02:00
Robert Helgesson
6c773d3ae8 perl-Log-Contextual: 0.006003 -> 0.007001
(cherry picked from commit f6537dafe2)
2017-09-11 18:44:54 +02:00
timor
656cffa68d perl-Data-Dumper: 2.154 -> 2.161 + build fix
(cherry picked from commit dcdbe960f8)
2017-09-11 18:44:54 +02:00
Franz Pletz
cc5202c941 borgbackup: fix build with python36
cffi fails to build with python34.
2017-09-11 18:44:34 +02:00
timor
c22ff5213a perl-Devel-NYTProf: init at 6.04
(cherry picked from commit fdaaaea31e)
2017-09-11 17:43:35 +01:00
timor
2b7db2ea76 perl-Devel-DProf: deprecated, remove
does not build

(cherry picked from commit 60bb058cf5)
2017-09-11 17:38:37 +01:00
Tuomas Tynkkynen
a95a9fb4af make-fonts-cache.nix: Don't build-depend on unnecessary outputs of fontconfig
(cherry picked from commit 886837f479)
2017-09-11 19:22:46 +03:00
Bjørn Forsman
9355706fdb wireshark: 2.4.0 -> 2.4.1
Remove patches that have been merged upstream.

(cherry picked from commit f4bac5cdb7)
2017-09-11 18:01:52 +02:00
Bjørn Forsman
fd65540aa7 t1utils: 1.39 -> 1.41
(cherry picked from commit 835b2ccfa8)
2017-09-11 18:01:52 +02:00
Bjørn Forsman
038580c0c9 gsoap: 2.8.49 -> 2.8.53
(cherry picked from commit 421949e436)
2017-09-11 18:01:52 +02:00
Bjørn Forsman
28fbe0a7cf basex: 8.6.4 -> 8.6.6
(cherry picked from commit 0a7d124eb0)
2017-09-11 18:01:52 +02:00
Bjørn Forsman
b5607c41ca ascii: 3.15 -> 3.18
(cherry picked from commit 0177902337)
2017-09-11 18:01:52 +02:00
Jörg Thalheim
90f8d926ab altcoins: remove pkgs non-sense
(cherry picked from commit bb2e6d131e)
2017-09-11 16:59:14 +01:00
lassulus
4740b2c658 bitcoin-classic: 1.2.5 -> 1.3.6
(cherry picked from commit 0a4a6f71cb)
2017-09-11 16:59:06 +01:00
lassulus
773268eede mupen64plus: 1.5 -> 2.5
(cherry picked from commit f068f3f209)
2017-09-11 15:39:30 +01:00
Tuomas Tynkkynen
ebd90bfdb9 dbench: Disable on Darwin
Assumes Linux versions of xattr system calls. Has never built
successfully.

https://hydra.nixos.org/build/60443210
(cherry picked from commit e61022ac55)
2017-09-11 16:35:22 +03:00
Bjørn Forsman
92ca300cc6 eagle: 7.5 -> 7.7
This is the latest release from Cadsoft, before they were bought by
Autocad. Autocad has released 8.x, but

- it requires reworking the Nix expression (different packaging)
- the paid license version requires a monthly subscription fee, you never
  "own" the software (AFAICT).

Due to the licensing change in 8.x, I think keeping Eagle 7.x around is
a good idea.

(cherry picked from commit 28f780b320)
2017-09-11 14:48:16 +02:00
Domen Kožar
64a563f15b vm: bump trusty-updates hash
In future we might just not use the updates if hash changes too
often.
2017-09-11 13:00:30 +02:00
Tuomas Tynkkynen
b1cb7ee364 pythonPackages.ssdeep: Mark broken
https://hydra.nixos.org/build/59943791

This package is a library and has no reverse dependencies. (It was once
used by diffoscope, but it changed to use a different library).

(cherry picked from commit 373b2231be)
2017-09-11 13:53:06 +03:00
Thomas Tuegel
7921852a33 Merge pull request #29117 from bkchr/kde_applications_17_08_1
kdeApplications: 17.08.0 -> 17.08.1
(cherry picked from commit 6299659da6)
2017-09-11 05:11:16 -05:00
Tim Steinbach
15c04be775 linux-copperhead: 4.13.a -> 4.13.1.a
(cherry picked from commit 114a2bcc80)
2017-09-10 19:22:11 -04:00
John Ericson
b3128d3c48 ghc-8.2.1: Get rid of preReleaseName binding now that it is released
No hashes should be changed

(cherry picked from commit e916917acf)
2017-09-10 17:36:40 -04:00
Daiderd Jordan
2e65ad64fa nixpkgs-tests: add basic test for buildInputs
(cherry picked from commit b91307c2e1)
2017-09-10 22:56:54 +02:00
Daiderd Jordan
6e8d22e851 nixpkgs-tests: add basic test for cc-wrapper
(cherry picked from commit 19c4673310)
2017-09-10 22:56:40 +02:00
Sander van der Burg
471bea8fe6 fast-cli: fix build
(cherry picked from commit 397fc0daca)
2017-09-10 16:30:46 +00:00
Tim Steinbach
2f0cf23905 linux: 4.13 -> 4.13.1
(cherry picked from commit 54a4a22719451ae5b9a899025087d4a6e7f7095d)
2017-09-10 12:13:26 -04:00
Tim Steinbach
f7b2a625ca linux: 4.12.11 -> 4.12.12
(cherry picked from commit e5e8836cd1564ed675678bd4a3f8f279afd22b5a)
2017-09-10 12:13:26 -04:00
Tim Steinbach
b8a8f6f174 linux: 4.9.48 -> 4.9.49
(cherry picked from commit 2ec7d290cd96d7bfb1ed61a1a8a2d5b0625bf260)
2017-09-10 12:13:26 -04:00
Daiderd Jordan
3307386d45 perl-moose: fix darwin build
(cherry picked from commit 259e73d678)
2017-09-10 18:08:15 +02:00
Vaibhav Sagar
cd19919d1e znc: add openFirewall configuration option
(cherry picked from commit c7dd5e146b)
2017-09-10 18:00:34 +02:00
Vaibhav Sagar
d2b00a6a85 znc: open firewall with configured port
The configuration doesn't currently open the configured port, which is
less convenient than opening it.

(cherry picked from commit 83d89e9b22)
2017-09-10 18:00:34 +02:00
Pascal Bach
656f90717c riot-web: 1.12.2 -> 1.12.3
(cherry picked from commit 44ec317a13)
2017-09-10 17:55:52 +02:00
Eelco Dolstra
eeec388ac9 tribler: 7.0.0-beta -> 7.0.0-rc2
Also, fix the xcb plugin error
(https://github.com/NixOS/nixpkgs/issues/24256) and add service-identity which is a required dependency now.

(cherry picked from commit bcd382f032)
2017-09-10 17:55:52 +02:00
dywedir
ec8cc52bc5 fd: 2.0.0 -> 3.0.0
(cherry picked from commit bb0f86be43)
2017-09-10 17:55:52 +02:00
Peter Hoeg
69502062cf sane-frontends: boy scout cleanups
(cherry picked from commit af1f99143f)
2017-09-10 17:55:52 +02:00
Peter Hoeg
e872c9eedf sane-backends: 1.0.25 -> 1.0.27
Use a proper upstream as well.

(cherry picked from commit 67c949a8b6)
2017-09-10 17:55:52 +02:00
Peter Hoeg
8c3343e19d sane-backends: support parallel building
(cherry picked from commit 2dff799a10)
2017-09-10 17:55:52 +02:00
Vaibhav Sagar
a3d4721d3f znc: fix network example configuration
s/ssl/useSSL/

(cherry picked from commit 405050b2cb)
2017-09-10 17:55:51 +02:00
Peter Hoeg
557e1d2030 kget: init at 20170903
(cherry picked from commit 758c597696)
2017-09-10 17:55:51 +02:00
Ruslan Babayev
23d2db8876 ofp: mark as broken due to odp-dpdk change
(cherry picked from commit f319314c35)
2017-09-10 17:55:51 +02:00
Ruslan Babayev
8de61c321c pktgen: 3.1.0 -> 3.4.0
(cherry picked from commit f1e1d71494)
2017-09-10 17:55:51 +02:00
Ruslan Babayev
5053b8144b dpdk: drop examples output; simplify install phase
(cherry picked from commit f6075fc211)
2017-09-10 17:55:51 +02:00
Ruslan Babayev
b0df0af34f odp-dpdk: 1.12.0.0 -> 1.15.0.0
(cherry picked from commit ec85e42c0b)
2017-09-10 17:55:51 +02:00
Peter Hoeg
e6f2c4d51b manual: steam on nouveau also requires newStdCpp
(cherry picked from commit a9a3af423f)
2017-09-10 17:55:50 +02:00
Dan Peebles
46dc8a5450 yubikey-manager: 3.1 -> 4.0
Also, support Darwin properly

(cherry picked from commit 15502421c7)
2017-09-10 17:55:50 +02:00
Ruben Maher
05f1c244dd nixos/transmission: make it possible to use a different home directory (#29138)
(cherry picked from commit 4ff9e9e333)
2017-09-10 17:55:50 +02:00
John Mercier
659f53a05d notion: 3-2015061300 -> 3-2017050501
(cherry picked from commit fc0e22b7a7)
2017-09-10 17:55:50 +02:00
Joachim Fasting
fc7d2aaec9 nixos/hardened: blacklist a few obscure net protocols
(cherry picked from commit 8aa0618cf0)
2017-09-10 17:55:50 +02:00
Joachim Fasting
e7e99f3642 nixos/hardened: set mmap_min_addr
This is set in the hardened linux config as well but sysctl is more
flexible & works with any boot.kernelPackages

(cherry picked from commit 2bce0b13e7)
2017-09-10 17:55:50 +02:00
Joachim Fasting
6bb5c1ba49 tor-browser-bundle-bin: runtime purity improvements
These changes reduce file accesses outside TBB_HOME or the Nix store, as
determined by running under strace -e access,open,stat.

(cherry picked from commit f84125c3b1)
2017-09-10 17:55:49 +02:00
Joachim Fasting
481ccb82c8 tor-browser-bundle-bin: hard-code path to desktop Icon
(cherry picked from commit c8f2dbae9f)
2017-09-10 17:55:49 +02:00
Michael Weiss
639848651b androidenv: Add the Android Instant Apps SDK
(cherry picked from commit af78d76718)
2017-09-10 17:55:49 +02:00
Michael Weiss
cace24242c androidenv: Update all packages using fetch.sh
(cherry picked from commit 498e3a9989)
2017-09-10 17:55:49 +02:00
Thomas Bach
b9638c2014 haproxy: 1.7.8 -> 1.7.9
(cherry picked from commit d34386792d)
2017-09-10 17:55:49 +02:00
Thomas Bach
4d4280a834 haproxy: haproxy.org is now accessible via https
(cherry picked from commit fd84128595)
2017-09-10 17:55:49 +02:00
Michael Weiss
790036dbee pythonPackages.glances: 2.11 -> 2.11.1
(cherry picked from commit 8e3681d8bb)
2017-09-10 17:55:49 +02:00
Vincent Laporte
307ce6c0dc smplayer: 17.8.0 -> 17.9.0
(cherry picked from commit b5c9a47b85)
2017-09-10 17:55:48 +02:00
Will Dietz
d0a976e872 rr: 4.5.0 -> 5.0.0
(cherry picked from commit b95dc6f7d6)
2017-09-10 17:55:48 +02:00
timor
8687d7885e perl-ExtUtils-XSpp: 0.1700 -> 0.18
(cherry picked from commit dd07d9a04d)
2017-09-10 17:55:48 +02:00
timor
8c602e0e82 perl-ExtUtils-ParseXS: 3.24 -> 3.35
(cherry picked from commit 34c76e463e)
2017-09-10 17:55:48 +02:00
Tim Steinbach
2a33eaa7d8 vscode: 1.15.1 -> 1.16.0
(cherry picked from commit 58963fda09)
2017-09-10 17:55:48 +02:00
dywedir
b261baf607 minidlna: 1.1.5 -> 1.2.1
(cherry picked from commit 79770136ff)
2017-09-10 17:55:48 +02:00
Vincent Laporte
9a1253c064 aften: init at 0.0.8
Aften is an audio encoder which generates compressed audio streams based on
ATSC A/52 specification. This type of audio is also known as AC-3 or Dolby®
Digital and is one of the audio codecs used in DVD-Video content.

Homepage: http://aften.sourceforge.net/
(cherry picked from commit 6e009edc41)
2017-09-10 17:55:47 +02:00
Peter Hoeg
de84d8446b neovim-qt: 0.2.7 -> 0.2.8
We now also run some of the tests which is better than nothing.

(cherry picked from commit 608fe16482)
2017-09-10 17:55:47 +02:00
Peter Hoeg
6f1eacac88 neomutt: 20170714 -> 20170907
(cherry picked from commit b21778f43e)
2017-09-10 17:55:47 +02:00
Cray Elliott
77c46580ec wineUnstable: 2.15 -> 2.16
bump staging as well

(cherry picked from commit c892f77e37)
2017-09-10 17:55:47 +02:00
romildo
7a2f00d288 efl: 1.20.2 -> 1.20.3
(cherry picked from commit b776cd02bf)
2017-09-10 17:55:47 +02:00
Jason Miller
f8e518817f tigervnc: correct default ssh client path (#29084)
* tigervnc: correct default ssh client path

The -via command sets up an ssh tunnel, but is hardcoded to /usr/bin/ssh
upstream.  This patches it to use the nixpkgs openssh client.

* tigervnc: patch ssh path correctly

(cherry picked from commit e9183fd2d4)
2017-09-10 17:55:47 +02:00
Jaakko Luttinen
bfa5987ab6 rssguard: 3.4.0 -> 3.4.2
(cherry picked from commit b17ccf39c4)
2017-09-10 17:55:46 +02:00
gnidorah
bc5d6e3250 rambox: 0.5.10 -> 0.5.12
(cherry picked from commit 9810c0c911)
2017-09-10 17:55:46 +02:00
Matthieu Coudron
9530cd9219 offlineimap: 7.1.1 -> 7.1.2
(cherry picked from commit 4551099cb8)
2017-09-10 17:55:46 +02:00
Markus Mueller
300b9f13de mcrl2: 201409 -> 201707
(cherry picked from commit edd94f5fcd)
2017-09-10 17:55:46 +02:00
lassulus
e09335914e centerim: 4.22.10 -> 5.0.1
(cherry picked from commit 72699348c8)
2017-09-10 17:55:46 +02:00
Lancelot SIX
5bedd80b09 gdb: 8.0 -> 8.0.1
See http://lists.gnu.org/archive/html/info-gnu/2017-09/msg00005.html
for release information.

(cherry picked from commit 653cad7a3c)
2017-09-10 17:55:46 +02:00
Andraz Brodnik
9d7ee2e897 Add gosu
(cherry picked from commit 4955943101)
2017-09-10 17:55:46 +02:00
AndersonTorres
586d90215a mcomix: fixup
MComix is failing in the check phase; so, we'll not check it.

(cherry picked from commit f93a019816)
2017-09-10 17:55:45 +02:00
Kamil Chmielewski
dd978b3101 yEd: 3.17 -> 3.17.1
(cherry picked from commit d70e64ceff)
2017-09-10 17:55:43 +02:00
Daiderd Jordan
07602a9176 glslviewer: fix darwin build
(cherry picked from commit 92163ec65c)
2017-09-10 17:26:48 +02:00
Aristid Breitkreuz
302b5af7d6 v8: fix v3 builds by switching to GCC 5 (mksnapshot segfaults with GCC 6) 2017-09-10 17:17:11 +02:00
Daiderd Jordan
4e1bc40607 fox-1.6: add missing frameworks
(cherry picked from commit b310053c01)
2017-09-10 17:11:10 +02:00
Niklas Hambüchen
cf9c0199dc glusterfs: Fix glusterfind's crawlers dlopen() error.
This fixes:

  Traceback (most recent call last):
    File "/nix/store/7f9arl3f9xyj8sm05mkanh2mlp217192-glusterfs-3.10.2/libexec/glusterfs/glusterfind/changelog.py", line 22, in <module>
      import libgfchangelog
    File "/nix/store/7f9arl3f9xyj8sm05mkanh2mlp217192-glusterfs-3.10.2/libexec/glusterfs/glusterfind/libgfchangelog.py", line 21, in <module>
      libgfc = CDLL("libgfchangelog.so", use_errno=True, mode=RTLD_GLOBAL)
    File "/nix/store/nlyr5ankhi7yvva8zndi718zj37js270-python-2.7.13-env/lib/python2.7/ctypes/__init__.py", line 362, in __init__
      self._handle = _dlopen(self._name, mode)
  OSError: libgfchangelog.so: cannot open shared object file: No such file or directory
  Connection to 10.0.0.2 closed.

when running `glusterfind pre`.

Done by setting PYTHONPATH/LD_LIBRARY_PATH as for the other
Python scripts.

(cherry picked from commit abc96aae47)
2017-09-10 16:53:06 +02:00
Niklas Hambüchen
f0a12b8848 glusterfs: Patch upstream bug preventing glusterfind from running.
See: https://bugzilla.redhat.com/show_bug.cgi?id=1489610

Also add patch to correctly log stderr from remote nodes
when glusterfind fails.
This, too, should be removed when fixed upstream.

(cherry picked from commit e7325f82a3)
2017-09-10 16:53:06 +02:00
Niklas Hambüchen
49da03dfff glusterfs: Fix wrong xattr package: xattr -> pyxattr.
Fixes error

  File "/nix/store/lxpsl84km87xpk59nai6a33ihgpfs7qr-glusterfs-3.10.2/libexec/glusterfs/glusterfind/changelog.py", line 105, in populate_pgfid_and_inodegfid
      file_xattrs = xattr.list(p)
  AttributeError: 'module' object has no attribute 'list'

when using `glusterfind pre`.

(cherry picked from commit 8e329da496)
2017-09-10 16:53:06 +02:00
Niklas Hambüchen
6830087d7b glusterfs service: Ensure dirs needed by glusterfind exist
(cherry picked from commit 5bc38fc089)
2017-09-10 16:53:06 +02:00
Sander van der Burg
71f0a68a82 fs-uae: build on x86 linux only
(cherry picked from commit bf9b88f154)
2017-09-10 14:52:00 +00:00
Sander van der Burg
726f45a323 tomcat: bump versions
(cherry picked from commit 631abf835e)
2017-09-10 14:43:28 +00:00
Sander van der Burg
59b18ebd9e fs-uae: 2.8.0 -> 2.8.3
(cherry picked from commit 345e570921)
2017-09-10 14:26:33 +00:00
Rob Vermaas
7f47214526 mpich2: use gfortran 5 2017-09-10 14:11:40 +00:00
Sander van der Burg
3c148e1a54 vice: 2.2 -> 3.1 + fix build procedure
(cherry picked from commit 6e1eedd64e)
2017-09-10 14:00:45 +00:00
Sander van der Burg
cfbb20c8b5 zsnes: restrict building to x86-based Linux platforms only, znses' core is written in x86 asm code
(cherry picked from commit 0d8e157d61)
2017-09-10 14:00:28 +00:00
Aristid Breitkreuz
4d40df403b ispc: use newer version and LLVM 4.0 due to bug in clang++ 3.9 wrapper (see #29204) 2017-09-10 15:44:28 +02:00
Rob Vermaas
9ec0e863b6 Missing self reference 2017-09-10 13:43:45 +00:00
Rob Vermaas
2252998878 Missing semicolon 2017-09-10 13:42:29 +00:00
Jörg Thalheim
ee539d672e python.pkgs.python_simple_hipchat: move out of python-packages
(cherry picked from commit cfb64bdbbd)
2017-09-10 14:33:13 +01:00
Klaas van Schelven
f3522ede1e python-simple-hipchat: 0.1.0 => 0.4.0
0.1.0 does not work on Python 3 but versions >= 0.2 do.

(cherry picked from commit 70fe7ed01e)
2017-09-10 14:33:06 +01:00
Jörg Thalheim
02dd90a3c5 python.pkgs.unicorn: disable python3
fixes #29200

(cherry picked from commit 8f3f64e512)
2017-09-10 14:23:36 +01:00
Matthias Beyer
27e42497b9 audacity: 2.1.2 -> 2.1.3
* Remove gcc-6 patch to make it compile
* Add autoreconf call in preConfigure phase
  Inspired by
  https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/audacity

Suggested-by: Moritz Ulrich <moritz@tarn-vedra.de>
(cherry picked from commit fd1e362205)
2017-09-10 14:23:36 +01:00
Rob Vermaas
eb970de5b6 xonsh: use python 3.5 2017-09-10 13:22:11 +00:00
Rob Vermaas
2ccdac8c9e shaderc: mark as broken 2017-09-10 12:37:55 +00:00
Tristan Helmich
2b1521bfc7 radarr: 0.2.0.778 -> 0.2.0.846
(cherry picked from commit 6d6637549f)
2017-09-10 12:51:41 +01:00
Rob Vermaas
c90698c0a2 seeks: use gcc5, no upstream patch/version available that builds with gcc6 2017-09-10 11:49:26 +00:00
Jörg Thalheim
0f9cda064d perlPackages.Apache-Test: 1.38 -> 1.40
fixes #29155

(cherry picked from commit 87eafdc887)
2017-09-10 12:28:34 +01:00
Jörg Thalheim
ab4a242870 oprofile: fix hardcoded rm/cp paths
(cherry picked from commit a26817b215)
2017-09-10 12:03:03 +01:00
Markus Mueller
7b106c77b1 oprofile: 1.1.0 -> 1.2.0
Fixes build with newer gcc versions.

(cherry picked from commit 79f13f19f0)
2017-09-10 12:02:55 +01:00
Falco Peijnenburg
b31807a93d tests/elk: Fixed failing build on i686.
Too much memory is required for the test.

(cherry picked from commit 11ccf69f75)
2017-09-10 11:54:58 +01:00
Michael Raskin
5d369ba6c4 Merge pull request #29192 from vanschelven/cuneiform
Trying a less disruptive patch for Cuneiform
2017-09-10 12:52:39 +02:00
Jörg Thalheim
ee1aba6ac0 arm-frc-linux-gnueabi-binutils: mark as broken
(cherry picked from commit 72673e67f2)
2017-09-10 11:41:08 +01:00
Michael Raskin
4bc42d9c35 Trying a less disruptive patch for Cuneiform 2017-09-10 12:38:37 +02:00
Aristid Breitkreuz
f6dffbf415 v8: fix 5.4 build 2017-09-10 12:35:39 +02:00
Aristid Breitkreuz
370e2e7caa v8: remove unused old versions 2017-09-10 12:03:28 +02:00
Rob Vermaas
8d5fc1beda dmd: mark as broken 2017-09-10 09:58:37 +00:00
Klaas van Schelven
35009b3a3a python.pkgs.recaptcha-client: disable broken versions
It seems that the recaptcha-client package is no longer maintained.

* The latest released version (1.0.6) is from the year 2011;
* The project page does not mention which Python versions are supported
* The project is hosted on google code, which is discontinued

I was able to succesfully build with Python versions 3.3, 3.4, but not
3.5, 3.6.
2017-09-10 11:51:54 +02:00
Vladimír Čunát
5f15a9f53e stdenv bootstrap: fix evaluation
This is probably a fallout from #28557 merge and revert.
I can't see why exactly this happened, but it seems a safe fix.

(cherry picked from commit c86eb1da5f)
2017-09-10 11:18:50 +02:00
Rob Vermaas
c651a0ccbf gnupg: add gnupg2 alias/symlink for 2.2. Otherwise signing commits with git break. 2017-09-10 09:10:24 +00:00
Rob Vermaas
fbe46c7a24 Snapper: use gcc5, as there is not upstream patch for gcc6 2017-09-10 09:05:14 +00:00
Franz Pletz
c25f2b369d nixos/release: xmonad isn't release-critical
(cherry picked from commit 0d206c0b6c)
2017-09-10 11:02:11 +02:00
Eelco Dolstra
d04de205f3 nifskope: Fix build
https://hydra.nixos.org/build/60608938
(cherry picked from commit 79c9adce65)
2017-09-10 10:58:16 +02:00
timor
32e85cdf04 openafsClient: 1.6.20.2 -> 1.6.21
(cherry picked from commit 602e851052)
2017-09-10 09:36:36 +01:00
Itai Zukerman
29363f276d plex: 1.7.5 -> 1.8.4
(cherry picked from commit 21bac5cbfb)
2017-09-10 10:23:39 +02:00
Peter Simons
f456d206e0 Agda: disable broken build 2017-09-10 09:42:10 +02:00
Peter Simons
19dad71200 Allure & LambdaHack: disable failing Hydra builds 2017-09-10 09:37:18 +02:00
Frederik Rietdijk
45e518d8f0 Merge pull request #29158 from nlewo/ofxclient
pythonPackages.ofxclient and pythonPackages.osprofiler: remove argparse from requirements

(cherry picked from commit 6521a83efe)
2017-09-10 08:54:45 +02:00
Daiderd Jordan
4075187a8c fontforge-fonttools: use $CC
(cherry picked from commit 2317a07fbb)
2017-09-10 00:11:09 +02:00
Daiderd Jordan
830b121571 et: fix build with clang
(cherry picked from commit c0e7983359)
2017-09-09 23:43:26 +02:00
Daiderd Jordan
150195bdf3 eggdrop: fix tcllib reference on darwin
(cherry picked from commit 479c15b08b)
2017-09-09 23:08:00 +02:00
timor
376eb14ac6 perl-File-Modified: 0.07 -> 0.10
(cherry picked from commit e480b4baee)
2017-09-09 17:58:09 +02:00
timor
23b4aa1a8a perl-Filter-Simple: 0.91 -> 0.94
(cherry picked from commit 4bf61ab252)
2017-09-09 17:58:08 +02:00
Peter Simons
f366faa578 haskell-text-zipper: disable test suite to fix the build
(cherry picked from commit e960eb0bf5)
2017-09-09 17:08:44 +02:00
Aleksey Kladov
a6bba8335b lxqt-session: fix the build
closes #29130

(cherry picked from commit 6ce21acf32)
2017-09-09 16:14:27 +02:00
Tim Steinbach
e3fa7ef391 tests: xmonad less dependent on timings
(cherry picked from commit 84e34d4d5d)
2017-09-09 10:07:48 -04:00
Daiderd Jordan
7ccda60ea1 dibbler: fix darwin build
(cherry picked from commit 6226fd05ba)
2017-09-09 15:24:06 +02:00
Daiderd Jordan
ab0d743166 re2: fix dylib library id
(cherry picked from commit 6058539272)
2017-09-09 15:11:53 +02:00
Bjørn Forsman
cc601675e2 kicad: 4.0.6 -> 4.0.7
(cherry picked from commit 15c18cef3d)
2017-09-09 13:37:07 +02:00
Bjørn Forsman
2195b6b50e kicad: put the full version string in name
(cherry picked from commit dfbb710375)
2017-09-09 13:37:06 +02:00
Samuel Leathers
a342d6d780 slic3r: fix build with gcc6
(cherry picked from commit 707ee76522)
2017-09-09 09:56:19 +02:00
Nikolay Amiantov
85567a0941 gfortran: default to gfortran6
This is needed to be in sync with GCC. Fixes xgboost.

(cherry picked from commit 75b3113a4d)
2017-09-09 05:52:20 +03:00
Nikolay Amiantov
4652e1c5e0 openbrf: fix build
(cherry picked from commit b3c35a3974)
2017-09-09 05:52:18 +03:00
Daiderd Jordan
f665a37231 consul: fix output cycle on darwin
(cherry picked from commit cc7b771fcf)
2017-09-09 00:29:31 +02:00
Daiderd Jordan
8210e2a236 c3d: fix darwin build
(cherry picked from commit 25f74ecc8b)
2017-09-08 22:47:12 +02:00
Daiderd Jordan
18f6996169 gsc: fix darwin build
(cherry picked from commit 76437e5e5a)
2017-09-08 22:24:18 +02:00
Tom Saeger
043737b670 pythonPackages.dotfiles: 0.6.3 -> 0.6.4
(cherry picked from commit e1385f0a9461a1112c74f22f37ed3d56b5620770)
2017-09-08 22:07:05 +02:00
Spencer Baugh
065f9d7060 pythonPackages.linuxfd: init at 1.4.4
(cherry picked from commit 4978b204e3)
2017-09-08 22:03:44 +02:00
Robert Helgesson
399101c7a3 python-gst-python: fix pygi overrides dir path
Before it created a lib directory inside the lib directory.

(cherry picked from commit 23cc97f16b)
2017-09-08 21:56:26 +02:00
Daiderd Jordan
8926c06469 bigloo: use default stdenv
(cherry picked from commit 9e142e5a3e)
2017-09-08 21:50:37 +02:00
Daiderd Jordan
fc8634427a autotrace: fix darwin build
(cherry picked from commit a8382432d9)
2017-09-08 21:11:51 +02:00
Peter Simons
33bdb2715c Synchronize Haskell infrastructure with master at f93a019816. 2017-09-08 20:29:18 +02:00
PanAeon
3a3e0d8b04 update skypeforlinux to 5.4.0.1; Fix autologin issue (#29122)
skypeforlinux: 5.3.0.1 -> 5.4.0.1
(cherry picked from commit 5d1a8ecd91)
2017-09-08 18:25:20 +01:00
Thomas Tuegel
928a1ea373 dropbox: 33.4.23 -> 34.4.20
(cherry picked from commit a6fcd2ce2f)
2017-09-08 11:36:50 -05:00
Peter Hoeg
e7345735d3 rubygems: 2.6.10 -> 2.6.13
Fixes a number of CVEs:

- a DNS request hijacking vulnerability. (CVE-2017-0902)
- an ANSI escape sequence vulnerability. (CVE-2017-0899)
- a DoS vulnerability in the query command. (CVE-2017-0900)
- a vulnerability in the gem installer that allowed a malicious gem to overwrite arbitrary files. (CVE-2017-0901)

(cherry picked from commit 9f51b3c105)
2017-09-08 16:23:09 +01:00
Robin Gloster
36fd26a6ae dmtcp: 2.5.0 -> 2.5.1
(cherry picked from commit 04f456ef94)
2017-09-08 16:26:43 +02:00
Robin Gloster
b0664831b7 rosegarden: 15.08 -> 17.04
(cherry picked from commit 3d325000ab)
2017-09-08 16:26:35 +02:00
lassulus
c81b036f73 vbam: svn-1507 -> unstable-2017-09-04
(cherry picked from commit 2524e4cfd5)
2017-09-08 16:26:29 +02:00
Samuel Leathers
e1d0bf12a1 scorched3d: fixing build with gcc6
(cherry picked from commit dc15c15338)
2017-09-08 16:26:23 +02:00
romildo
b893ee4ae2 terminology: 1.1.0 -> 1.1.1
(cherry picked from commit dce314e55b)
2017-09-08 16:25:35 +02:00
Tim Steinbach
50e0deecaa atom: 1.19.4 -> 1.19.7
(cherry picked from commit 00829717e8)
2017-09-08 16:24:54 +02:00
Vladimír Čunát
4fe48dd356 factorio: fixup my eval fixup f9ea527a02
(cherry picked from commit 3a93d9c516)
2017-09-08 16:24:24 +02:00
Samuel Leathers
7e1f3592a4 xiphos: 4.0.3 -> 4.0.6
(cherry picked from commit 4bfa7d891f)
2017-09-08 16:24:09 +02:00
Samuel Leathers
22164c314b webkitgtk-2.17: init at 2.17.91
(cherry picked from commit e11c7399a0)
2017-09-08 16:24:00 +02:00
Samuel Leathers
201d7cddc6 gnome2.gtkhtml4: init at 4.10.0
(cherry picked from commit 2aa8bc45d3)
2017-09-08 16:23:27 +02:00
Franz Pletz
de7fb48967 searx: fix build
(cherry picked from commit 5901a645a8)
2017-09-08 16:23:14 +02:00
Franz Pletz
ba03b7195d atlassian-crowd: 2.12.0 -> 3.0.1
(cherry picked from commit 0ad1d8939f)
2017-09-08 16:23:06 +02:00
Matt McHenry
6e4a7e598a amarok: fixup by building with gcc-5
due to continued lack of progress on
https://github.com/NixOS/nixpkgs/issues/16588, probably not worth the
time for anything better.

Progress on: #28643

(cherry picked from commit af57251cb9)
2017-09-08 16:21:49 +02:00
Vladimír Čunát
683d7dbe0a factorio: use throw instead of abort
Otherwise if you try to listing all available packages, you will get a
hard error on platforms not supported by this package.  Consequently the
tarball job was broken.

(cherry picked from commit f9ea527a02)
2017-09-08 16:21:39 +02:00
zimbatm
6fde181321 yarn: 0.28.4 -> 1.0.1
(cherry picked from commit 2ae7e952b2)
2017-09-08 16:21:31 +02:00
Nikolay Amiantov
bab20afa84 python.pkgs.TheanoWithoutCuda: don't propagate stdenv
Fixes errors during buildEnv.

(cherry picked from commit db5a5ccf2b)
2017-09-08 16:19:27 +02:00
Nikolay Amiantov
ed566eae64 caffe: don't use CUDA by default
CUDA currently requires old GCC. Also, this way Caffe is usable without proprietary blobs.

(cherry picked from commit f1f944f23b)
2017-09-08 16:18:29 +02:00
Nikolay Amiantov
6d9c59bda4 python.pkgs.dlib: init at 19.6
(cherry picked from commit 5a2bb4c992)
2017-09-08 16:18:15 +02:00
Nikolay Amiantov
c17926b2c8 caffe: add Python support
Move to CMake in the process.

(cherry picked from commit c4bed3043d)
2017-09-08 16:17:55 +02:00
Nikolay Amiantov
040055b375 dlib: 19.4 -> 19.6
(cherry picked from commit eb6a8c3f52)
2017-09-08 16:17:44 +02:00
Nikolay Amiantov
ced1d50d8c bazel: 0.4.5 -> 0.5.4
(cherry picked from commit e5059a8739)
2017-09-08 16:17:32 +02:00
Nikolay Amiantov
f32122f98a caffe: 2015-07-02 -> 1.0-rc5
(cherry picked from commit 88641353d6)
2017-09-08 16:17:19 +02:00
Nikolay Amiantov
98ec5f7279 gcc7: 7.1.0 -> 7.2.0
(cherry picked from commit 1704eeb930)
2017-09-08 16:16:57 +02:00
Peter Hoeg
0e899275ea dict: enable the default upstream server so the client works out of the box
(cherry picked from commit 41e7e1304e)
2017-09-08 16:16:32 +02:00
Peter Hoeg
4519468090 syncthing: 0.14.36 -> 0.14.37
(cherry picked from commit e6c40a4dee)
2017-09-08 16:12:44 +02:00
Théo Zimmermann
ab410c3ac1 coq: fetch source from GitHub
(cherry picked from commit a26bbe547e)
2017-09-08 16:12:07 +02:00
Matthew Bauer
147047d72b pinentry-mac: no ‘fill plist’ stuff
fixes #26774

(cherry picked from commit 7f860249e1)
2017-09-08 16:11:50 +02:00
Tim Steinbach
e8e8c9b9c1 docker: Allow package selection in module
(cherry picked from commit 2bb57ef776)
2017-09-08 16:08:53 +02:00
Tim Steinbach
00bf522d58 Add XMonad test
(cherry picked from commit e153fa84a5)
2017-09-08 16:08:41 +02:00
Samuel Leathers
763020823a qucs: 0.0.18 -> 0.0.19
(cherry picked from commit 00753e078d)
2017-09-08 16:08:11 +02:00
Samuel Leathers
5eeab2372d adms: init at 2.3.6
(cherry picked from commit df1d5a4827)
2017-09-08 16:07:45 +02:00
Moritz Kiefer
aa527916df haskell/natural-transformation: add dependency on semigroups for GHC 7.10
(cherry picked from commit 243952d9d4)
2017-09-08 16:06:49 +02:00
José Luis Lafuente
13bc37120b mcomix: Disable test suite for now
Regression introduced by
94351197cd

Exactly the same problem (and solution) that here:
bd2aeb4883

(cherry picked from commit 4912c68aca)
2017-09-08 16:04:58 +02:00
Balletie
843b02c008 rtags: Fix configure phase errors
Add pkgconfig as buildinput, so that the install path is correctly set
with cmake. PkgConfig is an optional dependency for rtags, but they
say it's necessary if you want to replace the prefix with
CMAKE_INSTALL_PREFIX. See:
caad9ac494/cmake/BashCompletion.cmake (L13)

Furthermore, I let the configurePhase of the rtags emacs package be a
noop.

(cherry picked from commit 311a1ee33a)
2017-09-08 16:04:42 +02:00
Michael Raskin
65c34a8375 ocropus: 20150316 -> 20170811
(cherry picked from commit 036bafe0b9)
2017-09-08 16:03:51 +02:00
Michael Raskin
8c26ccac35 silgraphite: drop graphite1 (which had version 2.x)
(cherry picked from commit 6f740953e6)
2017-09-08 16:03:51 +02:00
Michael Raskin
9ba4e92fce vacuum: 1.2.4 -> 1.3.0.20160104
(cherry picked from commit fff500fc00)
2017-09-08 16:03:51 +02:00
Michael Raskin
3e70e3842c pythonPackages.wptserve: make python2-only (upstream uses relative import in the latest release)
(cherry picked from commit f20ccd4b5e)
2017-09-08 16:03:51 +02:00
Michael Raskin
308d3752df pythonPackages.manifestparser: make python2-only
(cherry picked from commit cca09d8067)
2017-09-08 16:02:47 +02:00
Michael Raskin
66070e0c70 pythonPackages.browsermob-proxy: make python2-only
(cherry picked from commit ad44a76005)
2017-09-08 16:02:38 +02:00
Cray Elliott
f4189a8f56 winetricks: 20170614 -> 20170823
(cherry picked from commit f03964ff7c)
2017-09-08 16:01:39 +02:00
Jaka Hudoklin
24f637915e spice-vdagent: systemd-logind integration
This change adds systemd as dependency to enable user session
integration with systemd-logind

(cherry picked from commit 3ca311d74d)
2017-09-08 16:01:19 +02:00
yesbox
ff3f831243 sonarr: 2.0.0.4928 -> 2.0.0.4949
(cherry picked from commit 5059db823a)
2017-09-08 16:01:03 +02:00
Andreas Rammhold
02e47908aa rustup: 1.2.0 -> 1.3.0
(cherry picked from commit 14c3ce919b)
2017-09-08 16:00:41 +02:00
Cray Elliott
7b890e2e1f nvidia-x11: 375.66 -> 384.69
(cherry picked from commit 6df5f88aca)
2017-09-08 16:00:29 +02:00
Eric Litak
a9af2309a7 factorio: 0.15.33 -> 0.15.34
(cherry picked from commit 2164c01a53)
2017-09-08 16:00:04 +02:00
Eric Litak
d1cc587512 factorio: refactored the arch+version abstraction
(cherry picked from commit 02d715d29b)
2017-09-08 15:59:56 +02:00
WilliButz
f0369b8c1e grafana: 4.3.2 -> 4.4.3
(cherry picked from commit 226a20117d)
2017-09-08 15:59:37 +02:00
Ryan Mulligan
327e0913e8 truecrypt: fix build with gcc6 patch
The build was failing with gcc 6.4.0; using the samee gcc6 patch Arch
Linux uses fixed the build.

This commit also refactors out the builder.sh possibly fixing the
NOGUI make flag option.

(cherry picked from commit 8b0de80e55)
2017-09-08 11:53:28 +01:00
Frederik Rietdijk
85a1d86d93 Revert "python.pkgs.buildPythonPackage: use distutils-cfg to block downloads, fixes #25428"
This reverts commit b73e3bfafd.

See https://github.com/NixOS/nixpkgs/issues/29103

(cherry picked from commit c3a0c3c9f1)
2017-09-08 08:55:52 +02:00
Vladimír Čunát
399b6100c2 nixos/mfi: fix eval after removal 7ffc6db733 2017-09-08 08:41:06 +02:00
Vladimír Čunát
9efe46d94d Merge #28906: glibc: 2.25 -> 2.25-49 (upstream patches)
(cherry picked from commit 0c660ad42f)
2017-09-07 23:34:43 +02:00
Frederik Rietdijk
722c328a22 Revert "python.pkgs.pybfd: mark as broken"
This reverts commit 2f5ee4989a.

Package is no longer broken since 460df30bd8 was reverted.
2017-09-07 22:27:55 +02:00
Bjørn Forsman
0a94033ab5 perlPackages.BoostGeometryUtils: unbreak build
Set LD=$CC to fix this build error:

...
ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/Boost/Geometry/Utils/Utils.bs')
ld -shared -O2 -L/nix/store/sgjc1147vi5hd57ck9xgck5xjkydg5lz-glibc-2.25/lib -fstack-protector-strong -o blib/arch/auto/Boost/Geometry/Utils/Utils.so buildtmp/Utils.o -lstdc++
buildtmp/Utils.o: In function `_GLOBAL__sub_I_Utils.c':
Utils.c:(.text.startup+0x1a): undefined reference to `__dso_handle'
/nix/store/yf4p5w2v4h4i8rja9zw1akp007av624j-binutils-2.28.1/bin/ld: buildtmp/Utils.o: relocation R_X86_64_PC32 against undefined hidden symbol `__dso_handle' can not be used when making a shared object
/nix/store/yf4p5w2v4h4i8rja9zw1akp007av624j-binutils-2.28.1/bin/ld: final link failed: Bad value
error building blib/arch/auto/Boost/Geometry/Utils/Utils.so from buildtmp/Utils.o at /nix/store/7q2hps69zkj501lsmvnd2ry95mmdbh80-perl-5.24.2/lib/perl5/5.24.2/ExtUtils/CBuilder/Base.pm line 321.
builder for ‘/nix/store/bdwqvgxlgcqsmlqfh0d74jkpw96p78kh-perl-Boost-Geometry-Utils-0.15.drv’ failed with exit code 2
error: build of ‘/nix/store/bdwqvgxlgcqsmlqfh0d74jkpw96p78kh-perl-Boost-Geometry-Utils-0.15.drv’ failed

(cherry picked from commit c24820db93)
2017-09-07 21:53:01 +02:00
Bjørn Forsman
4b28be5f10 nixos/postfix: undo deprecation of extraConfig, extraMasterConf
I realize that advanced users like to configure services with Nix
attrsets, but I don't think we should remove the option to use the
(configuration) language provided by upstream.

(cherry picked from commit eed14baec3)
2017-09-07 21:46:13 +02:00
Robin Gloster
670c641c03 tcpdump: 4.9.1 -> 4.9.2
This is a security release theoretically under emgargo, but leaked by
Mageia and Fedora.

We have permission to deliver this prior to public release.

(cherry picked from commit 993a83d395)
2017-09-07 21:39:12 +02:00
Jörg Thalheim
2cfba17936 mfi: remove
(cherry picked from commit 6b6ffd5b21)
2017-09-07 20:34:45 +01:00
Jörg Thalheim
7ffc6db733 nixos/mfi: remove
(cherry picked from commit 6f0b538044)
2017-09-07 20:34:45 +01:00
Jörg Thalheim
dc8bd23dce v8: remove 3.14.5.10
was only used by mongodb248

(cherry picked from commit 9ee5727459)
2017-09-07 20:34:44 +01:00
Jörg Thalheim
e6bf7dfd5f mongodb248: remove
reason: build fails in hydra
Do still need this and want to maintain this @elitak?

(cherry picked from commit 382afe8c62)
2017-09-07 20:34:44 +01:00
Frederik Rietdijk
32f2eadbe4 Merge pull request #29072 from FRidh/python-fixes-3
Python: several fixes (3)
(cherry picked from commit 56c56fb414)
2017-09-07 19:27:12 +02:00
Nikolay Amiantov
4e6c92d548 python.pkgs.protobuf: fix build
(cherry picked from commit 4999aeb7b7)
2017-09-07 18:13:41 +02:00
Tim Steinbach
283d969a9c linux: 4.9.47 -> 4.9.48
(cherry picked from commit dc8b228a89)
2017-09-07 10:31:24 -04:00
Tim Steinbach
d144cabba9 linux: 4.12.10 -> 4.12.11
(cherry picked from commit a1912c9eb4)
2017-09-07 10:31:23 -04:00
Eelco Dolstra
460df30bd8 Revert "Merge pull request #28557 from obsidiansystems/binutils-wrapper"
This reverts commit 0a944b345e, reversing
changes made to 61733ed6cc.

I dislike these massive stdenv changes with unclear motivation,
especially when they involve gratuitous mass renames like NIX_CC ->
NIX_BINUTILS. The previous such rename (NIX_GCC -> NIX_CC) caused
months of pain, so let's not do that again.

(cherry picked from commit ec8d41f08c)
2017-09-07 12:53:33 +02:00
Frederik Rietdijk
2f5ee4989a python.pkgs.pybfd: mark as broken 2017-09-07 12:48:31 +02:00
Frederik Rietdijk
c51b089392 Merge pull request #29009 from FRidh/python-fixes-2
Python: several fixes (2)
(cherry picked from commit aabadda0c2)
2017-09-07 10:23:26 +02:00
Peter Hoeg
165fa89762 arc-theme: Fix build with gnome 3.24
(cherry picked from commit fefdc00c52)
2017-09-07 16:00:24 +08:00
Tim Steinbach
b50193f0ca tests: Fix hibernate
(cherry picked from commit 024b501907)
2017-09-06 22:02:41 -04:00
Daiderd Jordan
a6c29020c1 ucl: only pass -stc=c90 when using gcc
Also remove -fPIC, it's included in the hardening flags by default.

(cherry picked from commit 51eafbe028)
2017-09-06 21:55:10 +02:00
Tim Steinbach
de2697ea78 docker: 17.06.1-ce -> 17.06.2-ce
(cherry picked from commit 8bd1a220d9)
2017-09-06 15:05:10 -04:00
John Ericson
a23b5a1c8b macos-sierra-shared: Fix, after binutils-wrapper broke it
cctool's as needs to be told use to use gnu as, or else we'd need a
dependency cycle between cctools and clang for this case.

In general, this is not a problem because clang uses its own integrated
assembler where possible, and gnu as otherwise.

(cherry picked from commit eb326c9cb7)
2017-09-06 14:29:23 -04:00
Frederik Rietdijk
e1d6d735b9 python.pkgs.pytest-warnings: fix homepage, fixes eval
(cherry picked from commit dcbf59d8a7)
2017-09-06 20:18:24 +02:00
Markus Hauck
58ed8fa77a rawtherapee: 5.0-r1 -> 5.2
(cherry picked from commit 572361f396)
2017-09-06 19:42:26 +02:00
pbogdan
7b174993b9 nixos/fontconfig: fix substitutions option (#28895)
(cherry picked from commit 94a4183bda)
2017-09-06 19:23:45 +02:00
makefu
e642c7607c dnscrypt-wrapper module: fix permissions and options
When keys get refreshed a folder with the permissions of the root user
get created in the home directory of the user dnscrypt-wrapper. This
prevents the service from restarting.

In addition to that the parameters of dnscrypt-wrapper have
changed in upstream and in the newly packaged software.

(cherry picked from commit ca54a86162)
2017-09-06 19:23:43 +02:00
Orivej Desh
51cede6eab tiled: 1.0.1 -> 1.0.3
(cherry picked from commit cf6f900989)

Contains quite a few bug fixes
2017-09-06 19:23:38 +02:00
Tim Steinbach
5addd12c9b i3-gaps: Install man pages properly
(cherry picked from commit 41d9884067)
2017-09-06 10:20:04 -04:00
Frederik Rietdijk
52fa67fddd Merge pull request #28884 from FRidh/python-fixes
Python: several fixes
(cherry picked from commit 67651d80bc)
2017-09-06 15:23:07 +02:00
wisut hantanong
ea825f78d1 pythonPackages.pyshp : move to separate expression
(cherry picked from commit 489bfcfa0f)
2017-09-06 15:22:55 +02:00
wisut hantanong
63e363f374 pythonPackages.tempora : move to separate expression
(cherry picked from commit 43acfe0f49)
2017-09-06 15:20:20 +02:00
wisut hantanong
444839b310 pythonPackages.pyrr : move to separate expression
(cherry picked from commit b9eebaf8bb)
2017-09-06 15:19:30 +02:00
Joachim Fasting
20f4bfd81a tinycc: 0.9.27pre-20170710 -> 0.9.27pre-20170821
(cherry picked from commit 004463152a)
2017-09-06 07:09:04 +02:00
Joachim Fasting
9da9004062 tor-browser-bundle-bin: 7.0.4 -> 7.0.5
(cherry picked from commit 5113be54a4)
2017-09-06 07:08:57 +02:00
John Ericson
28e46e2388 mplayer: depsBuildBuild isn't (yet) a parameter, so don't use it
Thanks @dezgeg for catching my error.

(cherry picked from commit f152a5d7bb)
2017-09-06 00:37:30 -04:00
John Ericson
601e989d43 zile: disable help2man for cross builds
@dezgeg caught my error--the issue isn't building help2man, but running
it on cross-compiled binaries.

This effectively reverts 0825f30fd2 as
far as behavior is concerned, but keeps the removal of `crossAttrs`.

(cherry picked from commit 28e4975bd1)
2017-09-06 00:31:40 -04:00
Daiderd Jordan
171cc193b8 afl: use clangStdenv
Fixes #28712

(cherry picked from commit 8706664ff6)
2017-09-05 22:01:44 +02:00
Daiderd Jordan
dcaa3fdb84 clang-stdenv: use libstdcxxHook when targeting linux
(cherry picked from commit 907222098a)
2017-09-05 21:48:50 +02:00
Daiderd Jordan
356a0c8de6 libstdc++: add setup-hook
(cherry picked from commit 0ea92a3c24)
2017-09-05 21:48:49 +02:00
Samuel Leathers
1134b9e2d0 libfpx: fix build with gcc6
(cherry picked from commit 402e6ac089)
2017-09-05 21:43:11 +02:00
John Ericson
d94110403e haskell infra: Make sure packages get custom stdenv
One of the goals of 74f5fe5 was to allow passing in a custom stdenv,
which would be used for genericBuilder's `mkDerivation` call. That does
work, but if packages takes `stdenv` as an parameter for any reason,
they'll get the default one instead. This change remedies it.

(cherry picked from commit 19de1f537e)
2017-09-05 15:35:57 -04:00
Franz Pletz
6d8a5d7851 file: 5.31 -> 5.32 for CVE-2017-1000249
(cherry picked from commit 84ec7ef6c3)
2017-09-05 20:23:00 +02:00
John Ericson
ae2b248bf7 mplayer: Simplify cross, no crossAttrs or crossConfig
(cherry picked from commit 10b2bb8288)
2017-09-05 14:06:13 -04:00
John Ericson
6bb6587953 links 2: Simplify cross, no crossAttrs or crossConfig
(cherry picked from commit 5de3b11960)
2017-09-05 14:06:13 -04:00
John Ericson
40ada2dac9 elinks: Simplify cross, no crossAttrs or crossConfig
(cherry picked from commit 8babcd4d2b)
2017-09-05 14:06:13 -04:00
John Ericson
d0fc9587bd zile: help2man is no longer likely to cause problems
(cherry picked from commit 0825f30fd2)
2017-09-05 14:06:13 -04:00
Franz Pletz
a5a6cd017a postgresql92: remove last references
(cherry picked from commit 279db6966ef89bd8096634fdb5a5ec77dd06a228)
2017-09-05 18:20:05 +02:00
Franz Pletz
bc36e9184a postgresql9{1,2}: fix evaluation
(cherry picked from commit 59bed53f3c)
2017-09-05 18:20:05 +02:00
Piotr Bogdan
6ba56fe18e caps: fix build with gcc6
(cherry picked from commit 3d8d9aa1dd)
2017-09-05 18:07:42 +02:00
Franz Pletz
f24a7f6fa8 i3: install manpages
cc #28976

(cherry picked from commit 101a048f95)
2017-09-05 18:04:11 +02:00
Franz Pletz
c37b132cff postgresql96: 9.6.3 -> 9.6.5
(cherry picked from commit 4743d77e57)
2017-09-05 18:04:11 +02:00
Franz Pletz
97ab9b57a9 postgresql95: 9.5.7 -> 9.5.9
(cherry picked from commit 1b0acfed50)
2017-09-05 18:04:11 +02:00
Franz Pletz
1d2ddfe7d1 postgresql94: 9.4.12 -> 9.4.14
(cherry picked from commit df0b19aedc)
2017-09-05 18:04:10 +02:00
Franz Pletz
204a1ac4d4 postgresql93: 9.3.17 -> 9.3.19
(cherry picked from commit 8b930e716a)
2017-09-05 18:04:10 +02:00
Franz Pletz
38e18a141d postgresql9{1,2}: remove, not supported anymore
See https://www.postgresql.org/support/versioning/.

(cherry picked from commit dbf6e367e8)
2017-09-05 18:04:10 +02:00
Tim Steinbach
e53117c2c0 i3: 4.13 -> 4.14
(cherry picked from commit ce38725162)
2017-09-05 18:04:06 +02:00
Tim Steinbach
83bef527f7 py3status: 3.0 -> 3.6
(cherry picked from commit 36ee9dcf70)
2017-09-05 18:04:06 +02:00
Samuel Leathers
c296005ad0 lenmus: fixing build with gcc6
(cherry picked from commit bd540d9370)
2017-09-05 18:04:05 +02:00
Michel Kuhlmann
f451490389 saga: 2.3.1 -> 5.0.0
(cherry picked from commit 7a96ec95bf)
2017-09-05 18:04:05 +02:00
Fatih Altinok
b5e566dff9 flow: 0.49.1 -> 0.54.0
(cherry picked from commit ec39670290)
2017-09-05 18:03:32 +02:00
Gabriel Adomnicai
65f47e95bf mmake: init at 1.2.0 (#28904)
* Package for mmake

* Package for mmake - build from sources

* Package name update

* Added maintainers

(cherry picked from commit 7c08e86be9)
2017-09-05 18:03:32 +02:00
Michael Alan Dorman
53ad9a097b melpa-packages: 2017-09-04
(cherry picked from commit 12e1a2b186)
2017-09-05 18:03:31 +02:00
Michael Alan Dorman
a026fad3a4 melpa-stable-packages: 2017-09-04
(cherry picked from commit cb04086a96)
2017-09-05 18:03:31 +02:00
Michael Alan Dorman
33f5cc8de8 org-packages: 2017-09-04
(cherry picked from commit e010d2d2cb)
2017-09-05 18:03:31 +02:00
Michael Alan Dorman
e0d1da48a0 elpa-packages: 2017-09-04
(cherry picked from commit 4216546642)
2017-09-05 18:03:30 +02:00
SLNOS
20f2b1ffaa firefoxPackages: tor-browser: 6.5.2 -> 7.0.1, keep 6.5.2
(cherry picked from commit 26cf9e33fa)
2017-09-05 18:01:39 +02:00
SLNOS
58d947a4fe firefoxPackages: tor-browser: reorganize expression
(cherry picked from commit 513341434c)
2017-09-05 18:01:39 +02:00
SLNOS
f7d0f713a8 firefoxPackages: add extraMakeFlags to common builder, fix official branding handling
(cherry picked from commit a681afb8f1)
2017-09-05 18:01:39 +02:00
SLNOS
886ab96d1a firefoxPackages: add extraConfigureFlags to common builder, move --disable-loop flag to tor-browser expression
(cherry picked from commit 344fbb5ddb)
2017-09-05 18:01:38 +02:00
José Luis Lafuente
431f24ee4f hyper: 1.3.3 -> 1.4.3
(cherry picked from commit 1db53fb938)
2017-09-05 18:01:38 +02:00
Samuel Leathers
2efe24ca13 libctemplate: remove 2.2
(cherry picked from commit 896f0daa1a)
2017-09-05 16:45:08 +01:00
Samuel Leathers
b5f5583bdc stunt rally: fixing build with gcc6
(cherry picked from commit 2134b928ec)
2017-09-05 16:37:42 +01:00
Lukas Werling
eba2aed324 x2goclient: 4.0.5.1 -> 4.1.0.0
Add openssh as dependency for sftp-server. When connecting, x2goclient
crashes if it can't find that executable.

(cherry picked from commit a8aef188c8)
2017-09-05 15:25:51 +01:00
Samuel Leathers
9e50f29525 herqq: 1.0.0 -> 2.1.0
(cherry picked from commit 4151e2f579)
2017-09-05 15:27:52 +02:00
Laure Tavard
941e5f65be cdo: init at 1.7.2 (#22496)
(cherry picked from commit bf491f8794)
2017-09-05 14:43:49 +02:00
Robin Gloster
9e66acf8d1 jenkins: 2.73 -> 2.77
(cherry picked from commit 8502d94b31)
2017-09-05 14:43:42 +02:00
Robin Gloster
f307c3ed69 bwa: 0.7.15 -> 0.7.16a
(cherry picked from commit a0967948d9)
2017-09-05 14:43:42 +02:00
Jörg Thalheim
e9f8acfbeb linux_chromiumos_3_18: remove kernel due lack of maintainer/breakage
There is no maintainer for this package, probably not many users.
It requires effort to fix all third-party modules for this old kernel
versions. It might contain unpatched security holes.

For Pixel chromebooks, we have the samus-kernel.
Apart from that https://github.com/GalliumOS/linux might be a good choice.

(cherry picked from commit 44f93731d6)
2017-09-05 14:43:42 +02:00
Peter Hoeg
4fd60bf174 ktorrent: 5.0.1 -> 5.1.0
(cherry picked from commit 17f4cb4eb8)
2017-09-05 14:28:28 +02:00
Peter Hoeg
c5e2076a21 libktorrent: 2.0.1 -> 2.1
(cherry picked from commit 82e0b910e7)
2017-09-05 14:28:27 +02:00
Franz Pletz
cdd2a69447 ffmpeg_2_8: 2.8.11 -> 2.8.13
(cherry picked from commit 85cffcfce0)
2017-09-05 14:28:19 +02:00
Franz Pletz
49408358f5 libav_12: 12 -> 12.1
(cherry picked from commit b1e9eff33e)
2017-09-05 14:28:19 +02:00
Franz Pletz
32cf375642 kismet: 2013-03-R1b -> 2016-07-R1
(cherry picked from commit 95d18f3509)
2017-09-05 14:28:18 +02:00
Franz Pletz
bb5ce1654f capnproto: 0.6.0 -> 0.6.1
(cherry picked from commit 3352cfc597)
2017-09-05 14:28:18 +02:00
Franz Pletz
4fbd803a04 can-utils: 20140427 -> 20170830
(cherry picked from commit bdd7630b53)
2017-09-05 14:28:18 +02:00
Franz Pletz
ed220780be cadvisor: 0.23.8 -> 0.26.1
(cherry picked from commit 6f7f5b5c85)
2017-09-05 14:28:17 +02:00
Franz Pletz
fd51bd8501 babeltrace: 1.2.4 -> 1.5.3
(cherry picked from commit c6e5fc0b36)
2017-09-05 14:28:17 +02:00
Franz Pletz
e48446fc21 avro-cpp: 1.8.1 -> 1.8.2
(cherry picked from commit 0c08a18f19)
2017-09-05 14:28:17 +02:00
Franz Pletz
0582995d67 avidemux: 2.6.20 -> 2.7.0
(cherry picked from commit df92ed29a5)
2017-09-05 14:28:16 +02:00
Franz Pletz
7205373a87 autoconf-archive: 2016.09.16 -> 2017.03.21
(cherry picked from commit 1c4d28539f)
2017-09-05 14:28:16 +02:00
Franz Pletz
50891380f5 audio-recorder: 1.9.4 -> 1.9.7
(cherry picked from commit 69549aeee5)
2017-09-05 14:28:16 +02:00
Franz Pletz
94bfbac7b8 at: 3.1.16 -> 3.1.20
(cherry picked from commit 00a9902297)
2017-09-05 14:28:15 +02:00
Gabriel Ebner
73d472999e eprover: 1.9.1 -> 2.0
(cherry picked from commit b2eff3c60d)
2017-09-05 14:28:15 +02:00
Franz Pletz
3d83c82dbf tcpdump: fix multiple CVEs
Fixes CVE-2017-11541, CVE-2017-11542, CVE-2017-11543.

Also fixes a segfault if built with openssl 1.1.

(cherry picked from commit a46f206271)
2017-09-05 13:11:29 +02:00
Franz Pletz
c6b5b198ac aptly: 1.0.1 -> 1.1.1
(cherry picked from commit f8ff9a783f)
2017-09-05 13:11:29 +02:00
Franz Pletz
db84535738 asterisk-lts: 13.15.0 -> 13.17.1
(cherry picked from commit 9d7425052b)
2017-09-05 13:11:29 +02:00
Franz Pletz
a812bc0fde asterisk-stble: 14.6.0 -> 14.6.1
(cherry picked from commit abba0b15d8)
2017-09-05 13:11:28 +02:00
Franz Pletz
dd788df85f advancecomp: 1.23 -> 2.0
(cherry picked from commit a5e9a31fb5)
2017-09-05 13:11:28 +02:00
Franz Pletz
153b9e02d3 connman: 1.34 -> 1.35
Fixes CVE-2017-12865, see http://connmando.nri-secure.co.jp/index.html.

Fixes #28967.

(cherry picked from commit 7753daa204)
2017-09-05 12:14:56 +02:00
Kamil Chmielewski
251ec42ecc ponyc: 0.18.1 -> 0.19.0
https://github.com/ponylang/ponyc/issues/2209
(cherry picked from commit b80c3646c2)
2017-09-05 12:14:44 +02:00
catern
08728dd9eb offlineimap: add Kerberos support
(cherry picked from commit b5eb923bc7)
2017-09-05 12:14:32 +02:00
catern
bd9abb16ce mutt: add Kerberos support
(cherry picked from commit bf33bf525d)
2017-09-05 12:14:17 +02:00
Ioannis Koutras
f76a08e461 skrooge: 2.8.1 -> 2.9.0
(cherry picked from commit c256e8f398)
2017-09-05 12:13:46 +02:00
Gabriel Gonzalez
0db8f35b7d Statically link dhall-* executables
This change statically links the `dhall-*` family of executables so that
they start up more quickly on NixOS.  This also updates the `dhallToNix`
utility to use the statically linked `dhall-to-nix` executable

(cherry picked from commit fd2c8d0a00)
2017-09-05 12:13:00 +02:00
Profpatsch
24071cbc19 Revert "dhall: add a static top-level executable for dhall"
This reverts commit 11cd027b30.

There is a more extensive PR.

(cherry picked from commit ffa631dd39)
2017-09-05 12:12:53 +02:00
Peter Hoeg
531d3792ad netalyzr: init at 57861
(cherry picked from commit 62ff6cb69c)
2017-09-05 12:12:18 +02:00
Vladimír Čunát
42c68301f4 maxx: license fixups
The main thing is that I'm convinced the license can't be free when it
restricts redistribution to certain platforms.  That probably holds with
the usual definitions like from Debian, FSF or OSI.

(cherry picked from commit 8414d8386b)
2017-09-05 12:11:30 +02:00
adisbladis
dbf7ed1306 go-ethereum: 1.6.6 -> 1.6.7
(cherry picked from commit 1b709c981c)
2017-09-05 08:49:11 +01:00
Samuel Leathers
a8a33fe284 srcml: fix build with gcc6
(cherry picked from commit d93e2ccdd0)
2017-09-05 07:40:49 +01:00
Peter Hoeg
5ab8db6599 dbus-broker: meson and ninja hooks handle most things for us
(cherry picked from commit 6f6a7aae8f)
2017-09-05 09:53:48 +08:00
Vladimír Čunát
ae0babcb63 licenses: fix fullName capitalization
inspired by repology.org

(cherry picked from commit 65f6e6ccb6)
2017-09-05 00:22:26 +02:00
Jörg Thalheim
eee2d17446 mitmproxy: unicode locales, skip network test
(cherry picked from commit 73c6284c2e)
2017-09-04 22:48:21 +01:00
Michele Catalano
288d1d1780 nexus: Add module for nexus.
Add also myself as maintainer
Add simple test of the nexus service

(cherry picked from commit 4ea1d49643)
2017-09-04 23:16:41 +02:00
Michele Catalano
b922f949e2 nexus: 2.12.0-01 -> 3.5.1-02
Update Nexus to version 3.5.1-02 and fix startup stript to run in nix
environment.

(cherry picked from commit e783c2b39c)
2017-09-04 23:16:32 +02:00
Profpatsch
0ad86858e7 dhall: add a static top-level executable for dhall
cc @Gabriel439

(cherry picked from commit 11cd027b30)
2017-09-04 23:16:25 +02:00
Jaka Hudoklin
1a3596a862 tor-browser: allow to pass TOR_CONTROL_PORT and TOR_SOCKS_PORT
(cherry picked from commit 0347659542)
2017-09-04 23:16:08 +02:00
Tim Steinbach
d903f48495 alacritty: 2017-08-28 -> 2017-09-02
(cherry picked from commit 0e8875285a)
2017-09-04 23:15:45 +02:00
Michael Weiss
7861d1b0a6 glances: 2.10 -> 2.11
(cherry picked from commit d70331ca61)
2017-09-04 23:14:29 +02:00
zraexy
c44d879fec ardour: fix desktop file icon path
(cherry picked from commit 1f67b17daf)
2017-09-04 23:11:44 +02:00
Felix Singer
5c237e40c7 Update homepage link of Mumble
(cherry picked from commit f37f8c4b4b)
2017-09-04 23:11:30 +02:00
Piotr Bogdan
4c587d06fc pr template: make formatting consistent
(cherry picked from commit e221d945ad)
2017-09-04 23:11:16 +02:00
aszlig
e067351e75 xournal: 0.4.8 -> 0.4.8.2016
Upstream bug fixes:

  * pen and touchscreen input handling bugfixes
  * fix a minor bug with save file paths in Windows (D. German)
  * use GDK macros (not WIN32) to disable X11-specific code (T.
    Schoonjans)
  * export to PDF and printing: fix resolution loss on some pdf
    backgrounds
  * disable xinput during modal dialog boxes
  * avoid data corruption when exporting to overwrite a PDF
  * fix path search order for toolbar bitmaps
  * text and image tools activate on button release instead of button
    press to avoid subsequent confusion between clicks in toolbar and
    drawing area
  * fix "pen disable touch" when touchscreen sends prox events (A.
    Kittenberger)
  * fix crash when pasting text or images via xclip
  * updated Italian translation (Marco Ciampa)

New upstream features:

  * add space and shift-space bindings to page down/up (D. German)
  * add A5 paper (D. German)
  * config option to export successive layers to separate PDF pages
  * config option to create new file when trying to open non-existent
    .xoj

The full change log along with bug numbers can be found at:

https://sourceforge.net/p/xournal/code/ci/Release-0_4_8_2016/tree/ChangeLog

I've dropped gdk-quartz-backend.patch, because I believe it has been
fixed upstream.

Here are the upstream changes relevant for the patch (shortened, because
SourceForge has really long URLs):

  http://bit.ly/2vXW8n0 -> src/Makefile.am
  http://bit.ly/2gDnjl7 -> src/xo-file.c
  http://bit.ly/2xJ5K7A -> src/xo-misc.c

Tested building and using the application.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @7c6f434c, @dguibert
Cc: @johbo who has introduced the patch in #21842
(cherry picked from commit 8436e9bfcd)
2017-09-04 23:11:08 +02:00
Piotr Bogdan
7c29204edd allegro: fix sandboxed build with nixUnstable
In Nix 1.12 sandboxed builds are performed in /build/ directory which conflicts
with the regex in docs/CMakeLists.txt, and generated documentation ends up in
wrong directory -> https://hydra.nixos.org/build/53914969/nixlog/1 -> CTRL-F
abi.txt

(cherry picked from commit e22a77217d)
2017-09-04 23:10:14 +02:00
Vincent Laporte
ba1645d804 coqPackages: remove duplication in mkCoqPackages
(cherry picked from commit ebce795c5c)
2017-09-04 23:09:57 +02:00
Cray Elliott
a5fa58ef45 mwprocapture: fix build with kernels <4.13
also do some minor cleanup

(cherry picked from commit 1af75ba802)
2017-09-04 23:09:42 +02:00
Cray Elliott
9c2c4e7220 mwprocapture: 1.2.0.3269 -> 1.2.0.3589
remove linux 4.11 patch as it was included upstream, include
a new patch needed for linux 4.13

(cherry picked from commit deb50bcdc7)
2017-09-04 23:09:30 +02:00
Peter Hoeg
225f26b610 zeal: 0.3.1 -> 0.4.0
Also switch to cmake and remove the ads that are now otherwise being loaded.

(cherry picked from commit c4265cd7ee)
2017-09-04 23:05:11 +02:00
Jaka Hudoklin
4d36f29e35 tor-browser: allow to pass TOR_SKIP_LAUNCH
(cherry picked from commit ff1b18a455)
2017-09-04 23:03:55 +02:00
Jaka Hudoklin
a1415df71f nixos/xpra: allow to set extra options (#28934)
(cherry picked from commit 4521225d22)
2017-09-04 23:00:54 +02:00
Tim Steinbach
a98c19fe2c Merge pull request #28991 from copumpkin/backport-coreutils-fix-17.09
coreutils: fix on Darwin
2017-09-04 16:10:55 -04:00
John Ericson
14fbe46429 gcc-4.5: Fix typo
(cherry picked from commit 6a089581f8)
2017-09-04 15:53:31 -04:00
Dan Peebles
4951f1f01c coreutils: fix on Darwin
This patch doesn't apply because it's already applied upstream
2017-09-04 14:16:14 -04:00
Matt McHenry
cb9eb2147e pfixtools: patch to work with gcc 6
Progress on: #28643
fixes #28984

(cherry picked from commit dbf97a5afe)
2017-09-04 18:38:11 +01:00
Piotr Bogdan
4c749bd913 mps: 1.115.0 -> 1.116.0
1.115.0 doesn't build with gcc6

(cherry picked from commit fc391e7ecd)
2017-09-04 20:15:30 +03:00
Samuel Leathers
3c252dc092 libmatheval: use guile 2.0
(cherry picked from commit 6e546a514c)
2017-09-04 20:07:12 +03:00
Tuomas Tynkkynen
dd83fb4354 openlierox: Fix build
(cherry picked from commit eecf9c5bb6)
2017-09-04 20:03:53 +03:00
volth
5b3e9051a0 proggyfonts: fix output hash
See PR #28960 for details about the problem. There is some
non-determinism surrounding copies of the Speedy/Speedy11 font, so
deleting one makes it deterministic again without losing anything.

(cherry picked from commit 7d231c5435)
2017-09-04 17:55:44 +01:00
Tuomas Tynkkynen
5cb9987920 tpm-tools: 1.3.8 -> 1.3.9.1, fixes build
(cherry picked from commit 5f8e6a4fe1)
2017-09-04 19:15:47 +03:00
Tuomas Tynkkynen
4bba234334 apple-source-releases: Add some meta.platforms
Or Hydra tries to build them on Linux...

(cherry picked from commit e6a83ed89c)
2017-09-04 19:06:28 +03:00
Tuomas Tynkkynen
1b55440982 mdadm4: Fix build by including change from 7d010ab5f4
And drop `-std=gnu89` while at it.

(cherry picked from commit 19387e3123)
2017-09-04 18:57:00 +03:00
John Ericson
d07d5d4c41 top-level, linux stdenv make boootstrap tools: Fix eval
Now the NixOS tarball job succeeds again

(cherry picked from commit 9a1b7cf2ae)
2017-09-04 11:40:10 -04:00
John Ericson
b3e5bda94f binutils-wrapper: Accidentally deleted macOS Sierra reexport hack
Did this when spliting off binutils-wrapper from cc-wrapper in
40e9b2a7e6: I deleted the file instead of
moving it.

(cherry picked from commit 3601a97e3c)
2017-09-04 11:40:09 -04:00
Tim Steinbach
1d9b98fa14 linux-copperhead: 4.12.10.a -> 4.13.a
(cherry picked from commit 967077537b)
2017-09-04 11:09:48 -04:00
Robin Gloster
49cdcb3468 ruby-modules grpc: fix merge 2017-09-04 14:38:41 +02:00
Tim Steinbach
67c46eff00 linux: Add 4.13
(cherry picked from commit c1e2a0b6f4)
2017-09-03 19:42:12 -04:00
Vladimír Čunát
f09532817d Merge #28946: nixos doc: update glibc locales link
(cherry picked from commit b41d33319c)
2017-09-03 23:04:04 +02:00
Jörg Thalheim
c22764892c nestopia: fix icon theme
(cherry picked from commit 4b10de8182)
2017-09-03 17:14:16 +01:00
Samuel Leathers
b9f56a420a nestopia: 1.46.2 -> 1.47
(cherry picked from commit 7d54467ad0)
2017-09-03 17:14:12 +01:00
John Ericson
300627b46f doc: Document Binutils Wrapper
Shrunk the CC Wrapper documentation so as not to be repetative.

(cherry picked from commit 44cc709e29)
2017-09-03 11:30:38 -04:00
John Ericson
b852d2bf53 rpm: Fix to get raw binutils for headers
(cherry picked from commit b298916442)
2017-09-03 11:30:38 -04:00
John Ericson
cf9e40252b gcc_multi: Fix so binutils wrapper also has glibc_multi
(cherry picked from commit ce359d49fb)
2017-09-03 11:30:38 -04:00
John Ericson
f1c6e057e8 darwin binutils: Unwrap GNU Binutils before splicing with cctools
(cherry picked from commit b64736a8e4)
2017-09-03 11:30:38 -04:00
John Ericson
28952795b7 binutils-wrapper: Import separately from cc-wrapper
(cherry picked from commit dbf6d20d64)
2017-09-03 11:30:38 -04:00
John Ericson
89481b70ea misc pkgs: Use $NIX_BINUTILS for when needed
Certain files are now only there instead of $NIX_CC (some are in both)

(cherry picked from commit 3f30cffa55)
2017-09-03 11:30:38 -04:00
John Ericson
c2a440334e binutils-wrapper: Init
Factor a binutils wrapper out of cc-wrapper. While only LD is wrapped,
the setup hook defines environment variables on behalf of other
utilites.

(cherry picked from commit 40e9b2a7e6)
2017-09-03 11:30:38 -04:00
John Ericson
cc76444a87 cc-wrapper: Use separate mangler for "bool" variables
This avoids any `NIX_FOOBAR=1 1` not triggering conditions.

(cherry picked from commit fbb7d335db)
2017-09-03 11:30:37 -04:00
John Ericson
a1a9964c21 cc-wrapper: Pull variable mangler into utils.sh
In preparation for splitting out binutils-wrapper

(cherry picked from commit 1f5807d760)
2017-09-03 11:30:37 -04:00
John Ericson
ee7ae7b1ca cc-wrapper: Clean up dynamic linking with x86 multilib
It's better layering to do everything in ld-wrapper.

(cherry picked from commit 94c0267fc1)
2017-09-03 11:30:37 -04:00
Daiderd Jordan
2a4f41ee0f darwin: add callPackage
(cherry picked from commit 3979f48f7f)
2017-09-03 11:30:37 -04:00
Daiderd Jordan
a924f740bf darwin: move definition to separate file
(cherry picked from commit c4f18901b4)
2017-09-03 11:30:37 -04:00
Jörg Thalheim
4da94b1e50 gpaste: add adwaita-icon-theme theme
(cherry picked from commit c2881983fb)
2017-09-03 16:28:42 +01:00
Jan Tojnar
fb192f7583 gnome3.gpaste: refactor
(cherry picked from commit 4069cb2b0f)
2017-09-03 16:28:32 +01:00
Jan Tojnar
955e050ac0 nixos/gnome3.gpaste: add service
(cherry picked from commit 6ca6ea9e23)
2017-09-03 16:28:22 +01:00
Orivej Desh
12a2f532b8 stdenv-setup: list environment variables with awk
(cherry picked from commit f4044c1ccc)
2017-09-03 11:13:35 -04:00
Orivej Desh
02ad1fd89b stdenv-setup: fix substituteAll with set -eu
Environment variable filter in substituteAll was not precise and produced
undefined and invalid variable names.  Vladimír Čunát tried to fix that in [1],
but `env -0` did not work during Darwin bootstrap, so [2] reverted this change
and replaced an error due to invalid variables with a warning.  Recently in #28057
John Ericson added `set -u` to `setup.sh` and undefined variables made the setup
fail during e.g. `nix-build -A gnat` with `setup: line 519: !varName: unbound
variable`.

[1] 62fc8859c1
[2] 81df035429

(cherry picked from commit a09d9e7cd4)
2017-09-03 11:13:35 -04:00
Orivej Desh
ffb2b66c1d mkDerivation: explain "all" in hardeningDisable
https://github.com/NixOS/nixpkgs/pull/28806#discussion_r136516276
(cherry picked from commit 447240b19f)
2017-09-03 11:13:34 -04:00
John Ericson
fb1a44062a darwin-stdenv: Hack around impurity with --disable configure flag
(cherry picked from commit 8dbdc5dd51)
2017-09-03 10:58:39 -04:00
John Ericson
2a91d41a25 darwin-stdenv: Don't use nativeTools
Now, we'll actually use the wrapped ld to link

(cherry picked from commit 3b6e7fe123)
2017-09-03 10:58:15 -04:00
John Ericson
9be4014574 gettext: libiconv should be a buildInput
(cherry picked from commit 2cc7f1a731)
2017-09-03 10:53:38 -04:00
Matthieu Coudron
2eecbcc20d neovim: fix missing dependancy luajit lpeg
luajit libraries are not the same as vanilla lua ones, hence when luajit
is enabled, the build fails.
Fixes https://github.com/NixOS/nixpkgs/issues/14442

(cherry picked from commit 9889c1c661)
2017-09-03 15:40:36 +01:00
Franz Pletz
313ea79244 gitlab: 9.4.5 -> 9.5.2
(cherry picked from commit 2f48144d0e)
2017-09-03 16:00:05 +02:00
Graham Christensen
11459b001b release notes: gnupg programs are no longer suffixed
(cherry picked from commit 83043c948e)
2017-09-03 09:03:21 -04:00
Robin Gloster
b58b18d75c nginx: module fix example
Closes #28926

(cherry picked from commit 97a2cd0748)
2017-09-03 14:05:53 +02:00
Lancelot SIX
ac101a5adb libgcrypt: 1.8.0 -> 1.8.1
Fixes CVE-2017-0379

See http://lists.gnu.org/archive/html/info-gnu/2017-08/msg00014.html
for release announcement

(cherry picked from commit 095af3e63b)
2017-09-03 13:49:19 +02:00
Robin Gloster
596ac37833 ruby_2_0_0: fix eval due to nested list
(cherry picked from commit fc8fc63b67)
2017-09-03 13:49:09 +02:00
Orivej Desh
d38289a5d9 mkDerivation: fix hardening flags check
- allow "all" in hardeningDisable
- fix busybox flags
- print detailed error message

Discussed at https://github.com/NixOS/nixpkgs/pull/28555#issuecomment-326413032

(cherry picked from commit d70006c6d9)
2017-09-03 13:49:00 +02:00
John Ericson
54822bef11 cc-wrapper: Remove support for NIX_LDFLAGS_HARDEN
It has long been deprecated

(cherry picked from commit 3d3a6e0fac)
2017-09-03 13:48:47 +02:00
John Ericson
bf714257ba cc-wrapper: Remove {START,EXEC}_HOOK
These are no longer used by anything

(cherry picked from commit 46fd4bcb14)
2017-09-03 13:48:42 +02:00
John Ericson
f9a8e1d3f6 mkDerivation, cc-wrapper: Check hardening flag validity in Nix
This becomes necessary if more wrappers besides cc-wrapper start
supporting hardening flags. Also good to make the warning into an
error.

Also ensure interface is being used right: Not as a string, not just in
bash.

(cherry picked from commit 97a48835b7)
2017-09-03 13:48:00 +02:00
John Ericson
432c4f8334 cc-wrapper: Remove redundant hardening
GCC just passes `-z ...` flags to ld unaltered, and they are already
passed to LD anyways. On the other hand, `-pie` affects gcc behavior
too.

(cherry picked from commit 822a8d0148)
2017-09-03 13:47:50 +02:00
WilliButz
23c59df2a8 inkscape: 0.92.1 -> 0.92.2
(cherry picked from commit 95a4c03c7d)
2017-09-03 13:44:37 +02:00
WilliButz
a55be749fd netcat-openbsd: 1.105 -> 1.130
(cherry picked from commit a72ba661ac)
2017-09-03 13:44:36 +02:00
WilliButz
3985976214 nasm: 2.12.02 -> 2.13.01
(cherry picked from commit 164eb72403)
2017-09-03 13:44:36 +02:00
WilliButz
e17d6a95e1 freeradius: 3.0.14 -> 3.0.15
(cherry picked from commit 936fee257d)
2017-09-03 13:44:36 +02:00
Robin Gloster
3a35e6bef8 gitlab: fix merge 2017-09-03 13:42:41 +02:00
Austin Seipp
5c4602aec7 yices: now under GPLv3
This means Hydra can build it now!

Signed-off-by: Austin Seipp <aseipp@pobox.com>
(cherry picked from commit 583ebc086c)
2017-09-03 13:33:39 +02:00
Samuel Leathers
a964fd43e8 neuron: 7.4 -> 7.5
(cherry picked from commit d9cd226a6d)
2017-09-03 13:33:17 +02:00
Robert Helgesson
bead8c6048 league-of-moveable-type: fix long description
(cherry picked from commit 7889758c12)
2017-09-03 13:26:13 +02:00
Samuel Leathers
4c4a0c9f0a klick: fix build with gcc6
(cherry picked from commit 07f977572c)
2017-09-03 13:20:41 +02:00
Samuel Leathers
8fd000d529 jigdo: fix gcc build failures
(cherry picked from commit d98eb8a114)
2017-09-03 13:17:42 +02:00
Samuel Leathers
47df9a3f89 photivo: fixes build with gcc6
(cherry picked from commit 1398d5555c)
2017-09-03 13:17:17 +02:00
Vincent Laporte
2378db028d libvirt: fix build on darwin
(cherry picked from commit 4ee717d2d3)
2017-09-03 13:15:55 +02:00
Robin Gloster
d3550fb5c1 gitlab module: fix permissions and path
(cherry picked from commit eedffc5277)
2017-09-03 13:15:39 +02:00
Robin Gloster
7910480caf gitlab module: fix postgres superUser
(cherry picked from commit edd8265c366186d62d870c23e2b2437ae4de4c0d)
(cherry picked from commit aaff3fa5f3)
2017-09-03 13:15:33 +02:00
Robin Gloster
ca8fa377d7 gitlab: fix postgres calls
(cherry picked from commit 45605db3e0)
2017-09-03 13:15:19 +02:00
Philipp Steinpass
0d790f82c1 nixos/hydra postgresql: Fix #27314 and add test case
(cherry picked from commit d784b83005)
2017-09-03 13:15:08 +02:00
Tristan Helmich
cdbc5f5655 emby: 3.2.28.0 -> 3.2.30.0
(cherry picked from commit 0ca6c58d26)
2017-09-03 13:14:27 +02:00
Joachim Fasting
33725839f4 nixos/chromium-suid-sandbox: remove reference to grsecurity
(cherry picked from commit bb036a327c)
2017-09-03 13:14:11 +02:00
Joachim Fasting
b6f133101c nixos: purge remaining grsecurity bits
:(

Fixes https://github.com/NixOS/nixpkgs/issues/28859

(cherry picked from commit 268eb4adb7)
2017-09-03 13:14:05 +02:00
Joachim Fasting
90f5df6b97 nixos/release-notes: grsecurity support removed for 17.09
(cherry picked from commit 9935806894)
2017-09-03 13:13:51 +02:00
Kranium Gikos Mendoza
f020b9ae5f opal: fix gcc6 build
(cherry picked from commit 776d149c76)
2017-09-03 13:13:40 +02:00
Kranium Gikos Mendoza
dabafa684a ptlib: use fetchpatch
(cherry picked from commit 377b42a8ad)
2017-09-03 13:12:14 +02:00
Kranium Gikos Mendoza
aa97ee44f1 ptlib: fix gcc6 build
(cherry picked from commit 32d4a3dec8)
2017-09-03 13:12:07 +02:00
Samuel Leathers
fa74d9a73c freetalk: set guile version to 2.0
(cherry picked from commit 08fe8eacd9)
2017-09-03 13:11:26 +02:00
aszlig
6dae22b3f4 nixos/deluge: Fix last wrong package attribute
I missed this in 799435b7ca.

This time I used "git grep -F pythonPackages.deluge" just to be sure :-)

Thanks a lot to @roconnor for spotting this.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Reported-by: @roconnor
(cherry picked from commit 880a0409e8)
2017-09-03 13:10:46 +02:00
Kranium Gikos Mendoza
099a094883 ekiga: make debian patches use fetchpatch
(cherry picked from commit f9c2cb80a6)
2017-09-03 13:09:21 +02:00
Kranium Gikos Mendoza
c5e1d52786 ekiga: fix build
(cherry picked from commit 0604ea66c6)
2017-09-03 13:09:20 +02:00
Michael Weiss
bb76244665 android-studio-preview: 3.0.0.10 -> 3.0.0.12
(cherry picked from commit 8693cc5425)
2017-09-03 11:18:45 +02:00
Thomas Tuegel
56efb14e02 kscreenlocker: 5.10.5 -> 5.10.5.1
Fix segfault with nVidia drivers; see
https://bugs.kde.org/show_bug.cgi?id=384005

(cherry picked from commit 71d377fcb0)
2017-09-03 11:17:58 +02:00
Joachim Fasting
fd7e8832b5 libgcrypt: fix typo in meta.description
(cherry picked from commit b3f9b0d0cc)
2017-09-03 11:17:33 +02:00
Joachim Fasting
508f1c06fc kernelPatches.grsecurity_testing: remove
(cherry picked from commit 697cbbc617)
2017-09-03 11:17:22 +02:00
Joachim Fasting
317f86bf68 pkgs/top-level: remove grsec attributes
These have been throwing exceptions since grsec was deprecated, so
potential users should have had due to time to migrate their configs.

(cherry picked from commit 5125e209a9)
2017-09-03 11:17:13 +02:00
Robin Gloster
0479f227c7 bundler: 1.15.3 -> 1.14.6
bundler 1.15 breaks gitlab

(cherry picked from commit 891a1662aa)
2017-09-03 11:17:13 +02:00
Robin Gloster
3597a2e893 gitlab: unbreak
(cherry picked from commit 7c07807949)
2017-09-03 11:17:13 +02:00
roblabla
40001503c0 gitlab: 9.4.3 -> 9.4.5
(cherry picked from commit 55bc0c3836)
2017-09-03 11:17:13 +02:00
roblabla
a67e789fe2 gitlab: Fix packaging, compile gettext files before assets
(cherry picked from commit 259970d26e)
2017-09-03 11:17:13 +02:00
roblabla
47b0f2e095 gitlab: Mark as broken
(cherry picked from commit 05b8879464)
2017-09-03 11:17:12 +02:00
roblabla
7eb469246f gitlab: 9.3.4 -> 9.4.3
(cherry picked from commit 8975d153a0)
2017-09-03 11:17:12 +02:00
Vladimír Čunát
87cc891ad5 texlive: add ghostscript when containing pdfcrop
Potential disadvantage: ghostscript will become visible to user,
so there may e.g. be (new) collisions in nix-env due to this.
Fixes #28411.

(cherry picked from commit 828bc3812c)
2017-09-03 10:18:43 +02:00
Vladimír Čunát
933e02d72b lightdm: purge explicit usage of gcc6
I forgot to include the initial fix into the parent commit :-/

(cherry picked from commit 6ecf46334b)
2017-09-03 10:02:41 +02:00
Vladimír Čunát
8e9a7cc7a7 treewide: purge explicit usage of gcc6
It's now the default. /cc #19456
This makes a real build simplification, because in our current
bootstrapping+aliases, `gcc6` attribute is not the default compiler
but a derivation *built by* the default compiler.

nix-exec didn't build before this commit already

(cherry picked from commit 53998f5036)
2017-09-03 09:58:06 +02:00
Graham Christensen
c38f87d36e Include date and NixOS version in systemd-boot entries
Grub configs include the NixOS version and date they were built, now
systemd can have fun too:

    version Generation 99 NixOS 17.03.1700.51a83266d1, Linux Kernel 4.9.43, Built on 2017-08-30
    version Generation 100 NixOS 17.03.1700.51a83266d1, Linux Kernel 4.9.43, Built on 2017-08-30
    version Generation 101 NixOS 17.03.1700.51a83266d1, Linux Kernel 4.9.43, Built on 2017-08-31
    version Generation 102 NixOS 17.03.1700.51a83266d1, Linux Kernel 4.9.43, Built on 2017-09-01
    version Generation 103 NixOS 17.03.1700.51a83266d1, Linux Kernel 4.9.43, Built on 2017-09-02
    version Generation 104 NixOS 17.09beta41.1b8c7786ee, Linux Kernel 4.9.46, Built on 2017-09-02
    version Generation 105 NixOS 17.09.git.1b8c778, Linux Kernel 4.9.46, Built on 2017-09-02

(cherry picked from commit 62652be111)
2017-09-02 15:43:43 -04:00
Tim Steinbach
93d71f8afc coreutils: 8.27 -> 8.28
(cherry picked from commit 1c45fd01aa)
Fixes CVE-2017-7476.
2017-09-02 20:43:55 +02:00
Tim Steinbach
1e1b444df8 sbt: 1.0.0 -> 1.0.1
(cherry picked from commit aa59865333)
2017-09-02 12:55:20 -04:00
Tim Steinbach
b6829199c4 linux: 4.9.46 -> 4.9.47
(cherry picked from commit 27c8378c0c81aa17aef615615421aa5de3d8246b)
2017-09-02 11:17:07 -04:00
Tim Steinbach
2191b2ad21 Merge pull request #28780 from NeQuissimus/openjdk_8_144_01
openjdk: 8u152-04 -> 8u144-01
(cherry picked from commit 440bf7e06f)
2017-09-02 11:08:29 -04:00
Bjørn Forsman
b73e6289dc pythonPackages.pyrtlsdr: unbreak build
pyrtlsdr needs pandoc at build time. Fixes the build since commit
f6eb190e70
("python.pkgs.pyrtlsdr: disable tests to fix build"). (That commit
bumped the package to a new version.)

(cherry picked from commit 2cf1b94b82)
2017-09-02 16:48:49 +02:00
obadz
52dc8f227f python27Packages.smugline: fix to accomodate new behavior of makeWrapper
Ticks one box in #28643

(cherry picked from commit dd09675347)
2017-09-02 15:20:11 +01:00
obadz
c91b4fe989 pokerth: fix build error which was probably due to a changing C++ dependency (boost/g++?)
Ticks one box in #28643

(cherry picked from commit 5b943136fc)
2017-09-02 15:02:09 +01:00
Samuel Leathers
2e60bbae9d i-score: 1.0.0-a67 -> 1.0.0-b31
(cherry picked from commit d5c342c657)
2017-09-02 09:47:02 -04:00
Austin Seipp
437ca1f134 z3_opt: remove and replace with z3
Z3 has supported optimization features since the 4.4.x release, so this can be
removed.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
(cherry picked from commit 54ae0aa1b0)
2017-09-02 12:18:32 +02:00
romildo
fc18036bed theme-vertex: do not explicitly indicate the gnome version
(cherry picked from commit 7ef6d3ced9)
2017-09-02 12:18:31 +02:00
aszlig
bb9d591114 python/pyocr: 0.4.6 -> 0.4.7
Upstream changes:

  * Tesseract 4.00.00alpha:
    * Version parsing: Ignore suffix (so '4.00.00alpha' == (4, 0, 0))
    * Libtesseract: Load libtesseract.so.4 instead of libtesseract.so.3
      if available
  * Support for Tesseract 3.05.00:
    * Builders: Split field 'tess_conf' into 'tess_flags' and 'tess_conf'
    * Libtesseract: If available, use
                    TessBaseAPIDetectOrientationScript() instead of
                    TessBaseAPIDetectOS
  * Libtesseract:
    * Workaround: Prevents possible segfault in image_to_string() when
                  the target language is not available

Full upstream change log can be found at:

https://github.com/openpaperwork/pyocr/blob/b006123d1d002711b9/ChangeLog

The tesseract.patch for supporting Tesseract version 3.05.00 has been
applied upstream and we can safely drop it.

We now use substituteInPlace in conjunction with a patch to insert the
relevant store paths instead of sed, so it's less fragile whenever we
have upstream changes in handling of these paths.

I've tested this by reverting 48a941e29f and applying a build
fix patch of Cuneiform 1.1.0 from Arch Linux, because right now
Cuneiform is an experimental version that can't be fixed on behalf of
pyocr (the reason is that pyocr needs to get a list of languages, which
doesn't work in that version anymore).

In addition to that I've successfully built paperwork-backend which by
now is the one package which depends on pyocr. However, I didn't do
runtime tests of Paperwork.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @7c6f434c
(cherry picked from commit ca1ea69972)
2017-09-02 12:18:31 +02:00
aszlig
14b20f86e6 python/pyocr: Move package into python-modules
We already have a patch feeling lonely inside the python-modules
directory and to have everything at one place let's actually move pyocr
into its own dedicated directory so it's easier to patch it up (which
we're going to).

Right now, the package fails to build because of a few test failures, so
I haven't tested this apart from evaluating.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
(cherry picked from commit 3086fc7f83)
2017-09-02 12:18:31 +02:00
aszlig
6eabdf0b1b beets: Run tests for external plugins
In order to run the tests for the external plugins of beets, we need to
have beets itself as a dependency. So in order to do that, we now pass
beets without plugins and tests to the nativeBuildInputs of the plugins
so that we can run them.

As soon as the plugins are built they become part of the final beets,
which also has tests enabled, so disabling the tests for beets
derivation that is used for external plugin tests is a non-issue here
because they're going to be executed anyway.

Enabling tests for the alternatives plugin is pretty straightforward,
but in order to run tests for the copyartifacts plugin, we need to bump
the source code to the latest Git master.

The reason for this is that the version that was in use until now
required to have the beets source directory alongside of the
copyartifacts source code, but we already have beets available as a
normal dependency.

Updating copyartifacts to latest master largely consists of unit test
changes and a few Python 3 compatibility changes. However, one change
has the biggest stat, which is
sbarakat/beets-copyartifacts@1a0c281da0.

Fortunately, the last change is just moving the implementation to a
newer API from upstream beets and by the looks of the implementation it
seems to break support for moving files. However, reverting this commit
also reveals that moving files was already broken before, so it wouldn't
matter much whether we have this version bump or not.

Tested with the following command:

nix-build -E '(import ./. {}).beets.override {
  enableAlternatives = true;
  enableCopyArtifacts = true;
}'

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @domenkozar, @pjones, @Profpatsch, @michalrus
(cherry picked from commit 40b76c8809)
2017-09-02 12:18:31 +02:00
aszlig
58335739d8 beets-alternatives: Disable test suite for now
Regression introduced by 94351197cd.

Running the tests results in the following traceback:
  ...
  File ".../unittest/loader.py", line 91, in loadTestsFromName
    module = __import__('.'.join(parts_copy))
  File ".../test/regrtest.py", line 184, in <module>
    for module in sys.modules.itervalues():
RuntimeError: dictionary changed size during iteration

The reason for this is that the test directory itself is called "test"
and the package including regrtest.py is also called "test", so the
loader tries to load tests from its own implementation.

We could fix this by changing PYTHONPATH and/or making the test
directory a proper package, but we'd still have failing tests because
beets itself is required to run the tests.

However for now I'm just removing the unit_tests kwarg in setup.py so
that we have the same behaviour as before the initially mentioned
commit.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
(cherry picked from commit bd2aeb4883)
2017-09-02 12:18:31 +02:00
Daniel Fullmer
83771b8cb8 john: workaroud for build failure
(cherry picked from commit 28b1170f49)
2017-09-02 12:18:31 +02:00
Dmitry Kalinkin
3e35371789 documentation: use modern Firefox version in example
(cherry picked from commit b6a1e439e1)
2017-09-02 12:18:31 +02:00
Dmitry Kalinkin
86318964c3 documentation: fix some spelling
(cherry picked from commit 26068822d8)
2017-09-02 12:18:31 +02:00
romildo
3d9d532c64 uget: 2.0.8 -> 2.0.10
- Update to version 2.0.10
- Use wrapGAppsHook to wrap binaries
- Use gstreamer-1.0
- Add dependence on libappindicator

(cherry picked from commit 1f48ad8699)
2017-09-02 12:18:30 +02:00
aszlig
4d4e200fa9 nixos/deluge: Fix deluge package attribute
Regression introduced by fa5e343242.

The deluge package no longer resides in pythonPackages but now is a
top-level package.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @grantwwu, @fpletz
(cherry picked from commit 799435b7ca)
2017-09-02 12:18:30 +02:00
aszlig
38b7b10e8c conky: Don't enable nvidiaSupport by default
This has been introduced in 6a6fb6d31c.

Relying on non-free software by default is probably a bad idea. Apart
from the fact that (sane) people usually don't want to have it sitting
on their system even people who don't care will have to set
"allowUnfree" to true in order to install conky.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @canndrew, @Mic92
(cherry picked from commit 7f99876f50)
2017-09-02 12:18:30 +02:00
Samuel Leathers
c2284e2f7f espeakedit: fix build with gcc6
(cherry picked from commit b2fd2a8100)
2017-09-02 12:18:30 +02:00
Samuel Leathers
7ac229471a espeak-classic: fix build with gcc6
(cherry picked from commit 6c1364712a)
2017-09-02 12:18:30 +02:00
Roman Volosatovs
c5b077999f mopidy-iris: 3.2.0 -> 3.3.3
(cherry picked from commit 94649061c8)
2017-09-02 12:18:30 +02:00
Gabriel Ebner
bd6b318461 gnome3.dconf-editor: include gsettings_desktop_schemas
(cherry picked from commit 52eb0e0fbd)
2017-09-02 12:18:30 +02:00
Ignat Loskutov
7278caffa7 grml-zsh-config: generalize support to unix systems
(cherry picked from commit 9280937cd4)
2017-09-02 12:18:30 +02:00
Ricardo Ardissone
cba5d9243f openmw: 0.41 -> 0.42
(cherry picked from commit a2794ee5f6)
2017-09-02 12:18:29 +02:00
Florian Jacob
9a0e05ddec nixos/piwik: fix nginx submodule's ssl defaults
previous mkDefault did not work as expected,
as it did not overwrite the original submodule's defaults when the user
did not specify any custom options at all.

(cherry picked from commit 786e9711f5)
2017-09-02 12:18:29 +02:00
Dmitry Kalinkin
957eb785b3 sherpa: 2.2.1 -> 2.2.4
(cherry picked from commit 59b525e559)
2017-09-02 12:18:29 +02:00
Piotr Bogdan
efbaabe5a2 rethinkdb: fix build with gcc6
(cherry picked from commit 26ebbac2c4)
2017-09-02 12:18:29 +02:00
Frank
b503d8858a profanity support for unix
(cherry picked from commit cb61e27e9e)
2017-09-02 12:18:29 +02:00
Simon Lackerbauer
e3278a4dc9 rstudio: 1.1.216 -> 1.1.351
(cherry picked from commit 40cbf90861)
2017-09-02 12:18:29 +02:00
Servilio Afre Puentes
1e17186b02 gmime: updated home and description
GMime home has moved to Github as the list of commits clearly shows,
i.e.:

  b5cbc68a67

The description is updated as well to be closer to the one used there
and over at gnome.org.

(cherry picked from commit ddaa696a4e)
2017-09-02 12:18:29 +02:00
Frederik Rietdijk
005048335b Python docs: add section on tests
(cherry picked from commit b7d257a520)
2017-09-02 12:07:20 +02:00
Unai Zalakain
eb72f12c19 jrnl: support journal encryption by default
(cherry picked from commit 8a12b42361506048dd9abbec6dddcc8ac6e61a20)
2017-09-02 11:04:51 +02:00
Maximilian Güntner
39ee84f9d8 pybitmessage: add numpy + pyopencl to propagatedBuildInputs
(cherry picked from commit 235b63d96c)
2017-09-02 08:38:36 +01:00
Maximilian Güntner
8c1526e414 pytools: 2016.2.1 -> 2017.4
(cherry picked from commit 10e8214b93)
2017-09-02 08:38:36 +01:00
Samuel Leathers
75704617f9 glmark2: 2016-05-11 -> 2017-09-01
(cherry picked from commit 917a0e3e77)
2017-09-02 08:29:10 +01:00
Samuel Leathers
16bdd60576 freewheeling: UNSTABLE -> 0.6.2
(cherry picked from commit 232c6a00ce)
2017-09-02 08:29:10 +01:00
Will Dietz
0fd7ef61b2 clang_34: Disable hardening bits (#28543)
(cherry picked from commit cc45a96aea)
2017-09-01 19:41:33 +01:00
Jörg Thalheim
9c3a136667 python2Packages.jedi: fix tests
(cherry picked from commit e4bc14f6b7)
2017-09-01 19:07:11 +01:00
Jörg Thalheim
1b8c7786ee turses: fix build
(cherry picked from commit 4a6295e6fb)
2017-09-01 18:58:21 +01:00
Jörg Thalheim
cb50802127 python.pkgs.requests-oauthlib: fix source hash
Was accidentally broken during merge.

(cherry picked from commit e825cd8cf681722c9d1e610ada6e775b5230dac0)
2017-09-01 18:23:20 +01:00
Vladimír Čunát
551b4063af chromium: try to hack around Hydra problems
Discussion: https://github.com/NixOS/nixpkgs/commit/e8f1ddcbd1d
2017-09-01 18:21:14 +02:00
Maximilian Güntner
543f0f780c pybitmessage: replace find_library() calls with paths
fixes requested changes in #26616

(cherry picked from commit e9203772f2)
2017-09-01 14:16:00 +01:00
shak-mar
cbde9dae7c pybitmessage: 0.4.4 -> 0.6.2
squashed hashes:
3ee20b2de7c02761aeb7389821f31bbfb6626301
b9a3a3b6a25b998893a1d861849890792b9e664b

(details -> #26616)

(cherry picked from commit e3d7c4ca19)
2017-09-01 14:16:00 +01:00
Samuel Leathers
37568fd229 crrcsim: build with gcc6
(cherry picked from commit 6bc775cdf6)
2017-09-01 14:14:17 +01:00
Samuel Leathers
39099cd9ae crda: fix build with gcc6
(cherry picked from commit e92f5b54fb)
2017-09-01 13:49:37 +01:00
Jörg Thalheim
775ec9ebe4 python.pkgs.pytest-django: fix patch hash
(cherry picked from commit d52eaf878c)
2017-09-01 08:56:49 +01:00
Jan Tojnar
b999b800ce gnome3 tests: fix by providing more memory
/cc #28053.

(cherry picked from commit 3b9f0c6a46)
2017-09-01 07:54:25 +02:00
Samuel Leathers
490b33aa9f bossa: fix build with gcc6
(cherry picked from commit 39154ab86f)
2017-09-01 06:50:42 +01:00
Ruben Maher
e312ec12cd lftp: fix build on darwin
Add `gettext` (which provides `-lintl`) and disable `format` hardening in order
to fix build.

(cherry picked from commit d908b6a1b7)
2017-09-01 06:50:36 +01:00
Samuel Leathers
7c77ba95f3 caneda: fix build with gcc6
(cherry picked from commit 04b8a85739)
2017-09-01 06:50:31 +01:00
Servilio Afre Puentes
c105d14032 gitlab: fix permission issue in build phase
The newer DEB packages have a setuid file, creating an error when
unpacking the source during the build phase.

As dpkg doesn't have a way to pass parameters to tar, dpkg is then
told to just extract the filesystem tar file and that is unpacked by
tar directly.

Fixes #28494

(cherry picked from commit fae458c5e7)
2017-08-31 17:36:52 +01:00
Servilio Afre Puentes
53b7848dcc gitlab: 8.17.6 -> 8.17.8
Latest release has important bugfixes.

(cherry picked from commit cffb1fab3e)
2017-08-31 17:36:52 +01:00
Jörg Thalheim
9ba5678c43 pythonPkgs.html5lib_0_9999999: remove
no longer needed and fails with python3

(cherry picked from commit 0b2f9d1ce1)
2017-08-31 11:24:03 -05:00
Jörg Thalheim
c6b7effa56 pythonPackages.willie: remove
was renamed by sopel, which we already have in nixpkgs

(cherry picked from commit 6fb18561e7)
2017-08-31 11:13:59 -05:00
Jörg Thalheim
cc557ec35e photoqt: 1.3 -> 1.5.1
related to #28643

(cherry picked from commit d83cadf841)
2017-08-31 15:18:59 +01:00
Eelco Dolstra
3e31d25a60 nix: 1.11.13 -> 1.11.14
(cherry picked from commit 79954b9d1f)
2017-08-31 15:12:43 +02:00
Ryan Mulligan
0f004d063e nixos/calibre-server: fix ExecStart call
calibre-server changed the way you specify the library from using
--with-library to just allowing the directory to be specified. See
https://manual.calibre-ebook.com/generated/en/calibre-server.html for
details.

(cherry picked from commit 39a982dc3e)
2017-08-31 15:05:41 +02:00
Graham Christensen
1664e69d09 configuration.nix: Document the stateVersion more
(cherry picked from commit 8efb46b609)
2017-08-31 06:47:39 -04:00
davidak
7a15de1d84 nixos/bcachefs: init module
(cherry picked from commit 8f389f3316)
2017-08-31 05:45:11 -05:00
davidak
55a59f43d0 bcachefs-tools: 2016-05-13 -> 2017-08-28
(cherry picked from commit bd79b8c9fc)
2017-08-31 05:45:11 -05:00
davidak
910d6c30e5 linux-testing-bcachefs: init at 4.11.2017.08.23
(cherry picked from commit 4134db36d0)
2017-08-31 05:45:11 -05:00
Florian Jacob
8cb6bfe6ef mysql service: Make initialDatabases.schema attribute optional
(cherry picked from commit d22c1c0719)
2017-08-31 11:52:11 +02:00
Lancelot SIX
e22826a53b mysql-workbench: fix build with gcc6
(cherry picked from commit d9ae1b408a)
2017-08-31 10:16:21 +01:00
Symphorien Gibol
dccb66d3ab grub module: assume /nix/store is a bind mount even if it is not read only
Fixes #14999

(cherry picked from commit 90ef2183f7)
2017-08-31 10:59:23 +02:00
Valentin Robert
09ce090b1f nerdfonts: 1.0.0 -> 1.1.0
(cherry picked from commit dbba364f64)
2017-08-31 10:59:23 +02:00
Samuel Leathers
324332695d sigrok-cli: 0.6.0 -> 0.7.0
(cherry picked from commit 902dc73ee2)
2017-08-31 09:42:58 +01:00
Samuel Leathers
7d7e2aba83 pulseview: 0.3.0 -> 0.4.0
(cherry picked from commit b39462d0c3)
2017-08-31 09:42:54 +01:00
Samuel Leathers
b0ec7d790b libsigrokdecode: 0.4.1 -> 0.5.0
(cherry picked from commit 3e1fa824df)
2017-08-31 09:42:49 +01:00
Samuel Leathers
e9fc124637 libsigrok: 0.4.0 -> 0.5.0
(cherry picked from commit afa5dcbd7d)
2017-08-31 09:42:43 +01:00
David Pflug
f1e0556a6b milkytracker: 0.90.85 -> 1.01
(cherry picked from commit 7d6c3e877b)
2017-08-31 10:40:30 +02:00
Profpatsch
ea5ccf6ae8 mpvScripts.convert: fix for mpv >0.26.0
See https://gist.github.com/Zehkul/25ea7ae77b30af959be0#gistcomment-2189556

(cherry picked from commit b35972b3fa)
2017-08-31 10:40:29 +02:00
Dan Peebles
bedfed9f52 terraform: manage 0.10 plugins with Nix
Also add a few starter plugins/providers

(cherry picked from commit 80319c1238)
2017-08-31 10:34:34 +02:00
Peter Hoeg
6bd53c487d ledger: fixed with older boost 2017-08-31 11:52:28 +08:00
Peter Hoeg
ce15008c1b ledger: requires an older boost 2017-08-31 11:52:24 +08:00
Graham Christensen
400b273741 Mark synaptics as deprecated
(cherry picked from commit 9d2777a5a5)
2017-08-30 20:44:30 -04:00
Graham Christensen
dc3a666572 profiles/graphical.nix: enable libinput over synaptics
(cherry picked from commit 1b68193167)
2017-08-30 20:44:27 -04:00
Graham Christensen
c2e3e228fe installer: add a comment hinting about enabling libinput for touchpads
(cherry picked from commit af51aa79d2)
2017-08-30 20:44:23 -04:00
Robin Gloster
fe9170c191 vidalia: remove
closes #28753

(cherry picked from commit b09ab584f0)
2017-08-31 00:03:15 +02:00
Franz Pletz
82c301ec40 Update channel and version for 17.09 beta 2017-08-30 23:06:08 +02:00
1682 changed files with 31495 additions and 20097 deletions

View File

@@ -23,7 +23,7 @@ under the terms of [COPYING](../COPYING), which is an MIT-like license.
Examples:
* nginx: init at 2.0.1
* firefox: 3.0 -> 3.1.1
* firefox: 54.0.1 -> 55.0
* nixos/hydra: add bazBaz option
Dual baz behavior is needed to do foo.

View File

@@ -5,10 +5,7 @@
<!-- Please check what applies. Note that these are not hard requirements but merely serve as information for reviewers. -->
- [ ] Tested using sandboxing
([nix.useSandbox](http://nixos.org/nixos/manual/options.html#opt-nix.useSandbox) on NixOS,
or option `build-use-sandbox` in [`nix.conf`](http://nixos.org/nix/manual/#sec-conf-file)
on non-NixOS)
- [ ] Tested using sandboxing ([nix.useSandbox](http://nixos.org/nixos/manual/options.html#opt-nix.useSandbox) on NixOS, or option `build-use-sandbox` in [`nix.conf`](http://nixos.org/nix/manual/#sec-conf-file) on non-NixOS)
- Built on platform(s)
- [ ] NixOS
- [ ] macOS

View File

@@ -365,7 +365,7 @@ splitting up an existing category.</para>
<varlistentry>
<term>If its a (set of) <emphasis>tool(s)</emphasis>:</term>
<listitem>
<para>(A tool is a relatively small program, especially one intented
<para>(A tool is a relatively small program, especially one intended
to be used non-interactively.)</para>
<variablelist>
<varlistentry>
@@ -608,7 +608,7 @@ evaluate correctly.</para>
</section>
<section xml:id="sec-sources"><title>Fetching Sources</title>
<para>There are multiple ways to fetch a package source in nixpkgs. The
general guidline is that you should package sources with a high degree of
general guideline is that you should package sources with a high degree of
availability. Right now there is only one fetcher which has mirroring
support and that is <literal>fetchurl</literal>. Note that you should also
prefer protocols which have a corresponding proxy environment variable.

View File

@@ -590,7 +590,7 @@ By default tests are run because `doCheck = true`. Test dependencies, like
e.g. the test runner, should be added to `buildInputs`.
By default `meta.platforms` is set to the same value
as the interpreter unless overriden otherwise.
as the interpreter unless overridden otherwise.
##### `buildPythonPackage` parameters
@@ -774,6 +774,34 @@ The `buildPythonPackage` function sets `DETERMINISTIC_BUILD=1` and
Both are also exported in `nix-shell`.
### Automatic tests
It is recommended to test packages as part of the build process.
Source distributions (`sdist`) often include test files, but not always.
By default the command `python setup.py test` is run as part of the
`checkPhase`, but often it is necessary to pass a custom `checkPhase`. An
example of such a situation is when `py.test` is used.
#### Common issues
- Non-working tests can often be deselected. By default `buildPythonPackage` runs `python setup.py test`.
Most python modules follows the standard test protocol where the pytest runner can be used instead.
`py.test` supports a `-k` parameter to ignore test methods or classes:
```nix
buildPythonPackage {
# ...
# assumes the tests are located in tests
checkInputs = [ pytest ];
checkPhase = ''
py.test -k 'not function_name and not other_function' tests
'';
}
```
- Unicode issues can typically be fixed by including `glibcLocales` in `buildInputs` and exporting `LC_ALL=en_US.utf-8`.
- Tests that attempt to access `$HOME` can be fixed by using the following work-around before running tests (e.g. `preCheck`): `export HOME=$(mktemp -d)`
## FAQ
### How to solve circular dependencies?
@@ -985,8 +1013,9 @@ rec {
Following rules are desired to be respected:
* Python libraries are supposed to be called from `python-packages.nix` and packaged with `buildPythonPackage`. The expression of a library should be in `pkgs/development/python-modules/<name>/default.nix`. Libraries in `pkgs/top-level/python-packages.nix` are sorted quasi-alphabetically to avoid merge conflicts.
* Python libraries are called from `python-packages.nix` and packaged with `buildPythonPackage`. The expression of a library should be in `pkgs/development/python-modules/<name>/default.nix`. Libraries in `pkgs/top-level/python-packages.nix` are sorted quasi-alphabetically to avoid merge conflicts.
* Python applications live outside of `python-packages.nix` and are packaged with `buildPythonApplication`.
* Make sure libraries build for all Python interpreters.
* By default we enable tests. Make sure the tests are found and, in the case of libraries, are passing for all interpreters. If certain tests fail they can be disabled individually. Try to avoid disabling the tests altogether. In any case, when you disable tests, leave a comment explaining why.
* Commit names of Python libraries should include `pythonPackages`, for example `pythonPackages.numpy: 1.11 -> 1.12`.
* Commit names of Python libraries should reflect that they are Python libraries, so write for example `pythonPackages.numpy: 1.11 -> 1.12`.

View File

@@ -17,7 +17,7 @@ into the `environment.systemPackages` or bring them into scope with
`nix-shell -p rustStable.rustc -p rustStable.cargo`.
There are also `rustBeta` and `rustNightly` package sets available.
These are not updated very regulary. For daily builds use either rustup from
These are not updated very regularly. For daily builds use either rustup from
nixpkgs or use the [Rust nightlies overlay](#using-the-rust-nightlies-overlay).
## Packaging Rust applications

View File

@@ -101,7 +101,7 @@ modulesTree = [kernel]
$ nix-env -i ncurses
$ export NIX_CFLAGS_LINK=-lncurses
$ make menuconfig ARCH=<replaceable>arch</replaceable></screen>
</para>
</listitem>
@@ -111,9 +111,9 @@ $ make menuconfig ARCH=<replaceable>arch</replaceable></screen>
</listitem>
</orderedlist>
</para>
</listitem>
<listitem>
@@ -409,24 +409,24 @@ it. Place the resulting <filename>package.nix</filename> file into
<title>Steam in Nix</title>
<para>
Steam is distributed as a <filename>.deb</filename> file, for now only
as an i686 package (the amd64 package only has documentation).
When unpacked, it has a script called <filename>steam</filename> that
Steam is distributed as a <filename>.deb</filename> file, for now only
as an i686 package (the amd64 package only has documentation).
When unpacked, it has a script called <filename>steam</filename> that
in ubuntu (their target distro) would go to <filename>/usr/bin
</filename>. When run for the first time, this script copies some
files to the user's home, which include another script that is the
ultimate responsible for launching the steam binary, which is also
</filename>. When run for the first time, this script copies some
files to the user's home, which include another script that is the
ultimate responsible for launching the steam binary, which is also
in $HOME.
</para>
<para>
Nix problems and constraints:
<itemizedlist>
<listitem><para>We don't have <filename>/bin/bash</filename> and many
<listitem><para>We don't have <filename>/bin/bash</filename> and many
scripts point there. Similarly for <filename>/usr/bin/python</filename>
.</para></listitem>
<listitem><para>We don't have the dynamic loader in <filename>/lib
</filename>.</para></listitem>
<listitem><para>The <filename>steam.sh</filename> script in $HOME can
<listitem><para>The <filename>steam.sh</filename> script in $HOME can
not be patched, as it is checked and rewritten by steam.</para></listitem>
<listitem><para>The steam binary cannot be patched, it's also checked.</para></listitem>
</itemizedlist>
@@ -446,10 +446,10 @@ it. Place the resulting <filename>package.nix</filename> file into
<title>How to play</title>
<para>
For 64-bit systems it's important to have
<programlisting>hardware.opengl.driSupport32Bit = true;</programlisting>
in your <filename>/etc/nixos/configuration.nix</filename>. You'll also need
<programlisting>hardware.pulseaudio.support32Bit = true;</programlisting>
For 64-bit systems it's important to have
<programlisting>hardware.opengl.driSupport32Bit = true;</programlisting>
in your <filename>/etc/nixos/configuration.nix</filename>. You'll also need
<programlisting>hardware.pulseaudio.support32Bit = true;</programlisting>
if you are using PulseAudio - this will enable 32bit ALSA apps integration.
To use the Steam controller, you need to add
<programlisting>services.udev.extraRules = ''
@@ -470,31 +470,25 @@ it. Place the resulting <filename>package.nix</filename> file into
<varlistentry>
<term>Steam fails to start. What do I do?</term>
<listitem><para>Try to run
<listitem><para>Try to run
<programlisting>strace steam</programlisting>
to see what is causing steam to fail.</para></listitem>
</varlistentry>
<varlistentry>
<term>Using the FOSS Radeon drivers</term>
<listitem><itemizedlist><listitem><para>
The open source radeon drivers need a newer libc++ than is provided
by the default runtime, which leads to a crash on launch. Use
<programlisting>environment.systemPackages = [(pkgs.steam.override { newStdcpp = true; })];</programlisting>
in your config if you get an error like
<programlisting>
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast</programlisting></para></listitem>
<listitem><para>
Steam ships statically linked with a version of libcrypto that
conflics with the one dynamically loaded by radeonsi_dri.so.
If you get the error
<programlisting>steam.sh: line 713: 7842 Segmentation fault (core dumped)</programlisting>
have a look at <link xlink:href="https://github.com/NixOS/nixpkgs/pull/20269">this pull request</link>.
</para></listitem>
<term>Using the FOSS Radeon or nouveau (nvidia) drivers</term>
<listitem><itemizedlist>
<listitem><para>The <literal>newStdcpp</literal> parameter
was removed since NixOS 17.09 and should not be needed anymore.
</para></listitem>
<listitem><para>
Steam ships statically linked with a version of libcrypto that
conflics with the one dynamically loaded by radeonsi_dri.so.
If you get the error
<programlisting>steam.sh: line 713: 7842 Segmentation fault (core dumped)</programlisting>
have a look at <link xlink:href="https://github.com/NixOS/nixpkgs/pull/20269">this pull request</link>.
</para></listitem>
</itemizedlist></listitem></varlistentry>
@@ -504,7 +498,7 @@ libGL error: failed to load driver: swrast</programlisting></para></listitem>
<listitem><para>
There is no java in steam chrootenv by default. If you get a message like
<programlisting>/home/foo/.local/share/Steam/SteamApps/common/towns/towns.sh: line 1: java: command not found</programlisting>
You need to add
You need to add
<programlisting> steam.override { withJava = true; };</programlisting>
to your configuration.
</para></listitem>
@@ -519,14 +513,14 @@ libGL error: failed to load driver: swrast</programlisting></para></listitem>
<title>steam-run</title>
<para>
The FHS-compatible chroot used for steam can also be used to run
The FHS-compatible chroot used for steam can also be used to run
other linux games that expect a FHS environment.
To do it, add
To do it, add
<programlisting>pkgs.(steam.override {
nativeOnly = true;
newStdcpp = true;
}).run</programlisting>
to your configuration, rebuild, and run the game with
to your configuration, rebuild, and run the game with
<programlisting>steam-run ./foo</programlisting>
</para>

View File

@@ -61,7 +61,7 @@ $ git checkout -b 'fix/pkg-name-update'
<listitem>
<para>Format the commit in a following way:</para>
<programlisting>
(pkg-name | service-name): (from -> to | init at version | refactor | etc)
(pkg-name | nixos/&lt;module>): (from -> to | init at version | refactor | etc)
Additional information.
</programlisting>
@@ -78,19 +78,19 @@ Additional information.
<listitem>
<para>
<command>firefox: 3.0 -> 3.1.1</command>
<command>firefox: 54.0.1 -> 55.0</command>
</para>
</listitem>
<listitem>
<para>
<command>hydra service: add bazBaz option</command>
<command>nixos/hydra: add bazBaz option</command>
</para>
</listitem>
<listitem>
<para>
<command>nginx service: refactor config generation</command>
<command>nixos/nginx: refactor config generation</command>
</para>
</listitem>
</itemizedlist>
@@ -196,7 +196,7 @@ Additional information.
<itemizedlist>
<listitem>
<para>Write the title in format <command>(pkg-name | service): improvement</command>.
<para>Write the title in format <command>(pkg-name | nixos/&lt;module>): improvement</command>.
<itemizedlist>
<listitem>

View File

@@ -1,11 +1,11 @@
{ lib }:
# Operations on attribute sets.
let
inherit (builtins) head tail length;
inherit (import ./trivial.nix) and or;
inherit (import ./default.nix) fold;
inherit (import ./strings.nix) concatStringsSep;
inherit (import ./lists.nix) concatMap concatLists all deepSeqList;
inherit (lib.trivial) and or;
inherit (lib.strings) concatStringsSep;
inherit (lib.lists) fold concatMap concatLists all deepSeqList;
in
rec {

View File

@@ -1,6 +1,6 @@
{ lib }:
let
lib = import ./default.nix;
inherit (builtins) attrNames isFunction;
in

View File

@@ -1,4 +1,6 @@
let lib = import ./default.nix;
{ lib }:
let
inherit (builtins) trace attrNamesToStr isAttrs isFunction isList isInt
isString isBool head substring attrNames;

View File

@@ -5,58 +5,127 @@
*/
let
# often used, or depending on very little
trivial = import ./trivial.nix;
fixedPoints = import ./fixed-points.nix;
callLibs = file: import file { inherit lib; };
# datatypes
attrsets = import ./attrsets.nix;
lists = import ./lists.nix;
strings = import ./strings.nix;
stringsWithDeps = import ./strings-with-deps.nix;
lib = rec {
# packaging
customisation = import ./customisation.nix;
maintainers = import ./maintainers.nix;
meta = import ./meta.nix;
sources = import ./sources.nix;
# often used, or depending on very little
trivial = callLibs ./trivial.nix;
fixedPoints = callLibs ./fixed-points.nix;
# module system
modules = import ./modules.nix;
options = import ./options.nix;
types = import ./types.nix;
# datatypes
attrsets = callLibs ./attrsets.nix;
lists = callLibs ./lists.nix;
strings = callLibs ./strings.nix;
stringsWithDeps = callLibs ./strings-with-deps.nix;
# constants
licenses = import ./licenses.nix;
systems = import ./systems;
# packaging
customisation = callLibs ./customisation.nix;
maintainers = callLibs ./maintainers.nix;
meta = callLibs ./meta.nix;
sources = callLibs ./sources.nix;
# misc
debug = import ./debug.nix;
generators = import ./generators.nix;
misc = import ./deprecated.nix;
# domain-specific
sandbox = import ./sandbox.nix;
fetchers = import ./fetchers.nix;
# module system
modules = callLibs ./modules.nix;
options = callLibs ./options.nix;
types = callLibs ./types.nix;
# Eval-time filesystem handling
filesystem = import ./filesystem.nix;
# constants
licenses = callLibs ./licenses.nix;
systems = callLibs ./systems;
in
{ inherit trivial fixedPoints
attrsets lists strings stringsWithDeps
customisation maintainers meta sources
modules options types
licenses systems
debug generators misc
sandbox fetchers filesystem;
# misc
debug = callLibs ./debug.nix;
generators = callLibs ./generators.nix;
misc = callLibs ./deprecated.nix;
# domain-specific
sandbox = callLibs ./sandbox.nix;
fetchers = callLibs ./fetchers.nix;
# Eval-time filesystem handling
filesystem = callLibs ./filesystem.nix;
# back-compat aliases
platforms = systems.doubles;
}
# !!! don't include everything at top-level; perhaps only the most
# commonly used functions.
// trivial // fixedPoints
// lists // strings // stringsWithDeps // attrsets // sources
// options // types // meta // debug // misc // modules
// customisation
inherit (builtins) add addErrorContext attrNames
concatLists deepSeq elem elemAt filter genericClosure genList
getAttr hasAttr head isAttrs isBool isFunction isInt isList
isString length lessThan listToAttrs pathExists readFile
replaceStrings seq stringLength sub substring tail;
inherit (trivial) id const concat or and boolToString mergeAttrs
flip mapNullable inNixShell min max importJSON warn info
nixpkgsVersion mod;
inherit (fixedPoints) fix fix' extends composeExtensions
makeExtensible makeExtensibleWithCustomName;
inherit (attrsets) attrByPath hasAttrByPath setAttrByPath
getAttrFromPath attrVals attrValues catAttrs filterAttrs
filterAttrsRecursive foldAttrs collect nameValuePair mapAttrs
mapAttrs' mapAttrsToList mapAttrsRecursive mapAttrsRecursiveCond
genAttrs isDerivation toDerivation optionalAttrs
zipAttrsWithNames zipAttrsWith zipAttrs recursiveUpdateUntil
recursiveUpdate matchAttrs overrideExisting getOutput getBin
getLib getDev chooseDevOutputs zipWithNames zip;
inherit (lists) singleton foldr fold foldl foldl' imap0 imap1
concatMap flatten remove findSingle findFirst any all count
optional optionals toList range partition zipListsWith zipLists
reverseList listDfs toposort sort take drop sublist last init
crossLists unique intersectLists subtractLists
mutuallyExclusive;
inherit (strings) concatStrings concatMapStrings concatImapStrings
intersperse concatStringsSep concatMapStringsSep
concatImapStringsSep makeSearchPath makeSearchPathOutput
makeLibraryPath makeBinPath makePerlPath optionalString
hasPrefix hasSuffix stringToCharacters stringAsChars escape
escapeShellArg escapeShellArgs replaceChars lowerChars upperChars
toLower toUpper addContextFrom splitString removePrefix
removeSuffix versionOlder versionAtLeast getVersion nameFromURL
enableFeature fixedWidthString fixedWidthNumber isStorePath
toInt readPathsFromFile fileContents;
inherit (stringsWithDeps) textClosureList textClosureMap
noDepEntry fullDepEntry packEntry stringAfter;
inherit (customisation) overrideDerivation makeOverridable
callPackageWith callPackagesWith addPassthru hydraJob makeScope;
inherit (meta) addMetaAttrs dontDistribute setName updateName
appendToName mapDerivationAttrset lowPrio lowPrioSet hiPrio
hiPrioSet;
inherit (sources) pathType pathIsDirectory cleanSourceFilter
cleanSource sourceByRegex sourceFilesBySuffices
commitIdFromGitRepo;
inherit (modules) evalModules closeModules unifyModuleSyntax
applyIfFunction unpackSubmodule packSubmodule mergeModules
mergeModules' mergeOptionDecls evalOptionValue mergeDefinitions
pushDownProperties dischargeProperties filterOverrides
sortProperties fixupOptionType mkIf mkAssert mkMerge mkOverride
mkOptionDefault mkDefault mkForce mkVMOverride mkStrict
mkFixStrictness mkOrder mkBefore mkAfter mkAliasDefinitions
mkAliasAndWrapDefinitions fixMergeModules mkRemovedOptionModule
mkRenamedOptionModule mkMergedOptionModule mkChangedOptionModule
mkAliasOptionModule doRename filterModules;
inherit (options) isOption mkEnableOption mkSinkUndeclaredOptions
mergeDefaultOption mergeOneOption mergeEqualOption getValues
getFiles optionAttrSetToDocList optionAttrSetToDocList'
scrubOptionValue literalExample showOption showFiles
unknownModule mkOption;
inherit (types) isType setType defaultTypeMerge defaultFunctor
isOptionType mkOptionType;
inherit (debug) addErrorContextToAttrs traceIf traceVal
traceXMLVal traceXMLValMarked traceSeq traceSeqN traceValSeq
traceValSeqN traceShowVal traceShowValMarked
showVal traceCall traceCall2 traceCall3 traceValIfNot runTests
testAllTrue strict traceCallXml attrNamesToStr;
inherit (misc) maybeEnv defaultMergeArg defaultMerge foldArgs
defaultOverridableDelayableArgs composedArgsAndFun
maybeAttrNullable maybeAttr ifEnable checkFlag getValue
checkReqs uniqList uniqListExt condConcat lazyGenericClosure
innerModifySumArgs modifySumArgs innerClosePropagation
closePropagation mapAttrsFlatten nvs setAttr setAttrMerge
mergeAttrsWithFunc mergeAttrsConcatenateValues
mergeAttrsNoOverride mergeAttrByFunc mergeAttrsByFuncDefaults
mergeAttrsByFuncDefaultsClean mergeAttrBy
prepareDerivationArgs nixType imap overridableDelayableArgs;
};
in lib

View File

@@ -1,11 +1,12 @@
let lib = import ./default.nix;
{ lib }:
let
inherit (builtins) isFunction head tail isList isAttrs isInt attrNames;
in
with import ./lists.nix;
with import ./attrsets.nix;
with import ./strings.nix;
with lib.lists;
with lib.attrsets;
with lib.strings;
rec {

View File

@@ -1,4 +1,5 @@
# snippets that can be shared by multiple fetchers (pkgs/build-support)
{ lib }:
{
proxyImpureEnvVars = [

View File

@@ -1,3 +1,4 @@
{ lib }:
{ # haskellPathsInDir : Path -> Map String Path
# A map of all haskell packages defined in the given path,
# identified by having a cabal file with the same name as the

View File

@@ -1,3 +1,4 @@
{ ... }:
rec {
# Compute the fixed point of the given function `f`, which is usually an
# attribute set that expects its final, non-recursive representation as an

View File

@@ -7,10 +7,11 @@
* Tests can be found in ./tests.nix
* Documentation in the manual, #sec-generators
*/
with import ./trivial.nix;
{ lib }:
with (lib).trivial;
let
libStr = import ./strings.nix;
libAttr = import ./attrsets.nix;
libStr = lib.strings;
libAttr = lib.attrsets;
flipMapAttrs = flip libAttr.mapAttrs;
in

View File

@@ -1,7 +1,6 @@
{ lib }:
let
lib = import ./default.nix;
spdx = lic: lic // {
url = "http://spdx.org/licenses/${lic.spdxId}";
};
@@ -175,6 +174,12 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
fullName = "DOC License";
};
eapl = {
fullName = "EPSON AVASYS PUBLIC LICENSE";
url = http://avasys.jp/hp/menu000000700/hpg000000603.htm;
free = false;
};
efl10 = spdx {
spdxId = "EFL-1.0";
fullName = "Eiffel Forum License v1.0";
@@ -198,7 +203,7 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
eupl11 = spdx {
spdxId = "EUPL-1.1";
fullname = "European Union Public License 1.1";
fullName = "European Union Public License 1.1";
};
fdl12 = spdx {
@@ -211,6 +216,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
fullName = "GNU Free Documentation License v1.3";
};
ffsl = {
fullName = "Floodgap Free Software License";
url = http://www.floodgap.com/software/ffsl/license.html;
};
free = {
fullName = "Unspecified free software license";
};
@@ -271,6 +281,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
url = https://fedoraproject.org/wiki/Licensing/GPL_Classpath_Exception;
};
hpnd = spdx {
spdxId = "HPND";
fullName = "Historic Permission Notice and Disclaimer";
};
# Intel's license, seems free
iasl = {
fullName = "iASL";
@@ -282,9 +297,10 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
fullName = "Independent JPEG Group License";
};
inria = {
fullName = "INRIA Non-Commercial License Agreement";
inria-compcert = {
fullName = "INRIA Non-Commercial License Agreement for the CompCert verified compiler";
url = "http://compcert.inria.fr/doc/LICENSE";
free = false;
};
ipa = spdx {
@@ -363,7 +379,7 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
};
miros = {
fullname = "MirOS License";
fullName = "MirOS License";
url = https://opensource.org/licenses/MirOS;
};
@@ -408,7 +424,7 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
url = "https://raw.githubusercontent.com/raboof/notion/master/LICENSE";
fullName = "Notion modified LGPL";
};
ofl = spdx {
spdxId = "OFL-1.1";
fullName = "SIL Open Font License 1.1";

View File

@@ -1,6 +1,6 @@
# General list operations.
with import ./trivial.nix;
{ lib }:
with lib.trivial;
rec {

View File

@@ -1,3 +1,4 @@
{ ...}:
/* List of NixOS maintainers. The format is:
handle = "Real Name <address@example.org>";
@@ -189,6 +190,7 @@
erikryb = "Erik Rybakken <erik.rybakken@math.ntnu.no>";
ertes = "Ertugrul Söylemez <esz@posteo.de>";
ethercrow = "Dmitry Ivanov <ethercrow@gmail.com>";
etu = "Elis Hirwing <elis@hirwing.se>";
exi = "Reno Reckling <nixos@reckling.org>";
exlevan = "Alexey Levan <exlevan@gmail.com>";
expipiplus1 = "Joe Hermaszewski <nix@monoid.al>";
@@ -211,6 +213,7 @@
fuuzetsu = "Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>";
fuzzy-id = "Thomas Bach <hacking+nixos@babibo.de>";
fxfactorial = "Edgar Aroutiounian <edgar.factorial@gmail.com>";
gabesoft = "Gabriel Adomnicai <gabesoft@gmail.com>";
gal_bolle = "Florent Becker <florent.becker@ens-lyon.org>";
garbas = "Rok Garbas <rok@garbas.si>";
garrison = "Jim Garrison <jim@garrison.cc>";
@@ -235,6 +238,7 @@
guillaumekoenig = "Guillaume Koenig <guillaume.edward.koenig@gmail.com>";
guyonvarch = "Joris Guyonvarch <joris@guyonvarch.me>";
hakuch = "Jesse Haber-Kucharsky <hakuch@gmail.com>";
hamhut1066 = "Hamish Hutchings <github@hamhut1066.com>";
havvy = "Ryan Scheel <ryan.havvy@gmail.com>";
hbunke = "Hendrik Bunke <bunke.hendrik@gmail.com>";
hce = "Hans-Christian Esperer <hc@hcesperer.org>";
@@ -251,6 +255,7 @@
igsha = "Igor Sharonov <igor.sharonov@gmail.com>";
ikervagyok = "Balázs Lengyel <ikervagyok@gmail.com>";
infinisil = "Silvan Mosberger <infinisil@icloud.com>";
ironpinguin = "Michele Catalano <michele@catalano.de>";
ivan-tkatchev = "Ivan Tkatchev <tkatchev@gmail.com>";
j-keck = "Jürgen Keck <jhyphenkeck@gmail.com>";
jagajaga = "Arseniy Seroka <ars.seroka@gmail.com>";
@@ -301,7 +306,7 @@
kiloreux = "Kiloreux Emperex <kiloreux@gmail.com>";
kkallio = "Karn Kallio <tierpluspluslists@gmail.com>";
knedlsepp = "Josef Kemetmüller <josef.kemetmueller@gmail.com>";
konimex = "Muhammad Herdiansyah <herdiansyah@openmailbox.org>";
konimex = "Muhammad Herdiansyah <herdiansyah@netc.eu>";
koral = "Koral <koral@mailoo.org>";
kovirobi = "Kovacsics Robert <kovirobi@gmail.com>";
kragniz = "Louis Taylor <louis@kragniz.eu>";
@@ -490,6 +495,7 @@
renzo = "Renzo Carbonara <renzocarbonara@gmail.com>";
retrry = "Tadas Barzdžius <retrry@gmail.com>";
rht = "rht <rhtbot@protonmail.com>";
richardipsum = "Richard Ipsum <richardipsum@fastmail.co.uk>";
rick68 = "Wei-Ming Yang <rick68@gmail.com>";
rickynils = "Rickard Nilsson <rickynils@gmail.com>";
ris = "Robert Scott <code@humanleg.org.uk>";
@@ -572,7 +578,9 @@
taku0 = "Takuo Yonezawa <mxxouy6x3m_github@tatapa.org>";
tari = "Peter Marheine <peter@taricorp.net>";
tavyc = "Octavian Cerna <octavian.cerna@gmail.com>";
ltavard = "Laure Tavard <laure.tavard@univ-grenoble-alpes.fr>";
teh = "Tom Hunger <tehunger@gmail.com>";
teto = "Matthieu Coudron <mcoudron@hotmail.com>";
telotortium = "Robert Irelan <rirelan@gmail.com>";
thall = "Niclas Thall <niclas.thall@gmail.com>";
thammers = "Tobias Hammerschmidt <jawr@gmx.de>";
@@ -631,6 +639,7 @@
wjlroe = "William Roe <willroe@gmail.com>";
wkennington = "William A. Kennington III <william@wkennington.com>";
wmertens = "Wout Mertens <Wout.Mertens@gmail.com>";
woffs = "Frank Doepper <github@woffs.de>";
womfoo = "Kranium Gikos Mendoza <kranium@gikos.net>";
wscott = "Wayne Scott <wsc9tt@gmail.com>";
wyvie = "Elijah Rum <elijahrum@gmail.com>";
@@ -638,6 +647,7 @@
xvapx = "Marti Serra <marti.serra.coscollano@gmail.com>";
xwvvvvwx = "David Terry <davidterry@posteo.de>";
yarr = "Dmitry V. <savraz@gmail.com>";
yegortimoshenko = "Yegor Timoshenko <yegortimoshenko@gmail.com>";
yochai = "Yochai <yochai@titat.info>";
yorickvp = "Yorick van Pelt <yorickvanpelt@gmail.com>";
yuriaisaka = "Yuri Aisaka <yuri.aisaka+nix@gmail.com>";
@@ -654,4 +664,5 @@
zoomulator = "Kim Simmons <zoomulator@gmail.com>";
zraexy = "David Mell <zraexy@gmail.com>";
zx2c4 = "Jason A. Donenfeld <Jason@zx2c4.com>";
zzamboni = "Diego Zamboni <diego@zzamboni.org>";
}

View File

@@ -1,8 +1,7 @@
/* Some functions for manipulating meta attributes, as well as the
name attribute. */
let lib = import ./default.nix;
in
{ lib }:
rec {

View File

@@ -1,10 +1,12 @@
with import ./lists.nix;
with import ./strings.nix;
with import ./trivial.nix;
with import ./attrsets.nix;
with import ./options.nix;
with import ./debug.nix;
with import ./types.nix;
{ lib }:
with lib.lists;
with lib.strings;
with lib.trivial;
with lib.attrsets;
with lib.options;
with lib.debug;
with lib.types;
rec {

View File

@@ -1,11 +1,10 @@
# Nixpkgs/NixOS option handling.
{ lib }:
let lib = import ./default.nix; in
with import ./trivial.nix;
with import ./lists.nix;
with import ./attrsets.nix;
with import ./strings.nix;
with lib.trivial;
with lib.lists;
with lib.attrsets;
with lib.strings;
rec {

View File

@@ -1,4 +1,5 @@
with import ./strings.nix;
{ lib }:
with lib.strings;
/* Helpers for creating lisp S-exprs for the Apple sandbox

View File

@@ -1,6 +1,5 @@
# Functions for copying sources to the Nix store.
let lib = import ./default.nix; in
{ lib }:
rec {
@@ -15,9 +14,10 @@ rec {
cleanSourceFilter = name: type: let baseName = baseNameOf (toString name); in ! (
# Filter out Subversion and CVS directories.
(type == "directory" && (baseName == ".git" || baseName == ".svn" || baseName == "CVS" || baseName == ".hg")) ||
# Filter out backup files.
# Filter out editor backup / swap files.
lib.hasSuffix "~" baseName ||
builtins.match "^.*\.sw[a-z]$" baseName != null ||
builtins.match "^\\.sw[a-z]$" baseName != null ||
builtins.match "^\\..*\\.sw[a-z]$" baseName != null ||
# Filter out generates files.
lib.hasSuffix ".o" baseName ||

View File

@@ -1,3 +1,4 @@
{ lib }:
/*
Usage:
@@ -40,9 +41,9 @@ Usage:
[1] maybe this behaviour should be removed to keep things simple (?)
*/
with import ./lists.nix;
with import ./attrsets.nix;
with import ./strings.nix;
with lib.lists;
with lib.attrsets;
with lib.strings;
rec {

View File

@@ -1,6 +1,6 @@
/* String manipulation functions. */
let lib = import ./default.nix;
{ lib }:
let
inherit (builtins) length;

View File

@@ -1,11 +1,12 @@
let inherit (import ../attrsets.nix) mapAttrs; in
{ lib }:
let inherit (lib.attrsets) mapAttrs; in
rec {
doubles = import ./doubles.nix;
parse = import ./parse.nix;
inspect = import ./inspect.nix;
platforms = import ./platforms.nix;
examples = import ./examples.nix;
doubles = import ./doubles.nix { inherit lib; };
parse = import ./parse.nix { inherit lib; };
inspect = import ./inspect.nix { inherit lib; };
platforms = import ./platforms.nix { inherit lib; };
examples = import ./examples.nix { inherit lib; };
# Elaborate a `localSystem` or `crossSystem` so that it contains everything
# necessary.
@@ -28,6 +29,15 @@ rec {
else if final.isLinux then "glibc"
# TODO(@Ericson2314) think more about other operating systems
else "native/impure";
extensions = {
sharedLibrary =
/**/ if final.isDarwin then ".dylib"
else if final.isWindows then ".dll"
else ".so";
executable =
/**/ if final.isWindows then ".exe"
else "";
};
} // mapAttrs (n: v: v final.parsed) inspect.predicates
// args;
in final;

View File

@@ -1,8 +1,9 @@
{ lib }:
let
lists = import ../lists.nix;
parse = import ./parse.nix;
inherit (import ./inspect.nix) predicates;
inherit (import ../attrsets.nix) matchAttrs;
inherit (lib) lists;
parse = import ./parse.nix { inherit lib; };
inherit (import ./inspect.nix { inherit lib; }) predicates;
inherit (lib.attrsets) matchAttrs;
all = [
"aarch64-linux"

View File

@@ -1,8 +1,8 @@
# These can be passed to nixpkgs as either the `localSystem` or
# `crossSystem`. They are put here for user convenience, but also used by cross
# tests and linux cross stdenv building, so handle with care!
let platforms = import ./platforms.nix; in
{ lib }:
let platforms = import ./platforms.nix { inherit lib; }; in
rec {
#

View File

@@ -1,6 +1,7 @@
with import ./parse.nix;
with import ../attrsets.nix;
with import ../lists.nix;
{ lib }:
with import ./parse.nix { inherit lib; };
with lib.attrsets;
with lib.lists;
rec {
patterns = rec {

View File

@@ -4,14 +4,13 @@
# http://llvm.org/docs/doxygen/html/Triple_8cpp_source.html especially
# Triple::normalize. Parsing should essentially act as a more conservative
# version of that last function.
with import ../lists.nix;
with import ../types.nix;
with import ../attrsets.nix;
with (import ./inspect.nix).predicates;
{ lib }:
with lib.lists;
with lib.types;
with lib.attrsets;
with (import ./inspect.nix { inherit lib; }).predicates;
let
lib = import ../default.nix;
setTypesAssert = type: pred:
mapAttrs (name: value:
assert pred value;

View File

@@ -1,3 +1,4 @@
{ lib }:
rec {
pcBase = {
name = "pc";

View File

@@ -1,3 +1,4 @@
{ lib }:
rec {
/* The identity function
@@ -55,7 +56,7 @@ rec {
isInt add sub lessThan
seq deepSeq genericClosure;
inherit (import ./strings.nix) fileContents;
inherit (lib.strings) fileContents;
# Return the Nixpkgs version number.
nixpkgsVersion =

View File

@@ -1,15 +1,16 @@
# Definitions related to run-time type checking. Used in particular
# to type-check NixOS configurations.
{ lib }:
with lib.lists;
with lib.attrsets;
with lib.options;
with lib.trivial;
with lib.strings;
let
with import ./lists.nix;
with import ./attrsets.nix;
with import ./options.nix;
with import ./trivial.nix;
with import ./strings.nix;
let inherit (import ./modules.nix) mergeDefinitions filterOverrides; in
inherit (lib.modules) mergeDefinitions filterOverrides;
outer_types =
rec {
isType = type: x: (x._type or "") == type;
setType = typeName: value: value // {
@@ -95,7 +96,6 @@ rec {
# When adding new types don't forget to document them in
# nixos/doc/manual/development/option-types.xml!
types = rec {
unspecified = mkOptionType {
name = "unspecified";
};
@@ -291,7 +291,7 @@ rec {
submodule = opts:
let
opts' = toList opts;
inherit (import ./modules.nix) evalModules;
inherit (lib.modules) evalModules;
in
mkOptionType rec {
name = "submodule";
@@ -395,5 +395,6 @@ rec {
addCheck = elemType: check: elemType // { check = x: elemType.check x && check x; };
};
};
}
in outer_types // outer_types.types

View File

@@ -9,17 +9,15 @@ GNOME_FTP=ftp.gnome.org/pub/GNOME/sources
NO_GNOME_MAJOR="ghex gtkhtml gdm"
usage() {
echo "Usage: $0 gnome_dir <show project>|<update project>|<update-all> [major.minor]" >&2
echo "gnome_dir is for example pkgs/desktops/gnome-3/3.18" >&2
echo "Usage: $0 <show project>|<update project>|<update-all> [major.minor]" >&2
exit 0
}
if [ "$#" -lt 2 ]; then
if [ "$#" -lt 1 ]; then
usage
fi
GNOME_TOP=$1
shift
GNOME_TOP=pkgs/desktops/gnome-3
action=$1

View File

@@ -13,10 +13,8 @@ from pyquery import PyQuery as pq
maintainers_json = subprocess.check_output([
'nix-instantiate',
'lib/maintainers.nix',
'--eval',
'--json'])
'nix-instantiate', '-E', 'import ./lib/maintainers.nix {}', '--eval', '--json'
])
maintainers = json.loads(maintainers_json)
MAINTAINERS = {v: k for k, v in maintainers.iteritems()}

View File

@@ -16,7 +16,7 @@ containers.database =
{ config =
{ config, pkgs, ... }:
{ services.postgresql.enable = true;
services.postgresql.package = pkgs.postgresql92;
services.postgresql.package = pkgs.postgresql96;
};
};
</programlisting>

View File

@@ -113,7 +113,8 @@ manual</link> for the rest.</para>
</row>
<row>
<entry><literal>assert 1 + 1 == 2; "yes!"</literal></entry>
<entry>Assertion check (evaluates to <literal>"yes!"</literal>)</entry>
<entry>Assertion check (evaluates to <literal>"yes!"</literal>). See <xref
linkend="sec-assertions"/> for using assertions in modules</entry>
</row>
<row>
<entry><literal>let x = "foo"; y = "bar"; in x + y</literal></entry>

View File

@@ -0,0 +1,80 @@
<section xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
version="5.0"
xml:id="sec-assertions">
<title>Warnings and Assertions</title>
<para>
When configuration problems are detectable in a module, it is a good
idea to write an assertion or warning. Doing so provides clear
feedback to the user and prevents errors after the build.
</para>
<para>
Although Nix has the <literal>abort</literal> and
<literal>builtins.trace</literal> <link xlink:href="https://nixos.org/nix/manual/#ssec-builtins">functions</link> to perform such tasks,
they are not ideally suited for NixOS modules. Instead of these
functions, you can declare your warnings and assertions using the
NixOS module system.
</para>
<section>
<title>Warnings</title>
<para>
This is an example of using <literal>warnings</literal>.
</para>
<programlisting>
<![CDATA[
{ config, lib, ... }:
{
config = lib.mkIf config.services.foo.enable {
warnings =
if config.services.foo.bar
then [ ''You have enabled the bar feature of the foo service.
This is known to cause some specific problems in certain situations.
'' ]
else [];
}
}
]]>
</programlisting>
</section>
<section>
<title>Assertions</title>
<para>
This example, extracted from the
<link xlink:href="https://github.com/NixOS/nixpkgs/blob/release-17.09/nixos/modules/services/logging/syslogd.nix">
<literal>syslogd</literal> module
</link> shows how to use <literal>assertions</literal>. Since there
can only be one active syslog daemon at a time, an assertion is useful to
prevent such a broken system from being built.
</para>
<programlisting>
<![CDATA[
{ config, lib, ... }:
{
config = lib.mkIf config.services.syslogd.enable {
assertions =
[ { assertion = !config.services.rsyslogd.enable;
message = "rsyslogd conflicts with syslogd";
}
];
}
}
]]>
</programlisting>
</section>
</section>

View File

@@ -137,8 +137,8 @@ services.xserver.displayManager.enable = mkOption {
};</screen></example>
<example xml:id='ex-option-declaration-eot-backend-sddm'><title>Extending
<literal>services.foo.backend</literal> in the <literal>sddm</literal>
module</title>
<literal>services.xserver.displayManager.enable</literal> in the
<literal>sddm</literal> module</title>
<screen>
services.xserver.displayManager.enable = mkOption {
type = with types; nullOr (enum [ "sddm" ]);

View File

@@ -157,27 +157,26 @@
<section xml:id='section-option-types-submodule'><title>Submodule</title>
<para>Submodule is a very powerful type that defines a set of sub-options that
are handled like a separate module.
It is especially interesting when used with composed types like
<literal>attrsOf</literal> or <literal>listOf</literal>.</para>
<para><literal>submodule</literal> is a very powerful type that defines a set
of sub-options that are handled like a separate module.</para>
<para>The submodule type take a parameter <replaceable>o</replaceable>, that
should be a set, or a function returning a set with an
<literal>options</literal> key defining the sub-options.
The option set can be defined directly (<xref linkend='ex-submodule-direct'
/>) or as reference (<xref linkend='ex-submodule-reference' />).</para>
<para>It takes a parameter <replaceable>o</replaceable>, that should be a set,
or a function returning a set with an <literal>options</literal> key
defining the sub-options.
Submodule option definitions are type-checked accordingly to the
<literal>options</literal> declarations.
Of course, you can nest submodule option definitons for even higher
modularity.</para>
<para>Submodule option definitions are type-checked accordingly to the options
declarations. It is possible to declare submodule options inside a submodule
sub-options for even higher modularity.</para>
<para>The option set can be defined directly
(<xref linkend='ex-submodule-direct' />) or as reference
(<xref linkend='ex-submodule-reference' />).</para>
<example xml:id='ex-submodule-direct'><title>Directly defined submodule</title>
<screen>
options.mod = mkOption {
name = "mod";
description = "submodule example";
type = with types; listOf (submodule {
type = with types; submodule {
options = {
foo = mkOption {
type = int;
@@ -186,10 +185,10 @@ options.mod = mkOption {
type = str;
};
};
});
};
};</screen></example>
<example xml:id='ex-submodule-reference'><title>Submodule defined as a
<example xml:id='ex-submodule-reference'><title>Submodule defined as a
reference</title>
<screen>
let
@@ -206,16 +205,20 @@ let
in
options.mod = mkOption {
description = "submodule example";
type = with types; listOf (submodule modOptions);
type = with types; submodule modOptions;
};</screen></example>
<section><title>Composed with <literal>listOf</literal></title>
<para>When composed with <literal>listOf</literal>, submodule allows multiple
definitions of the submodule option set.</para>
<para>The <literal>submodule</literal> type is especially interesting when
used with composed types like <literal>attrsOf</literal> or
<literal>listOf</literal>.
When composed with <literal>listOf</literal>
(<xref linkend='ex-submodule-listof-declaration' />),
<literal>submodule</literal> allows multiple definitions of the submodule
option set (<xref linkend='ex-submodule-listof-definition' />).</para>
<example xml:id='ex-submodule-listof-declaration'><title>Declaration of a list
of submodules</title>
nof submodules</title>
<screen>
options.mod = mkOption {
description = "submodule example";
@@ -239,13 +242,11 @@ config.mod = [
{ foo = 2; bar = "two"; }
];</screen></example>
</section>
<section><title>Composed with <literal>attrsOf</literal></title>
<para>When composed with <literal>attrsOf</literal>, submodule allows multiple
named definitions of the submodule option set.</para>
<para>When composed with <literal>attrsOf</literal>
(<xref linkend='ex-submodule-attrsof-declaration' />),
<literal>submodule</literal> allows multiple named definitions of the
submodule option set (<xref linkend='ex-submodule-attrsof-definition' />).
</para>
<example xml:id='ex-submodule-attrsof-declaration'><title>Declaration of
attribute sets of submodules</title>
@@ -270,7 +271,6 @@ options.mod = mkOption {
config.mod.one = { foo = 1; bar = "one"; };
config.mod.two = { foo = 2; bar = "two"; };</screen></example>
</section>
</section>
<section><title>Extending types</title>

View File

@@ -161,6 +161,11 @@
</link>
</para>
</listitem>
<listitem>
<para>
Set a release date in the release notes.
</para>
</listitem>
<listitem>
<para>
Change <literal>stableBranch</literal> to true and wait for channel to update.
@@ -195,7 +200,7 @@
</listitem>
<listitem>
<para>
Send an email to nix-dev to announce the release with above information. Best to check how previous email was formulated
Send an email to nix-devel to announce the release with above information. Best to check how previous email was formulated
to see what needs to be included.
</para>
</listitem>
@@ -223,27 +228,27 @@
<tbody>
<row>
<entry>
2016-07-25
2018-01-31
</entry>
<entry>
Send email to nix-dev about upcoming branch-off
Send email to nix-devel about upcoming branch-off
</entry>
</row>
<row>
<entry>
2016-09-01
2018-02-28
</entry>
<entry>
<literal>release-16.09</literal> branch and corresponding jobsets are created,
<literal>release-18.03</literal> branch and corresponding jobsets are created,
change freeze
</entry>
</row>
<row>
<entry>
2016-09-30
2018-03-29
</entry>
<entry>
NixOS 16.09 released
NixOS 18.03 released
</entry>
</row>
</tbody>

View File

@@ -178,6 +178,7 @@ in {
<xi:include href="option-declarations.xml" />
<xi:include href="option-types.xml" />
<xi:include href="option-def.xml" />
<xi:include href="assertions.xml" />
<xi:include href="meta-attributes.xml" />
<xi:include href="replace-modules.xml" />

View File

@@ -176,7 +176,7 @@ following incompatible changes:</para>
streamlined. Desktop users should be able to simply set
<programlisting>security.grsecurity.enable = true</programlisting> to get
a reasonably secure system without having to sacrifice too much
functionality. See <xref linkend="sec-grsecurity" /> for documentation
functionality.
</para></listitem>
<listitem><para>Special filesystems, like <literal>/proc</literal>,

View File

@@ -4,7 +4,15 @@
version="5.0"
xml:id="sec-release-17.09">
<title>Release 17.09 (“Hummingbird”, 2017/09/??)</title>
<title>Release 17.09 (“Hummingbird”, 2017/09/29)</title>
<section xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
version="5.0"
xml:id="sec-release-17.09-highlights">
<title>Highlights</title>
<para>In addition to numerous new and upgraded packages, this release
has the following highlights: </para>
@@ -12,7 +20,8 @@ has the following highlights: </para>
<itemizedlist>
<listitem>
<para>
The GNOME version is now 3.24.
The GNOME version is now 3.24. KDE Plasma was upgraded to 5.10,
KDE Applications to 17.08.1 and KDE Frameworks to 5.37.
</para>
</listitem>
<listitem>
@@ -45,16 +54,130 @@ has the following highlights: </para>
even though <literal>HDMI-0</literal> is the first head in the list.
</para>
</listitem>
<listitem>
<para>
The handling of SSL in the <literal>services.nginx</literal> module has
been cleaned up, renaming the misnamed <literal>enableSSL</literal> to
<literal>onlySSL</literal> which reflects its original intention. This
is not to be used with the already existing <literal>forceSSL</literal>
which creates a second non-SSL virtual host redirecting to the SSL
virtual host. This by chance had worked earlier due to specific
implementation details. In case you had specified both please remove
the <literal>enableSSL</literal> option to keep the previous behaviour.
</para>
<para>
Another <literal>addSSL</literal> option has been introduced to configure
both a non-SSL virtual host and an SSL virtual host with the same
configuration.
</para>
<para>
Options to configure <literal>resolver</literal> options and
<literal>upstream</literal> blocks have been introduced. See their information
for further details.
</para>
<para>
The <literal>port</literal> option has been replaced by a more generic
<literal>listen</literal> option which makes it possible to specify
multiple addresses, ports and SSL configs dependant on the new SSL
handling mentioned above.
</para>
</listitem>
</itemizedlist>
</section>
<section xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
version="5.0"
xml:id="sec-release-17.09-new-services">
<title>New Services</title>
<para>The following new services were added since the last release:</para>
<itemizedlist>
<listitem>
<para></para>
</listitem>
<listitem><para><literal>config/fonts/fontconfig-penultimate.nix</literal></para></listitem>
<listitem><para><literal>config/fonts/fontconfig-ultimate.nix</literal></para></listitem>
<listitem><para><literal>config/terminfo.nix</literal></para></listitem>
<listitem><para><literal>hardware/sensor/iio.nix</literal></para></listitem>
<listitem><para><literal>hardware/nitrokey.nix</literal></para></listitem>
<listitem><para><literal>hardware/raid/hpsa.nix</literal></para></listitem>
<listitem><para><literal>programs/browserpass.nix</literal></para></listitem>
<listitem><para><literal>programs/gnupg.nix</literal></para></listitem>
<listitem><para><literal>programs/qt5ct.nix</literal></para></listitem>
<listitem><para><literal>programs/slock.nix</literal></para></listitem>
<listitem><para><literal>programs/thefuck.nix</literal></para></listitem>
<listitem><para><literal>security/auditd.nix</literal></para></listitem>
<listitem><para><literal>security/lock-kernel-modules.nix</literal></para></listitem>
<listitem><para><literal>service-managers/docker.nix</literal></para></listitem>
<listitem><para><literal>service-managers/trivial.nix</literal></para></listitem>
<listitem><para><literal>services/admin/salt/master.nix</literal></para></listitem>
<listitem><para><literal>services/admin/salt/minion.nix</literal></para></listitem>
<listitem><para><literal>services/audio/slimserver.nix</literal></para></listitem>
<listitem><para><literal>services/cluster/kubernetes/default.nix</literal></para></listitem>
<listitem><para><literal>services/cluster/kubernetes/dns.nix</literal></para></listitem>
<listitem><para><literal>services/cluster/kubernetes/dashboard.nix</literal></para></listitem>
<listitem><para><literal>services/continuous-integration/hail.nix</literal></para></listitem>
<listitem><para><literal>services/databases/clickhouse.nix</literal></para></listitem>
<listitem><para><literal>services/databases/postage.nix</literal></para></listitem>
<listitem><para><literal>services/desktops/gnome3/gnome-disks.nix</literal></para></listitem>
<listitem><para><literal>services/desktops/gnome3/gpaste.nix</literal></para></listitem>
<listitem><para><literal>services/logging/SystemdJournal2Gelf.nix</literal></para></listitem>
<listitem><para><literal>services/logging/heartbeat.nix</literal></para></listitem>
<listitem><para><literal>services/logging/journalwatch.nix</literal></para></listitem>
<listitem><para><literal>services/logging/syslogd.nix</literal></para></listitem>
<listitem><para><literal>services/mail/mailhog.nix</literal></para></listitem>
<listitem><para><literal>services/mail/nullmailer.nix</literal></para></listitem>
<listitem><para><literal>services/misc/airsonic.nix</literal></para></listitem>
<listitem><para><literal>services/misc/autorandr.nix</literal></para></listitem>
<listitem><para><literal>services/misc/exhibitor.nix</literal></para></listitem>
<listitem><para><literal>services/misc/fstrim.nix</literal></para></listitem>
<listitem><para><literal>services/misc/gollum.nix</literal></para></listitem>
<listitem><para><literal>services/misc/irkerd.nix</literal></para></listitem>
<listitem><para><literal>services/misc/jackett.nix</literal></para></listitem>
<listitem><para><literal>services/misc/radarr.nix</literal></para></listitem>
<listitem><para><literal>services/misc/snapper.nix</literal></para></listitem>
<listitem><para><literal>services/monitoring/osquery.nix</literal></para></listitem>
<listitem><para><literal>services/monitoring/prometheus/collectd-exporter.nix</literal></para></listitem>
<listitem><para><literal>services/monitoring/prometheus/fritzbox-exporter.nix</literal></para></listitem>
<listitem><para><literal>services/network-filesystems/kbfs.nix</literal></para></listitem>
<listitem><para><literal>services/networking/dnscache.nix</literal></para></listitem>
<listitem><para><literal>services/networking/fireqos.nix</literal></para></listitem>
<listitem><para><literal>services/networking/iwd.nix</literal></para></listitem>
<listitem><para><literal>services/networking/keepalived/default.nix</literal></para></listitem>
<listitem><para><literal>services/networking/keybase.nix</literal></para></listitem>
<listitem><para><literal>services/networking/lldpd.nix</literal></para></listitem>
<listitem><para><literal>services/networking/matterbridge.nix</literal></para></listitem>
<listitem><para><literal>services/networking/squid.nix</literal></para></listitem>
<listitem><para><literal>services/networking/tinydns.nix</literal></para></listitem>
<listitem><para><literal>services/networking/xrdp.nix</literal></para></listitem>
<listitem><para><literal>services/security/shibboleth-sp.nix</literal></para></listitem>
<listitem><para><literal>services/security/sks.nix</literal></para></listitem>
<listitem><para><literal>services/security/sshguard.nix</literal></para></listitem>
<listitem><para><literal>services/security/torify.nix</literal></para></listitem>
<listitem><para><literal>services/security/usbguard.nix</literal></para></listitem>
<listitem><para><literal>services/security/vault.nix</literal></para></listitem>
<listitem><para><literal>services/system/earlyoom.nix</literal></para></listitem>
<listitem><para><literal>services/system/saslauthd.nix</literal></para></listitem>
<listitem><para><literal>services/web-apps/nexus.nix</literal></para></listitem>
<listitem><para><literal>services/web-apps/pgpkeyserver-lite.nix</literal></para></listitem>
<listitem><para><literal>services/web-apps/piwik.nix</literal></para></listitem>
<listitem><para><literal>services/web-servers/lighttpd/collectd.nix</literal></para></listitem>
<listitem><para><literal>services/web-servers/minio.nix</literal></para></listitem>
<listitem><para><literal>services/x11/display-managers/xpra.nix</literal></para></listitem>
<listitem><para><literal>services/x11/xautolock.nix</literal></para></listitem>
<listitem><para><literal>tasks/filesystems/bcachefs.nix</literal></para></listitem>
<listitem><para><literal>tasks/powertop.nix</literal></para></listitem>
</itemizedlist>
</section>
<section xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
version="5.0"
xml:id="sec-release-17.09-incompatibilities">
<title>Backward Incompatibilities</title>
<para>When upgrading from a previous release, please be aware of the
following incompatible changes:</para>
@@ -62,10 +185,97 @@ following incompatible changes:</para>
<itemizedlist>
<listitem>
<para>
<literal>aiccu</literal> package was removed. This is due to SixXS
<emphasis role="strong">
In an Qemu-based virtualization environment, the network interface
names changed from i.e. <literal>enp0s3</literal> to
<literal>ens3</literal>.
</emphasis>
</para>
<para>
This is due to a kernel configuration change. The new naming
is consistent with those of other Linux distributions with
systemd. See
<link xlink:href="https://github.com/NixOS/nixpkgs/issues/29197">#29197</link>
for more information.
</para>
<para>
A machine is affected if the <literal>virt-what</literal> tool
either returns <literal>qemu</literal> or
<literal>kvm</literal> <emphasis>and</emphasis> has
interface names used in any part of its NixOS configuration,
in particular if a static network configuration with
<literal>networking.interfaces</literal> is used.
</para>
<para>
Before rebooting affected machines, please ensure:
<itemizedlist>
<listitem>
<para>
Change the interface names in your NixOS configuration.
The first interface will be called <literal>ens3</literal>,
the second one <literal>ens8</literal> and starting from there
incremented by 1.
</para>
</listitem>
<listitem>
<para>
After changing the interface names, rebuild your system with
<literal>nixos-rebuild boot</literal> to activate the new
configuration after a reboot. If you switch to the new
configuration right away you might lose network connectivity!
If using <literal>nixops</literal>, deploy with
<literal>nixops deploy --force-reboot</literal>.
</para>
</listitem>
</itemizedlist>
</para>
</listitem>
<listitem>
<para>
The following changes apply if the <literal>stateVersion</literal> is changed to 17.09 or higher.
For <literal>stateVersion = "17.03"</literal> or lower the old behavior is preserved.
</para>
<itemizedlist>
<listitem>
<para>
The <literal>postgres</literal> default version was changed from 9.5 to 9.6.
</para>
</listitem>
<listitem>
<para>
The <literal>postgres</literal> superuser name has changed from <literal>root</literal> to <literal>postgres</literal> to more closely follow what other Linux distributions are doing.
</para>
</listitem>
<listitem>
<para>
The <literal>postgres</literal> default <literal>dataDir</literal> has changed from <literal>/var/db/postgres</literal> to <literal>/var/lib/postgresql/$psqlSchema</literal> where $psqlSchema is 9.6 for example.
</para>
</listitem>
<listitem>
<para>
The <literal>mysql</literal> default <literal>dataDir</literal> has changed from <literal>/var/mysql</literal> to <literal>/var/lib/mysql</literal>.
</para>
</listitem>
<listitem>
<para>
Radicale's default package has changed from 1.x to 2.x. Instructions to migrate can be found <link xlink:href="http://radicale.org/1to2/"> here </link>. It is also possible to use the newer version by setting the <literal>package</literal> to <literal>radicale2</literal>, which is done automatically when <literal>stateVersion</literal> is 17.09 or higher. The <literal>extraArgs</literal> option has been added to allow passing the data migration arguments specified in the instructions; see the <filename xlink:href="https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/radicale.nix">radicale.nix</filename> NixOS test for an example migration.
</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>
The <literal>aiccu</literal> package was removed. This is due to SixXS
<link xlink:href="https://www.sixxs.net/main/"> sunsetting</link> its IPv6 tunnel.
</para>
</listitem>
<listitem>
<para>
The <literal>fanctl</literal> package and <literal>fan</literal> module
have been removed due to the developers not upstreaming their iproute2
patches and lagging with compatibility to recent iproute2 versions.
</para>
</listitem>
<listitem>
<para>
Top-level <literal>idea</literal> package collection was renamed.
@@ -81,7 +291,7 @@ following incompatible changes:</para>
</listitem>
<listitem>
<para>
The ipfs package now doesn't ignore the <literal>dataDir</literal> option anymore. If you've ever set this option to anything other than the default you'll have to either unset it (so the default gets used) or migrate the old data manually with
The <literal>ipfs</literal> service now doesn't ignore the <literal>dataDir</literal> option anymore. If you've ever set this option to anything other than the default you'll have to either unset it (so the default gets used) or migrate the old data manually with
<programlisting>
dataDir=&lt;valueOfDataDir&gt;
mv /var/lib/ipfs/.ipfs/* $dataDir
@@ -89,32 +299,11 @@ rmdir /var/lib/ipfs/.ipfs
</programlisting>
</para>
</listitem>
<listitem>
<para>
The following changes apply if the <literal>stateVersion</literal> is changed to 17.09 or higher.
For <literal>stateVersion = "17.03</literal> or lower the old behavior is preserved.
</para>
<para>
The <literal>postgres</literal> default version was changed from 9.5 to 9.6.
</para>
<para>
The <literal>postgres</literal> superuser name has changed from <literal>root</literal> to <literal>postgres</literal> to more closely follow what other Linux distributions are doing.
</para>
<para>
The <literal>postgres</literal> default <literal>dataDir</literal> has changed from <literal>/var/db/postgres</literal> to <literal>/var/lib/postgresql/$psqlSchema</literal> where $psqlSchema is 9.6 for example.
</para>
<para>
The <literal>mysql</literal> default <literal>dataDir</literal> has changed from <literal>/var/mysql</literal> to <literal>/var/lib/mysql</literal>.
</para>
<para>
Radicale's default package has changed from 1.x to 2.x. Instructions to migrate can be found <link xlink:href="http://radicale.org/1to2/"> here </link>. It is also possible to use the newer version by setting the <literal>package</literal> to <literal>radicale2</literal>, which is done automatically when <literal>stateVersion</literal> is 17.09 or higher.
</para>
</listitem>
<listitem>
<para>
The <literal>caddy</literal> service was previously using an extra
<literal>.caddy</literal> in the data directory specified with the
<literal>dataDir</literal> option. The contents of the
<literal>.caddy</literal> directory in the data directory specified
with the <literal>dataDir</literal> option. The contents of the
<literal>.caddy</literal> directory are now expected to be in the
<literal>dataDir</literal>.
</para>
@@ -176,9 +365,139 @@ rmdir /var/lib/ipfs/.ipfs
removed. The system support had been broken for several years.
</para>
</listitem>
<listitem>
<para>
Touchpad support should now be enabled through
<literal>libinput</literal> as <literal>synaptics</literal> is
now deprecated. See the option
<literal>services.xserver.libinput.enable</literal>.
</para>
</listitem>
<listitem>
<para>
grsecurity/PaX support has been dropped, following upstream's
decision to cease free support. See
<link xlink:href="https://grsecurity.net/passing_the_baton.php">
upstream's announcement</link> for more information.
No complete replacement for grsecurity/PaX is available presently.
</para>
</listitem>
<listitem>
<para>
<literal>services.mysql</literal> now has declarative
configuration of databases and users with the <literal>ensureDatabases</literal> and
<literal>ensureUsers</literal> options.
</para>
<para>
These options will never delete existing databases and users,
especially not when the value of the options are changed.
</para>
<para>
The MySQL users will be identified using
<link xlink:href="https://mariadb.com/kb/en/library/authentication-plugin-unix-socket/">
Unix socket authentication</link>. This authenticates the
Unix user with the same name only, and that without the need
for a password.
</para>
<para>
If you have previously created a MySQL <literal>root</literal>
user <emphasis>with a password</emphasis>, you will need to add
<literal>root</literal> user for unix socket authentication
before using the new options. This can be done by running the
following SQL script:
<programlisting language="sql">
CREATE USER 'root'@'%' IDENTIFIED BY '';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;
-- Optionally, delete the password-authenticated user:
-- DROP USER 'root'@'localhost';
</programlisting>
</para>
</listitem>
<listitem>
<para>
<literal>sha256</literal> argument value of
<literal>dockerTools.pullImage</literal> expression must be
updated since the mechanism to download the image has been
changed. Skopeo is now used to pull the image instead of the
Docker daemon.
</para>
</listitem>
<listitem>
<para>
<literal>services.mysqlBackup</literal> now works by default
without any user setup, including for users other than
<literal>mysql</literal>.
</para>
<para>
By default, the <literal>mysql</literal> user is no longer the
user which performs the backup. Instead a system account
<literal>mysqlbackup</literal> is used.
</para>
<para>
The <literal>mysqlBackup</literal> service is also now using
systemd timers instead of <literal>cron</literal>.
</para>
<para>
Therefore, the <literal>services.mysqlBackup.period</literal>
option no longer exists, and has been replaced with
<literal>services.mysqlBackup.calendar</literal>, which is in
the format of <link
xlink:href="https://www.freedesktop.org/software/systemd/man/systemd.time.html#Calendar%20Events">systemd.time(7)</link>.
</para>
<para>
If you expect to be sent an e-mail when the backup fails,
consider using a script which monitors the systemd journal for
errors. Regretfully, at present there is no built-in
functionality for this.
</para>
<para>
You can check that backups still work by running
<command>systemctl start mysql-backup</command> then
<command>systemctl status mysql-backup</command>.
</para>
</listitem>
<listitem>
<para>
Templated systemd services e.g <literal>container@name</literal> are
now handled currectly when switching to a new configuration, resulting
in them being reloaded.
</para>
</listitem>
<listitem>
<para>Steam: the <literal>newStdcpp</literal> parameter
was removed and should not be needed anymore.</para>
</listitem>
<listitem>
<para>
Redis has been updated to version 4 which mandates a cluster
mass-restart, due to changes in the network handling, in order
to ensure compatibility with networks NATing traffic.
</para>
</listitem>
</itemizedlist>
<para>Other notable improvements:</para>
</section>
<section xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
version="5.0"
xml:id="sec-release-17.09-notable-changes">
<title>Other Notable Changes</title>
<itemizedlist>
@@ -229,7 +548,72 @@ rmdir /var/lib/ipfs/.ipfs
See the overlays chapter of the Nixpkgs manual for more details.
</para>
</listitem>
<listitem>
<para>
Definitions for <filename>/etc/hosts</filename> can now be specified
declaratively with <literal>networking.hosts</literal>.
</para>
</listitem>
<listitem>
<para>
Two new options have been added to the installer loader, in addition
to the default having changed. The kernel log verbosity has been lowered
to the upstream default for the default options, in order to not spam
the console when e.g. joining a network.
</para>
<para>
This therefore leads to adding a new <literal>debug</literal> option
to set the log level to the previous verbose mode, to make debugging
easier, but still accessible easily.
</para>
<para>
Additionally a <literal>copytoram</literal> option has been added,
which makes it possible to remove the install medium after booting.
This allows tethering from your phone after booting from it.
</para>
</listitem>
<listitem>
<para>
<literal>services.gitlab-runner.configOptions</literal> has been added
to specify the configuration of gitlab-runners declaratively.
</para>
</listitem>
<listitem>
<para>
<literal>services.jenkins.plugins</literal> has been added
to install plugins easily, this can be generated with jenkinsPlugins2nix.
</para>
</listitem>
<listitem>
<para>
<literal>services.postfix.config</literal> has been added
to specify the main.cf with NixOS options. Additionally other options
have been added to the postfix module and has been improved further.
</para>
</listitem>
<listitem>
<para>
The GitLab package and module have been updated to the latest 10.0
release.
</para>
</listitem>
<listitem>
<para>
The <literal>systemd-boot</literal> boot loader now lists the NixOS
version, kernel version and build date of all bootable generations.
</para>
</listitem>
<listitem>
<para>
The dnscrypt-proxy service now defaults to using a random upstream resolver,
selected from the list of public non-logging resolvers with DNSSEC support.
Existing configurations can be migrated to this mode of operation by
omitting the <option>services.dnscrypt-proxy.resolverName</option> option
or setting it to <literal>"random"</literal>.
</para>
</listitem>
</itemizedlist>
</section>
</section>

View File

@@ -77,7 +77,6 @@ let
excludedOptions = [
"boot.systemd.services"
"systemd.services"
"environment.gnome3.packageSet"
"kde.extraPackages"
];
excludeOptions = list:

View File

@@ -17,7 +17,7 @@ mkdir -p $stateDir
rm -f ec2-amis.nix
types="hvm"
stores="ebs s3"
stores="ebs"
regions="eu-west-1 eu-west-2 eu-central-1 us-east-1 us-east-2 us-west-1 us-west-2 ca-central-1 ap-southeast-1 ap-southeast-2 ap-northeast-1 ap-northeast-2 sa-east-1 ap-south-1"
for type in $types; do

View File

@@ -1,3 +1,5 @@
# nix-build '<nixpkgs/nixos>' -A config.system.build.novaImage --arg configuration "{ imports = [ ./nixos/maintainers/scripts/openstack/nova-image.nix ]; }"
{ config, lib, pkgs, ... }:
with lib;

View File

@@ -53,7 +53,7 @@ in
};
substitutions = mkOption {
type = types.nullOr (types.enum ["free" "combi" "ms"]);
type = types.enum ["free" "combi" "ms" "none"];
default = "free";
description = ''
Font substitutions to replace common Type 1 fonts with nicer

View File

@@ -43,7 +43,7 @@ with lib;
<literal>"all"</literal> means that all locales supported by
Glibc will be installed. A full list of supported locales
can be found at <link
xlink:href="http://sourceware.org/cgi-bin/cvsweb.cgi/libc/localedata/SUPPORTED?cvsroot=glibc"/>.
xlink:href="https://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/SUPPORTED"/>.
'';
};

View File

@@ -40,6 +40,12 @@ in
{
config = mkIf enabled {
assertions = [
{
assertion = config.services.xserver.displayManager.gdm.wayland;
message = "NVidia drivers don't support wayland";
}
];
services.xserver.drivers = singleton
{ name = "nvidia"; modules = [ nvidia_x11.bin ]; libPath = [ nvidia_x11 ]; };
@@ -62,11 +68,16 @@ in
boot.extraModulePackages = [ nvidia_x11.bin ];
# nvidia-uvm is required by CUDA applications.
boot.kernelModules = [ "nvidia-uvm" ];
boot.kernelModules = [ "nvidia-uvm" ] ++
lib.optionals config.services.xserver.enable [ "nvidia" "nvidia_modeset" "nvidia_drm" ];
# Create /dev/nvidia-uvm when the nvidia-uvm module is loaded.
services.udev.extraRules =
''
KERNEL=="nvidia", RUN+="${pkgs.stdenv.shell} -c 'mknod -m 666 /dev/nvidiactl c $(grep nvidia-frontend /proc/devices | cut -d \ -f 1) 255'"
KERNEL=="nvidia_modeset", RUN+="${pkgs.stdenv.shell} -c 'mknod -m 666 /dev/nvidia-modeset c $(grep nvidia-frontend /proc/devices | cut -d \ -f 1) 254'"
KERNEL=="card*", SUBSYSTEM=="drm", DRIVERS=="nvidia", RUN+="${pkgs.stdenv.shell} -c 'mknod -m 666 /dev/nvidia%n c $(grep nvidia-frontend /proc/devices | cut -d \ -f 1) %n'"
KERNEL=="nvidia_uvm", RUN+="${pkgs.stdenv.shell} -c 'mknod -m 666 /dev/nvidia-uvm c $(grep nvidia-uvm /proc/devices | cut -d \ -f 1) 0'"
'';

View File

@@ -46,17 +46,24 @@ let
# A variant to boot with 'nomodeset'
LABEL boot-nomodeset
MENU LABEL NixOS ${config.system.nixosVersion}${config.isoImage.appendToMenuLabel} (with nomodeset)
MENU LABEL NixOS ${config.system.nixosVersion}${config.isoImage.appendToMenuLabel} (nomodeset)
LINUX /boot/bzImage
APPEND init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams} nomodeset
INITRD /boot/initrd
# A variant to boot with 'copytoram'
LABEL boot-copytoram
MENU LABEL NixOS ${config.system.nixosVersion}${config.isoImage.appendToMenuLabel} (with copytoram)
MENU LABEL NixOS ${config.system.nixosVersion}${config.isoImage.appendToMenuLabel} (copytoram)
LINUX /boot/bzImage
APPEND init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams} copytoram
INITRD /boot/initrd
# A variant to boot with verbose logging to the console
LABEL boot-nomodeset
MENU LABEL NixOS ${config.system.nixosVersion}${config.isoImage.appendToMenuLabel} (debug)
LINUX /boot/bzImage
APPEND init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams} loglevel=7
INITRD /boot/initrd
'';
isolinuxMemtest86Entry = ''
@@ -74,25 +81,43 @@ let
cp -v ${pkgs.systemd}/lib/systemd/boot/efi/systemd-boot${targetArch}.efi $out/EFI/boot/boot${targetArch}.efi
mkdir -p $out/loader/entries
echo "title NixOS Live CD" > $out/loader/entries/nixos-livecd.conf
echo "linux /boot/bzImage" >> $out/loader/entries/nixos-livecd.conf
echo "initrd /boot/initrd" >> $out/loader/entries/nixos-livecd.conf
echo "options init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams}" >> $out/loader/entries/nixos-livecd.conf
cat << EOF > $out/loader/entries/nixos-iso.conf
title NixOS ${config.system.nixosVersion}${config.isoImage.appendToMenuLabel}
linux /boot/bzImage
initrd /boot/initrd
options init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams}
EOF
# A variant to boot with 'nomodeset'
echo "title NixOS Live CD (with nomodeset)" > $out/loader/entries/nixos-livecd-nomodeset.conf
echo "linux /boot/bzImage" >> $out/loader/entries/nixos-livecd-nomodeset.conf
echo "initrd /boot/initrd" >> $out/loader/entries/nixos-livecd-nomodeset.conf
echo "options init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams} nomodeset" >> $out/loader/entries/nixos-livecd-nomodeset.conf
cat << EOF > $out/loader/entries/nixos-iso-nomodeset.conf
title NixOS ${config.system.nixosVersion}${config.isoImage.appendToMenuLabel}
version nomodeset
linux /boot/bzImage
initrd /boot/initrd
options init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams} nomodeset
EOF
# A variant to boot with 'copytoram'
echo "title NixOS Live CD (with copytoram)" > $out/loader/entries/nixos-livecd-copytoram.conf
echo "linux /boot/bzImage" >> $out/loader/entries/nixos-livecd-copytoram.conf
echo "initrd /boot/initrd" >> $out/loader/entries/nixos-livecd-copytoram.conf
echo "options init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams} copytoram" >> $out/loader/entries/nixos-livecd-copytoram.conf
cat << EOF > $out/loader/entries/nixos-iso-copytoram.conf
title NixOS ${config.system.nixosVersion}${config.isoImage.appendToMenuLabel}
version copytoram
linux /boot/bzImage
initrd /boot/initrd
options init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams} copytoram
EOF
echo "default nixos-livecd" > $out/loader/loader.conf
echo "timeout ${builtins.toString config.boot.loader.timeout}" >> $out/loader/loader.conf
# A variant to boot with verbose logging to the console
cat << EOF > $out/loader/entries/nixos-iso-debug.conf
title NixOS ${config.system.nixosVersion}${config.isoImage.appendToMenuLabel} (debug)
linux /boot/bzImage
initrd /boot/initrd
options init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams} loglevel=7
EOF
cat << EOF > $out/loader/loader.conf
default nixos-iso
timeout ${builtins.toString config.boot.loader.timeout}
EOF
'';
efiImg = pkgs.runCommand "efi-image_eltorito" { buildInputs = [ pkgs.mtools pkgs.libfaketime ]; }
@@ -336,6 +361,9 @@ in
{ source = config.isoImage.splashImage;
target = "/isolinux/background.png";
}
{ source = pkgs.writeText "version" config.system.nixosVersion;
target = "/version.txt";
}
] ++ optionals config.isoImage.makeEfiBootable [
{ source = efiImg;
target = "/boot/efi.img";

View File

@@ -27,7 +27,8 @@ in
boot.loader.generic-extlinux-compatible.enable = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelParams = ["console=ttyS0,115200n8" "console=tty0"];
# Increase the amount of CMA to ensure the virtual console on the RPi3 works.
boot.kernelParams = ["cma=32M" "console=ttyS0,115200n8" "console=tty0"];
boot.consoleLogLevel = 7;
# FIXME: this probably should be in installation-device.nix

View File

@@ -1,5 +1,5 @@
{
x86_64-linux = "/nix/store/avwiw7hb1qckag864sc6ixfxr8qmf94w-nix-1.11.13";
i686-linux = "/nix/store/8wv3ms0afw95hzsz4lxzv0nj4w3614z9-nix-1.11.13";
x86_64-darwin = "/nix/store/z21lvakv1l7lhasmv5fvaz8mlzxia8k9-nix-1.11.13";
x86_64-linux = "/nix/store/b4s1gxiis1ryvybnjhdjvgc5sr1nq0ys-nix-1.11.15";
i686-linux = "/nix/store/kgb5hs7qw13bvb6icramv1ry9dard3h9-nix-1.11.15";
x86_64-darwin = "/nix/store/dgwz3dxdzs2wwd7pg7cdhvl8rv0qpnbj-nix-1.11.15";
}

View File

@@ -583,9 +583,15 @@ $bootLoaderConfig
# List packages installed in system profile. To search by name, run:
# \$ nix-env -qaP | grep wget
# environment.systemPackages = with pkgs; [
# wget
# wget vim
# ];
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.bash.enableCompletion = true;
# programs.mtr.enable = true;
# programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
# List services that you want to enable:
# Enable the OpenSSH daemon.
@@ -605,6 +611,9 @@ $bootLoaderConfig
# services.xserver.layout = "us";
# services.xserver.xkbOptions = "eurosign:e";
# Enable touchpad support.
# services.xserver.libinput.enable = true;
# Enable the KDE Desktop Environment.
# services.xserver.displayManager.sddm.enable = true;
# services.xserver.desktopManager.plasma5.enable = true;
@@ -615,8 +624,11 @@ $bootLoaderConfig
# uid = 1000;
# };
# The NixOS release to be compatible with for stateful data such as databases.
system.stateVersion = "${\(qw(@nixosRelease@))}";
# This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you
# should.
system.stateVersion = "${\(qw(@nixosRelease@))}"; # Did you read the comment?
}
EOF

View File

@@ -102,16 +102,44 @@ fi
extraBuildFlags+=(--option "build-users-group" "$buildUsersGroup")
# Inherit binary caches from the host
# TODO: will this still work with Nix 1.12 now that it has no perl? Probably not...
# TODO: will this still work with Nix 1.12 now that it has no perl? Probably not...
binary_caches="$(@perl@/bin/perl -I @nix@/lib/perl5/site_perl/*/* -e 'use Nix::Config; Nix::Config::readConfig; print $Nix::Config::config{"binary-caches"};')"
extraBuildFlags+=(--option "binary-caches" "$binary_caches")
nixpkgs="$(readlink -f "$(nix-instantiate --find-file nixpkgs)")"
export NIX_PATH="nixpkgs=$nixpkgs:nixos-config=$mountPoint/$NIXOS_CONFIG"
# We only need nixpkgs in the path if we don't already have a system closure to install
if [[ -z "$closure" ]]; then
nixpkgs="$(readlink -f "$(nix-instantiate --find-file nixpkgs)")"
export NIX_PATH="nixpkgs=$nixpkgs:nixos-config=$mountPoint/$NIXOS_CONFIG"
fi
unset NIXOS_CONFIG
# TODO: do I need to set NIX_SUBSTITUTERS here or is the --option binary-caches above enough?
# These get created in nixos-prepare-root as well, but we want to make sure they're here in case we're
# running with --chroot. TODO: --chroot should just be split into a separate tool.
mkdir -m 0755 -p "$mountPoint/dev" "$mountPoint/proc" "$mountPoint/sys"
# Set up some bind mounts we'll want regardless of chroot or not
mount --rbind /dev "$mountPoint/dev"
mount --rbind /proc "$mountPoint/proc"
mount --rbind /sys "$mountPoint/sys"
# If we asked for a chroot, that means we're not actually installing anything (yeah I was confused too)
# and we just want to run a command in the context of a $mountPoint that we're assuming has already been
# set up by a previous nixos-install invocation. In that case we set up some remaining bind mounts and
# exec the requested command, skipping the rest of the installation procedure.
if [ -n "$runChroot" ]; then
mount -t tmpfs -o "mode=0755" none $mountPoint/run
rm -rf $mountPoint/var/run
ln -s /run $mountPoint/var/run
for f in /etc/resolv.conf /etc/hosts; do rm -f $mountPoint/$f; [ -f "$f" ] && cp -Lf $f $mountPoint/etc/; done
for f in /etc/passwd /etc/group; do touch $mountPoint/$f; [ -f "$f" ] && mount --rbind -o ro $f $mountPoint/$f; done
if ! [ -L $mountPoint/nix/var/nix/profiles/system ]; then
echo "$0: installation not finished; cannot chroot into installation directory"
exit 1
fi
ln -s /nix/var/nix/profiles/system $mountPoint/run/current-system
exec chroot $mountPoint "${chrootCommand[@]}"
fi
# A place to drop temporary closures
trap "rm -rf $tmpdir" EXIT
@@ -123,6 +151,9 @@ function closure() {
}
system_closure="$tmpdir/system.closure"
# Use a FIFO for piping nix-store --export into nix-store --import, saving disk
# I/O and space. nix-store --import is run by nixos-prepare-root.
mkfifo $system_closure
if [ -z "$closure" ]; then
expr="(import <nixpkgs/nixos> {}).system"
@@ -132,7 +163,9 @@ else
system_root=$closure
# Create a temporary file ending in .closure (so nixos-prepare-root knows to --import it) to transport the store closure
# to the filesytem we're preparing. Also delete it on exit!
nix-store --export $(nix-store -qR $closure) > $system_closure
# Run in background to avoid blocking while trying to write to the FIFO
# $system_closure refers to
nix-store --export $(nix-store -qR $closure) > $system_closure &
fi
channel_root="$(nix-env -p /nix/var/nix/profiles/per-user/root/channels -q nixos --no-name --out-path 2>/dev/null || echo -n "")"
@@ -145,9 +178,7 @@ nix-store --export $channel_root > $channel_closure
# nixos-prepare-root doesn't currently do anything with file ownership, so we set it up here instead
chown @root_uid@:@nixbld_gid@ $mountPoint/nix/store
mount --rbind /dev $mountPoint/dev
mount --rbind /proc $mountPoint/proc
mount --rbind /sys $mountPoint/sys
# Grub needs an mtab.
ln -sfn /proc/mounts $mountPoint/etc/mtab

View File

@@ -254,7 +254,6 @@
hydra-queue-runner = 235;
hydra-www = 236;
syncthing = 237;
mfi = 238;
caddy = 239;
taskd = 240;
factorio = 241;
@@ -427,7 +426,7 @@
teamspeak = 124;
influxdb = 125;
nsd = 126;
#gitolite = 127; # unused
gitolite = 127;
znc = 128;
polipo = 129;
mopidy = 130;
@@ -522,7 +521,6 @@
octoprint = 230;
radicale = 234;
syncthing = 237;
#mfi = 238; # unused
caddy = 239;
taskd = 240;
factorio = 241;

View File

@@ -78,7 +78,7 @@ in
defaultChannel = mkOption {
internal = true;
type = types.str;
default = https://nixos.org/channels/nixos-unstable;
default = https://nixos.org/channels/nixos-17.09;
description = "Default NixOS channel to which the root user is subscribed.";
};

View File

@@ -121,7 +121,6 @@
./security/chromium-suid-sandbox.nix
./security/dhparams.nix
./security/duosec.nix
./security/grsecurity.nix
./security/hidepid.nix
./security/lock-kernel-modules.nix
./security/oath.nix
@@ -157,7 +156,9 @@
./services/backup/tarsnap.nix
./services/backup/znapzend.nix
./services/cluster/fleet.nix
./services/cluster/kubernetes.nix
./services/cluster/kubernetes/default.nix
./services/cluster/kubernetes/dns.nix
./services/cluster/kubernetes/dashboard.nix
./services/cluster/panamax.nix
./services/computing/boinc/client.nix
./services/computing/torque/server.nix
@@ -205,6 +206,7 @@
./services/desktops/gnome3/gnome-online-miners.nix
./services/desktops/gnome3/gnome-terminal-server.nix
./services/desktops/gnome3/gnome-user-share.nix
./services/desktops/gnome3/gpaste.nix
./services/desktops/gnome3/gvfs.nix
./services/desktops/gnome3/seahorse.nix
./services/desktops/gnome3/sushi.nix
@@ -300,6 +302,7 @@
./services/misc/gitlab.nix
./services/misc/gitolite.nix
./services/misc/gogs.nix
./services/misc/gollum.nix
./services/misc/gpsd.nix
#./services/misc/ihaskell.nix
./services/misc/irkerd.nix
@@ -362,6 +365,7 @@
./services/monitoring/prometheus/default.nix
./services/monitoring/prometheus/alertmanager.nix
./services/monitoring/prometheus/blackbox-exporter.nix
./services/monitoring/prometheus/collectd-exporter.nix
./services/monitoring/prometheus/fritzbox-exporter.nix
./services/monitoring/prometheus/json-exporter.nix
./services/monitoring/prometheus/nginx-exporter.nix
@@ -419,15 +423,16 @@
./services/networking/ddclient.nix
./services/networking/dhcpcd.nix
./services/networking/dhcpd.nix
./services/networking/dnscache.nix
./services/networking/dnschain.nix
./services/networking/dnscrypt-proxy.nix
./services/networking/dnscrypt-wrapper.nix
./services/networking/dnsmasq.nix
./services/networking/ejabberd.nix
./services/networking/fan.nix
./services/networking/fakeroute.nix
./services/networking/ferm.nix
./services/networking/firefox/sync-server.nix
./services/networking/fireqos.nix
./services/networking/firewall.nix
./services/networking/flannel.nix
./services/networking/flashpolicyd.nix
@@ -457,7 +462,7 @@
./services/networking/lldpd.nix
./services/networking/logmein-hamachi.nix
./services/networking/mailpile.nix
./services/networking/mfi.nix
./services/networking/matterbridge.nix
./services/networking/mjpg-streamer.nix
./services/networking/minidlna.nix
./services/networking/miniupnpd.nix
@@ -508,6 +513,7 @@
./services/networking/smokeping.nix
./services/networking/softether.nix
./services/networking/spiped.nix
./services/networking/squid.nix
./services/networking/sslh.nix
./services/networking/ssh/lshd.nix
./services/networking/ssh/sshd.nix
@@ -518,6 +524,7 @@
./services/networking/tcpcrypt.nix
./services/networking/teamspeak3.nix
./services/networking/tinc.nix
./services/networking/tinydns.nix
./services/networking/tftpd.nix
./services/networking/tox-bootstrapd.nix
./services/networking/toxvpn.nix
@@ -587,6 +594,7 @@
./services/web-apps/frab.nix
./services/web-apps/mattermost.nix
./services/web-apps/nixbot.nix
./services/web-apps/nexus.nix
./services/web-apps/pgpkeyserver-lite.nix
./services/web-apps/piwik.nix
./services/web-apps/pump.io.nix
@@ -679,6 +687,7 @@
./tasks/cpu-freq.nix
./tasks/encrypted-devices.nix
./tasks/filesystems.nix
./tasks/filesystems/bcachefs.nix
./tasks/filesystems/btrfs.nix
./tasks/filesystems/cifs.nix
./tasks/filesystems/exfat.nix

View File

@@ -20,6 +20,7 @@
# Some networking tools.
pkgs.fuse
pkgs.fuse3
pkgs.sshfs-fuse
pkgs.socat
pkgs.screen

View File

@@ -8,7 +8,7 @@
enable = true;
displayManager.sddm.enable = true;
desktopManager.plasma5.enable = true;
synaptics.enable = true; # for touchpad support on many laptops
libinput.enable = true; # for touchpad support on many laptops
};
environment.systemPackages = [ pkgs.glxinfo ];

View File

@@ -25,6 +25,13 @@ with lib;
"nohibernate"
];
boot.blacklistedKernelModules = [
# Obscure network protocols
"ax25"
"netrom"
"rose"
];
# Restrict ptrace() usage to processes with a pre-defined relationship
# (e.g., parent/child)
boot.kernel.sysctl."kernel.yama.ptrace_scope" = mkOverride 500 1;
@@ -65,4 +72,14 @@ with lib;
# Note: mmap_rnd_compat_bits may not exist on 64bit.
boot.kernel.sysctl."vm.mmap_rnd_bits" = mkDefault 32;
boot.kernel.sysctl."vm.mmap_rnd_compat_bits" = mkDefault 16;
# Allowing users to mmap() memory starting at virtual address 0 can turn a
# NULL dereference bug in the kernel into code execution with elevated
# privilege. Mitigate by enforcing a minimum base addr beyond the NULL memory
# space. This breaks applications that require mapping the 0 page, such as
# dosemu or running 16bit applications under wine. It also breaks older
# versions of qemu.
#
# The value is taken from the KSPP recommendations (Debian uses 4096).
boot.kernel.sysctl."vm.mmap_min_addr" = mkDefault 65536;
}

View File

@@ -77,7 +77,6 @@ with lib;
# Show all debug messages from the kernel but don't log refused packets
# because we have the firewall enabled. This makes installs from the
# console less cumbersome if the machine has a public IP.
boot.consoleLogLevel = mkDefault 7;
networking.firewall.logRefusedConnections = mkDefault false;
environment.systemPackages = [ pkgs.vim ];

View File

@@ -19,8 +19,9 @@ in {
};
config = mkIf cfg.enable {
security.wrappers.mtr = {
source = "${pkgs.mtr}/bin/mtr";
environment.systemPackages = with pkgs; [ mtr ];
security.wrappers.mtr-packet = {
source = "${pkgs.mtr}/bin/mtr-packet";
capabilities = "cap_net_raw+p";
};
};

View File

@@ -21,7 +21,7 @@ in
enable = mkOption {
default = false;
description = ''
Whether to configure xnosh as an interactive shell.
Whether to configure xonsh as an interactive shell.
'';
type = types.bool;
};

View File

@@ -124,26 +124,6 @@ with lib;
(mkRenamedOptionModule [ "services" "iodined" "extraConfig" ] [ "services" "iodine" "server" "extraConfig" ])
(mkRemovedOptionModule [ "services" "iodined" "client" ] "")
# Grsecurity
(mkRemovedOptionModule [ "security" "grsecurity" "kernelPatch" ] "")
(mkRemovedOptionModule [ "security" "grsecurity" "config" "mode" ] "")
(mkRemovedOptionModule [ "security" "grsecurity" "config" "priority" ] "")
(mkRemovedOptionModule [ "security" "grsecurity" "config" "system" ] "")
(mkRemovedOptionModule [ "security" "grsecurity" "config" "virtualisationConfig" ] "")
(mkRemovedOptionModule [ "security" "grsecurity" "config" "hardwareVirtualisation" ] "")
(mkRemovedOptionModule [ "security" "grsecurity" "config" "virtualisationSoftware" ] "")
(mkRemovedOptionModule [ "security" "grsecurity" "config" "sysctl" ] "")
(mkRemovedOptionModule [ "security" "grsecurity" "config" "denyChrootChmod" ] "")
(mkRemovedOptionModule [ "security" "grsecurity" "config" "denyChrootCaps" ] "")
(mkRemovedOptionModule [ "security" "grsecurity" "config" "denyUSB" ] "")
(mkRemovedOptionModule [ "security" "grsecurity" "config" "restrictProc" ] "")
(mkRemovedOptionModule [ "security" "grsecurity" "config" "restrictProcWithGroup" ] "")
(mkRemovedOptionModule [ "security" "grsecurity" "config" "unrestrictProcGid" ] "")
(mkRemovedOptionModule [ "security" "grsecurity" "config" "disableRBAC" ] "")
(mkRemovedOptionModule [ "security" "grsecurity" "config" "disableSimultConnect" ] "")
(mkRemovedOptionModule [ "security" "grsecurity" "config" "verboseVersion" ] "")
(mkRemovedOptionModule [ "security" "grsecurity" "config" "kernelExtraConfig" ] "")
# Unity3D
(mkRenamedOptionModule [ "programs" "unity3d" "enable" ] [ "security" "chromiumSuidSandbox" "enable" ])
@@ -212,7 +192,6 @@ with lib;
"Set the option `services.xserver.displayManager.sddm.package' instead.")
(mkRemovedOptionModule [ "fonts" "fontconfig" "forceAutohint" ] "")
(mkRemovedOptionModule [ "fonts" "fontconfig" "renderMonoTTFAsBitmap" ] "")
(mkRemovedOptionModule [ "boot" "zfs" "enableUnstable" ] "0.7.0 is now the default")
# ZSH
(mkRenamedOptionModule [ "programs" "zsh" "enableSyntaxHighlighting" ] [ "programs" "zsh" "syntaxHighlighting" "enable" ])

View File

@@ -19,9 +19,6 @@ in
Also, if the URL chrome://sandbox tells you that "You are not adequately
sandboxed!", turning this on might resolve the issue.
Finally, if you have <option>security.grsecurity</option> enabled and you
use Chromium, you probably need this.
'';
};

View File

@@ -1,169 +0,0 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.security.grsecurity;
grsecLockPath = "/proc/sys/kernel/grsecurity/grsec_lock";
# Ascertain whether NixOS container support is required
containerSupportRequired =
config.boot.enableContainers && config.containers != {};
in
{
meta = {
maintainers = with maintainers; [ ];
doc = ./grsecurity.xml;
};
options.security.grsecurity = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
Enable grsecurity/PaX.
'';
};
lockTunables = mkOption {
type = types.bool;
default = true;
description = ''
Whether to automatically lock grsecurity tunables
(<option>boot.kernel.sysctl."kernel.grsecurity.*"</option>). Disable
this to allow runtime configuration of grsecurity features. Activate
the <literal>grsec-lock</literal> service unit to prevent further
configuration until the next reboot.
'';
};
disableEfiRuntimeServices = mkOption {
type = types.bool;
default = true;
description = ''
Whether to disable access to EFI runtime services. Enabling EFI runtime
services creates a venue for code injection attacks on the kernel and
should be disabled if at all possible. Changing this option enters into
effect upon reboot.
'';
};
};
config = mkIf cfg.enable {
boot.kernelPackages = mkForce pkgs.linuxPackages_grsec_nixos;
boot.kernelParams = [ "grsec_sysfs_restrict=0" ]
++ optional cfg.disableEfiRuntimeServices "noefi";
nixpkgs.config.grsecurity = true;
# Install PaX related utillities into the system profile.
environment.systemPackages = with pkgs; [ gradm paxctl pax-utils ];
# Install rules for the grsec device node
services.udev.packages = [ pkgs.gradm ];
# This service unit is responsible for locking the grsecurity tunables. The
# unit is always defined, but only activated on bootup if lockTunables is
# toggled. When lockTunables is toggled, failure to activate the unit will
# enter emergency mode. The intent is to make it difficult to silently
# enter multi-user mode without having locked the tunables. Some effort is
# made to ensure that starting the unit is an idempotent operation.
systemd.services.grsec-lock = {
description = "Lock grsecurity tunables";
wantedBy = optional cfg.lockTunables "multi-user.target";
wants = [ "local-fs.target" "systemd-sysctl.service" ];
after = [ "local-fs.target" "systemd-sysctl.service" ];
conflicts = [ "shutdown.target" ];
restartIfChanged = false;
script = ''
if ${pkgs.gnugrep}/bin/grep -Fq 0 ${grsecLockPath} ; then
echo -n 1 > ${grsecLockPath}
fi
'';
unitConfig = {
ConditionPathIsReadWrite = grsecLockPath;
DefaultDependencies = false;
} // optionalAttrs cfg.lockTunables {
OnFailure = "emergency.target";
};
serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
};
};
# Configure system tunables
boot.kernel.sysctl = {
# Read-only under grsecurity
"kernel.kptr_restrict" = mkForce null;
# All grsec tunables default to off, those not enabled below are
# *disabled*. We use mkDefault to allow expert users to override
# our choices, but use mkForce where tunables would outright
# conflict with other settings.
# Enable all chroot restrictions by default (overwritten as
# necessary below)
"kernel.grsecurity.chroot_caps" = mkDefault 1;
"kernel.grsecurity.chroot_deny_bad_rename" = mkDefault 1;
"kernel.grsecurity.chroot_deny_chmod" = mkDefault 1;
"kernel.grsecurity.chroot_deny_chroot" = mkDefault 1;
"kernel.grsecurity.chroot_deny_fchdir" = mkDefault 1;
"kernel.grsecurity.chroot_deny_mknod" = mkDefault 1;
"kernel.grsecurity.chroot_deny_mount" = mkDefault 1;
"kernel.grsecurity.chroot_deny_pivot" = mkDefault 1;
"kernel.grsecurity.chroot_deny_shmat" = mkDefault 1;
"kernel.grsecurity.chroot_deny_sysctl" = mkDefault 1;
"kernel.grsecurity.chroot_deny_unix" = mkDefault 1;
"kernel.grsecurity.chroot_enforce_chdir" = mkDefault 1;
"kernel.grsecurity.chroot_findtask" = mkDefault 1;
"kernel.grsecurity.chroot_restrict_nice" = mkDefault 1;
# Enable various grsec protections
"kernel.grsecurity.consistent_setxid" = mkDefault 1;
"kernel.grsecurity.deter_bruteforce" = mkDefault 1;
"kernel.grsecurity.fifo_restrictions" = mkDefault 1;
"kernel.grsecurity.harden_ipc" = mkDefault 1;
"kernel.grsecurity.harden_ptrace" = mkDefault 1;
"kernel.grsecurity.harden_tty" = mkDefault 1;
"kernel.grsecurity.ip_blackhole" = mkDefault 1;
"kernel.grsecurity.linking_restrictions" = mkDefault 1;
"kernel.grsecurity.ptrace_readexec" = mkDefault 1;
# Enable auditing
"kernel.grsecurity.audit_ptrace" = mkDefault 1;
"kernel.grsecurity.forkfail_logging" = mkDefault 1;
"kernel.grsecurity.rwxmap_logging" = mkDefault 1;
"kernel.grsecurity.signal_logging" = mkDefault 1;
"kernel.grsecurity.timechange_logging" = mkDefault 1;
} // optionalAttrs config.nix.useSandbox {
# chroot(2) restrictions that conflict with sandboxed Nix builds
"kernel.grsecurity.chroot_caps" = mkForce 0;
"kernel.grsecurity.chroot_deny_chmod" = mkForce 0;
"kernel.grsecurity.chroot_deny_chroot" = mkForce 0;
"kernel.grsecurity.chroot_deny_mount" = mkForce 0;
"kernel.grsecurity.chroot_deny_pivot" = mkForce 0;
} // optionalAttrs containerSupportRequired {
# chroot(2) restrictions that conflict with NixOS lightweight containers
"kernel.grsecurity.chroot_caps" = mkForce 0;
"kernel.grsecurity.chroot_deny_chmod" = mkForce 0;
"kernel.grsecurity.chroot_deny_mount" = mkForce 0;
"kernel.grsecurity.chroot_restrict_nice" = mkForce 0;
# Disable privileged IO by default, unless X is enabled
} // optionalAttrs (!config.services.xserver.enable) {
"kernel.grsecurity.disable_priv_io" = mkDefault 1;
};
};
}

View File

@@ -1,385 +0,0 @@
<chapter xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
version="5.0"
xml:id="sec-grsecurity">
<title>Grsecurity/PaX</title>
<para>
Grsecurity/PaX is a set of patches against the Linux kernel that
implements an extensive suite of
<link xlink:href="https://grsecurity.net/features.php">features</link>
designed to increase the difficulty of exploiting kernel and
application bugs.
</para>
<para>
The NixOS grsecurity/PaX module is designed with casual users in mind and is
intended to be compatible with normal desktop usage, without
<emphasis>unnecessarily</emphasis> compromising security. The
following sections describe the configuration and administration of
a grsecurity/PaX enabled NixOS system. For more comprehensive
coverage, please refer to the
<link xlink:href="https://en.wikibooks.org/wiki/Grsecurity">grsecurity wikibook</link>
and the
<link xlink:href="https://wiki.archlinux.org/index.php/Grsecurity">Arch
Linux wiki page on grsecurity</link>.
<warning><para>Upstream has ceased free support for grsecurity/PaX. See
<link xlink:href="https://grsecurity.net/passing_the_baton.php">
the announcement</link> for more information. Consequently, NixOS
support for grsecurity/PaX also must cease. Enabling this module will
result in a build error.</para></warning>
<note><para>We standardise on a desktop oriented configuration primarily due
to lack of resources. The grsecurity/PaX configuration state space is huge
and each configuration requires quite a bit of testing to ensure that the
resulting packages work as advertised. Defining additional package sets
would likely result in a large number of functionally broken packages, to
nobody's benefit.</para></note>
</para>
<sect1 xml:id="sec-grsec-enable"><title>Enabling grsecurity/PaX</title>
<para>
To make use of grsecurity/PaX on NixOS, add the following to your
<filename>configuration.nix</filename>:
<programlisting>
security.grsecurity.enable = true;
</programlisting>
followed by
<programlisting>
# nixos-rebuild boot
# reboot
</programlisting>
<note><para>
Enabling the grsecurity module overrides
<option>boot.kernelPackages</option>, to reduce the risk of
misconfiguration. <xref linkend="sec-grsec-custom-kernel" />
describes how to use a custom kernel package set.
</para></note>
For most users, further configuration should be unnecessary. All users
are encouraged to look over <xref linkend="sec-grsec-security" /> before
using the system, however. If you experience problems, please refer to
<xref linkend="sec-grsec-issues" />.
</para>
<para>
Once booted into the new system, you can optionally use
<command>paxtest</command> to exercise various PaX features:
<screen><![CDATA[
# nix-shell -p paxtest --command 'paxtest blackhat'
Executable anonymous mapping : Killed
Executable bss : Killed
# ... remaining output truncated for brevity
]]></screen>
</para>
</sect1>
<sect1 xml:id="sec-grsec-declarative-tuning"><title>Declarative tuning</title>
<para>
The default configuration mode is strictly declarative. Some features
simply cannot be changed at all after boot, while others are locked once the
system is up and running. Moreover, changes to the configuration enter
into effect only upon booting into the new system.
</para>
<para>
The NixOS module exposes a limited number of options for tuning the behavior
of grsecurity/PaX. These are options thought to be of particular interest
to most users. For experts, further tuning is possible via
<option>boot.kernelParams</option> (see
<xref linkend="sec-grsec-kernel-params" />) and
<option>boot.kernel.sysctl."kernel.grsecurity.*"</option> (the wikibook
contains an <link xlink:href="https://en.wikibooks.org/wiki/Grsecurity/Appendix/Sysctl_Options">
exhaustive listing of grsecurity sysctl tunables</link>).
</para>
</sect1>
<sect1 xml:id="sec-grsec-manual-tuning"><title>Manual tuning</title>
<para>
To permit manual tuning of grsecurity runtime parameters, set:
<programlisting>
security.grsecurity.lockTunables = false;
</programlisting>
Once booted into this system, grsecurity features that have a corresponding
sysctl tunable can be changed without rebooting, either by switching into
a new system profile or via the <command>sysctl</command> utility.
</para>
<para>
To lock all grsecurity tunables until the next boot, do:
<screen>
# systemctl start grsec-lock
</screen>
</para>
</sect1>
<sect1 xml:id="sec-grsec-security"><title>Security considerations</title>
<para>
The NixOS kernel is built using upstream's recommended settings for a
desktop deployment that generally favours security over performance. This
section details deviations from upstream's recommendations that may
compromise security.
<warning><para>There may be additional problems not covered here!</para>
</warning>
</para>
<itemizedlist>
<listitem><para>
The following hardening features are disabled in the NixOS kernel:
<itemizedlist>
<listitem><para>Kernel symbol hiding: rendered useless by redistributing
kernel objects.</para></listitem>
<listitem><para>Randomization of kernel structures: rendered useless by
redistributing kernel objects.</para></listitem>
<listitem><para>TCP simultaneous OPEN connection is permitted: breaking
strict TCP conformance is inappropriate for a general purpose kernel.
The trade-off is that an attacker may be able to deny outgoing
connections if they are able to guess the source port allocated by your
OS for that connection <emphasis>and</emphasis> also manage to initiate
a TCP simultaneous OPEN on that port before the connection is actually
established.</para></listitem>
<listitem><para>Trusted path execution: a desirable feature, but
requires some more work to operate smoothly on NixOS.</para></listitem>
</itemizedlist>
</para></listitem>
<listitem><para>
The NixOS module conditionally weakens <command>chroot</command>
restrictions to accommodate NixOS lightweight containers and sandboxed Nix
builds. This can be problematic if the deployment also runs privileged
network facing processes that <emphasis>rely</emphasis> on
<command>chroot</command> for isolation.
</para></listitem>
<listitem><para>
The NixOS kernel is patched to allow usermode helpers from anywhere in the
Nix store. A usermode helper is an executable called by the kernel in
certain circumstances, e.g., <command>modprobe</command>. Vanilla
grsecurity only allows usermode helpers from paths typically owned by the
super user. The NixOS kernel allows an attacker to inject malicious code
into the Nix store which could then be executed by the kernel as a
usermode helper.
</para></listitem>
<listitem><para>
The following features are disabled because they overlap with
vanilla kernel mechanisms:
<itemizedlist>
<listitem><para><filename class="directory">/proc</filename> hardening:
use <option>security.hideProcessInformation</option> instead. This
trades weaker protection for greater compatibility.
</para></listitem>
<listitem><para><command>dmesg</command> restrictions:
use <option>boot.kernel.sysctl."kernel.dmesg_restrict"</option> instead
</para></listitem>
</itemizedlist>
</para></listitem>
</itemizedlist>
</sect1>
<sect1 xml:id="sec-grsec-custom-kernel"><title>Using a custom grsecurity/PaX kernel</title>
<para>
The NixOS kernel is likely to be either too permissive or too restrictive
for many deployment scenarios. In addition to producing a kernel more
suitable for a particular deployment, a custom kernel may improve security
by depriving an attacker the ability to study the kernel object code, adding
yet more guesswork to successfully carry out certain exploits.
</para>
<para>
To build a custom kernel using upstream's recommended settings for server
deployments, while still using the NixOS module:
<programlisting>
nixpkgs.config.packageOverrides = super: {
linux_grsec_nixos = super.linux_grsec_nixos.override {
extraConfig = ''
GRKERNSEC_CONFIG_AUTO y
GRKERNSEC_CONFIG_SERVER y
GRKERNSEC_CONFIG_SECURITY y
'';
};
};
</programlisting>
</para>
<para>
The grsecurity/PaX wikibook provides an exhaustive listing of
<link xlink:href="https://en.wikibooks.org/wiki/Grsecurity/Appendix/Grsecurity_and_PaX_Configuration_Options">kernel configuration options</link>.
</para>
<para>
The NixOS module makes several assumptions about the kernel and so
may be incompatible with your customised kernel. Currently, the only way
to work around these incompatibilities is to eschew the NixOS
module.
</para>
<para>
If not using the NixOS module, a custom grsecurity package set can
be specified inline instead, as in
<programlisting>
boot.kernelPackages =
let
kernel = pkgs.linux_grsec_nixos.override {
extraConfig = /* as above */;
};
self = pkgs.linuxPackagesFor kernel self;
in self;
</programlisting>
</para>
</sect1>
<sect1 xml:id="sec-grsec-pax-flags"><title>Per-executable PaX flags</title>
<para>
Manual tuning of per-file PaX flags for executables in the Nix store is
impossible on a properly configured system. If a package in Nixpkgs fails
due to PaX, that is a bug in the package recipe and should be reported to
the maintainer (including relevant <command>dmesg</command> output).
</para>
<para>
For executables installed outside of the Nix store, PaX flags can be set
using the <command>paxctl</command> utility:
<programlisting>
paxctl -czem <replaceable>foo</replaceable>
</programlisting>
<warning>
<para><command>paxctl</command> overwrites files in-place.</para>
</warning>
Equivalently, on file systems that support extended attributes:
<programlisting>
setfattr -n user.pax.flags -v em <replaceable>foo</replaceable>
</programlisting>
<!-- TODO: PaX flags via RBAC policy -->
</para>
</sect1>
<sect1 xml:id="sec-grsec-issues"><title>Issues and work-arounds</title>
<itemizedlist>
<listitem><para>User namespaces require <literal>CAP_SYS_ADMIN</literal>:
consequently, unprivileged namespaces are unsupported. Applications that
rely on namespaces for sandboxing must use a privileged helper. For chromium
there is <option>security.chromiumSuidSandbox.enable</option>.</para></listitem>
<listitem><para>Access to EFI runtime services is disabled by default:
this plugs a potential code injection attack vector; use
<option>security.grsecurity.disableEfiRuntimeServices</option> to override
this behavior.</para></listitem>
<listitem><para>User initiated autoloading of modules (e.g., when
using fuse or loop devices) is disallowed; either load requisite modules
as root or add them to <option>boot.kernelModules</option>.</para></listitem>
<listitem><para>Virtualization: KVM is the preferred virtualization
solution. Xen, Virtualbox, and VMWare are
<emphasis>unsupported</emphasis> and most likely require a custom kernel.
</para></listitem>
<listitem><para>
Attaching <command>gdb</command> to a running process is disallowed by
default: unprivileged users can only ptrace processes that are children of
the ptracing process. To relax this restriction, set
<programlisting>
boot.kernel.sysctl."kernel.grsecurity.harden_ptrace" = 0;
</programlisting>
</para></listitem>
<listitem><para>
Overflows in boot critical code (e.g., the root filesystem module) can
render the system unbootable. Work around by setting
<programlisting>
boot.kernelParams = [ "pax_size_overflow_report_only" ];
</programlisting>
</para></listitem>
<listitem><para>
The <citerefentry><refentrytitle>modify_ldt
</refentrytitle><manvolnum>2</manvolnum></citerefentry> syscall is disabled
by default. This restriction can interfere with programs designed to run
legacy 16-bit or segmented 32-bit code. To support applications that rely
on this syscall, set
<programlisting>
boot.kernel.sysctl."kernel.modify_ldt" = 1;
</programlisting>
</para></listitem>
<listitem><para>
The gitlab service (<xref linkend="module-services-gitlab" />)
requires a variant of the <literal>ruby</literal> interpreter
built without `mprotect()` hardening, as in
<programlisting>
services.gitlab.packages.gitlab = pkgs.gitlab.override {
ruby = pkgs.ruby.overrideAttrs (attrs: {
postFixup = "paxmark m $out/bin/ruby";
});
};
</programlisting>
</para></listitem>
</itemizedlist>
</sect1>
<sect1 xml:id="sec-grsec-kernel-params"><title>Grsecurity/PaX kernel parameters</title>
<para>
The NixOS kernel supports the following kernel command line parameters:
<itemizedlist>
<listitem><para>
<literal>pax_nouderef</literal>: disable UDEREF (separate kernel and
user address spaces).
</para></listitem>
<listitem><para>
<literal>pax_weakuderef</literal>: enable a faster but
weaker variant of UDEREF on 64-bit processors with PCID support
(check <code>grep pcid /proc/cpuinfo</code>).
</para></listitem>
<listitem><para>
<literal>pax_sanitize_slab={off|fast|full}</literal>: control kernel
slab object sanitization. Defaults to <literal>fast</literal>
</para></listitem>
<listitem><para>
<literal>pax_size_overflow_report_only</literal>: log size overflow
violations but leave the violating task running
</para></listitem>
<listitem><para>
<literal>grsec_sysfs_restrict=[0|1]</literal>: toggle sysfs
restrictions. The NixOS module sets this to <literal>0</literal>
for systemd compatibility
</para></listitem>
</itemizedlist>
</para>
</sect1>
</chapter>

View File

@@ -17,19 +17,27 @@ with lib;
};
config = mkIf config.security.lockKernelModules {
boot.kernelModules = concatMap (x:
if x.device != null
then
if x.fsType == "vfat"
then [ "vfat" "nls-cp437" "nls-iso8859-1" ]
else [ x.fsType ]
else []) config.system.build.fileSystems;
systemd.services.disable-kernel-module-loading = rec {
description = "Disable kernel module loading";
wantedBy = [ config.systemd.defaultUnit ];
after = [ "systemd-udev-settle.service" "firewall.service" "systemd-modules-load.service" ] ++ wantedBy;
script = "echo -n 1 > /proc/sys/kernel/modules_disabled";
after = [ "systemd-udev-settle.service" "firewall.service" "systemd-modules-load.service" ] ++ wantedBy;
unitConfig.ConditionPathIsReadWrite = "/proc/sys/kernel";
serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
ExecStart = "/bin/sh -c 'echo -n 1 >/proc/sys/kernel/modules_disabled'";
};
};
};

View File

@@ -155,7 +155,10 @@ in
###### implementation
config = {
security.wrappers.fusermount.source = "${pkgs.fuse}/bin/fusermount";
security.wrappers = {
fusermount.source = "${pkgs.fuse}/bin/fusermount";
fusermount3.source = "${pkgs.fuse3}/bin/fusermount3";
};
boot.specialFileSystems.${parentWrapperDir} = {
fsType = "tmpfs";

View File

@@ -105,7 +105,8 @@ in {
RABBITMQ_MNESIA_BASE = "${cfg.dataDir}/mnesia";
RABBITMQ_NODE_IP_ADDRESS = cfg.listenAddress;
RABBITMQ_NODE_PORT = toString cfg.port;
RABBITMQ_SERVER_START_ARGS = "-rabbit error_logger tty -rabbit sasl_error_logger false";
RABBITMQ_LOGS = "-";
RABBITMQ_SASL_LOGS = "-";
RABBITMQ_PID_FILE = "${cfg.dataDir}/pid";
SYS_PREFIX = "";
RABBITMQ_ENABLED_PLUGINS_FILE = pkgs.writeText "enabled_plugins" ''
@@ -128,7 +129,7 @@ in {
preStart = ''
${optionalString (cfg.cookie != "") ''
echo -n ${cfg.cookie} > ${cfg.dataDir}/.erlang.cookie
chmod 400 ${cfg.dataDir}/.erlang.cookie
chmod 600 ${cfg.dataDir}/.erlang.cookie
''}
'';
};

View File

@@ -6,10 +6,28 @@ let
inherit (pkgs) mysql gzip;
cfg = config.services.mysqlBackup ;
location = cfg.location ;
mysqlBackupCron = db : ''
${cfg.period} ${cfg.user} ${mysql}/bin/mysqldump ${if cfg.singleTransaction then "--single-transaction" else ""} ${db} | ${gzip}/bin/gzip -c > ${location}/${db}.gz
cfg = config.services.mysqlBackup;
defaultUser = "mysqlbackup";
backupScript = ''
set -o pipefail
failed=""
${concatMapStringsSep "\n" backupDatabaseScript cfg.databases}
if [ -n "$failed" ]; then
echo "Backup of database(s) failed:$failed"
exit 1
fi
'';
backupDatabaseScript = db: ''
dest="${cfg.location}/${db}.gz"
if ${mysql}/bin/mysqldump ${if cfg.singleTransaction then "--single-transaction" else ""} ${db} | ${gzip}/bin/gzip -c > $dest.tmp; then
mv $dest.tmp $dest
echo "Backed up to $dest"
else
echo "Failed to back up to $dest"
rm -f $dest.tmp
failed="$failed ${db}"
fi
'';
in
@@ -26,17 +44,16 @@ in
'';
};
period = mkOption {
default = "15 01 * * *";
calendar = mkOption {
type = types.str;
default = "01:15:00";
description = ''
This option defines (in the format used by cron) when the
databases should be dumped.
The default is to update at 01:15 (at night) every day.
Configured when to run the backup service systemd unit (DayOfWeek Year-Month-Day Hour:Minute:Second).
'';
};
user = mkOption {
default = "mysql";
default = defaultUser;
description = ''
User to be used to perform backup.
'';
@@ -66,16 +83,49 @@ in
};
config = mkIf config.services.mysqlBackup.enable {
config = mkIf cfg.enable {
users.extraUsers = optionalAttrs (cfg.user == defaultUser) (singleton
{ name = defaultUser;
isSystemUser = true;
createHome = false;
home = cfg.location;
group = "nogroup";
});
services.cron.systemCronJobs = map mysqlBackupCron config.services.mysqlBackup.databases;
system.activationScripts.mysqlBackup = stringAfter [ "stdio" "users" ]
''
mkdir -m 0700 -p ${config.services.mysqlBackup.location}
chown ${config.services.mysqlBackup.user} ${config.services.mysqlBackup.location}
'';
services.mysql.ensureUsers = [{
name = cfg.user;
ensurePermissions = with lib;
let
privs = "SELECT, SHOW VIEW, TRIGGER, LOCK TABLES";
grant = db: nameValuePair "${db}.*" privs;
in
listToAttrs (map grant cfg.databases);
}];
systemd = {
timers."mysql-backup" = {
description = "Mysql backup timer";
wantedBy = [ "timers.target" ];
timerConfig = {
OnCalendar = cfg.calendar;
AccuracySec = "5m";
Unit = "mysql-backup.service";
};
};
services."mysql-backup" = {
description = "Mysql backup service";
enable = true;
serviceConfig = {
User = cfg.user;
PermissionsStartOnly = true;
};
preStart = ''
mkdir -m 0700 -p ${cfg.location}
chown -R ${cfg.user} ${cfg.location}
'';
script = backupScript;
};
};
};
}

View File

@@ -0,0 +1,160 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.kubernetes.addons.dashboard;
name = "gcr.io/google_containers/kubernetes-dashboard-amd64";
version = "v1.6.3";
image = pkgs.dockerTools.pullImage {
imageName = name;
imageTag = version;
sha256 = "1sf54d96nkgic9hir9c6p14gw24ns1k5d5a0r1sg414kjrvic0b4";
};
in {
options.services.kubernetes.addons.dashboard = {
enable = mkEnableOption "kubernetes dashboard addon";
enableRBAC = mkOption {
description = "Whether to enable role based access control is enabled for kubernetes dashboard";
type = types.bool;
default = elem "RBAC" config.services.kubernetes.apiserver.authorizationMode;
};
};
config = mkIf cfg.enable {
services.kubernetes.kubelet.seedDockerImages = [image];
services.kubernetes.addonManager.addons = {
kubernetes-dashboard-deployment = {
kind = "Deployment";
apiVersion = "apps/v1beta1";
metadata = {
labels = {
k8s-addon = "kubernetes-dashboard.addons.k8s.io";
k8s-app = "kubernetes-dashboard";
version = version;
"kubernetes.io/cluster-service" = "true";
"addonmanager.kubernetes.io/mode" = "Reconcile";
};
name = "kubernetes-dashboard";
namespace = "kube-system";
};
spec = {
replicas = 1;
revisionHistoryLimit = 10;
selector.matchLabels."k8s-app" = "kubernetes-dashboard";
template = {
metadata = {
labels = {
k8s-addon = "kubernetes-dashboard.addons.k8s.io";
k8s-app = "kubernetes-dashboard";
version = version;
"kubernetes.io/cluster-service" = "true";
};
annotations = {
"scheduler.alpha.kubernetes.io/critical-pod" = "";
#"scheduler.alpha.kubernetes.io/tolerations" = ''[{"key":"CriticalAddonsOnly", "operator":"Exists"}]'';
};
};
spec = {
containers = [{
name = "kubernetes-dashboard";
image = "${name}:${version}";
ports = [{
containerPort = 9090;
protocol = "TCP";
}];
resources = {
limits = {
cpu = "100m";
memory = "50Mi";
};
requests = {
cpu = "100m";
memory = "50Mi";
};
};
livenessProbe = {
httpGet = {
path = "/";
port = 9090;
};
initialDelaySeconds = 30;
timeoutSeconds = 30;
};
}];
serviceAccountName = "kubernetes-dashboard";
tolerations = [{
key = "node-role.kubernetes.io/master";
effect = "NoSchedule";
}];
};
};
};
};
kubernetes-dashboard-svc = {
apiVersion = "v1";
kind = "Service";
metadata = {
labels = {
k8s-addon = "kubernetes-dashboard.addons.k8s.io";
k8s-app = "kubernetes-dashboard";
"kubernetes.io/cluster-service" = "true";
"kubernetes.io/name" = "KubeDashboard";
"addonmanager.kubernetes.io/mode" = "Reconcile";
};
name = "kubernetes-dashboard";
namespace = "kube-system";
};
spec = {
ports = [{
port = 80;
targetPort = 9090;
}];
selector.k8s-app = "kubernetes-dashboard";
};
};
kubernetes-dashboard-sa = {
apiVersion = "v1";
kind = "ServiceAccount";
metadata = {
labels = {
k8s-app = "kubernetes-dashboard";
k8s-addon = "kubernetes-dashboard.addons.k8s.io";
"addonmanager.kubernetes.io/mode" = "Reconcile";
};
name = "kubernetes-dashboard";
namespace = "kube-system";
};
};
} // (optionalAttrs cfg.enableRBAC {
kubernetes-dashboard-crb = {
apiVersion = "rbac.authorization.k8s.io/v1beta1";
kind = "ClusterRoleBinding";
metadata = {
name = "kubernetes-dashboard";
labels = {
k8s-app = "kubernetes-dashboard";
k8s-addon = "kubernetes-dashboard.addons.k8s.io";
"addonmanager.kubernetes.io/mode" = "Reconcile";
};
};
roleRef = {
apiGroup = "rbac.authorization.k8s.io";
kind = "ClusterRole";
name = "cluster-admin";
};
subjects = [{
kind = "ServiceAccount";
name = "kubernetes-dashboard";
namespace = "kube-system";
}];
};
});
};
}

View File

@@ -0,0 +1,311 @@
{ config, pkgs, lib, ... }:
with lib;
let
version = "1.14.4";
k8s-dns-kube-dns = pkgs.dockerTools.pullImage {
imageName = "gcr.io/google_containers/k8s-dns-kube-dns-amd64";
imageTag = version;
sha256 = "0q97xfqrigrfjl2a9cxl5in619py0zv44gch09jm8gqjkxl80imp";
};
k8s-dns-dnsmasq-nanny = pkgs.dockerTools.pullImage {
imageName = "gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64";
imageTag = version;
sha256 = "051w5ca4qb88mwva4hbnh9xzlsvv7k1mbk3wz50lmig2mqrqqx6c";
};
k8s-dns-sidecar = pkgs.dockerTools.pullImage {
imageName = "gcr.io/google_containers/k8s-dns-sidecar-amd64";
imageTag = version;
sha256 = "1z0d129bcm8i2cqq36x5jhnrv9hirj8c6kjrmdav8vgf7py78vsm";
};
cfg = config.services.kubernetes.addons.dns;
in {
options.services.kubernetes.addons.dns = {
enable = mkEnableOption "kubernetes dns addon";
clusterIp = mkOption {
description = "Dns addon clusterIP";
# this default is also what kubernetes users
default = (
concatStringsSep "." (
take 3 (splitString "." config.services.kubernetes.apiserver.serviceClusterIpRange
))
) + ".254";
type = types.str;
};
clusterDomain = mkOption {
description = "Dns cluster domain";
default = "cluster.local";
type = types.str;
};
};
config = mkIf cfg.enable {
services.kubernetes.kubelet.seedDockerImages = [
k8s-dns-kube-dns
k8s-dns-dnsmasq-nanny
k8s-dns-sidecar
];
services.kubernetes.addonManager.addons = {
kubedns-deployment = {
apiVersion = "apps/v1beta1";
kind = "Deployment";
metadata = {
labels = {
"addonmanager.kubernetes.io/mode" = "Reconcile";
"k8s-app" = "kube-dns";
"kubernetes.io/cluster-service" = "true";
};
name = "kube-dns";
namespace = "kube-system";
};
spec = {
selector.matchLabels."k8s-app" = "kube-dns";
strategy = {
rollingUpdate = {
maxSurge = "10%";
maxUnavailable = 0;
};
};
template = {
metadata = {
annotations."scheduler.alpha.kubernetes.io/critical-pod" = "";
labels.k8s-app = "kube-dns";
};
spec = {
containers = [
{
name = "kubedns";
args = [
"--domain=${cfg.clusterDomain}"
"--dns-port=10053"
"--config-dir=/kube-dns-config"
"--v=2"
];
env = [
{
name = "PROMETHEUS_PORT";
value = "10055";
}
];
image = "gcr.io/google_containers/k8s-dns-kube-dns-amd64:${version}";
livenessProbe = {
failureThreshold = 5;
httpGet = {
path = "/healthcheck/kubedns";
port = 10054;
scheme = "HTTP";
};
initialDelaySeconds = 60;
successThreshold = 1;
timeoutSeconds = 5;
};
ports = [
{
containerPort = 10053;
name = "dns-local";
protocol = "UDP";
}
{
containerPort = 10053;
name = "dns-tcp-local";
protocol = "TCP";
}
{
containerPort = 10055;
name = "metrics";
protocol = "TCP";
}
];
readinessProbe = {
httpGet = {
path = "/readiness";
port = 8081;
scheme = "HTTP";
};
initialDelaySeconds = 3;
timeoutSeconds = 5;
};
resources = {
limits.memory = "170Mi";
requests = {
cpu = "100m";
memory = "70Mi";
};
};
volumeMounts = [
{
mountPath = "/kube-dns-config";
name = "kube-dns-config";
}
];
}
{
args = [
"-v=2"
"-logtostderr"
"-configDir=/etc/k8s/dns/dnsmasq-nanny"
"-restartDnsmasq=true"
"--"
"-k"
"--cache-size=1000"
"--log-facility=-"
"--server=/${cfg.clusterDomain}/127.0.0.1#10053"
"--server=/in-addr.arpa/127.0.0.1#10053"
"--server=/ip6.arpa/127.0.0.1#10053"
];
image = "gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64:${version}";
livenessProbe = {
failureThreshold = 5;
httpGet = {
path = "/healthcheck/dnsmasq";
port = 10054;
scheme = "HTTP";
};
initialDelaySeconds = 60;
successThreshold = 1;
timeoutSeconds = 5;
};
name = "dnsmasq";
ports = [
{
containerPort = 53;
name = "dns";
protocol = "UDP";
}
{
containerPort = 53;
name = "dns-tcp";
protocol = "TCP";
}
];
resources = {
requests = {
cpu = "150m";
memory = "20Mi";
};
};
volumeMounts = [
{
mountPath = "/etc/k8s/dns/dnsmasq-nanny";
name = "kube-dns-config";
}
];
}
{
name = "sidecar";
image = "gcr.io/google_containers/k8s-dns-sidecar-amd64:${version}";
args = [
"--v=2"
"--logtostderr"
"--probe=kubedns,127.0.0.1:10053,kubernetes.default.svc.${cfg.clusterDomain},5,A"
"--probe=dnsmasq,127.0.0.1:53,kubernetes.default.svc.${cfg.clusterDomain},5,A"
];
livenessProbe = {
failureThreshold = 5;
httpGet = {
path = "/metrics";
port = 10054;
scheme = "HTTP";
};
initialDelaySeconds = 60;
successThreshold = 1;
timeoutSeconds = 5;
};
ports = [
{
containerPort = 10054;
name = "metrics";
protocol = "TCP";
}
];
resources = {
requests = {
cpu = "10m";
memory = "20Mi";
};
};
}
];
dnsPolicy = "Default";
serviceAccountName = "kube-dns";
tolerations = [
{
key = "CriticalAddonsOnly";
operator = "Exists";
}
];
volumes = [
{
configMap = {
name = "kube-dns";
optional = true;
};
name = "kube-dns-config";
}
];
};
};
};
};
kubedns-svc = {
apiVersion = "v1";
kind = "Service";
metadata = {
labels = {
"addonmanager.kubernetes.io/mode" = "Reconcile";
"k8s-app" = "kube-dns";
"kubernetes.io/cluster-service" = "true";
"kubernetes.io/name" = "KubeDNS";
};
name = "kube-dns";
namespace = "kube-system";
};
spec = {
clusterIP = cfg.clusterIp;
ports = [
{name = "dns"; port = 53; protocol = "UDP";}
{name = "dns-tcp"; port = 53; protocol = "TCP";}
];
selector.k8s-app = "kube-dns";
};
};
kubedns-sa = {
apiVersion = "v1";
kind = "ServiceAccount";
metadata = {
name = "kube-dns";
namespace = "kube-system";
labels = {
"kubernetes.io/cluster-service" = "true";
"addonmanager.kubernetes.io/mode" = "Reconcile";
};
};
};
kubedns-cm = {
apiVersion = "v1";
kind = "ConfigMap";
metadata = {
name = "kube-dns";
namespace = "kube-system";
labels = {
"addonmanager.kubernetes.io/mode" = "EnsureExists";
};
};
};
};
services.kubernetes.kubelet.clusterDns = mkDefault cfg.clusterIp;
};
}

View File

@@ -270,8 +270,8 @@ in
${optionalString haveLocalDB ''
if ! [ -e ${baseDir}/.db-created ]; then
${config.services.postgresql.package}/bin/createuser hydra
${config.services.postgresql.package}/bin/createdb -O hydra hydra
${pkgs.sudo}/bin/sudo -u ${config.services.postgresql.superUser} ${config.services.postgresql.package}/bin/createuser hydra
${pkgs.sudo}/bin/sudo -u ${config.services.postgresql.superUser} ${config.services.postgresql.package}/bin/createdb -O hydra hydra
touch ${baseDir}/.db-created
fi
''}

View File

@@ -170,11 +170,16 @@ in
mkdir -m 0770 -p ${cfg.dataDir}
if [ "$(id -u)" = 0 ]; then chown -R ${cfg.user}:${cfg.group} ${cfg.dataDir}; fi
'';
postStart = mkBefore ''
until ${pkgs.curl.bin}/bin/curl -s -o /dev/null 'http://127.0.0.1${toString configOptions.http.bind-address}'/ping; do
sleep 1;
done
'';
postStart =
let
scheme = if configOptions.http.https-enabled then "-k https" else "http";
bindAddr = (ba: if hasPrefix ":" ba then "127.0.0.1${ba}" else "${ba}")(toString configOptions.http.bind-address);
in
mkBefore ''
until ${pkgs.curl.bin}/bin/curl -s -o /dev/null ${scheme}://${bindAddr}/ping; do
sleep 1;
done
'';
};
users.extraUsers = optional (cfg.user == "influxdb") {

View File

@@ -30,6 +30,10 @@ let
master-password = ${cfg.replication.masterPassword}
master-port = ${toString cfg.replication.masterPort}
''}
${optionalString (cfg.ensureUsers != [])
''
plugin-load-add = auth_socket.so
''}
${cfg.extraOptions}
'';
@@ -108,10 +112,13 @@ in
initialDatabases = mkOption {
default = [];
description = "List of database names and their initial schemas that should be used to create databases on the first startup of MySQL";
description = ''
List of database names and their initial schemas that should be used to create databases on the first startup
of MySQL. The schema attribute is optional: If not specified, an empty database is created.
'';
example = [
{ name = "foodatabase"; schema = literalExample "./foodatabase.sql"; }
{ name = "bardatabase"; schema = literalExample "./bardatabase.sql"; }
{ name = "bardatabase"; }
];
};
@@ -120,6 +127,46 @@ in
description = "A file containing SQL statements to be executed on the first startup. Can be used for granting certain permissions on the database";
};
ensureDatabases = mkOption {
default = [];
description = ''
Ensures that the specified databases exist.
This option will never delete existing databases, especially not when the value of this
option is changed. This means that databases created once through this option or
otherwise have to be removed manually.
'';
example = [
"nextcloud"
"piwik"
];
};
ensureUsers = mkOption {
default = [];
description = ''
Ensures that the specified users exist and have at least the ensured permissions.
The MySQL users will be identified using Unix socket authentication. This authenticates the Unix user with the
same name only, and that without the need for a password.
This option will never delete existing users or remove permissions, especially not when the value of this
option is changed. This means that users created and permissions assigned once through this option or
otherwise have to be removed manually.
'';
example = [
{
name = "nextcloud";
ensurePermissions = {
"nextcloud.*" = "ALL PRIVILEGES";
};
}
{
name = "backup";
ensurePermissions = {
"*.*" = "SELECT, LOCK TABLES";
};
}
];
};
# FIXME: remove this option; it's a really bad idea.
rootPassword = mkOption {
default = null;
@@ -247,6 +294,8 @@ in
if ! test -e "${cfg.dataDir}/${database.name}"; then
echo "Creating initial database: ${database.name}"
( echo "create database ${database.name};"
${optionalString (database ? "schema") ''
echo "use ${database.name};"
if [ -f "${database.schema}" ]
@@ -256,6 +305,7 @@ in
then
cat ${database.schema}/mysql-databases/*.sql
fi
''}
) | ${mysql}/bin/mysql -u root -N
fi
'') cfg.initialDatabases}
@@ -299,6 +349,24 @@ in
rm /tmp/mysql_init
fi
${optionalString (cfg.ensureDatabases != []) ''
(
${concatMapStrings (database: ''
echo "CREATE DATABASE IF NOT EXISTS ${database};"
'') cfg.ensureDatabases}
) | ${mysql}/bin/mysql -u root -N
''}
${concatMapStrings (user:
''
( echo "CREATE USER IF NOT EXISTS '${user.name}'@'localhost' IDENTIFIED WITH ${if mysql == pkgs.mariadb then "unix_socket" else "auth_socket"};"
${concatStringsSep "\n" (mapAttrsToList (database: permission: ''
echo "GRANT ${permission} ON ${database} TO '${user.name}'@'localhost';"
'') user.ensurePermissions)}
) | ${mysql}/bin/mysql -u root -N
'') cfg.ensureUsers}
''; # */
};

View File

@@ -38,9 +38,6 @@ let
pre84 = versionOlder (builtins.parseDrvName postgresql.name).version "8.4";
# NixOS traditionally used `root` as superuser, most other distros use `postgres`. From 17.09
# we also try to follow this standard
superuser = (if versionAtLeast config.system.stateVersion "17.09" then "postgres" else "root");
in
@@ -62,7 +59,7 @@ in
package = mkOption {
type = types.package;
example = literalExample "pkgs.postgresql92";
example = literalExample "pkgs.postgresql96";
description = ''
PostgreSQL package to use.
'';
@@ -151,6 +148,16 @@ in
Contents of the <filename>recovery.conf</filename> file.
'';
};
superUser = mkOption {
type = types.str;
default= if versionAtLeast config.system.stateVersion "17.09" then "postgres" else "root";
internal = true;
description = ''
NixOS traditionally used `root` as superuser, most other distros use `postgres`.
From 17.09 we also try to follow this standard. Internal since changing this value
would lead to breakage while setting up databases.
'';
};
};
};
@@ -215,7 +222,7 @@ in
''
# Initialise the database.
if ! test -e ${cfg.dataDir}/PG_VERSION; then
initdb -U ${superuser}
initdb -U ${cfg.superUser}
# See postStart!
touch "${cfg.dataDir}/.first_startup"
fi
@@ -247,14 +254,14 @@ in
# Wait for PostgreSQL to be ready to accept connections.
postStart =
''
while ! ${pkgs.sudo}/bin/sudo -u ${superuser} psql --port=${toString cfg.port} -d postgres -c "" 2> /dev/null; do
while ! ${pkgs.sudo}/bin/sudo -u ${cfg.superUser} psql --port=${toString cfg.port} -d postgres -c "" 2> /dev/null; do
if ! kill -0 "$MAINPID"; then exit 1; fi
sleep 0.1
done
if test -e "${cfg.dataDir}/.first_startup"; then
${optionalString (cfg.initialScript != null) ''
${pkgs.sudo}/bin/sudo -u ${superuser} psql -f "${cfg.initialScript}" --port=${toString cfg.port} -d postgres
${pkgs.sudo}/bin/sudo -u ${cfg.superUser} psql -f "${cfg.initialScript}" --port=${toString cfg.port} -d postgres
''}
rm -f "${cfg.dataDir}/.first_startup"
fi

View File

@@ -34,6 +34,8 @@ with lib;
services.dbus.packages = [ pkgs.at_spi2_core ];
systemd.packages = [ pkgs.at_spi2_core ];
};
}

View File

@@ -4,9 +4,6 @@
with lib;
let
gnome3 = config.environment.gnome3.packageSet;
in
{
###### interface
@@ -33,11 +30,11 @@ in
config = mkIf config.services.gnome3.evolution-data-server.enable {
environment.systemPackages = [ gnome3.evolution_data_server ];
environment.systemPackages = [ pkgs.gnome3.evolution_data_server ];
services.dbus.packages = [ gnome3.evolution_data_server ];
services.dbus.packages = [ pkgs.gnome3.evolution_data_server ];
systemd.packages = [ gnome3.evolution_data_server ];
systemd.packages = [ pkgs.gnome3.evolution_data_server ];
};

View File

@@ -4,9 +4,6 @@
with lib;
let
gnome3 = config.environment.gnome3.packageSet;
in
{
###### interface
@@ -33,9 +30,9 @@ in
config = mkIf config.services.gnome3.gnome-disks.enable {
environment.systemPackages = [ gnome3.gnome-disk-utility ];
environment.systemPackages = [ pkgs.gnome3.gnome-disk-utility ];
services.dbus.packages = [ gnome3.gnome-disk-utility ];
services.dbus.packages = [ pkgs.gnome3.gnome-disk-utility ];
};

View File

@@ -4,9 +4,6 @@
with lib;
let
gnome3 = config.environment.gnome3.packageSet;
in
{
###### interface
@@ -33,9 +30,9 @@ in
config = mkIf config.services.gnome3.gnome-documents.enable {
environment.systemPackages = [ gnome3.gnome-documents ];
environment.systemPackages = [ pkgs.gnome3.gnome-documents ];
services.dbus.packages = [ gnome3.gnome-documents ];
services.dbus.packages = [ pkgs.gnome3.gnome-documents ];
services.gnome3.gnome-online-accounts.enable = true;

View File

@@ -4,9 +4,6 @@
with lib;
let
gnome3 = config.environment.gnome3.packageSet;
in
{
###### interface
@@ -34,9 +31,9 @@ in
config = mkIf config.services.gnome3.gnome-keyring.enable {
environment.systemPackages = [ gnome3.gnome_keyring ];
environment.systemPackages = [ pkgs.gnome3.gnome_keyring ];
services.dbus.packages = [ gnome3.gnome_keyring gnome3.gcr ];
services.dbus.packages = [ pkgs.gnome3.gnome_keyring pkgs.gnome3.gcr ];
};

View File

@@ -4,9 +4,6 @@
with lib;
let
gnome3 = config.environment.gnome3.packageSet;
in
{
###### interface
@@ -33,9 +30,9 @@ in
config = mkIf config.services.gnome3.gnome-online-accounts.enable {
environment.systemPackages = [ gnome3.gnome_online_accounts ];
environment.systemPackages = [ pkgs.gnome3.gnome_online_accounts ];
services.dbus.packages = [ gnome3.gnome_online_accounts ];
services.dbus.packages = [ pkgs.gnome3.gnome_online_accounts ];
};

View File

@@ -4,9 +4,6 @@
with lib;
let
gnome3 = config.environment.gnome3.packageSet;
in
{
###### interface
@@ -33,9 +30,9 @@ in
config = mkIf config.services.gnome3.gnome-online-miners.enable {
environment.systemPackages = [ gnome3.gnome-online-miners ];
environment.systemPackages = [ pkgs.gnome3.gnome-online-miners ];
services.dbus.packages = [ gnome3.gnome-online-miners ];
services.dbus.packages = [ pkgs.gnome3.gnome-online-miners ];
};

View File

@@ -4,9 +4,6 @@
with lib;
let
gnome3 = config.environment.gnome3.packageSet;
in
{
###### interface
@@ -33,11 +30,11 @@ in
config = mkIf config.services.gnome3.gnome-terminal-server.enable {
environment.systemPackages = [ gnome3.gnome_terminal ];
environment.systemPackages = [ pkgs.gnome3.gnome_terminal ];
services.dbus.packages = [ gnome3.gnome_terminal ];
services.dbus.packages = [ pkgs.gnome3.gnome_terminal ];
systemd.packages = [ gnome3.gnome_terminal ];
systemd.packages = [ pkgs.gnome3.gnome_terminal ];
};

View File

@@ -4,9 +4,6 @@
with lib;
let
gnome3 = config.environment.gnome3.packageSet;
in
{
###### interface
@@ -33,9 +30,9 @@ in
config = mkIf config.services.gnome3.gnome-user-share.enable {
environment.systemPackages = [ gnome3.gnome-user-share ];
environment.systemPackages = [ pkgs.gnome3.gnome-user-share ];
services.xserver.displayManager.sessionCommands = with gnome3; ''
services.xserver.displayManager.sessionCommands = with pkgs.gnome3; ''
# Don't let gnome-control-center depend upon gnome-user-share
export XDG_DATA_DIRS=$XDG_DATA_DIRS''${XDG_DATA_DIRS:+:}${gnome-user-share}/share/gsettings-schemas/${gnome-user-share.name}
'';

View File

@@ -0,0 +1,27 @@
# GPaste daemon.
{ config, lib, pkgs, ... }:
with lib;
{
###### interface
options = {
services.gnome3.gpaste = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
Whether to enable GPaste, a clipboard manager.
'';
};
};
};
###### implementation
config = mkIf config.services.gnome3.gpaste.enable {
environment.systemPackages = [ pkgs.gnome3.gpaste ];
services.dbus.packages = [ pkgs.gnome3.gpaste ];
services.xserver.desktopManager.gnome3.sessionPath = [ pkgs.gnome3.gpaste ];
systemd.packages = [ pkgs.gnome3.gpaste ];
};
}

View File

@@ -4,9 +4,6 @@
with lib;
let
gnome3 = config.environment.gnome3.packageSet;
in
{
###### interface
@@ -33,11 +30,11 @@ in
config = mkIf config.services.gnome3.gvfs.enable {
environment.systemPackages = [ gnome3.gvfs ];
environment.systemPackages = [ pkgs.gnome3.gvfs ];
services.dbus.packages = [ gnome3.gvfs ];
services.dbus.packages = [ pkgs.gnome3.gvfs ];
systemd.packages = [ gnome3.gvfs ];
systemd.packages = [ pkgs.gnome3.gvfs ];
services.udev.packages = [ pkgs.libmtp.bin ];

View File

@@ -4,9 +4,6 @@
with lib;
let
gnome3 = config.environment.gnome3.packageSet;
in
{
###### interface
@@ -32,9 +29,9 @@ in
config = mkIf config.services.gnome3.seahorse.enable {
environment.systemPackages = [ gnome3.seahorse ];
environment.systemPackages = [ pkgs.gnome3.seahorse ];
services.dbus.packages = [ gnome3.seahorse ];
services.dbus.packages = [ pkgs.gnome3.seahorse ];
};

View File

@@ -4,9 +4,6 @@
with lib;
let
gnome3 = config.environment.gnome3.packageSet;
in
{
###### interface
@@ -32,9 +29,9 @@ in
config = mkIf config.services.gnome3.sushi.enable {
environment.systemPackages = [ gnome3.sushi ];
environment.systemPackages = [ pkgs.gnome3.sushi ];
services.dbus.packages = [ gnome3.sushi ];
services.dbus.packages = [ pkgs.gnome3.sushi ];
};

View File

@@ -4,9 +4,6 @@
with lib;
let
gnome3 = config.environment.gnome3.packageSet;
in
{
###### interface
@@ -33,11 +30,11 @@ in
config = mkIf config.services.gnome3.tracker.enable {
environment.systemPackages = [ gnome3.tracker ];
environment.systemPackages = [ pkgs.gnome3.tracker ];
services.dbus.packages = [ gnome3.tracker ];
services.dbus.packages = [ pkgs.gnome3.tracker ];
systemd.packages = [ gnome3.tracker ];
systemd.packages = [ pkgs.gnome3.tracker ];
};

View File

@@ -9,6 +9,8 @@ let
baseDir = "/run/dovecot2";
stateDir = "/var/lib/dovecot";
canCreateMailUserGroup = cfg.mailUser != null && cfg.mailGroup != null;
dovecotConf = concatStrings [
''
base_dir = ${baseDir}
@@ -60,6 +62,39 @@ let
}
'')
''
protocol imap {
namespace inbox {
inbox=yes
${concatStringsSep "\n" (map mailboxConfig cfg.mailboxes)}
}
}
''
(optionalString cfg.enableQuota ''
mail_plugins = $mail_plugins quota
service quota-status {
executable = ${dovecotPkg}/libexec/dovecot/quota-status -p postfix
inet_listener {
port = ${cfg.quotaPort}
}
client_limit = 1
}
protocol imap {
mail_plugins = $mail_plugins imap_quota
}
plugin {
quota_rule = *:storage=${cfg.quotaGlobalPerUser}
quota = maildir:User quota # per virtual mail user quota # BUG/FIXME broken, we couldn't get this working
quota_status_success = DUNNO
quota_status_nouser = DUNNO
quota_status_overquota = "552 5.2.2 Mailbox is full"
quota_grace = 10%%
}
'')
cfg.extraConfig
];
@@ -68,6 +103,34 @@ let
paths = map (pkg: "${pkg}/lib/dovecot") ([ dovecotPkg ] ++ map (module: module.override { dovecot = dovecotPkg; }) cfg.modules);
};
mailboxConfig = mailbox: ''
mailbox ${mailbox.name} {
auto = ${toString mailbox.auto}
'' + optionalString (mailbox.specialUse != null) ''
special_use = \${toString mailbox.specialUse}
'' + "}";
mailboxes = { lib, pkgs, ... }: {
options = {
name = mkOption {
type = types.str;
example = "Spam";
description = "The name of the mailbox.";
};
auto = mkOption {
type = types.enum [ "no" "create" "subscribe" ];
default = "no";
example = "subscribe";
description = "Whether to automatically create or create and subscribe to the mailbox or not.";
};
specialUse = mkOption {
type = types.nullOr (types.enum [ "All" "Archive" "Drafts" "Flagged" "Junk" "Sent" "Trash" ]);
default = null;
example = "Junk";
description = "Null if no special use flag is set. Other than that every use flag mentioned in the RFC is valid.";
};
};
};
in
{
@@ -76,7 +139,7 @@ in
enablePop3 = mkOption {
type = types.bool;
default = true;
default = false;
description = "Start the POP3 listener (when Dovecot is enabled).";
};
@@ -145,6 +208,14 @@ in
description = "Default group to store mail for virtual users.";
};
createMailUser = mkOption {
type = types.bool;
default = true;
description = ''Whether to automatically create the user
given in <option>services.dovecot.user</option> and the group
given in <option>services.dovecot.group</option>.'';
};
modules = mkOption {
type = types.listOf types.package;
default = [];
@@ -191,6 +262,36 @@ in
default = false;
description = "Show the PAM failure message on authentication error (useful for OTPW).";
};
mailboxes = mkOption {
type = types.listOf (types.submodule mailboxes);
default = [];
example = [ { name = "Spam"; specialUse = "Junk"; auto = "create"; } ];
description = "Configure mailboxes and auto create or subscribe them.";
};
enableQuota = mkOption {
type = types.bool;
default = false;
example = true;
description = "Whether to enable the dovecot quota service.";
};
quotaPort = mkOption {
type = types.str;
default = "12340";
description = ''
The Port the dovecot quota service binds to.
If using postfix, add check_policy_service inet:localhost:12340 to your smtpd_recipient_restrictions in your postfix config.
'';
};
quotaGlobalPerUser = mkOption {
type = types.str;
default = "100G";
example = "10G";
description = "Quota limit for the user in bytes. Supports suffixes b, k, M, G, T and %.";
};
};
@@ -214,11 +315,20 @@ in
uid = config.ids.uids.dovecot2;
description = "Dovecot user";
group = cfg.group;
};
}
++ optional (cfg.createMailUser && cfg.mailUser != null)
({ name = cfg.mailUser;
description = "Virtual Mail User";
} // optionalAttrs (cfg.mailGroup != null) {
group = cfg.mailGroup;
});
users.extraGroups = optional (cfg.group == "dovecot2")
{ name = "dovecot2";
gid = config.ids.gids.dovecot2;
}
++ optional (cfg.createMailUser && cfg.mailGroup != null)
{ name = cfg.mailGroup;
};
environment.etc."dovecot/modules".source = modulesDir;

View File

@@ -35,6 +35,18 @@ with lib;
description = "Whether to set the system sendmail to nullmailer's.";
};
remotesFile = mkOption {
type = types.nullOr types.str;
default = null;
description = ''
Path to the <code>remotes</code> control file. This file contains a
list of remote servers to which to send each message.
See <code>man 8 nullmailer-send</code> for syntax and available
options.
'';
};
config = {
adminaddr = mkOption {
type = types.nullOr types.str;
@@ -142,7 +154,16 @@ with lib;
type = types.nullOr types.str;
default = null;
description = ''
If set, content will override the envelope sender on all messages.
A list of remote servers to which to send each message. Each line
contains a remote host name or address followed by an optional
protocol string, separated by white space.
See <code>man 8 nullmailer-send</code> for syntax and available
options.
WARNING: This is stored world-readable in the nix store. If you need
to specify any secret credentials here, consider using the
<code>remotesFile</code> option instead.
'';
};
@@ -164,13 +185,19 @@ with lib;
cfg = config.services.nullmailer;
in mkIf cfg.enable {
assertions = [
{ assertion = cfg.config.remotes == null || cfg.remotesFile == null;
message = "Only one of `remotesFile` or `config.remotes` may be used at a time.";
}
];
environment = {
systemPackages = [ pkgs.nullmailer ];
etc = let
getval = attr: builtins.getAttr attr cfg.config;
attrs = builtins.attrNames cfg.config;
attrs' = builtins.filter (attr: ! isNull (getval attr)) attrs;
in foldl' (as: attr: as // { "nullmailer/${attr}".text = getval attr; }) {} attrs';
validAttrs = filterAttrs (name: value: value != null) cfg.config;
in
(foldl' (as: name: as // { "nullmailer/${name}".text = validAttrs.${name}; }) {} (attrNames validAttrs))
// optionalAttrs (cfg.remotesFile != null) { "nullmailer/remotes".source = cfg.remotesFile; };
};
users = {
@@ -192,7 +219,7 @@ with lib;
preStart = ''
mkdir -p /var/spool/nullmailer/{queue,tmp}
rm -f var/spool/nullmailer/trigger && mkfifo -m 660 /var/spool/nullmailer/trigger
rm -f /var/spool/nullmailer/trigger && mkfifo -m 660 /var/spool/nullmailer/trigger
chown ${cfg.user} /var/spool/nullmailer/*
'';

View File

@@ -836,11 +836,5 @@ in
(mkIf (cfg.dnsBlacklists != []) {
services.postfix.mapFiles."client_access" = checkClientAccessFile;
})
(mkIf (cfg.extraConfig != "") {
warnings = [ "The services.postfix.extraConfig option was deprecated. Please use services.postfix.config instead." ];
})
(mkIf (cfg.extraMasterConf != "") {
warnings = [ "The services.postfix.extraMasterConf option was deprecated. Please use services.postfix.masterConfig instead." ];
})
]);
}

View File

@@ -42,7 +42,7 @@ in
Then you can Use this sieve filter:
require ["fileinto", "reject", "envelope"];
if header :contains "X-Spam-Flag" "YES" {
fileinto "spam";
}
@@ -67,11 +67,11 @@ in
initPreConf = mkOption {
type = types.str;
description = "The SpamAssassin init.pre config.";
default =
''
default =
''
#
# to update this list, run this command in the rules directory:
# grep 'loadplugin.*Mail::SpamAssassin::Plugin::.*' -o -h * | sort | uniq
# grep 'loadplugin.*Mail::SpamAssassin::Plugin::.*' -o -h * | sort | uniq
#
#loadplugin Mail::SpamAssassin::Plugin::AccessDB
@@ -122,7 +122,11 @@ in
config = mkIf cfg.enable {
# Allow users to run 'spamc'.
environment.systemPackages = [ pkgs.spamassassin ];
environment = {
etc = singleton { source = spamdEnv; target = "spamassassin"; };
systemPackages = [ pkgs.spamassassin ];
};
users.extraUsers = singleton {
name = "spamd";
@@ -138,7 +142,7 @@ in
systemd.services.sa-update = {
script = ''
set +e
set +e
${pkgs.su}/bin/su -s "${pkgs.bash}/bin/bash" -c "${pkgs.spamassassin}/bin/sa-update --gpghomedir=/var/lib/spamassassin/sa-update-keys/ --siteconfigpath=${spamdEnv}/" spamd
v=$?
@@ -153,7 +157,7 @@ in
'';
};
systemd.timers.sa-update = {
systemd.timers.sa-update = {
description = "sa-update-service";
partOf = [ "sa-update.service" ];
wantedBy = [ "timers.target" ];
@@ -177,15 +181,10 @@ in
# 0 and 1 no error, exitcode > 1 means error:
# https://spamassassin.apache.org/full/3.1.x/doc/sa-update.html#exit_codes
preStart = ''
# this abstraction requires no centralized config at all
if [ -d /etc/spamassassin ]; then
echo "This spamassassin does not support global '/etc/spamassassin' folder for configuration as this would be impure. Merge your configs into 'services.spamassassin' and remove the '/etc/spamassassin' folder to make this service work. Also see 'https://github.com/NixOS/nixpkgs/pull/26470'.";
exit 1
fi
echo "Recreating '/var/lib/spamasassin' with creating '3.004001' (or similar) and 'sa-update-keys'"
mkdir -p /var/lib/spamassassin
chown spamd:spamd /var/lib/spamassassin -R
set +e
set +e
${pkgs.su}/bin/su -s "${pkgs.bash}/bin/bash" -c "${pkgs.spamassassin}/bin/sa-update --gpghomedir=/var/lib/spamassassin/sa-update-keys/ --siteconfigpath=${spamdEnv}/" spamd
v=$?
set -e

View File

@@ -42,7 +42,7 @@ in
serviceConfig = {
User = "calibre-server";
Restart = "always";
ExecStart = "${pkgs.calibre}/bin/calibre-server --with-library=${cfg.libraryDir}";
ExecStart = "${pkgs.calibre}/bin/calibre-server ${cfg.libraryDir}";
};
};

View File

@@ -238,7 +238,7 @@ in
assertions = [
{ assertion = (builtins.filter
(x: builtins.match ".*\.(gz|xz)$" x == null) cfg.databases) == [];
(x: builtins.match ".*\\.(gz|xz)$" x == null) cfg.databases) == [];
message = ''
services.geoip-updater.databases supports only .gz and .xz databases.
@@ -246,7 +246,7 @@ in
${toString cfg.databases}
Offending element(s):
${toString (builtins.filter (x: builtins.match ".*\.(gz|xz)$" x == null) cfg.databases)};
${toString (builtins.filter (x: builtins.match ".*\\.(gz|xz)$" x == null) cfg.databases)};
'';
}
];

Some files were not shown because too many files have changed in this diff Show More