Compare commits

...

1449 Commits

Author SHA1 Message Date
Linus Heckemann
f52505fac8 README: update for 19.03 2019-04-08 22:08:49 +02:00
Simon Lackerbauer
0363abe66b atlassian-jira: 8.0.1 -> 8.1.0
(cherry picked from commit e683811972)
2019-04-08 20:58:29 +02:00
Simon Lackerbauer
cde9f13617 atlassian-confluence: 6.14.2 -> 6.15.2
(cherry picked from commit b31ab2050a)
2019-04-08 20:58:29 +02:00
Simon Lackerbauer
8c0f37546f atlassian-crowd: 3.3.4 -> 3.4.3
(cherry picked from commit 774a29944e)
2019-04-08 20:58:29 +02:00
worldofpeace
80f91b4dda doc/python: cleanup examples, references
(cherry picked from commit 63f244193b)
(cherry picked from commit 94a409450a)
(cherry picked from commit 0ccfebf9f2)
2019-04-08 13:01:40 -04:00
R. RyanTM
99af80a476 teamviewer: 14.1.3399 -> 14.2.2558
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/teamviewer/versions

(cherry picked from commit 39f262dba3)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-04-08 13:20:40 +02:00
Florian Franzen
e548fd15c8 virtmanager: Fix gobject-introspection (#57385)
(cherry picked from commit 871c1d5bb1)
2019-04-08 12:49:01 +02:00
R. RyanTM
c8564b72a2 flatpak: 1.2.3 -> 1.2.4 (#58671)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/flatpak/versions

(cherry picked from commit 4538f9ee3f)
Backported because it contains CVE fixes:
https://github.com/flatpak/flatpak/releases/tag/1.2.4
2019-04-08 12:40:10 +02:00
Michael Weiss
5e3c3d8efd Merge pull request #59166 from primeos/backports
[19.03] fuse3: use /etc/fuse.conf for configuration (backport of #59043)
2019-04-08 12:03:06 +02:00
Matthew Bauer
a738e68c96 fuse3: use /etc/fuse.conf for configuration (#59043)
We don’t want the config file to be read only and in the Nix store.

(cherry picked from commit 5541559635)
Reason: Backport a trivial fix for #59021.
2019-04-08 11:30:33 +02:00
Will Dietz
09823b58d1 nextcloud: use same php package throughout!
`phpPackage` is 7.3 by default, but `pkgs.php` is 7.2,
so this saves the need for an extra copy of php
for the purpose of running nextcloud's cron;
more importantly this fixes problems with extensions
not loading since they are built against a different php.

(cherry picked from commit 27d78f4c6c)
2019-04-08 08:52:56 +02:00
Will Dietz
d122dcd372 nextcloud: 15.0.5 -> 15.0.6
(tagged, not on nextcloud.com/changelog ?)
(admin panel bugged about the update, so should be good :))

(cherry picked from commit ee22cea1cc)
2019-04-08 08:52:48 +02:00
Will Dietz
fcc7097951 nextcloud-client: 2.5.1 -> 2.5.2
* patches applied already, per comment \o/
* use libcloudproviders, since we have it

(cherry picked from commit e2dbb35cb1)
2019-04-08 08:52:39 +02:00
Will Dietz
926606abbe libssh2: 1.8.0 -> 1.8.1 (SECURITY)
Release announcement:
https://www.libssh2.org/mail/libssh2-devel-archive-2019-03/0009.shtml
Security info:
https://www.libssh2.org/mail/libssh2-devel-archive-2019-03/0010.shtml

(cherry picked from commit efee45b05a)
PR #57884
2019-04-08 08:27:25 +02:00
Will Dietz
89cecf30d7 qtpass: 1.2.1 -> 1.2.3
Patch no longer needed (seems to be already applied, and notes mention).

(cherry picked from commit f7d2c23328)
2019-04-07 20:11:09 -04:00
tobias pflug
763e65fe78 Remove nodejs-6_x which is about to enter EOL
- Remove nodejs-6_x
- Set nodejs / nodejs-slim to nodejs-8_x / nodejs-slim-8_x
- Re-generate node2nix generated files using nodejs-8_x instead

(cherry picked from commit 0e296d5fcd)
2019-04-07 19:57:30 -04:00
Maximilian Bosch
6380740695 codimd: build with nodejs-8_x
This diff regenerates the package sets for `codimd` and `codemirror`
using NodeJS 8 to get rid of the deprecated[1] `nodejs-6_x`.

Additionally the following issues had to be fixed during the update:

* The package `js-sequence-diagram` has been removed from the NPM
  registry and was replaced by a security holding package[2]. The
  package was published by a third-party (upstream only supports bower
  builds), so it's unclear whether the package will re-appear[3].

  As the tarballs still exist (and the hash didn't change), the package
  will be loaded manually into the build env.

* For the babel-related packages, `dontNpmInstall` will be set for
  `node2nix` installs as some of those packages bundle a
  `package-lock.json` that triggers `ENOTCACHED` errors for optional
  dependencies[4].

For now it should be sufficient to use NodeJS 8 (`codimd` v1.2.x doesn't
support NodeJS 10), in the long term we probably want to use `yarn2nix`
here with NodeJS 10. This is much rather a fix to get rid of another
NodeJS 6 dependency.

[1] `nodejs-6_x` is about to be deprecated, see #58976
[2] https://www.npmjs.com/package/js-sequence-diagrams,
    https://github.com/npm/security-holder
[3] https://github.com/bramp/js-sequence-diagrams/issues/212
[4] https://github.com/svanderburg/node2nix/issues/134

(cherry picked from commit 5feec424de,
PR #59118)
2019-04-08 00:01:04 +02:00
Linus Heckemann
e4fa99fe9e rl-1903: spelling, grammar, markup improvements 2019-04-07 23:03:28 +02:00
Linus Heckemann
1935b8da90 rl-1903: list new modules 2019-04-07 23:03:28 +02:00
Linus Heckemann
030b916ce9 rl-1903: Document sway update and aarch64 UEFI image 2019-04-07 23:03:28 +02:00
Linus Heckemann
d6fc310e6c Merge pull request #58988 from worldofpeace/deepin-backport
[19.03] deepin updates (#58634)
2019-04-07 22:59:32 +02:00
Vladimír Čunát
34e0c75d7f Merge #59126: xfce panel plugins: Remove me as maintainer
(cherry picked from commit f5ab71ba28)
2019-04-07 20:16:28 +02:00
Pascal Wittmann
75d113469c haskellPackages.yesod-markdown: jailbreak 2019-04-07 19:46:53 +02:00
Alexandre Peyroux
971e5167e2 pythonPackages.jsbeautifier: 1.8.9 -> 1.9.1
(cherry picked from commit 72c24b18e9)
2019-04-07 17:40:05 +02:00
Alexandre Peyroux
dda301df36 pythonPackages.jsbeautifier: fix build (#58608)
(cherry picked from commit 946807c888)
2019-04-07 17:40:05 +02:00
Vladimír Čunát
ecf8872d93 Merge #58456: pythonPackages.grpcio: fix build on Darwin
(cherry picked from commit 780c2de274)
2019-04-07 17:16:46 +02:00
Vladimír Čunát
e2c99ce354 Merge #58589: openblas: fix aarch64 build
(cherry picked from commit e1f55599cc)
2019-04-07 17:02:52 +02:00
Vladimír Čunát
bc0167d8f8 Merge #57951: qemu: apply CVE-2019-3812 patch
(cherry picked from commit a6dd84a126)
2019-04-07 14:10:06 +02:00
Wael Nasreddine
f2d7f2b9a1 Merge #57711: go: 1.11.5 -> 1.11.6 and 1.12 -> 1.12.1
(cherry picked from commit c465292832)
Security fixes /cc #58264 and #58265
2019-04-07 10:33:29 +02:00
Vladimír Čunát
995a883ba9 go_1_12: port from master but do *not* make it default 2019-04-07 10:31:29 +02:00
Vladimír Čunát
1230c99b47 Merge #59036: wget: 1.20.1 -> 1.20.3 (SECURITY)
(cherry picked from commit ca494bf6c3)
2019-04-07 09:58:54 +02:00
Will Dietz
a3bb58547b youtube-dl: 2019.04.01 -> 2019.04.07
(cherry picked from commit 0f620ef43a)
2019-04-07 02:29:07 -04:00
worldofpeace
90e55a8c2a pantheon.elementary-greeter: hardcode elementary theme
For some reason correcting the path to the settings daemon
causes the icons to not be the elementary one's.

Hardcoding this fixes this very simply without
the need for the complicated wrapping.

(cherry picked from commit 536c72a62b)
2019-04-06 21:18:40 -04:00
worldofpeace
6fcb33ad1e pantheon.elementary-greeter: correct substituteAll
(cherry picked from commit c2ac422d40)
2019-04-06 21:18:40 -04:00
Frank Doepper
30c67ecc05 shotcut: 18.12.23 -> 19.02.28 (#56875)
fixes build with qt 5.12, apparently

Backport of #56875
(cherry picked from commit ed76b08906)
2019-04-07 03:10:57 +02:00
Aaron Andersen
67bc63f9a7 nixos/httpd: replace ssmtp with system-sendmail
(cherry picked from commit 9c9a6f380e)
2019-04-06 21:36:45 +02:00
Tim Steinbach
fdc7b8ab70 jenkins: 2.150.1 -> 2.164.1
(cherry picked from commit e9994af108)
2019-04-06 15:28:04 -04:00
Jaka Hudoklin
0d8ecd3cb8 dockerTools: storePathToLayer use runtimeShell in script
(cherry picked from commit 5d429f6822)
2019-04-06 19:04:47 +02:00
Tim Steinbach
1cc3696672 linux: 5.0.6 -> 5.0.7
(cherry picked from commit eedb7e7ec6)
2019-04-06 12:58:36 -04:00
Tim Steinbach
12e0b242d5 linux: 4.9.167 -> 4.9.168
(cherry picked from commit 21373e9c6f)
2019-04-06 12:58:36 -04:00
Tim Steinbach
8aceb56452 linux: 4.19.33 -> 4.19.34
(cherry picked from commit c45589b0bb)
2019-04-06 12:58:36 -04:00
Tim Steinbach
00e27d482c linux: 4.14.110 -> 4.14.111
(cherry picked from commit b60ce2e638)
2019-04-06 12:58:35 -04:00
Franz Pletz
cd39bc9d12 proxmark3: init at 3.1.0
(cherry picked from commit 4a985a67c5)
2019-04-06 15:00:43 +02:00
Franz Pletz
215e9717d4 qlcplus: fix location of libraries for fixup
(cherry picked from commit 1520bed20b)
2019-04-06 15:00:42 +02:00
Vladimír Čunát
dc58b3a756 Revert "Merge #57010: Luarocks update"
This reverts commit 4fff94f4b3.
I assumed this would fix more things than break, but apparently not.
Fixes #59057.
2019-04-06 13:33:39 +02:00
Robert Schütz
6faf326326 python.pkgs.ldappool: fix build
(cherry picked from commit 836621f33b)
2019-04-05 19:21:37 +02:00
Peter Hoeg
ce16af3c0a mosquitto: 1.5.5 -> 1.5.8 and add systemd support
(cherry picked from commit 5638a1c717)
2019-04-05 15:41:22 +00:00
Austin Seipp
bc7de5b5b1 souffle: 1.2.0 -> 1.5.1, co-maintain
Souffle has seen some significant upgrades in the past few years and now
has trimmed and replaced several of its more expensive dependencies,
such as boost, openjdk, etc.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
(cherry picked from commit 4f74e3abcf)

Backporting this as it was broken in 19.03.
2019-04-05 15:21:22 +00:00
Nathan van Doorn
03098dcc74 gramps: fix build
(cherry picked from commit 298f3d6c27)
2019-04-05 17:17:45 +02:00
Timo Kaufmann
833d593c0f nauty: disable cpu feature detection
(cherry picked from commit 7f22a42976)
2019-04-05 15:05:35 +00:00
worldofpeace
8c8856c546 vscode: 1.32.3 -> 1.33.0
https://code.visualstudio.com/updates/v1_33
(cherry picked from commit 36225974b3)
2019-04-05 16:58:01 +02:00
Edmund Wu
185b5e387d vscode: 1.32.2 -> 1.32.3 (#57720)
(cherry picked from commit 2c6876d81b)
2019-04-05 16:58:01 +02:00
Herwig Hochleitner
cd7adda550 chromium: 73.0.3683.86 -> 73.0.3683.103
(cherry picked from commit a5960f765a)
2019-04-05 16:55:26 +02:00
WilliButz
5a16b0a9f9 grafana: 6.1.0 -> 6.1.1
(cherry picked from commit 26d41fb0b8)
2019-04-05 16:23:54 +02:00
WilliButz
776b304d3e grafana: 6.0.2 -> 6.1.0 (#58917)
(cherry picked from commit cfe5698727)
2019-04-05 16:23:32 +02:00
Herwig Hochleitner
bbda35a20f cdemu: update to 3.2 release
closes https://github.com/NixOS/nixpkgs/pull/58911

(cherry picked from commit 79d653be55)
2019-04-05 15:51:00 +02:00
R. RyanTM
d1bb0587d2 linuxPackages.vhba: 20170610 -> 20190302
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/vhba/versions

(cherry picked from commit 794e864a07)
2019-04-05 15:51:00 +02:00
Herwig Hochleitner
ed57cf5463 i2p: 0.9.38 -> 0.9.39
(cherry picked from commit 098fd3280e)
2019-04-05 15:51:00 +02:00
Herwig Hochleitner
32b76e81ae firmware-linux-nonfree: 2019-02-13 -> 2019-03-12
(cherry picked from commit 72a6438f37)
2019-04-05 15:51:00 +02:00
José Romildo Malaquias
0fb3563814 deepin.deepin-menu: fix more hard coded paths
(cherry picked from commit 13ccde5a96)
2019-04-04 20:24:45 -04:00
José Romildo Malaquias
aad0d74311 deepin.dde-calendar: fix use of patchShebangs
(cherry picked from commit a1bf396127)
2019-04-04 20:24:45 -04:00
José Romildo Malaquias
8d280a4d77 deepin.go-dbus-generator: use ${placeholder ''out''} instead of $(out)
(cherry picked from commit b08aff1999)
2019-04-04 20:24:44 -04:00
José Romildo Malaquias
f84c69d850 deepin.deepin-sound-theme: use ${placeholder ''out''} instead of $(out)
(cherry picked from commit eb529d9e27)
2019-04-04 20:24:44 -04:00
José Romildo Malaquias
5e3aa2dfc6 deepin.deepin-gtk-theme: use ${placeholder ''out''} instead of $(out)
(cherry picked from commit 3611a3e890)
2019-04-04 20:24:44 -04:00
José Romildo Malaquias
2965e31e5f deepin.deepin-gettext-tools: use ${placeholder ''out''} instead of $(out)
(cherry picked from commit 484e6043f1)
2019-04-04 20:24:44 -04:00
José Romildo Malaquias
24ba9e1735 deepin.dbus-factory: use ${placeholder ''out''} instead of $(out)
(cherry picked from commit 7f396b799d)
2019-04-04 20:24:43 -04:00
José Romildo Malaquias
1c4e91b51d deepin.dde-qt-dbus-factory: 1.0.5 -> 1.1.1
(cherry picked from commit 9485d5ee56)
2019-04-04 20:24:43 -04:00
José Romildo Malaquias
370c51f409 deepin.dtkwidget: 2.0.9.15 -> 2.0.10
(cherry picked from commit 52b8a8591b)
2019-04-04 20:24:43 -04:00
José Romildo Malaquias
524cf2e1a8 deepin.go-gir-generator: 1.1.0 -> 2.0.0
(cherry picked from commit 0d065db91b)
2019-04-04 20:24:42 -04:00
José Romildo Malaquias
77b4a1cab9 deepin.deepin-metacity: 3.22.22 -> 3.22.24
(cherry picked from commit 091b13a8ca)
2019-04-04 20:24:42 -04:00
José Romildo Malaquias
eaa183f20d deepin.deepin-wallpapers: 1.7.5 -> 1.7.7
(cherry picked from commit c40f6d1b36)
2019-04-04 20:24:42 -04:00
José Romildo Malaquias
41b44a33b4 deepin.deepin-desktop-base: 2018.10.29 -> 2019.03.29
(cherry picked from commit 8b09ef4390)
2019-04-04 20:24:41 -04:00
José Romildo Malaquias
932a90fd4c deepin.deepin-wm: 1.9.34 -> 1.9.37
(cherry picked from commit 4846803904)
2019-04-04 20:24:41 -04:00
José Romildo Malaquias
e87f02a5a8 deepin.deepin-mutter: 3.20.35 -> 3.20.38
(cherry picked from commit 8c80fca3e7)
2019-04-04 20:24:41 -04:00
José Romildo Malaquias
30ee47c363 deepin.qt5integration: 0.3.6 -> 0.3.8
(cherry picked from commit 8e4a7e3c53)
2019-04-04 20:24:40 -04:00
José Romildo Malaquias
33dc7c7f39 deepin.qt5dxcb-plugin: 1.1.13 -> 1.1.25
(cherry picked from commit 4ac85ab261)
2019-04-04 20:24:40 -04:00
José Romildo Malaquias
6530d4f7aa deepin.go-lib: 1.3.0 -> 1.10.0
(cherry picked from commit 62b5734a1a)
2019-04-04 20:24:40 -04:00
José Romildo Malaquias
7c6f48f603 deepin.go-dbus-factory: 0.0.7.1 -> 0.4.0
(cherry picked from commit 9de5aa7091)
2019-04-04 20:24:40 -04:00
José Romildo Malaquias
9dfc5ede72 deepin.dtkcore: 2.0.9.8 -> 2.0.10
(cherry picked from commit 251254084c)
2019-04-04 20:24:39 -04:00
José Romildo Malaquias
90b0d51107 deepin.deepin-terminal: 3.0.10.2 -> 3.2.1.2
(cherry picked from commit 7853a9a6ac)
2019-04-04 20:24:39 -04:00
José Romildo Malaquias
02997940e2 deepin.deepin-movie-reborn: 3.2.14 -> 3.2.21
(cherry picked from commit 87c4c584ef)
2019-04-04 20:24:39 -04:00
José Romildo Malaquias
e41f449f71 deepin.deepin-image-viewer: 1.3.1 -> 1.3.10
(cherry picked from commit eb25703f7b)
2019-04-04 20:24:38 -04:00
José Romildo Malaquias
e476e0c83a deepin.deepin-icon-theme: 15.12.64 -> 15.12.68
(cherry picked from commit ad75a1f1f7)
2019-04-04 20:24:38 -04:00
José Romildo Malaquias
7e05b40cda deepin.deepin-desktop-schemas: 3.4.0 -> 3.13.0
(cherry picked from commit 0215ee0525)
2019-04-04 20:24:38 -04:00
José Romildo Malaquias
3f95e5ecc6 deepin.dde-daemon: 3.6.0 -> 3.24.1
(cherry picked from commit 8532ff49e1)
2019-04-04 20:24:33 -04:00
José Romildo Malaquias
df2e1f4308 deepin.dde-api: 3.5.0 -> 3.18.1
(cherry picked from commit 5c38dbd225)
2019-04-04 20:23:22 -04:00
José Romildo Malaquias
b1fa165515 deepin.dde-session-ui: 4.6.2 -> 4.9.0
(cherry picked from commit 4a00f98f27)
2019-04-04 20:23:22 -04:00
José Romildo Malaquias
3033f19f7e deepin: add setup hook with helper functions
(cherry picked from commit 0a971b5a04)
2019-04-04 19:52:56 -04:00
José Romildo Malaquias
a2b904f291 blur-effect: init at 1.1.3
(cherry picked from commit 56488c9257)
2019-04-04 19:52:09 -04:00
José Romildo Malaquias
956069fcf0 xcur2png: init at 0.7.1
(cherry picked from commit 4d5a4a64bf)
2019-04-04 19:51:54 -04:00
Carles Pagès
d97776b105 calligra: mark broken
Fails to start, kde home not found.

(cherry picked from commit 44346895b1)
2019-04-04 22:13:23 +02:00
Carles Pagès
435c3ce23e calligra: fix build
(cherry picked from commit 396dcdf89b)
2019-04-04 22:13:06 +02:00
Janne Heß
8569d30991 nixos/icingaweb2: Replace most options with toINI
(cherry picked from commit b0daedd371)

If people start relying on the many options added in
https://github.com/NixOS/nixpkgs/pull/55957 for 19.03, we wouldn't have any
chance to ever remove them.
2019-04-04 21:21:45 +02:00
Dmitry Kalinkin
a6ee6a53a2 applgrid: fix build for gcc
(cherry picked from commit cdab07b603)
2019-04-03 21:43:58 -04:00
Dmitry Kalinkin
3ba0f35a07 root5: fix build
(cherry picked from commit c36f841ec7)
2019-04-03 21:43:54 -04:00
worldofpeace
4fe8a27cfe gnome3.mutter328: use wrapGAppsHook
(cherry picked from commit 7fe664cab2)
2019-04-03 19:59:13 -04:00
worldofpeace
c089e05ea7 gnome3.mutter328: hardcode path to zenity
(cherry picked from commit c4df83279e)
2019-04-03 19:59:09 -04:00
worldofpeace
d28aedd77e gnome3.mutter328: use gnome-3-28 branch
Probably should get these patches in while
I'm stuck with this. Alternative would be to
fetch the patches individually.

pipewire was accidentally in buildInputs when it has
been disabled

Changes: https://gitlab.gnome.org/GNOME/mutter/compare/3.28.3...gnome-3-28
(cherry picked from commit 874856a228)
2019-04-03 19:59:06 -04:00
worldofpeace
52c2e78aed pantheon.wingpanel-indicator-datetime: launch elementary-calendar when in PATH
One less downstream patch :)

(cherry picked from commit b3e8b01bc9)
2019-04-03 19:53:54 -04:00
Tim Steinbach
db4bdf1fe4 linux: 5.0.5 -> 5.0.6
(cherry picked from commit 0bb32d2776)
2019-04-03 19:39:20 -04:00
Tim Steinbach
f3e91dbabe linux: 4.19.32 -> 4.19.33
(cherry picked from commit 4a91a6e05f)
2019-04-03 19:39:19 -04:00
Tim Steinbach
d1c89923e7 linux: 4.14.109 -> 4.14.110
(cherry picked from commit c0d537c780)
2019-04-03 19:39:19 -04:00
Tim Steinbach
eec4ec6efd linux: 4.9.166 -> 4.9.167
(cherry picked from commit e731feae7f)
2019-04-03 19:39:19 -04:00
Tim Steinbach
608461e398 linux: 4.4.177 -> 4.4.178
(cherry picked from commit 84fc0fb8d1)
2019-04-03 19:39:18 -04:00
worldofpeace
91fa6990b2 Merge pull request #58642 from worldofpeace/geary/fix-attach
[19.03] gnome3.geary: make geary-attach executable
2019-04-03 17:45:38 -04:00
Robert Schütz
e18a58228b python.pkgs.cufflinks: 0.14.6 -> 0.15
(cherry picked from commit ed57afc79d)
2019-04-03 16:17:48 +02:00
Robert Schütz
f5d2da54d3 conan: pin pluginbase to 0.7
Upstream requires
    pluginbase>=0.5, < 1.0

(cherry picked from commit 244fcfc85c)
2019-04-03 16:17:00 +02:00
Robert Schütz
c46fdacb93 python.pkgs.devpi-common: update checkInputs
(cherry picked from commit e27ed0f6a2)
2019-04-03 15:01:48 +02:00
Christopher Chin
de216e66fc pytest-rerunfailures: 6.0 -> 7.0 (#58710)
(cherry picked from commit 6fa01d5be0)
2019-04-02 23:41:44 +02:00
Pavol Rusnak
3400e322e3 trezord: 2.0.25 -> 2.0.26 (#57698) (#58755)
(cherry picked from commit 79bc844161)
2019-04-02 23:11:04 +02:00
Tristan Helmich
65334cd7e3 graylog: 3.0.0 -> 3.0.1 (#58811)
(cherry picked from commit 41b60eb2ad)
2019-04-02 23:09:31 +02:00
Michael Raskin
4fff94f4b3 Merge #57010: Luarocks update
(cherry picked from commit bd616c0cd3)
This fixes the build of luarocks-nix.

I checked that torchPackages.torch was broken even before
this batch of luarocks changes.
2019-04-02 19:06:36 +02:00
Michael Raskin
689b4269c3 luarocks: fix meta after refactoring, thanks to peti
(cherry picked from commit 3aae18f7dd)
2019-04-02 19:02:31 +02:00
Michael Raskin
3a15817e4d luarocks: switch to a less intrusive update-walker metadata style
(cherry picked from commit 73a82dcc44)
2019-04-02 19:00:44 +02:00
Vincent Demeester
549b6061ef minishift: 1.32.0 -> 1.33.0
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit 63154c89e3)
2019-04-02 13:02:16 +02:00
Vincent Demeester
5d4e82b495 minishift: 1.31.0 -> 1.32.0
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit 92d32e21d2)
2019-04-02 13:02:16 +02:00
Vincent Demeester
bf2293be5f minikube: 0.35.0 -> 1.0.0 (#58475)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit fd3fdc31b4)
2019-04-02 13:02:15 +02:00
Vincent Demeester
4151cc034e minikube: 0.30.0 -> 0.35.0 (#56879)
* minikube: 0.30.0 -> 0.34.1

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

* minikube: 0.34.1 -> 0.35.0

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit 1f037a90f1)
2019-04-02 13:02:15 +02:00
R. RyanTM
89269d4d76 airsonic: 10.1.2 -> 10.2.1 (#57702)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/airsonic/versions

(cherry picked from commit b6c40f16da)
2019-04-02 13:02:14 +02:00
Jaakko Luttinen
2878299ab8 josm: fix support for kendzi3d plugin
(cherry picked from commit 005fb92d32)
2019-04-02 13:02:14 +02:00
R. RyanTM
16956c6c95 clamav: 0.101.1 -> 0.101.2 (#58653)
(cherry picked from commit 5285e70749)
2019-04-02 13:02:14 +02:00
WilliButz
1c8541bbcf grafana: 6.0.1 -> 6.0.2
(cherry picked from commit 963ee49032)
2019-04-02 13:02:13 +02:00
Maximilian Bosch
2f980e4598 nixos/wireguard: add test
After working on the last wireguard bump (#57534), we figured that it's
probably a good idea to have a basic test which confirms that a simple
VPN with wireguard still works.

This test starts two peers with a `wg0` network interface and adds a v4
and a v6 route that goes through `wg0`.

(cherry picked from commit 0c4e9e397e)
2019-04-02 13:02:13 +02:00
Franz Pletz
4a2a8650ee batman-adv: 2019.0 -> 2019.1
(cherry picked from commit 6fe8153609)
2019-04-02 13:02:13 +02:00
Franz Pletz
7efe540e6a nuspell: 2.1.0 -> 2.2.0
(cherry picked from commit 7c0e94c5d0)
2019-04-02 13:02:12 +02:00
Franz Pletz
f091239d60 sslscan: 1.11.12 -> 1.11.13
(cherry picked from commit 2792a26553)
2019-04-02 13:02:12 +02:00
Franz Pletz
10b394132e nginxMainline: 1.15.9 -> 1.15.10
(cherry picked from commit 4c0d1ae7be)
2019-04-02 13:02:11 +02:00
Franz Pletz
10888e3738 minetest: 5.0.0 -> 5.0.1
(cherry picked from commit 9fc62e5571)
2019-04-02 13:02:11 +02:00
Franz Pletz
a2d72af526 flashrom: 1.0 -> 1.0.1
(cherry picked from commit a28dc2cd7c)
2019-04-02 13:02:11 +02:00
Franz Pletz
0b4c987db7 openttd: 1.8.0 -> 1.9.0
(cherry picked from commit 0eb9f812bd)
2019-04-02 13:02:10 +02:00
Michael Weiss
247ba3e8a2 Merge pull request #58767 from primeos/security-backports-for-19.03
[19.03] Security backports for html-proofer and gollum
2019-04-02 12:52:17 +02:00
Michael Weiss
74f1257af7 gollum: Update the dependencies (security)
See #58709.

(cherry picked from commit a92c7bb0cc)
2019-04-02 12:12:50 +02:00
Michael Weiss
6d9508e991 html-proofer: 3.8.0 -> 3.10.2 (security)
See #58709.

(cherry picked from commit 20b9e18891)
2019-04-02 12:12:50 +02:00
Philipp Volguine
bd427137cb pythonPackages.pyramid_beaker: fix building
- checkInputs rather than buildInputs
- it was complaining that py.test was not a valid command

(cherry picked from commit 7819cc0cb9)
2019-04-02 10:36:07 +02:00
Philipp Volguine
4c991a74ce pythonPackages.beaker: 1.8.0 -> 1.10.1
- The aim was to get this building on hydra
- Midway I discovered a PR by Mic92 that bumps the version to 1.10.0,
  I have included some of his fixes to run tests correctly:
    - remove testing memcached (it tries to connect on import)
    - don't run external tests or a failing test on darwin
            (see https://github.com/bbangert/beaker/issues/166)
    - run nosetests rather than setup.py test because we need to specify
    exclude options.

(cherry picked from commit d94b113859)
2019-04-02 10:35:59 +02:00
Robert Schütz
44e3ee1015 dovecot_pigeonhole: 0.5.4 -> 0.5.5 (#58511)
This is the appropriate version for dovecot 2.3.5 according to
https://dovecot.org/pipermail/dovecot-news/2019-March/000400.html

(cherry picked from commit 640416bf71)
2019-04-02 10:26:44 +02:00
Peter Simons
112e91ca37 apache-httpd: 2.4.38 -> 2.4.39 (CVE-2019-0211)
In Apache HTTP Server 2.4 releases 2.4.17 to 2.4.38, with MPM event, worker or
prefork, code executing in less-privileged child processes or
threads (including scripts executed by an in-process scripting interpreter)
could execute arbitrary code with the privileges of the parent process (usually
root) by manipulating the scoreboard.

(cherry picked from commit 2017158b53)
2019-04-02 09:48:47 +02:00
Vladimír Čunát
ef28995795 Merge branch 'staging-19.03' into release-19.03 2019-04-02 09:22:38 +02:00
Franz Pletz
d4c1d6bb93 riot-web: 1.0.5 -> 1.0.6
(cherry picked from commit d44138b140)
2019-04-01 23:20:51 +02:00
Paul TREHIOU
1f226148eb riot-web: 1.0.3 -> 1.0.5 (#58040)
(cherry picked from commit 62fd641e83)
2019-04-01 23:20:47 +02:00
Paul TREHIOU
3fddd9d6f2 riot-web: 1.0.1 -> 1.0.3 (#57586)
(cherry picked from commit 2d6c19efd6)
2019-04-01 23:20:42 +02:00
pacien
cce652cf82 matrix-synapse: 0.99.1.1 -> 0.99.2
(cherry picked from commit 9620a0cf9d)
2019-04-01 23:19:43 +02:00
Franz Pletz
06521178d6 xmrig-proxy: 2.11.0 -> 2.14.0
(cherry picked from commit 40be34b3f9)
2019-04-01 23:19:42 +02:00
Franz Pletz
5352b958ff xmrig: 2.13.1 -> 2.14.1
(cherry picked from commit 6f6cb6a925)
2019-04-01 23:19:42 +02:00
Robert Schütz
3d41e81c99 postfix: 3.4.4 -> 3.4.5 (#58679)
http://www.postfix.org/announcements/postfix-3.4.5.html
(cherry picked from commit 7dd24531e4)
2019-04-01 22:53:22 +02:00
Will Dietz
d5c7b7d3f4 youtube-dl: 2019.03.18 -> 2019.04.01
(cherry picked from commit 5ed1d8ea03)
2019-04-01 22:14:17 +02:00
Silvan Mosberger
7e889fe8c8 nixos/browserpass: update for v3
See https://github.com/browserpass/browserpass-native/issues/31

Additionally browserpass was removed from systemPackages, because it
doesn't need to be installed, browsers will get the path to the binary
from the native messaging host JSON.

(cherry picked from commit e98ee8d70c)
2019-04-01 17:34:19 +02:00
Silvan Mosberger
fcb8738dc0 browserpass: 2.0.22 -> 3.0.1
See https://github.com/browserpass/browserpass-native/issues/31

This is fully backwards compatible.

(cherry picked from commit 6104fba188)
2019-04-01 17:33:52 +02:00
Silvan Mosberger
a6b854162c pythonPackages.thinc: Fix build
(cherry picked from commit e7f3da287f)
2019-04-01 05:45:54 +02:00
worldofpeace
a38201f3e2 gnome3.geary: make geary-attach executable 2019-03-31 20:13:11 -04:00
Florian Franzen
de621d4939 grub: Support 32bit EFI on 64bit x86 platforms
(cherry picked from commit e51a840259)
2019-03-31 20:09:00 -04:00
Will Dietz
940bb927e3 gnome3.geary: 0.13.1 -> 0.13.2
(cherry picked from commit deb8936aba)
2019-03-31 20:06:09 -04:00
Vladimír Čunát
f10bc3c630 notary: disable tests (for now)
I don't really know anything about the package;
I just noticed the regression on hydra.nixos.org.

(cherry picked from commit ba18b47c2a)
2019-03-31 18:06:02 +02:00
Silvan Mosberger
a05b0cf8b4 pythonPackages.jupyterhub: Fix running locally
(cherry picked from commit 0b31827e5e)
2019-03-31 17:36:00 +02:00
worldofpeace
986561f31c typora: 0.9.64 -> 0.9.68
Make the wrapping happen in postFixup
or else the wrapper is incomplete.
That was noted in #56533

Closes https://github.com/NixOS/nixpkgs/pull/56533

(cherry picked from commit f54b4963cf)
Fixes crash on in certain places due to an incomplete wrapper.
2019-03-30 22:40:10 -04:00
Samuel Dionne-Riel
7e39a961fd Merge pull request #58599 from worldofpeace/nixos-stateversion-drop-19.03
[19.03] nixos/rename: drop system.nixos.{stateVersion, defaultChannel}
2019-03-30 20:31:48 -04:00
worldofpeace
8764be9654 nixos/rename: drop system.nixos.{stateVersion, defaultChannel}
Comment said to remove these before 18.09 was released :(
2019-03-30 20:14:24 -04:00
Samuel Dionne-Riel
d6994e4b97 Merge pull request #58591 from samueldr/zhf/file-slurp
ZHF 19.03: backports FileSlurp update
2019-03-30 17:36:20 -04:00
Victor SENE
2831fd071c mautrix-whatsapp: 2019-02-20 -> 2019-02-24
(cherry picked from commit 43c1fced23)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-03-30 20:21:43 +01:00
Victor SENE
d685800732 mautrix-whatsapp: 2019-02-11 -> 2019-02-20
(cherry picked from commit dc6ed78a42)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-03-30 20:21:42 +01:00
Samuel Dionne-Riel
5894c3c784 perlPackages.FileSlurp: remove obsolete patch
FileSlurp no longer uses syswrite

cc @srhb as initial author:

 * ce019a511b
2019-03-30 15:10:45 -04:00
volth
0afebda8f5 [cpan2nix] perlPackages.FileSlurp: 9999.25 -> 9999.26
(cherry picked from commit bba2eb9993)
2019-03-30 15:10:45 -04:00
Robert Schütz
3b61951b67 postfix: 3.4.3 -> 3.4.4
http://www.postfix.org/announcements/postfix-3.4.4.html
(cherry picked from commit 2cfe129d65)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-03-30 19:59:35 +01:00
Maximilian Bosch
f32f452cdb pythonPackages.face_recognition: 1.2.2 -> 1.2.3
There's no git tag for 1.2.3, hence we need to pin to the corresponding
revision because we build from a git source.

After recent breakage on Hydra[1], the tests were disabled. Although
some build machines don't support AVX, we shouldn't use a DLib without
AVX as the builder's result is also used on modern machines with AVX
support. Before merging changes, maintainers should run the check phase
locally in a `nix-shell`.

[1] https://hydra.nixos.org/build/89533530

(cherry picked from commit 6fec5aac83)
2019-03-30 19:22:34 +01:00
Maximilian Bosch
6f55b0461f dlib: add flag to disable AVX support
Especially older hardware doesn't support AVX instructions. DLib is
still functional there, but significantly slower[1].

By setting `avxInstructions` to false, DLib will be compiled without
this feature.

[1] http://dlib.net/compile.html

(cherry picked from commit 9732c44225)
2019-03-30 19:22:34 +01:00
worldofpeace
a4ae8ceec3 peek: build with vala_0_40
Fixes https://github.com/NixOS/nixpkgs/issues/58433

(cherry picked from commit b556663201)
2019-03-30 14:11:33 -04:00
Robert Schütz
0e906e20b3 mopidy-iris: 3.32.5 -> 3.33.0
The removed dependencies were dropped in the following commits:
0c134459ea
4d64980900
c9861bc79c

Requests was added in:
28b5f69333

(cherry picked from commit 11f0d36737)
Fixed build.

ZHF: https://github.com/NixOS/nixpkgs/issues/56826
2019-03-30 11:35:09 -04:00
Robert Schütz
1487745528 python.pkgs.pylast: no longer supports python2
(cherry picked from commit a376d3ee09)
2019-03-30 11:35:09 -04:00
Sarah Brofeldt
8c07f53108 Merge pull request #58578 from etu/backport-update-gitea
[19.03] gitea: 1.7.1 -> 1.7.5
2019-03-30 14:11:34 +01:00
Elis Hirwing
ff9c6cb100 gitea: 1.7.3 -> 1.7.5
Changelogs:
https://github.com/go-gitea/gitea/releases/tag/v1.7.5
https://github.com/go-gitea/gitea/releases/tag/v1.7.4
(cherry picked from commit c94d027510)
2019-03-30 12:02:38 +01:00
Milan Pässler
602c2b40e7 gitea: 1.7.1 -> 1.7.3
(cherry picked from commit 1246a736b1)
2019-03-30 12:02:31 +01:00
Florian Klink
2c8f31490f Merge pull request #58532 from andir/19.03/firefox
[19.03] firefox: 66.0.1 -> 66.0.2, firefox-bin: 66.0.1 -. 66.0.2
2019-03-29 23:57:38 +01:00
Ben Gamari
2f2cb4e276 nixos/gitlab: Install and fixup vendorised gitlab-shell
gitaly now ships its own vendorised version of gitlab-shell. Previously
we failed to install this, resulting in
https://gitlab.com/gitlab-org/gitlab-ce/issues/59403.

(cherry picked from commit 50a4de7326)
2019-03-29 23:41:57 +01:00
worldofpeace
1bcd04f9ad pantheon.switchboard-plug-sound: 2.1.3 -> 2.2.0
Has a major overhaul of output devices logic [0]

https://github.com/elementary/switchboard-plug-sound/releases/tag/2.2.0

[0]: ebf0ad5991

(cherry picked from commit b1cc594ca8)
2019-03-29 15:50:01 -04:00
worldofpeace
aca388db59 pantheon.switchboard-plug-pantheon-shell: 2.8.0 -> 2.8.1
Just Translatiions

https://github.com/elementary/switchboard-plug-pantheon-shell/releases/tag/2.8.1
(cherry picked from commit a03e0b0060)
2019-03-29 15:49:57 -04:00
worldofpeace
5dca27d54b pantheon.elementary-terminal: 5.3.3 -> 5.3.4
https://github.com/elementary/terminal/releases/tag/5.3.4
(cherry picked from commit 5819ea1aba)
2019-03-29 15:49:53 -04:00
worldofpeace
d1cba85e36 pantheon.elementary-files: 4.1.5 -> 4.1.6
Notably color tags for folders are actually remembered

https://github.com/elementary/files/releases/tag/4.1.6
(cherry picked from commit d1f971e655)
2019-03-29 15:49:50 -04:00
worldofpeace
68c381d553 pantheon.elementary-camera: 1.0.3 -> 1.0.4
Just Translations

https://github.com/elementary/camera/releases/tag/1.0.4
(cherry picked from commit 6534530b31)
2019-03-29 15:49:43 -04:00
Markus Kowalewski
d3634b0fac libgpuarray: fix build
move cmake into nativeBuildInputs

(cherry picked from commit ad1e7b09c0)
2019-03-29 16:37:51 +01:00
Markus Kowalewski
5141dca11d clblas: turn of gtest, fix build
clblas does not work anymore with gmock 1.8.1.
Turning off the test suite fixes the build.

(cherry picked from commit 4c74ee948e)
2019-03-29 16:37:46 +01:00
Florian Klink
d11c540027 Merge pull request #58539 from herrwiese/nc-backport-ocm-fix
nixos/nextcloud: Cherry-pick nginx recommendations to 19.03
2019-03-29 14:50:40 +01:00
Pascal Bach
df8fa2c415 nixos/nextcloud: fix escapings and ocm-provider
(cherry picked from commit 415b927653)
2019-03-29 14:49:10 +01:00
Domen Kožar
72ad1ebda9 cachix: use separate bin output to prove it's useful
Spares compilation time by not compiling the package twice.

(cherry picked from commit b06201bf6f)
Signed-off-by: Domen Kožar <domen@dev.si>
2019-03-29 19:19:57 +07:00
Domen Kožar
b19ae16be6 haskell: allow separate bin output, disable by default
(cherry picked from commit bd06834d5e)
Signed-off-by: Domen Kožar <domen@dev.si>
2019-03-29 19:19:13 +07:00
R. RyanTM
3a4ffdd38b gphoto2: 2.5.17 -> 2.5.20
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/gphoto2/versions

(cherry picked from commit c727b69ad6)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-03-29 11:26:38 +01:00
Andreas Rammhold
a2a91b5fb4 firefox-bin: 66.0.1 -> 66.0.2
(cherry picked from commit 6977980927)
2019-03-29 10:44:16 +01:00
Andreas Rammhold
efdf34898e firefox: 66.0.1 -> 66.0.2
(cherry picked from commit c8186ad7b3)
2019-03-29 10:42:13 +01:00
Robert Schütz
a0bf1c530f Merge pull request #58499 from mweinelt/virtualenv/py_version_backport
[19.03] virtualenv: Update patch for 16.2.0
2019-03-29 07:40:09 +01:00
aszlig
2b886865cf Merge pull request #57519 (systemd-confinement)
Currently if you want to properly chroot a systemd service, you could do
it using BindReadOnlyPaths=/nix/store or use a separate derivation which
gathers the runtime closure of the service you want to chroot. The
former is the easier method and there is also a method directly offered
by systemd, called ProtectSystem, which still leaves the whole store
accessible. The latter however is a bit more involved, because you need
to bind-mount each store path of the runtime closure of the service you
want to chroot.

This can be achieved using pkgs.closureInfo and a small derivation that
packs everything into a systemd unit, which later can be added to
systemd.packages.

However, this process is a bit tedious, so the changes here implement
this in a more generic way.

Now if you want to chroot a systemd service, all you need to do is:

  {
    systemd.services.myservice = {
      description = "My Shiny Service";
      wantedBy = [ "multi-user.target" ];

      confinement.enable = true;
      serviceConfig.ExecStart = "${pkgs.myservice}/bin/myservice";
    };
  }

If more than the dependencies for the ExecStart* and ExecStop* (which
btw. also includes script and {pre,post}Start) need to be in the chroot,
it can be specified using the confinement.packages option. By default
(which uses the full-apivfs confinement mode), a user namespace is set
up as well and /proc, /sys and /dev are mounted appropriately.

In addition - and by default - a /bin/sh executable is provided, which
is useful for most programs that use the system() C library call to
execute commands via shell.

Unfortunately, there are a few limitations at the moment. The first
being that DynamicUser doesn't work in conjunction with tmpfs, because
systemd seems to ignore the TemporaryFileSystem option if DynamicUser is
enabled. I started implementing a workaround to do this, but I decided
to not include it as part of this pull request, because it needs a lot
more testing to ensure it's consistent with the behaviour without
DynamicUser.

The second limitation/issue is that RootDirectoryStartOnly doesn't work
right now, because it only affects the RootDirectory option and doesn't
include/exclude the individual bind mounts or the tmpfs.

A quirk we do have right now is that systemd tries to create a /usr
directory within the chroot, which subsequently fails. Fortunately, this
is just an ugly error and not a hard failure.

The changes also come with a changelog entry for NixOS 19.03, which is
why I asked for a vote of the NixOS 19.03 stable maintainers whether to
include it (I admit it's a bit late a few days before official release,
sorry for that):

  @samueldr:

    Via pull request comment[1]:

      +1 for backporting as this only enhances the feature set of nixos,
      and does not (at a glance) change existing behaviours.

    Via IRC:

      new feature: -1, tests +1, we're at zero, self-contained, with no
      global effects without actively using it, +1, I think it's good

  @lheckemann:

    Via pull request comment[2]:

      I'm neutral on backporting. On the one hand, as @samueldr says,
      this doesn't change any existing functionality. On the other hand,
      it's a new feature and we're well past the feature freeze, which
      AFAIU is intended so that new, potentially buggy features aren't
      introduced in the "stabilisation period". It is a cool feature
      though? :)

A few other people on IRC didn't have opposition either against late
inclusion into NixOS 19.03:

  @edolstra:  "I'm not against it"
  @Infinisil: "+1 from me as well"
  @grahamc:   "IMO its up to the RMs"

So that makes +1 from @samueldr, 0 from @lheckemann, 0 from @edolstra
and +1 from @Infinisil (even though he's not a release manager) and no
opposition from anyone, which is the reason why I'm merging this right
now.

I also would like to thank @Infinisil, @edolstra and @danbst for their
reviews.

[1]: https://github.com/NixOS/nixpkgs/pull/57519#issuecomment-477322127
[2]: https://github.com/NixOS/nixpkgs/pull/57519#issuecomment-477548395

(cherry picked from commit dcf40f7c24)
2019-03-29 05:08:58 +01:00
Ben Gamari
34aeed1ca0 nixos/gitlab: Package gitlab-rails
This utility (particularly `gitlab-rails console`) is packaged by GitLab
Omnibus and is used for diagnostics and maintenance operations.

(cherry picked from commit af909b3238)
2019-03-28 23:56:18 +01:00
Florian Klink
281cb56a48 Merge pull request #58356 from andir/19.03/ghostscript-CVE-2019-6116
[19.03] ghostscript: add patch for CVE-2019-6116
2019-03-28 23:31:28 +01:00
Will Dietz
730d746021 microcodeIntel: 20180807a -> 20190312 (from intel github)
https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/blob/microcode-20190312/releasenote#L85
(cherry picked from commit ba31c45cbb)
2019-03-28 23:05:42 +01:00
Florian Klink
ed8b959e17 matomo: 3.9.0 -> 3.9.1
(cherry picked from commit 26f19430eb)
2019-03-28 22:55:39 +01:00
Florian Klink
50b6ab59b6 matomo: update url
(cherry picked from commit 4ffd3ad4fd)
2019-03-28 22:55:38 +01:00
R. RyanTM
467b2c37c4 matomo: 3.8.1 -> 3.9.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/matomo/versions

(cherry picked from commit 139243406b)
2019-03-28 22:55:38 +01:00
Tom Fitzhenry
970b97ffdf syslinux: change serial bit rate to 115200
Prior to this commit an installation over serial via syslinux would
involve:
1. setting bitrate to BIOS's bitrate (typically 115200)
2. setting bitrate to syslinux's bitrate (38400)
3. setting bitrate to stty's bitrate (115200)

By changing syslinux's bitrate to 115200, an installation over serial
is a smoother experience, and consistent with the GRUB2 installation
which is also 115200 bps.

    [root@nixos:~]# stty
    speed 115200 baud; line = 0;
    -brkint ixoff iutf8
    -iexten

In a future commit I will add default serial terminals to the syslinux
kernel lines.

(cherry picked from commit 0d67c6a52b)
2019-03-28 17:53:39 -04:00
Averell Dalton
9ebce7f023 jetbrains-jdk: 152b1248.6 -> 202b1483.37
(cherry picked from commit 6c011a0f2f)
2019-03-28 22:23:25 +01:00
Averell Dalton
49f2712e48 jetbrains.webstorm: 2018.3.4 -> 2019.1
(cherry picked from commit 9bba3e7835)
2019-03-28 22:23:25 +01:00
Averell Dalton
e93b5687b1 jetbrains.pycharm-professional: 2018.3.4 -> 2019.1
(cherry picked from commit 973117496a)
2019-03-28 22:23:25 +01:00
Averell Dalton
e8092494fd jetbrains.pycharm-community: 2018.3.4 -> 2019.1
(cherry picked from commit 70c57c24c4)
2019-03-28 22:23:25 +01:00
Averell Dalton
107af48a5b jetbrains.ruby-mine: 2018.3.3 -> 2018.3.5
(cherry picked from commit a2f6e40cc4)
2019-03-28 22:23:25 +01:00
Averell Dalton
e7ec56b2ed jetbrains.rider: 2018.3.2 -> 2018.3.4
(cherry picked from commit 68a33fce4c)
2019-03-28 22:23:24 +01:00
Averell Dalton
d1f4e6ef25 jetbrains.phpstorm: 2018.3.3 -> 2019.1
(cherry picked from commit 2a328c840f)
2019-03-28 22:23:24 +01:00
Averell Dalton
9a66b56a3e jetbrains.idea-ultimate: 2018.3.4 -> 2019.1
(cherry picked from commit 4933eae0d5)
2019-03-28 22:23:24 +01:00
Averell Dalton
4b4b59585c jetbrains.idea-community: 2018.3.4 -> 2019.1
(cherry picked from commit 7cb759636f)
2019-03-28 22:23:24 +01:00
Averell Dalton
d5b1fb99bb jetbrains.clion: 2018.3.4 -> 2019.1
(cherry picked from commit ead0e93553)
2019-03-28 22:23:24 +01:00
Averell Dalton
686016b5e4 jetbrains.goland: 2018.3.3 -> 2019.1
(cherry picked from commit 862b211788)
2019-03-28 22:23:24 +01:00
Averell Dalton
dd9a78c4ae jetbrains.datagrip: 2018.3.2 -> 2018.3.4
(cherry picked from commit 43d0137dc8)
2019-03-28 22:23:23 +01:00
Robert Schütz
ba0849a1f2 dovecot: 2.3.4.1 -> 2.3.5.1
https://dovecot.org/list/dovecot-news/2019-March/000401.html
fixes CVE-2019-7524

(cherry picked from commit d3ca36bd64)

Fixed a trivial merge conflict because some intermediate version bumps were
missing.
2019-03-28 21:27:51 +01:00
Ethan Glasser-Camp
0bf6a85d36 virtualenv: Update patch for 16.2.0 (#57533)
(Cherry-picked from 2556b7bfad)
2019-03-28 18:57:27 +01:00
Uli Baum
26c8ce0bf8 qtikz: fix build
qcollectiongenerator was merged into qhelpgenerator in qt 5.12,
see https://blog.qt.io/blog/2018/11/02/whats-new-qt-help/

(cherry picked from commit 0b8d40a754)
2019-03-28 18:40:38 +01:00
worldofpeace
ca720b3b2b Merge pull request #58468 from worldofpeace/backport/kde-apps-18.12.3
[19.03] kde-applications: 18.12.1 -> 18.12.3
2019-03-28 13:32:53 -04:00
Ben Gamari
e6cba7be3c nixos/gitaly: Run gitaly with procps in scope
Gitaly uses `ps` to track the RSS of `gitlab-ruby` and kills it when it
detects excessive memory leakage. See
https://gitlab.com/gitlab-org/gitaly/issues/1562.

(cherry picked from commit b90f5f03c2)
2019-03-28 18:23:03 +01:00
Johan Thomsen
580f1e44ba kubernetes: 1.13.4 -> 1.13.5
Backport of #58477
(cherry picked from commit e76f30e5a2)
2019-03-28 15:31:34 +01:00
Vladimír Čunát
3751739e48 Merge branch 'release-19.03' into staging-19.03 2019-03-28 15:14:35 +01:00
Florian Klink
8ae24edf5b nixos/ldap: set proper User= and Group= for nslcd service
eb90d97009 broke nslcd, as /run/nslcd was
created/chowned as root user, while nslcd wants to do parts as nslcd
user.

This commit changes the nslcd to run with the proper uid/gid from the
start (through User= and Group=), so the RuntimeDirectory has proper
permissions, too.

In some cases, secrets are baked into nslcd's config file during startup
(so we don't want to provide it from the store).

This config file is normally hard-wired to /etc/nslcd.conf, but we don't
want to use PermissionsStartOnly anymore (#56265), and activation
scripts are ugly, so redirect /etc/nslcd.conf to /run/nslcd/nslcd.conf,
which now gets provisioned inside ExecStartPre=.

This change requires the files referenced to in
users.ldap.bind.passwordFile and users.ldap.daemon.rootpwmodpwFile to be
readable by the nslcd user (in the non-nslcd case, this was already the
case for users.ldap.bind.passwordFile)

fixes #57783

(cherry picked from commit 8817bbefdb)
2019-03-28 14:35:02 +01:00
Florian Klink
9eafdb4e14 nixos/ldap: rename password file options properly
users.ldap.daemon.rootpwmodpw -> users.ldap.daemon.rootpwmodpwFile
users.ldap.bind.password -> users.ldap.bind.passwordFile

as users.ldap.daemon.rootpwmodpw never was part of a release, no
mkRenamedOptionModule is introduced.

(cherry picked from commit 0a1451afe3)
2019-03-28 14:35:02 +01:00
Uli Baum
8706f441e4 tahoe-lafs: fix build
(cherry picked from commit ea5f0983e7)
2019-03-28 13:51:07 +01:00
Uli Baum
f7ef8ac958 python2Packages.nevow: fix build
(cherry picked from commit 128e6c560e)
2019-03-28 13:51:07 +01:00
Will Dietz
2755e61247 gnutls: 3.6.6 -> 3.6.7, security!
https://lists.gnupg.org/pipermail/gnutls-help/2019-March/004497.html
Close #58437.

(cherry picked from commit 225b164cc3)
2019-03-28 12:49:34 +01:00
Pascal Wittmann
a05357f944 Merge pull request #58463 from rnhmjoj/monero-19.03
[19.03] monero: 0.13 -> 0.14
2019-03-28 08:20:36 +01:00
nyanloutre
69fa9cb938 kde-applications: 18.12.1 -> 18.12.3
(cherry picked from commit b16b1b377b)
2019-03-27 22:25:27 -04:00
nyanloutre
657f41dc8a fetch-kde-qt.sh: get hashes from metadata
(cherry picked from commit 4b7d9dc868)
2019-03-27 22:25:18 -04:00
rnhmjoj
ebe9fc23aa monero-gui: fix missing qml imports
(cherry picked from commit bbefa951e7)
2019-03-28 01:35:46 +01:00
David Meister
d568a72aa6 monero-gui: 0.13.0.4 -> 0.14.0.0
(cherry picked from commit b1d040b39b)
2019-03-28 01:35:28 +01:00
David Meister
9c2efe9202 monero: 0.13.0.4 -> 0.14.0.2
(cherry picked from commit a0a1dc0a55)
2019-03-28 01:34:49 +01:00
Graham Christensen
0000bf730b Merge pull request #58431 from alexbiehl/alex/nix-layers
dockerTools: align generated layer archives with docker's output
(cherry picked from commit 6af317616e)
2019-03-27 18:19:18 -04:00
Dmitry Kalinkin
ecca42f0a2 qt59.qtwebengine: fix on darwin
This ports a patch that is already used in 5.11. Also one of the
substituteInPlace call fails because a file doesn't exist.

(cherry picked from commit 0624deb5df)
2019-03-27 13:29:56 -04:00
Dmitry Kalinkin
abbe01b484 qt5.qtwebengine: refactor more things to use patches instead of substituteInPlace
qt59.qtwebengine doesn't need those fixes (probably since the recent
minor version bump)

(cherry picked from commit ccd1bf610d)
2019-03-27 13:29:55 -04:00
Dmitry Kalinkin
d3fecd124d qt5.qtwebengine: disable platform check using patches
The previous code using substituteInPlace was broken for both 5.9 and
5.11 (latter was broken after a minor release bump). Using patches
should make things fail loudly and prevent modules/qtwebengine.nix from
being littered with version checks.

The patch for 5.12 is only tested to apply.

(cherry picked from commit 1809832958)
2019-03-27 13:29:51 -04:00
Tim Steinbach
e62e880d6b linux: 5.0.4 -> 5.0.5
(cherry picked from commit 95f568b9bd)
2019-03-27 10:15:11 -04:00
Tim Steinbach
a756243a20 linux: 4.19.31 -> 4.19.32
(cherry picked from commit ec83ff060e)
2019-03-27 10:15:10 -04:00
Tim Steinbach
5b78c5d83e linux: 4.14.108 -> 4.14.109
(cherry picked from commit e3bee73c18)
2019-03-27 10:15:10 -04:00
Tim Steinbach
39d0e3201c linux: 4.9.165 -> 4.9.166
(cherry picked from commit ebd253309e)
2019-03-27 10:15:09 -04:00
Florian Klink
322ff2f526 Merge pull request #57929 from rnhmjoj/ifnames-fix-back
[backport] nixos/tests/predictable-interfaces: fix failure on aarch64
2019-03-27 09:46:00 +01:00
Florian Klink
0ec70bc5d8 Merge pull request #58348 from andir/19.03/tzdata
[19.03] tzdata: 2018g -> 2019a
2019-03-27 09:30:37 +01:00
Andreas Rammhold
ff18b89a91 tzdata: 2018g -> 2019a
(cherry picked from commit 32538ff51f15c2a416949a6f75ef41a505d530f8)
2019-03-27 09:11:03 +01:00
Tom F
0000a86d7c adoptopenjdk: Remove libfreetype.so from adoptopenjdk's derivation. (#58412)
This caused some reverse dependencies of adoptopenjdk to depend on
adoptopenjdk's libfreetype, rather than the NixOS
libfreetype. For example: https://github.com/NixOS/nixpkgs/issues/57733

Now the derivation does not contain libfreetype.so . The JRE links to
nixpkg's freetype:

$ ldd /nix/store/9iyxm1nkn35xhjgri041r980z4p5ls5g-adoptopenjdk-hotspot-bin-11.0.2/lib/libfontmanager.so | grep -i freetype
	libfreetype.so => /nix/store/ycbkq39cngzx19j829qzgdnw3mx3z78g-freetype-2.9.1/lib/libfreetype.so (0x0000795e30702000)

(cherry picked from commit 6bae07337e)
2019-03-26 23:03:18 -04:00
Silvan Mosberger
9f9465230f Merge pull request #58385 from booxter/release-19.03-turses-fix
turses: fix crash when starting with existing config file
2019-03-27 03:38:17 +01:00
ajs124
42fece18ce performous: fix build by using boost 166 (#58418)
(cherry picked from commit 910c1d05b7)
2019-03-26 21:59:51 -04:00
Dmitry Kalinkin
8de4148e61 pyarrow: remove tests that can break on darwin
(cherry picked from commit 2645454bc7)
2019-03-26 21:16:08 -04:00
Dmitry Kalinkin
afd5e8c097 pythonPackages.pyarrow: enable parallel build
(cherry picked from commit 55223a8a6a)
2019-03-26 21:16:07 -04:00
Dmitry Kalinkin
62b686a3ee pythonPackages.pyarrow: fix build
Setting setupPyBuildFlags makes builder add an additional target
"build_ext" to setup.py arguments in addition to "bdisst_wheel".
pyarrow's setup.py recently started to try to redo build_ext again which
broke the build.

(cherry picked from commit 49e9194b24)
2019-03-26 21:16:02 -04:00
Alex Guzman
02cd553092 nixos/security: make duo support secure failure correctly
seems that this got broken when the config option was made to use enums. "secure" got replaced with "enum", which isn't a valid option for the failure mode.

(cherry picked from commit 0c34b9fcf8)
2019-03-27 01:59:09 +01:00
Florian Klink
08abce5ee3 Merge pull request #58408 from andir/19.03/avahi
avahi: apply patches for CVE-2017-6519 & CVE-2018-1000845
2019-03-27 00:03:29 +01:00
Florian Klink
7f8da4dc63 Merge pull request #58413 from flokli/19.03-gitlab-11.9.1
[19.03] gitlab 11.7.5 -> 11.9.1, backport of more fixes and test improvements
2019-03-27 00:00:37 +01:00
worldofpeace
65028ce1c9 libmbim: 1.16.2 -> 1.18.0
(cherry picked from commit 005c3cffc1)
2019-03-26 23:41:26 +01:00
worldofpeace
4cec8a5fcb libqmi: 1.20.2 -> 1.22.2
Drop --enable-mbim-qmux because we have libmbim >= 1.14.0 [0]

[0]: https://gitlab.freedesktop.org/mobile-broadband/libqmi/blob/1.16.0/NEWS#L5

(cherry picked from commit fd5c74c25c)
2019-03-26 23:41:26 +01:00
worldofpeace
2b1ee54b87 modemmanager: 1.7.990 -> 1.10.0
* Add flags for systemd [0]

* Enable tests
  Though I actually didn't look to see how they're
  performed, only effort done was to get a success-
  ful build.

* Enable vala bindings

[0]: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/blob/1.8.0/NEWS#L21

(cherry picked from commit cb962e829c)
2019-03-26 23:41:26 +01:00
Florian Klink
4a5cac73ee gitlab: 11.9.0 -> 11.9.1
(cherry picked from commit dcac21bb15f8188f1e7ae87d57207308f86dd5f8)
2019-03-26 23:05:04 +01:00
Johan Thomsen
5831439bf1 nixos/gitlab: added gzip and bzip2 as dependencies for gitaly
(cherry picked from commit 292c1ce7ff)
2019-03-26 23:04:57 +01:00
Johan Thomsen
d237e19a7e nixos/gitlab: improved test to check download of repository archives
(cherry picked from commit 968d3c9c05)
2019-03-26 23:04:45 +01:00
Wael M. Nasreddine
3c11d7a1a0 gitlab-shell: export GOCACHE in the installPhase
TMPDIR, in `GOCACHE = "$TMPDIR";`, will not be intepreted  when it's set
outside of a phase.

(cherry picked from commit 483d823ec4)
2019-03-26 23:04:39 +01:00
Ben Gamari
779d204583 gitlab: 11.8.2 -> 11.9.0
(cherry picked from commit d8c16f11a6)
2019-03-26 23:03:43 +01:00
Ben Gamari
5269ccfc4b gitlab: 11.7.5 -> 11.8.2
(cherry picked from commit 0ba98bb64c)
2019-03-26 23:03:31 +01:00
Andreas Rammhold
36314bdf27 avahi: apply patches for CVE-2017-6519 & CVE-2018-1000845
(cherry picked from commit 87a762269f)
2019-03-26 21:44:07 +01:00
Ihar Hrachyshka
1502534443 turses: fix crash when starting with existing config file
Fixes #57460

(cherry picked from commit 6f525a52d0)
2019-03-26 10:49:21 -07:00
Ihar Hrachyshka
7aa9d09a23 Switch homepage for turses to louipc fork
The original repo is gone.

(cherry picked from commit c59d2d3419)
2019-03-26 10:49:10 -07:00
Robert Schütz
409b46d836 python.pkgs.cartopy: fix build (#58361)
fallout of https://github.com/NixOS/nixpkgs/pull/54182

(cherry picked from commit 29cec94d94)
2019-03-26 16:56:39 +01:00
Frederik Rietdijk
3e0d25ec91 python3: 3.7.2 -> 3.7.3
(cherry picked from commit 0ddae82e6a)
2019-03-26 16:31:54 +01:00
Frederik Rietdijk
46f7d784d7 python.pkgs.pylint: pytestrunner belongs in nativeBuildInputs
because it's in `setup_requires`. Noticed when building with `doCheck =
false;`.

(cherry picked from commit a1a4ff7471)
2019-03-26 15:33:32 +01:00
Michael Raskin
13ff17bf70 lispPackages.stumpwm: mimic Query-FS tricks for adding extra deps
(cherry picked from commit 83cb84ebc3)

This is a no-op by default (intended for easier overriding) with low risk, and
requested by a user for backporting.
2019-03-26 15:35:40 +01:00
Paul TREHIOU
0ef2bffe5b pythonPackages.block-io: remove pycryptodome version freeze (#56462)
(cherry picked from commit 64a63e5a08)
2019-03-26 12:43:10 +01:00
Pierre Bourdon
4de9915a4c ghostscript: add patch for CVE-2019-6116
This is tagged as version 9.26a in the ghostpdl repo, but unfortunately
there are no tarballs released with that version number so far. We'll
continue calling this version 9.26 for now for simplicity's sake (and we
can switch to 9.26a and remove the patch when it's properly released).

Fixes #58262
Fixes #58089

(cherry picked from commit 91c46d17d5)
2019-03-26 11:39:16 +01:00
Andreas Rammhold
c7281ba4fe Merge pull request #58034 from Mic92/thunderbird
[backport] thunderbird: 60.5.1 -> 60.6.0
2019-03-26 11:17:23 +01:00
danbst
3dedec4ab8 pkgsMusl, pkgsi686Linux, pkgsStatic: fix infinite recursion with overlays
Consider example:

$ nix-instantiate ./nixos -A system --arg configuration '
    {
      boot.isContainer = true;
      nixpkgs.overlays = [ (self: super: {
        nix = self.pkgsStatic.nix;
      }) ];
    }'

When resolving package through overlays, we figure out that

  nix == self.pkgsStatic.nix
  =>
  nix == (import <nixpkgs> { inherit overlays; }).nix
  =>
  nix == (import <nixpkgs> { overlays = [(self: super: { nix = self.pkgsStatic.nix; })];}).nix

and we enter infinite recursion of nixpkgs evaluations.

The proper fix should terminate recursion by assigning self fixpoint
to inner custom package set. But I get infinite recursion somehow, so
I use `super`. It is less correct modulo deep custom overrides, but behaves
correctly for simple cases and doesn't OOM evaluator.

Fixes https://github.com/NixOS/nixpkgs/issues/57984
2019-03-26 10:13:02 +02:00
Jan Malakhovski
e8dac0c9a0 pkgs/top-level/stage.nix: don't override overlays and config in nixpkgsFun
`nixpkgsFun` already sets them via `args`. Doing this also introduces unexpected
hard to debug errors, see the patch.
2019-03-26 10:10:12 +02:00
Robert Schütz
921b2ccff8 python.pkgs.pytest-faulthandler: fix build
fallout of https://github.com/NixOS/nixpkgs/pull/54182

(cherry picked from commit 2413b2ac87)
2019-03-26 09:04:53 +01:00
Robert Schütz
f02e43ecf9 Merge pull request #58139 from srhb/backport-click-curator-fix
Backport: elasticsearch-curator: add top-level package using older click
2019-03-26 08:09:03 +01:00
Pierre Bourdon
87221ac947 imgurbash2: 2.1 -> 3.1
(cherry picked from commit 19601561ed)
2019-03-25 21:14:37 -04:00
Maximilian Bosch
f4612a2bae citrix_receiver: remove old versions
The versions 13.8.0 and 13.9.{0,1} will be EOLed before the end of 19.03
and should be dropped.

To provide an easy upgrade path, all unsupported versions will throw an
evaluation error. All versions that are about the be EOLed can be added
there as well.

For now, all of those deprecated versions are still referenced in
`all-packages.nix`, but should be removed before the next release.

See also https://www.citrix.co.uk/support/product-lifecycle/milestones/receiver.html
2019-03-25 19:48:16 +01:00
Florian Klink
8916ac01a3 Merge pull request #58211 from andir/19.03/containers-ipv6
[19.03] fix containers ipv6
2019-03-25 19:24:10 +01:00
Gabriel Ebner
e0acf81725 evince: enable postscript support 2019-03-25 17:22:08 +01:00
Will Dietz
7228ac327d youtube-dl: 2019.03.01 -> 2019.03.18
(cherry picked from commit 0fa6ebe0a5)
2019-03-25 10:47:10 -04:00
Peter Simons
d99ad3d309 Merge pull request #58216 from srhb/fix-19.03-hfsevents
haskellPackages.hfsevents: Fix eval on Darwin hackage2nix config and temporarily
2019-03-25 14:03:19 +01:00
Will Dietz
d1b54b103b tor-browser-bundle-bin: 8.0.6 -> 8.0.8
(cherry picked from commit f114ab593e)
2019-03-25 10:43:50 +01:00
Silvan Mosberger
23fd1394dc Merge pull request #52096 from furrycatherder/davmail
nixos/davmail: init
2019-03-25 00:41:44 +02:00
Robert Schütz
d987d5daf3 setools: fix build (#58172)
(cherry picked from commit aeea929058)
2019-03-24 19:53:32 +01:00
timor
da3936396d pythonPackages.pysideTools: add python deps to propagatedBuildInputs
(cherry picked from commit de1634a36e)
2019-03-24 19:39:41 +01:00
timor
1bbc9832d6 pythonPackages.pysideTools: fix build
(cherry picked from commit 6b8f80053f)
2019-03-24 19:39:40 +01:00
timor
18e7ce4dff pythonPackages.pivy: fix build
(cherry picked from commit 17369ceae9)
2019-03-24 19:39:40 +01:00
Andreas Rammhold
fb28270210 nixos/release: make ipv6 tests as important as legacy IP tests
IPv6 container support broke a while ago and we didn't notice it. Making
them part of the (small) release test set should fix that. At this point
in time they should be granted the same amount of importance as the
legacy IP tests.

(cherry picked from commit 862615b86e)
2019-03-24 18:17:55 +01:00
rnhmjoj
883fa214d2 nixos/containers: create veths if only IPv6 is configured
This fixes the failing nixos.tests.containers-ipv6 test. Thanks to andir.

(cherry picked from commit 552e583ef0)
2019-03-24 18:17:47 +01:00
Tim Steinbach
1e3a0e0dd9 linux: Remove 4.20
Upstream has EOL'd 4.20

(cherry picked from commit e5fd7ba15c)
2019-03-24 12:18:44 -04:00
Tim Steinbach
7437bb078d linux: 5.0.3 -> 5.0.4
(cherry picked from commit b10ec4859d)
2019-03-24 12:17:37 -04:00
Tim Steinbach
d3a3aff7de linux: 4.19.30 -> 4.19.31
(cherry picked from commit 0e25209c33)
2019-03-24 12:17:37 -04:00
Sarah Brofeldt
91afd1c862 haskellPackages.hfsevents: Fix darwin eval until next regen 2019-03-24 12:16:22 +01:00
Peter Simons
daa6f1882b hackage2nix: drop broken entry for hfsevents
The package has its meta.platforms set up correctly already in cabal2nix's
post-processing code.

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

(cherry picked from commit ce5504bc74)
2019-03-24 12:12:53 +01:00
Will Dietz
ff9c3f0f26 slack: 3.3.7 -> 3.3.8
Backport of #58170
(cherry picked from commit dad85bd731)
2019-03-24 11:48:57 +01:00
Robert Schütz
a9c581ab02 python.pkgs.hypothesis: 3.88.3 -> 4.7.3 (#58169)
It looks like in 89f91cf06b the hash
from 4.7.3 was used and the wrong version specified.

(cherry picked from commit f1c7bb9d29)
2019-03-24 09:39:49 +01:00
Robert Schütz
9965ac017d python.pkgs.joblib: 0.12.4 -> 0.13.2 (#57906)
(cherry picked from commit 2c07a0800a)
2019-03-24 09:33:37 +01:00
Andreas Rammhold
ad02408c7b systemd: update debian patches url to snapshots.debian.org
The current approach will fail when enough time has passed. We ideally
want to be reproducible even in a few years of time. So we should pick
the sources of patches wisely as otherwise we can not do that.

(cherry picked from commit bb821c65ff)
2019-03-24 06:32:12 +00:00
Hlöðver Sigurðsson
b0200b75e8 fix: csound-manual by using newer git revision (#57663)
(cherry picked from commit 990eaa30d9)

cc #57663
2019-03-24 02:20:56 -04:00
Carles Pagès
fe9abc43c7 kodi: 18.0 -> 18.1
Also updated its bundled ffmpeg for a bugfix.

(cherry picked from commit cd0f0374f6)
2019-03-24 01:18:15 +01:00
Philipp Volguine
0ef73ffdbd paulstretch: init at version 2.2-2
This is a neat little program for extreme sound stretching and it was
not in the repo yet.

(cherry picked from commit e0c3c2ed52)

cc #57589 #58191
2019-03-23 19:31:49 -04:00
Christian Kögler
f6f21d87ec nixos dwm: start user installed dwm if available
dwm has no configuration file. The user has to install his own version.

(cherry picked from commit 9f7f16cd7b)
2019-03-23 23:56:28 +01:00
Maximilian Bosch
16516df953 python3Packages.irc: fix build
Adds missing `jaraco_collections` dependency. This also unbreaks
`errbot`.

See also https://hydra.nixos.org/build/90116401
Addresses #56826

(cherry picked from commit 8159a1fc75)
2019-03-23 18:25:47 +01:00
Maximilian Bosch
ef9238f961 pythonPackages.jaraco_logging: fix build
The package currently fails because of some flake8 violations. However
invalid coding style shouldn't break the Nix package.

See also https://hydra.nixos.org/build/90301692
Addresses #56826

(cherry picked from commit 18b0729790)
2019-03-23 18:25:47 +01:00
Maximilian Bosch
c222255a29 pythonPackages.jaraco_text: 2.0 -> 3.0
This fixes the dependency cycle between `jaraco_text` and
`jaraco_collections`. Reported upstream in https://github.com/jaraco/jaraco.text/issues/3

See also https://hydra.nixos.org/build/90307068
See also https://hydra.nixos.org/build/90310398
Addresses #56826

(cherry picked from commit 4c57b5e896)
2019-03-23 18:25:47 +01:00
Maximilian Bosch
105d99ad93 pythonPackages.jaraco_itertools: fix build
The package currently fails because of some flake8 violations. However
invalid coding style shouldn't break the Nix package.

See also https://hydra.nixos.org/build/90115508
Addresses #56826

(cherry picked from commit eede376d73)
2019-03-23 18:25:47 +01:00
Peter Simons
6bbde4c8e6 Merge pull request #57874 from erictapen/arbtt-0.10.2
[19.03] haskellPackages.arbtt: 0.10.1 -> 0.10.2
2019-03-23 17:08:56 +01:00
Tim Steinbach
0e35c8af3a linux: 4.14.107 -> 4.14.108
(cherry picked from commit eca0d0ad62)
2019-03-23 11:27:40 -04:00
Tim Steinbach
1098ac7a97 linux: 4.9.164 -> 4.9.165
(cherry picked from commit d10015ea4f)
2019-03-23 11:27:40 -04:00
Tim Steinbach
4a527a9a8d linux: 4.4.176 -> 4.4.177
(cherry picked from commit ece2d7d6a0)
2019-03-23 11:27:39 -04:00
Pascal Wittmann
37c8939b00 japser: 2.0.14 -> 2.0.16
(cherry picked from commit 96e93d6fa0)
2019-03-23 14:20:22 +01:00
Pascal Wittmann
638216c392 stuntrally: 2.6 -> 2.6.1
(cherry picked from commit ad73d46d81)
2019-03-23 14:13:12 +01:00
Andreas Rammhold
d0335875f1 powerdns: 4.1.6 -> 4.1.7
This addresses CVE-2019-3871. The details of the issue can be retrieved
from the official announcement page [0].

[0] https://docs.powerdns.com/authoritative/security-advisories/powerdns-advisory-2019-03.html

(cherry picked from commit f4e9e42725)
2019-03-23 11:38:20 +01:00
Frederik Rietdijk
5dfa44a783 python35 -> 3.5.6 -> 3.5.7
(cherry picked from commit 2cc6444113)
2019-03-23 09:18:00 +01:00
Andreas Rammhold
8408b94135 Merge pull request #58157 from andir/19.03/firefox
[19.03] firefox: 66.0 -> 66.0.1, firefox-esr-60: 60.6.0esr -> 60.6.1esr
2019-03-23 09:01:58 +01:00
Felix Biggs
149e1d36bf doc/python: remove unnecessary let statement
(cherry picked from commit 1e86c0a7df)
2019-03-22 22:27:06 -04:00
Andreas Rammhold
2bfd217a69 firefox-bin: 66.0 -> 66.0.1
(cherry picked from commit bf0715aeb8)
2019-03-23 01:50:48 +01:00
Andreas Rammhold
c5cd561760 firefox-esr-60: 60.6.0esr -> 60.6.1esr
(cherry picked from commit 3e7b029ab7)
2019-03-23 01:50:45 +01:00
Andreas Rammhold
e27500cacd firefox: 66.0 -> 66.0.1
(cherry picked from commit e716a952cd)
2019-03-23 01:50:42 +01:00
Robert Schütz
a1d14f31b3 elasticsearch-curator: add top-level package using older click
See https://github.com/NixOS/nixpkgs/pull/58023 for a discussion
of why this is necessary. The upstream issue can be found at
https://github.com/elastic/curator/pull/1280.

(cherry picked from commit c0409de98d)
2019-03-22 20:14:18 +01:00
Robert Schütz
cd751c4189 python.pkgs.click: make patch version-agnostic
(cherry picked from commit 0b87a56015)
2019-03-22 20:14:15 +01:00
Herwig Hochleitner
392e8f8edb chromium: 73.0.3683.75 -> 73.0.3683.86
(cherry picked from commit ea34ad0e43)
2019-03-22 19:34:36 +01:00
(cdep)illabout
857d066376 Fix cudatoolkit building on non-sandboxed systems
This fixes cudatoolkit building on non-sandboxed system.

The cudatoolkit tests run each of the CUDA binaries as a small smoke
test just to make sure they all can at least somewhat run.

However, the `cuda-gdb` binary doesn't run correctly on non-sandboxed
systems because it picks up versions of Python from /usr/lib.

This PR disables the smoke tests for now.  They should be re-enabled
when we figure out how to make them work for cuda-gdb on non-sandboxed
systems.

This PR is for #57939.

(cherry picked from commit 7942c79c69)
2019-03-22 19:34:36 +01:00
Andreas Rammhold
2d78754c7e subversion_1_10: 1.10.3 -> 1.10.4
bugfix release for CVE-2018-11803 [0].

[0] https://subversion.apache.org/security/CVE-2018-11803-advisory.txt

(cherry picked from commit a6bb05be45)
2019-03-22 19:26:06 +01:00
Will Dietz
b50bf3af83 sssd: 1.16.3 -> 1.16.4
https://docs.pagure.org/SSSD.sssd/users/relnotes/notes_1_16_4.html

CVE-2019-3811, see notes.

Backport of #58076
(cherry picked from commit 9595eb1b6d)
2019-03-22 19:01:32 +01:00
Antoine Eiche
8002a7f1e4 dockerTools.buildImage.runAsRoot: preserve layers ordering at image unpacking
This patch preserves the ordering of layers of a parent image when the
image is unpacked.

Fixes #55290

(cherry picked from commit fe6860800b)
2019-03-22 18:14:45 +01:00
Antoine Eiche
a25ad68a55 openstackImage: set the / fsType to reenable root FS resizing
Since 34234dcb51, the reisizefs tool is
embeded only if the `fsType` starts with `ext`. The default `fsType`
value is `auto`.

(cherry picked from commit f116d046f6)
2019-03-22 14:45:51 +01:00
Vladimír Čunát
cccb3b6d47 nixos docs: run the formatting tool (no content change)
As documented in the docs themselves :-)
2019-03-22 14:39:40 +01:00
Vladimír Čunát
511a731f76 nixos docs: improve GPU driver documentation
I'm not 100% sure about the incompatibility lines,
but I believe it's better to discourage these anyway.
If you find better information, feel free to amend...

The 32-bit thing is completely GPU-agnostic, so I can't see why we had
it separately for proprietary drivers and missing for the rest.

(cherry picked from commit 11d204a9c4)
2019-03-22 14:33:47 +01:00
Gabriel Ebner
f5e7da91cf elan: 0.7.4 -> 0.7.5
(cherry picked from commit 11318d1ba2)
2019-03-22 11:21:45 +01:00
Robert Schütz
ced961a914 python.pkgs.envs: fix build
(cherry picked from commit 76bfc09ff3)
2019-03-22 11:01:39 +01:00
Robert Schütz
176f00b1ca python.pkgs.pytest-server-fixtures: fix build
(cherry picked from commit dc884633a4)
2019-03-22 11:01:16 +01:00
Robert Schütz
64230fa6a7 python.pkgs.retry: init at 0.9.2
(cherry picked from commit d716cad907)
2019-03-22 11:01:16 +01:00
Robert Schütz
cfe9cc1f22 python.pkgs.suds-jurko: use pytest_3
(cherry picked from commit 77ab98861c)
2019-03-22 11:01:16 +01:00
Robert Schütz
de4b0ab5a8 python.pkgs.tilestache: fix build
(cherry picked from commit 48d1219a92)
2019-03-22 11:01:16 +01:00
Robert Schütz
3560766a3a python.pkgs.python-mapnik: fix build
fallout of https://github.com/NixOS/nixpkgs/pull/54182

(cherry picked from commit 8519983a31)
2019-03-22 11:01:16 +01:00
Jörg Thalheim
2b3c67de90 nix-review: 1.0.5 -> 2.0.0
(cherry picked from commit eb5afaf06b)
2019-03-22 07:06:33 +00:00
aszlig
a36b965ede Merge overlayfs fix, LTS kernel bump and test
In Linux 4.19 there has been a major rework of the overlayfs
implementation and it now opens files in lowerdir with O_NOATIME, which
in turn caused issues in our VM tests because the process owner of QEMU
doesn't match the file owner of the lowerdir.

The crux here is that 9p propagates the O_NOATIME flag to the host and
the guest kernel has no way of verifying whether that flag will lead to
any problems beforehand.

There is ongoing work to possibly fix this in the kernel, but it will
take a while until there is a working patch and consensus.

So in order to bring our default kernel back to 4.19 and of course make
it possible to run newer kernels in VM tests, I'm merging a small QEMU
patch as an interim solution, which we can drop once we have a working
fix in the next round of stable kernels.

Now we already had Linux 4.19 set as the default kernel, but that was
subsequently reverted in 048c36ccaa
because the patch we have used was the revert of the commit I bisected a
while ago.

This patch broke overlayfs in other ways, so I'm also merging in a VM
test by @bachp, which only tests whether overlayfs is working, just to
be on the safe side that something like this won't happen in the future.

Even though this change could be considered a moderate mass-rebuild at
least for GNU/Linux, I'm merging this to master, mainly to give us some
time to get it into the current 19.03 release branch (and subsequent
testing window) once we got no new breaking builds from Hydra.

Cc: @samueldr, @lheckemann

Fixes: https://github.com/NixOS/nixpkgs/issues/54509
Fixes: https://github.com/NixOS/nixpkgs/issues/48828
Merges: https://github.com/NixOS/nixpkgs/pull/57641
Merges: https://github.com/NixOS/nixpkgs/pull/54508
(cherry picked from commit 12efcc2dee)
2019-03-22 00:55:05 +01:00
Wael Nasreddine
83734065f2 buildGoModule: remove SSL env vars in favor of cacert in buildInputs (#58082)
cacert already exposes NIX_SSL_CERT_FILE in its setupHook. Fetchers and builders are already setup to use this variable and there's no need to export them manually.

(cherry picked from commit 6d7d69ff3e)
2019-03-21 14:49:41 -07:00
Simon Lackerbauer
eee28af866 atlassian-confluence: 6.14.1 -> 6.14.2
CVE-2019-3395, CVE-2019-3396

(cherry picked from commit 5ef5bbcd46)
2019-03-21 14:08:13 +00:00
taku0
7507b43eba thunderbird: 60.5.2 -> 60.6.0
(cherry picked from commit 3c83eb43a5)
2019-03-21 11:53:33 +00:00
taku0
f32e237b5b thunderbird: 60.5.1 -> 60.5.2
(cherry picked from commit 202f713153)
2019-03-21 11:53:25 +00:00
Dmitry Kalinkin
b81f43c9c7 pythonPackages.pyhepmc: fix build
(cherry picked from commit 283a124ee4)
2019-03-21 09:50:59 +00:00
Jörg Thalheim
1db1951088 glibcLocales: also build C.UTF-8
Previously we only build C.UTF-8 as part of the locale-archive
that comes with the glibc core package.
However for consistent use of LANG=C.UTF-8 we also want support
in our glibcLocales as well.
fixes https://github.com/NixOS/nixpkgs/issues/57974

(cherry picked from commit 467f0f9f3a)
2019-03-21 09:41:53 +00:00
Robert Schütz
746f6feead python.pkgs.hglib: use patch to specify hg path (#57926)
(cherry picked from commit 19aaebe419)
2019-03-21 09:50:46 +01:00
Robert Schütz
f530a40d0b python.pkgs.mecab-python3: correct meta
(cherry picked from commit deb20c14a2)
2019-03-21 09:45:59 +01:00
Robert Schütz
3594a2d44c python.pkgs.mecab-python3: fix build
fallout of https://github.com/NixOS/nixpkgs/pull/54182

(cherry picked from commit 06bcb5c21b)
2019-03-21 09:45:51 +01:00
Miguel Bernadin
60e937361d terraform_0_11: 0.11.11 -> 0.11.13 2019-03-21 07:50:42 +00:00
Janne Heß
c9c188475b tt-rss-theme-feedly: Package additional themes 2019-03-21 07:21:49 +00:00
Matthew Harm Bekkema
6f2fc31837 flatpak: Fix bubblewrap paths for icon-validator
Otherwise, `flatpak-validate-icon --sandbox` gives error:
  bwrap: Can't find source path /etc/ld.so.cache: No such file or directory

(cherry picked from commit f2d6e4ab04)
2019-03-21 02:32:34 -04:00
worldofpeace
41c989c141 wire-desktop: 3.6.2885 -> 3.7.2891
Wire uses Electron 4.08 and support for i686-linux
has been dropped in 4.0  [0]

Release Notes:
https://medium.com/wire-news/linux-3-7-2891-edc6f663c0b2

Changelog:
https://github.com/wireapp/wire-desktop/compare/linux/3.6.2885...linux/3.7.2891

[0]: https://electronjs.org/blog/linux-32bit-support

(cherry picked from commit 23568a1ed3)
2019-03-20 23:11:58 -04:00
Justin Humm
31a5868352 haskellPackages.arbtt: 0.10.1 -> 0.10.2
This is a backport of e98e4d21fa and
7c04e3eb75 to make arbtt build again.
2019-03-21 00:17:45 +01:00
Carles Pagès
91cb80e439 duckmarines: fix build
Actually updated to 1.0c. Prevent hydra from building it.

(cherry picked from commit d918001898)
2019-03-20 23:23:48 +01:00
Graham Christensen
13f0045ddc libguestfs: build without the appliance
(cherry picked from commit 47c3469de3)
2019-03-20 16:31:31 -04:00
Gabriel Ebner
13a2f37442 elan: 0.7.2 -> 0.7.4
This fixes a bug with the github integration, the old version no longer
works due to github changes.

(cherry picked from commit 52c3ee6c4d)
2019-03-20 13:37:00 +01:00
Sarah Brofeldt
4f6080c369 pythonPackages.elasticsearch-curator: Jailbreak click (#57912)
(cherry picked from commit f6e1221e8d)
2019-03-20 13:30:53 +01:00
Jaakko Luttinen
42af922e85 pythonPackages.can: 3.0.0 -> 3.1.0
(cherry picked from commit 0a41afaecd)
2019-03-20 12:53:34 +01:00
R. RyanTM
19ad18695e python37Packages.telethon: 1.5.5 -> 1.6.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-telethon/versions

(cherry picked from commit 2fd5f716dc)
2019-03-20 12:25:23 +01:00
nyanloutre
199a8e7ac8 mautrix-telegram: 0.4.0.post1 -> 0.5.0
(cherry picked from commit 3fa5e2bab6)
2019-03-20 12:25:23 +01:00
nyanloutre
622bb133c2 pythonPackages.telethon-session-sqlalchemy: 0.2.9.post1 -> 0.2.14
(cherry picked from commit 0f266d1e4c)
2019-03-20 12:25:23 +01:00
Florian Klink
3574dbb976 Merge pull request #57930 from andir/19.03/firefox
[19.03] firefox 65.0.2 -> 66, 60.5.2esr -> 60.6.0esr, firefox-bin: 65.0.2 -> 66.0
2019-03-20 02:24:19 +01:00
Andreas Rammhold
543209e4a5 firefox-esr-60: 60.5.2esr -> 60.6.0.esr
(cherry picked from commit 94d9400b4d)
2019-03-20 00:01:59 +01:00
Andreas Rammhold
a692224365 firefox-bin: 65.0.2 -> 66.0
(cherry picked from commit a1cd934ba3)
2019-03-20 00:01:50 +01:00
Andreas Rammhold
16b6bc8b0d firefox: 65.0.2 -> 66.0
(cherry picked from commit dafe9c3cb0)
2019-03-20 00:01:44 +01:00
Andreas Rammhold
c57b9814b7 firefox: support building firefox 66 (and 60.6+)
(cherry picked from commit d64d42f12d)
2019-03-20 00:01:39 +01:00
Andreas Rammhold
52470e2687 rust-cbindgen: add andir (myself) as maintainer
(cherry picked from commit b6fff67587)
2019-03-20 00:01:32 +01:00
Andreas Rammhold
5a0522418a rust-cbindgen: 0.6.7 -> 0.8.0
(cherry picked from commit f10d6564ea)
2019-03-20 00:01:21 +01:00
Robert Helgesson
4cdbe8befc openshift: remove obsolete comment
(cherry picked from commit c18bb57627)
2019-03-19 23:29:28 +01:00
rnhmjoj
31d6c5cdec nixos/tests/predictable-interfaces: fix failure on aarch64
(cherry picked from commit 0279449209)
2019-03-19 23:21:08 +01:00
aszlig
8b93cc45ff ip2unix: 2.0.0 -> 2.0.1
Upstream fixes:

  - Unregister socket as soon as we know that no rule matches.

I also removed the encode_rules() function which was an artifact left in
version 2.0.0.

Built and tested on i686-linux and x86_64-linux.

Signed-off-by: aszlig <aszlig@nix.build>
(cherry picked from commit 6dc9f79c0f)
Reason: Without this fix, ip2unix is pretty much useless for more
        substantial services.
2019-03-19 22:45:11 +01:00
aszlig
e48495f132 lastwatch: Remove no longer maintained package
I no longer use nor do I maintain this package upstream and with the
current version of pylast moving to Python 3, this package is hereby
obsolete as I'm not willing to port this to Python 3.

Signed-off-by: aszlig <aszlig@nix.build>
(cherry picked from commit 7c3311d152)
2019-03-19 22:44:42 +01:00
Robert Schütz
ee7297065e python.pkgs.mt-940: 4.13.0 -> 4.13.2
(cherry picked from commit 1ca05690c6)
2019-03-19 22:30:41 +01:00
Alyssa Ross
d2e06acd73 python3Packages.priority: fix build (#57807)
(cherry picked from commit bc3e7f875e)
2019-03-19 22:29:13 +01:00
Alyssa Ross
65fd49fb27 python36Packages.hpack: fix build (#57808)
(cherry picked from commit c357b53763)
2019-03-19 22:26:58 +01:00
zimbatm
85d208ef3c pythonPackages.invoke: patch the default bash path
Use a reasonable path :)

(cherry picked from commit 921f10f4fc)
2019-03-19 22:10:23 +01:00
Robert Schütz
ba7bf6b31e python.pkgs.msrest: fix build on python2
(cherry picked from commit d338fc1583)
2019-03-19 22:03:45 +01:00
Jörg Thalheim
9055e34fe1 python3.pkgs.python-engineio: 3.0.0 -> 3.4.3
fixes build of python-socketio

(cherry picked from commit f94dc01e75)
2019-03-19 17:18:02 +01:00
Robert Schütz
fe76cf8e60 python.pkgs.msrest: cleanup
I accidentally pushed fcf74c6 in a premature state.

(cherry picked from commit 0cbe2fa18c)
2019-03-19 16:47:41 +01:00
Robert Schütz
5d15bf5c4c python.pkgs.msrest: 0.6.2 -> 0.6.4
(cherry picked from commit fcf74c6dc0)
2019-03-19 16:47:40 +01:00
Robert Schütz
9cc637a90e python.pkgs.aiodns: 1.2.0 -> 2.0.0
(cherry picked from commit fc172b3590)
2019-03-19 16:46:04 +01:00
Robert Schütz
789b88a940 python.pkgs.pycares: 2.4.0 -> 3.0.0
(cherry picked from commit 99cd4a1063)
2019-03-19 16:43:41 +01:00
Robert Schütz
ab98ab46eb python.pkgs.simpleparse: fix build
(cherry picked from commit 5c52dcf1d9)
2019-03-19 16:43:41 +01:00
Ryan Mulligan
8ae5486cfe COPYING: include 2019
(cherry picked from commit a46b89df91)
2019-03-19 16:09:13 +01:00
Tim Steinbach
bf3c195582 linux: 5.0.2 -> 5.0.3
(cherry picked from commit 6a9896b411)
2019-03-19 08:56:48 -04:00
Tim Steinbach
987ea4c4d4 linux: 4.20.16 -> 4.20.17
(cherry picked from commit 4adf858377)
2019-03-19 08:56:47 -04:00
Tim Steinbach
c825895ba4 linux: 4.19.29 -> 4.19.30
(cherry picked from commit b1c72326ce)
2019-03-19 08:56:47 -04:00
Tim Steinbach
eba2015696 linux: 4.14.106 -> 4.14.107
(cherry picked from commit 08414dd72e)
2019-03-19 08:56:47 -04:00
Tim Steinbach
80bf4a76ba linux: 4.9.163 -> 4.9.164
(cherry picked from commit 9e2adb4e36)
2019-03-19 08:56:47 -04:00
Robert Hensing
f00bd2260a Merge branch 'ngrok-update-backport' into release-19.03 2019-03-19 11:17:53 +01:00
Robert Hensing
7c7e08391d ngrok-2: 2.2.8 -> 2.3.18 2019-03-19 11:17:05 +01:00
Robert Hensing
8c1f218753 ngrok-2: Use stable channel 2019-03-19 11:17:05 +01:00
Robert Hensing
e767654808 ngrok-2: Fix URLs and automate 2019-03-19 11:17:05 +01:00
Robert Schütz
4649b763ec python.pkgs.cairocffi: make withXcffib work again (#57855)
(cherry picked from commit 180c68d88a)
2019-03-19 10:20:34 +01:00
Robert Schütz
15ac1b997f python.pkgs.pyalgotrade: fix build
(cherry picked from commit 4cf0a12d34)
2019-03-19 10:03:54 +01:00
Robert Schütz
5b2f46fa1d python.pkgs.ws4py: enable for all Python versions
(cherry picked from commit ae5b83683a)
2019-03-19 10:03:54 +01:00
worldofpeace
8e21b831f6 pantheon.contractor: add wrapGAppsHook
Probably got tossed out somehow.

(cherry picked from commit d04c4ff1c2)
2019-03-18 23:33:42 -04:00
worldofpeace
dafdf38643 pantheon.wingpanel: 2.2.2 -> 2.2.3
(cherry picked from commit 201de89641)
2019-03-18 23:33:39 -04:00
worldofpeace
acb0b4b948 pantheon.switchboard-plug-security-privacy: 2.2.0 -> 2.2.1
https://github.com/elementary/switchboard-plug-security-privacy/releases/tag/2.2.1
(cherry picked from commit 735b047ead)
2019-03-18 23:33:35 -04:00
worldofpeace
953f3099f4 pantheon.elementary-code: 3.1.0 -> 3.1.1
https://github.com/elementary/code/releases/tag/3.1.1
(cherry picked from commit 5b2d2abd3c)
2019-03-18 23:33:31 -04:00
Michael Weiss
2a7c3484fd Merge pull request #57877 from primeos/backports
[19.03] python.pkgs.distro: Re-enable the package
2019-03-18 21:45:08 +01:00
Michele Guerini Rocco
7827ea7e7f arx-libertatis: 2018-08-26 -> 2019-02-16 (#57873)
(cherry picked from commit d10f3e985a)
2019-03-18 21:17:41 +01:00
Michael Weiss
c857cab708 python.pkgs.distro: Re-enable the package for now
Most tests are fine (only 20 out of 173 fail, 10 because lsb_release is
not available or returns exit code 3 and the other 10 might also fail
due to the sandboxed build environment).
Manual tests show that distro works as intended in a normal environment.

See 9382d2ea76

(cherry picked from commit 871cd756c8)
Reason: The package works as expected outside of the build sandbox and
the packages google-cloud-sdk-gce and google-compute-engine depend on it
(and soon also gns3-gui and gns3-server).
2019-03-18 21:12:35 +01:00
Stephen
74e25d2f53 commandergenius: update and move to gitlab (#57740)
update and move to gitlab (repo has moved)
update fixes build (https://hydra.nixos.org/build/90482453/nixlog/2) for #56826

(cherry picked from commit 84903aa354)
2019-03-18 19:51:38 +01:00
Léo Gaspard
d6dca3a9fc Merge branch 'pr-57865' into release-19.03
* pr-57865:
  PuTTY: 0.70 -> 0.71
2019-03-18 19:05:48 +01:00
Tor Hedin Brønner
6a0bc214a4 meld: fix checkPhase
Needs some more inputs after checkInputs went native.

(cherry picked from commit 99fac0a967)
(cherry picked from commit 4a75888544)
2019-03-18 18:55:47 +01:00
Andreas Rammhold
9fea0be389 Merge pull request #57570 from andir/19.03/nodejs
[19.03] nodejs_{6,8,10,11}_x: update, security fixes
2019-03-18 18:52:52 +01:00
Will Dietz
ac40691ad3 ghc*Binary: use $OBJCOPY when invoking objcopy (touchup musl fix)
(cherry picked from commit 93e3eecdb3)
2019-03-18 12:45:07 -05:00
Will Dietz
8830b12dc8 ghc{822,863}Binary: fix to work w/musl again, __strdup -> strdup
(cherry picked from commit 9a10434f4d)
2019-03-18 12:45:05 -05:00
Daniel Frank
c6733c5c3e PuTTY: 0.70 -> 0.71
(cherry picked from commit 9d95c9d78f)
2019-03-18 18:33:29 +01:00
Jörg Thalheim
e0e29a5996 Merge pull request #57805 from kalbasit/nixpkgs_backport-build-go-module
buildGoModule: backport the new Go infrastructure to release 19.03
2019-03-18 16:35:40 +00:00
Sarah Brofeldt
7ec0f48526 pythonPackages.secretstorage: 3.1.0 -> 3.1.1 (#57857)
(cherry picked from commit 379ff387f4)
2019-03-18 17:25:40 +01:00
Vladyslav M
a456b83d41 buildGoModule: Allow pname attribute (#57787)
(cherry picked from commit 832eb2559d)
2019-03-18 09:03:11 -07:00
Robert Schütz
d6d09313aa bonfire: use pytest_3
Otherwise, tests fail with
> Failed: [pytest] section in setup.cfg files is no longer supported, change to [tool:pytest] instead.

(cherry picked from commit 8f115c02a5)
2019-03-18 16:58:16 +01:00
Sarah Brofeldt
db7dc9472f jl: Patch to work with MonadFail GHC 8.6 change
Backport of #57284
(cherry picked from commit 79e3dcb013)
2019-03-18 16:49:44 +01:00
Robert Schütz
0dd99c0fa0 python.pkgs.mysqlclient: fix build
fallout of https://github.com/NixOS/nixpkgs/pull/54182
fixes https://github.com/NixOS/nixpkgs/issues/57263

(cherry picked from commit ea7885fd7a)
2019-03-18 15:58:19 +01:00
Robert Schütz
57e067f544 csvkit: move out of pythonPackages
From https://csvkit.readthedocs.io/en/1.0.3/index.html:
> csvkit is a suite of *command-line tools* for [...]

(cherry picked from commit 5e39aa231a)
2019-03-18 15:50:27 +01:00
Robert Schütz
b5bf9f3063 python.pkgs.agate-excel: 0.2.2 -> 0.2.3
(cherry picked from commit b1454f587e)
2019-03-18 15:50:27 +01:00
Michael Peyton Jones
757bbe726f generic Haskell builder: don't copy packages from GHC
In order to build the package databases that we will use when compiling
a Haskell package, we iterate over the relevant dependencies, and if
they contain a package db, we copy its contents over.

So far so good, except when one of those dependencies is GHC. This
doesn't happen ordinarily, but it will happen when we construct the
package database for compiling `Setup.hs`.  This is compiled for the
build architecture, so we get the build deps, including both the native
and the cross GHC (if there is one).

In this case, we end up copying the packages from the GHC's package
database. This is at best unnecessary, since we will get those packages
from the GHC when we compile with it.

At worst, however, this is semantically questionable. We can end up
having multiple copies of e.g. Cabal with the same version, but
(potentially) different contents. At the moment, GHC will expose one of
these at semi-random depending on which one it looks at "first".
However, there is a MR open [in
GHC](https://gitlab.haskell.org/ghc/ghc/merge_requests/545) which as a
side effect will instead expose both, leading to ambiguous module
warnings (which is not unreasonable, since it *is* ambiguous).

So what can we do about it? The simplest solution is just to not copy
the package databases from GHC. GHC is special in this regard, so I
think it's okay to treat it specially.

This PR should have no effect on anything now, but will prevent any
breakage when/if the GHC patch lands.

Closes https://github.com/NixOS/nixpkgs/pull/57706.

(cherry picked from commit 387c513d12)
2019-03-18 12:09:20 +01:00
worldofpeace
b2b2ff7378 pythonPackages.rabbitypy: nitpicks
(cherry picked from commit d630716229)
2019-03-17 17:49:58 -04:00
Josef Kemetmüller
0e6990d225 pythonPackages.rabbitpy: Fix build
(cherry picked from commit 2016b37495)
ZHF: https://github.com/NixOS/nixpkgs/issues/56826
2019-03-17 17:49:45 -04:00
Wael M. Nasreddine
3121c905f4 buildGoModule: function for packaging Go modules
The function buildGoModule builds Go programs managed with Go modules. It builds
a Go module through a two phase build:

- An intermediate fetcher derivation. This derivation will be used to
  fetch all of the dependencies of the Go module.
- A final derivation will use the output of the intermediate derivation
  to build the binaries and produce the final output.

(cherry picked from commit 28435e47b1)
2019-03-17 08:53:40 -07:00
Wael M. Nasreddine
ec8ba3e101 buildGoPackage: move it under a different path
This change moves buildGoPackage from pkgs/development/go-modules to
pkgs/development/go-packages, so we can have buildGoModule at
pkgs/development/go-modules.

(cherry picked from commit a0d835e95d)
2019-03-17 08:52:59 -07:00
Timo Kaufmann
6a3a05560a sage: backport bugfix (#57795)
(cherry picked from commit 96002601a8)
2019-03-17 14:36:11 +00:00
Pascal Wittmann
673a768116 homebank: 5.2.2 -> 5.2.3 2019-03-17 12:29:54 +01:00
Alyssa Ross
43aa1bcc01 Merge commit 'refs/pull/57762/head' of https://github.com/NixOS/nixpkgs into master
(cherry picked from commit 46026e8247)
2019-03-17 11:05:10 +00:00
Mario Rodas
5b211253b2 ruby_2_6: add missing rvm patchset (#56461)
(cherry picked from commit de0373bbe2)
2019-03-17 11:04:57 +00:00
Timo Kaufmann
30d143b40f Merge pull request #57785 from timokau/tensorflow-fixes-19.03
[19.03] tensorflow py2 fixes
2019-03-17 10:50:28 +00:00
Timo Kaufmann
c42783a89f pythonPackages.tensorflow: fix python<3.4 build
This was already added for the source build, but missing for the binary
build.

(cherry picked from commit af7455b1c8)
2019-03-17 11:15:31 +01:00
Timo Kaufmann
57c8d4a663 pythonPackages.tensorflow-tensorboard: fix python2 build
Fix build after https://github.com/NixOS/nixpkgs/pull/56669. Update the
python2 hash and re-add the python2 `futures` dependency. Not sure if
there was a reason for it to be removed in the first place.

(cherry picked from commit 9e95109b89)
2019-03-17 11:15:26 +01:00
Will Dietz
1b9fbe0e12 libseccomp: 2.3.3 -> 2.4.0
https://github.com/seccomp/libseccomp/releases/tag/v2.4.0
(cherry picked from commit 862ea070aa)
PR #57669
2019-03-17 09:10:10 +01:00
worldofpeace
9aab141fba bamf: add wrapGAppsHook
(cherry picked from commit 0125544e2a)
2019-03-16 23:11:11 -04:00
Michael Raskin
973ba4a2c3 pythonPackages.pyside: fix build by passing mesa for GL/gl.h
(cherry picked from commit 20b066356a)
2019-03-17 02:02:16 +01:00
Sarah Brofeldt
d9286030a1 mitmproxy: Fix tests with pytest >= 4.x
(cherry picked from commit e1e5df688a)
2019-03-17 00:13:55 +01:00
Sarah Brofeldt
926e1b977e mitmproxy: Fix build with wsproto >= 0.13
(cherry picked from commit 3df55b80bb)
2019-03-17 00:13:55 +01:00
Timo Kaufmann
ac2ceb01b2 python.pkgs.pyzmq: disable flaky test (#57765)
Recently failed on staging.

(cherry picked from commit 4f2d842a98)
2019-03-16 21:23:32 +00:00
Claes Wallin (韋嘉誠)
1870e453dd racket: add libGL and libGLU to libPath
The sgl collection loads them over FFI.

Closes #52990

Backport of #55002
(cherry picked from commit e43a4fa9ce)
2019-03-16 19:28:21 +01:00
Timo Kaufmann
7fe3222421 pari: fix off-by-one error (#57759)
Done by applying upstream patch. Will be included in the next release.

Upstream: https://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=2117
(cherry picked from commit a648b8c714)
2019-03-16 17:54:48 +00:00
Dmitry Kalinkin
617f31e531 texlive: add veprbl to maintainers
cc #56797

(cherry picked from commit 7669144a27)
2019-03-16 12:05:06 -04:00
Peter Simons
e1cbcd02f2 Merge pull request #57749 from NixOS/haskell-updates
update Haskell package set to GHC 8.6.4 and LTS Haskell 13.13
2019-03-16 16:52:42 +01:00
Peter Simons
3642a3a69c vaultenv: disable broken build 2019-03-16 16:51:07 +01:00
Justin Humm
8a6f65cc57 haskellPackages.hakyll: bump pandoc dependency to 2.7
(cherry picked from commit b82150c8c2)
2019-03-16 16:51:07 +01:00
Peter Simons
7a1432f0f1 hedgewars: disable broken build 2019-03-16 16:51:07 +01:00
Peter Simons
96c7ea5f6d haskell-pandoc: update overrides for the new 2.7.1 version 2019-03-16 16:51:07 +01:00
Peter Simons
9e7acf8b25 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.14.2-3-gea0f0ca from Hackage revision
03067b92a4.
2019-03-16 16:51:02 +01:00
Peter Simons
fee2f975ec LTS Haskell 13.13 2019-03-16 16:51:02 +01:00
Peter Simons
5a93a33c81 all-cabal-hashes: update to Hackage at 2019-03-16T02:33:50Z 2019-03-16 16:50:11 +01:00
Peter Simons
7fde42b8eb ghc: switch our default compiler to version 8.6.4
Also, drop obsolete 8.6.x minor releases 8.6.1, 8.6.2, and 8.6.3.
2019-03-16 16:50:11 +01:00
Peter Simons
7aee383fa8 Synchronize Haskell infrastructure with master. 2019-03-16 16:50:11 +01:00
Artem Pyanykh
63fd49ed59 sphinx: re-introduce version 1.7.x so that we can compile ghc-8.4.4
ghc-8.4.4 requires sphinx < 1.8, otherwise build fails on haddock with:

    Extension error: The 'ghc-flag' directive is already registered to domain std

(cherry picked from commit f7003e5390)
2019-03-16 16:50:10 +01:00
Florian Jacob
4e8ace1a2d nixos/matrix: add manual section
about self-hosting a matrix client and server

(cherry picked from commit ef52869ef1)
2019-03-16 14:50:12 +01:00
Robert Schütz
698ce521eb python.pkgs.PyICU: fix build
fallout of https://github.com/NixOS/nixpkgs/pull/54182

(cherry picked from commit f7156588b2)
2019-03-16 09:51:30 +01:00
Vladimír Čunát
227245041f Merge #56922: nixos/knot: init basic service + tests
(cherry picked from commit 3aecf21239)
2019-03-16 09:29:20 +01:00
R. RyanTM
40d86702f1 dbeaver: 5.3.5 -> 6.0.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/dbeaver-ce/versions

(cherry picked from commit d7288572ae)
2019-03-15 21:37:51 -04:00
R. RyanTM
f7cd530a6c dbeaver: 5.3.2 -> 5.3.5
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/dbeaver-ce/versions

(cherry picked from commit 9b4ce956fb)
2019-03-15 21:37:51 -04:00
Eric Bailey
0fe9a03e3f kops: 1.11.0 -> 1.11.1 (#57079)
(cherry picked from commit 78091dffcb)
2019-03-15 23:57:29 +01:00
Robert Schütz
d697aba51b python.pkgs.ordered-set: fix build
(cherry picked from commit 8c594fc8b3)
2019-03-15 22:29:10 +01:00
Robert Schütz
73ddd3e16c python.pkgs.robotframework-tools: fix build, mark as broken on Python 3
(cherry picked from commit 790b92739d)
2019-03-15 22:16:17 +01:00
Robert Schütz
be4d31e431 python.pkgs.moretools: fix build
(cherry picked from commit b5ddc8f377)
2019-03-15 22:16:17 +01:00
Robert Schütz
9925c288dd python.pkgs.zetup: fix build
(cherry picked from commit 8eee646d96)
2019-03-15 22:16:16 +01:00
Maximilian Bosch
d9da434505 mycli: patch tests
Similar to f3c66bb31e. Due to invalid
datatypes a lot of the tests broke.

The patch is based on an upstream PR[1], but had to be modified in order
to apply on v1.19.0.

See also https://hydra.nixos.org/build/90119741
Addresses #56826

[1] https://github.com/dbcli/mycli/pull/711

(cherry picked from commit 69c21be86e)
2019-03-15 22:14:00 +01:00
Stephen
cfeda58f95 labelimg: fix build (#57714)
for #56826 see https://hydra.nixos.org/build/90477186/nixlog/2

(cherry picked from commit a14a7d958f)
2019-03-15 20:50:35 +01:00
Robert Schütz
fc433ae9ff google-music-scripts: 3.0.0 -> 4.0.1
(cherry picked from commit 12d625f119)
2019-03-15 20:26:42 +01:00
Robert Schütz
3494a89540 python3.pkgs.google-music-utils: 2.0.0 -> 2.1.0
(cherry picked from commit b1ad192bf9)
2019-03-15 20:26:41 +01:00
Robert Schütz
d2aff54508 python3.pkgs.google-music: fix build
(cherry picked from commit f06bec0e65)
2019-03-15 20:26:41 +01:00
Robert Schütz
c5e98b6353 python3.pkgs.audio-metadata: fix build
(cherry picked from commit 2f3edc1736)
2019-03-15 20:26:41 +01:00
Robert Schütz
67580252d3 python.pkgs.click-default-group: use pytest_3
(cherry picked from commit 7b045cd31b)
2019-03-15 20:26:41 +01:00
Adam Finn Tulinius
c1f0b9bb33 ipxe: 20180220 -> 20190310 (#57582)
(cherry picked from commit d835df0cbf)
2019-03-15 18:28:00 +01:00
Stephen
0464cbf178 bitcoinarmory: fix build (#57674)
for #56826 see https://hydra.nixos.org/build/90482597/nixlog/2

(cherry picked from commit 7251fc2d45)
2019-03-15 18:12:24 +01:00
Robert Schütz
7bb2b0c746 python.pkgs.django_guardian: broken on Python 2.7
See https://github.com/django-guardian/django-guardian/pull/605.

(cherry picked from commit 9905de73a4)
2019-03-15 17:52:09 +01:00
Robert Schütz
283f72a14d python.pkgs.django_guardian: simplify expression
(cherry picked from commit 6e49276182)
2019-03-15 17:52:09 +01:00
Robert Schütz
419503e2f7 python.pkgs.rasterio: fix build
fallout of https://github.com/NixOS/nixpkgs/pull/54182

(cherry picked from commit f704bee09b)
2019-03-15 17:27:13 +01:00
Robert Schütz
3f864c0250 python.pkgs.restructuredtext_lint: does not support Python 3.7 yet
(cherry picked from commit 739cf7d8ed)
2019-03-15 17:09:23 +01:00
Robert Schütz
ce9d30ca23 python.pkgs.subliminal: improve expression
(cherry picked from commit fa1ada0612)
2019-03-15 17:02:28 +01:00
Robert Schütz
6e9a5bf452 python.pkgs.pysrt: use buildPythonPackage and checkInputs
(cherry picked from commit acad55399a)
2019-03-15 17:02:28 +01:00
xeji
a8ab130ffc xorg.xload: fix build (#57665)
add missing dependency gettext

(cherry picked from commit e3357a1b5a)
2019-03-15 16:45:37 +01:00
Pavel Chuprikov
926ec7dce6 linssid: fix build (#57686)
* tell qmake about QWT, so it does not create a header target
  * set QT_PLUGIN_PATH
  * set PATH so that necessary tools are available
2019-03-15 16:28:02 +01:00
Aristid Breitkreuz
28c3ecbf7b virtualbox-host module: fix warnings syntax
(cherry picked from commit 3671047632)
2019-03-15 14:27:51 +01:00
worldofpeace
9fa2a21ba4 python.pkgs.google_api_python_client: conditionally override for python2.7
(cherry picked from commit fb2af2a574)
2019-03-15 10:21:30 +01:00
worldofpeace
497b0237a5 pythonPackages.weboob: add pyqt5 as native input
Didn't notice it wasn't there. This should make it so we
don't have to set the environment variable anymore.

(cherry picked from commit 72679615a1)
2019-03-15 10:21:29 +01:00
Michael Raskin
c6e60578b6 Merge pull request #57266 from NixOS/libreoffice-update
libreoffice: 6.1.4.2 -> 6.1.5.2, 6.2.1.2
(cherry picked from commit d8d9a520b3)
2019-03-15 09:27:42 +01:00
Pascal Wittmann
8238393bec Merge pull request #57165 from NixOS/fix-xfstests
Fix build of xfstests (19.03)
2019-03-15 09:11:27 +01:00
Pascal Wittmann
009976d1b9 haskellPackages.xattr: fix build with attr-2.4.48 (see ##53716)
(cherry picked from commit 57afc591b3)
2019-03-15 09:10:07 +01:00
Pascal Wittmann
7c6eea87f2 Merge pull request #57289 from NixOS/fix-ima-evm-utils-build
ima-evm-utils: apply upstream fix for attr-2.4.48 compatibility (19.03)
2019-03-15 08:59:47 +01:00
Pascal Wittmann
779ef93e8c Merge pull request #57282 from NixOS/add-ghc-8.6.4
Add GHC 8.6.4
2019-03-15 08:47:25 +01:00
R. RyanTM
ac24779e76 offlineimap: 7.2.2 -> 7.2.3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/offlineimap/versions

(cherry picked from commit 1b61380bf3)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-03-15 02:52:16 +01:00
worldofpeace
038533614f nixos/pantheon: more mkDefault
(cherry picked from commit 36d4dba317)
2019-03-14 20:30:06 -04:00
worldofpeace
96d4808fb5 nixos/pantheon: cleanup systemPackages
We don't need gnome-bluetooth because its executables
path is already hardcoded into the contractor file, as that's
the only place it is needed.
Don't think we need gnome-power-manager either.

Also add programs like geary to removePackagesByName.

(cherry picked from commit c41a2d28d3)
2019-03-14 20:30:03 -04:00
Jos van Bakel
8a124a33dd pythonPackages.pyrr: 0.10.1 -> 0.10.2 (#57661)
(cherry picked from commit 2c4e220e71)
2019-03-14 22:20:11 +01:00
Stephen
5875f87c75 altcoins.freicoin: fix build (#57647)
(cherry picked from commit fb81978ed3)
2019-03-14 22:12:36 +01:00
Ihar Hrachyshka
9388fc9a56 xscreensaver: Enable perl modules needed for RSS image fetch (#57629)
(cherry picked from commit 4730466366)
2019-03-14 22:13:56 +01:00
xeji
49c59d7d0f Merge pull request #57652 from etu/release-19.03-php-updates
Release 19.03 php updates
2019-03-14 21:44:48 +01:00
Stephen
62e659a372 apmplanner2: fix build
see ArduPilot/apm_planner#1166

(cherry picked from commit 08e4d7cf69)
2019-03-14 16:14:27 -04:00
Alyssa Ross
1cb35bacf4 linux_latest-libre: fix build
Fixes https://github.com/NixOS/nixpkgs/issues/56890.

(cherry picked from commit 0ca13abcb8)
2019-03-14 20:09:08 +01:00
Izorkin
8cc9242ed1 php73: 7.3.2 -> 7.3.3
(cherry picked from commit 768bb1724e)
2019-03-14 19:24:01 +01:00
Izorkin
5134555441 php72: 7.2.15 -> 7.2.16
(cherry picked from commit c6290e381f)
2019-03-14 19:23:57 +01:00
Izorkin
2fa46ddfa0 php71: 7.1.26 -> 7.1.27
(cherry picked from commit 627275399c)
2019-03-14 19:23:53 +01:00
Matthew Bauer
e67e5880cf plasma5: fix typo from pr #57037
Thanks @Yarny0

(cherry picked from commit b703c4d998)
2019-03-14 14:11:06 -04:00
Tim Steinbach
e6b124b3b5 linux: 5.0.1 -> 5.0.2
(cherry picked from commit c22922e251)
2019-03-14 09:14:46 -04:00
Tim Steinbach
ab76f1ed6f linux: 4.20.15 -> 4.20.16
(cherry picked from commit ef53c6dd07)
2019-03-14 09:14:45 -04:00
Tim Steinbach
6a85b29643 linux: 4.19.28 -> 4.19.29
(cherry picked from commit 82d6e57943)
2019-03-14 09:14:45 -04:00
Tim Steinbach
7a7c7f9e2a linux: 4.14.105 -> 4.14.106
(cherry picked from commit 85924d84fc)
2019-03-14 09:14:45 -04:00
Tim Steinbach
80c9c19434 linux: 4.9.162 -> 4.9.163
(cherry picked from commit c130cb7374)
2019-03-14 09:14:45 -04:00
Anton Kindestam
e750a2ed44 qt512: patch qtwebengine against CVE-2019-5786
(cherry picked from commit b22d92fb6d)
2019-03-14 13:59:14 +01:00
Maximilian Bosch
ed21cf9870 nixos/nixos-install: tell the user what to do if setting a root password failed
If setting a root password using the `passwd` call in the
`nixos-install` script fails, it should be explained how set it manually
to ensure that nobody gets accidentally locked out of the system.

(cherry picked from commit eaf98c7bcf)
2019-03-14 12:27:55 +01:00
nyanloutre
97042d883f electron-cash: 3.3.2 -> 3.3.6
Missing dependency and cleanup of the build process

(cherry picked from commit 32c205789e)
2019-03-14 12:20:05 +01:00
nyanloutre
3eb63d1219 pythonPackages.qdarkstyle: init at 2.6.5
(cherry picked from commit 9b9f4d9005)
2019-03-14 12:16:21 +01:00
worldofpeace
9055b33db0 lightdm: disable writing dmrc files to home
Can cause issues where lightdm prefers the last saved session in .dmrc
even if it doesn't exist anymore, preventing people from logging in to
a session.

(cherry picked from commit 44298e76d5)
This can prevent people from starting a session and we don't want that
to happen to anyone using stable.
2019-03-13 21:23:51 -04:00
Edmund Wu
7aa1dd4004 vscode: 1.32.1 -> 1.32.2
(cherry picked from commit 50fd532188)
2019-03-13 20:43:07 -04:00
Maximilian Bosch
68c73b977f python3Packages.pyopencl: fix build
Fix the recently broken build by adding `pybind11`
to the build. Also set $HOME to a temporary directory during the build
to avoid "Permission denied" errors in the build script.

This also unbreaks `sasview` and `pybitmessage`.

See also #56826
See also https://hydra.nixos.org/build/89037506

(cherry picked from commit d2379192b5)
2019-03-14 00:12:34 +01:00
Maximilian Bosch
2d8b128fff pythonPackages.pybind11: apply patch to properly get headers directories
It seems as the `pybind11` build code returns the Python headers
directory (where the `pybind11` headers are stored as well on traditional
setups) rather than returning the dedicated prefix[1].

An exemplary fallout is the broken build of `pyopencl`[2].

[1] https://github.com/pybind/pybind11/issues/1425
[2] https://github.com/NixOS/nixpkgs/pull/56082

(cherry picked from commit 94c3ac2574)
2019-03-14 00:12:34 +01:00
Robert Schütz
cdc714fe4a python.pkgs.cairosvg1: remove
Make python2.pkgs.cairosvg refer to what previously was cairosvg1 instead.

(cherry picked from commit f721655455)
2019-03-13 23:50:17 +01:00
Robert Schütz
3274b1de0f python3.pkgs.cairosvg: 2.2.1 -> 2.3.0
(cherry picked from commit 01cb9b01b8)
2019-03-13 23:45:31 +01:00
Alexander V. Nikolaev
56818208d4 pythonPackages.cairocffi: support 1.0 and 0.9
This patch ensures that Python2 can be used if cairocffi is used.
Version 1.0 dropped Python 2 support.

(cherry picked from commit e878fd6f5f)
2019-03-13 23:45:31 +01:00
Maximilian Bosch
ab89b6b45b pythonPackages.thumbor: 6.6.0 -> 6.7.0
This patch ensures that the currently broken `thumbor`[1] package builds
and works again.

The following problems were fixed:

* Rather than placing required packages (like `gifsicle` or `exiftool`)
  into the build input list, we reference them explicitly where needed
  to ensure that the package works after the build without further
  installs.

* Skip the `test_redeye_applied` test case which is broken for a while
  now.

[1] https://hydra.nixos.org/build/90290998

(cherry picked from commit 8dac864470)
2019-03-13 23:45:31 +01:00
Michael Weiss
4012f58e43 Merge pull request #57601 from primeos/sway-1.0-backport
[19.03] Sway 1.0
2019-03-13 23:44:41 +01:00
taku0
8ea3aae70a flashplayer: 32.0.0.142 -> 32.0.0.156 (#57571)
(cherry picked from commit e933c7875b)
2019-03-13 23:31:44 +01:00
Michael Weiss
8395a263f5 scdoc: 1.9.3 -> 1.9.4
(cherry picked from commit 217070368a)
2019-03-13 23:11:51 +01:00
Michael Weiss
e2f0af04bf scdoc: 1.9.1 -> 1.9.3
(cherry picked from commit 560c886174)
2019-03-13 23:11:50 +01:00
Michael Weiss
9328158e66 scdoc: 1.9.0 -> 1.9.1
(cherry picked from commit 410650c128)
2019-03-13 23:11:50 +01:00
Michael Weiss
723eebd0d3 wlroots: 0.4.1 -> 0.5.0
(cherry picked from commit 7f43089999)
2019-03-13 23:07:58 +01:00
Michael Weiss
b9a3dd513b wlroots: 0.4 -> 0.4.1
(cherry picked from commit c484f07d04)
2019-03-13 23:07:57 +01:00
Michael Weiss
40476e8c23 wlroots: 0.3 -> 0.4
(cherry picked from commit afe0725834)
2019-03-13 23:07:57 +01:00
Michael Weiss
466007f65c nixos/sway: Improve the module and adapt it to NixOS
This commit contains the following changes:
- nixos/sway: Remove the beta references
- sway: Drop buildDocs
- nixos/sway: Improve the documentation
- sway,nixos/sway: Adapt Sway to NixOS
  - Copy the default configuration file to /etc/sway/config (Sway will
    still load the identical file from the Nix store but this makes it
    easier to copy the default configuration file).
  - This will also remove all references to the Nix store from the
    default configuration file as they will eventually be garbage
    collected which is a problem if the user copies it.
  - I've also decided to drop the default wallpaper (alternatively we
    could copy it to a fixed location).
- nixos/sway: Drop the package option

(cherry picked from commit 578fe3f5a0)
2019-03-13 22:46:22 +01:00
Michael Weiss
3c5241718e sway: Switch to 1.0
This is the result of executing:
git mv -f pkgs/applications/window-managers/sway/beta.nix pkgs/applications/window-managers/sway/default.nix
git mv -f nixos/modules/programs/sway-beta.nix nixos/modules/programs/sway.nix

And removing sway-beta from the following files:
pkgs/top-level/all-packages.nix
nixos/modules/module-list.nix

(cherry picked from commit 45004c6f63)
2019-03-13 22:46:22 +01:00
Michael Weiss
84853fa9d4 sway-beta: Use the upstream patch to fix the build failure
(cherry picked from commit 1240834176)
2019-03-13 22:46:21 +01:00
Michael Weiss
63bbd6da95 sway-beta: 1.0-rc5 -> 1.0
(cherry picked from commit eb2a26f5c6)
2019-03-13 22:46:21 +01:00
Michael Weiss
3e6d7eb0e4 sway-beta: 1.0-rc4 -> 1.0-rc5
(cherry picked from commit 7bf4323082)
2019-03-13 22:46:21 +01:00
Michael Weiss
97f8768d92 sway-beta: 1.0-rc3 -> 1.0-rc4
(cherry picked from commit 0c89c444a2)
2019-03-13 22:46:21 +01:00
Herwig Hochleitner
b07d96dcdb webkitgtk: 2.22.7 -> 2.24.0
(cherry picked from commit a72bb46155)
2019-03-13 21:14:08 +01:00
Janne Heß
a9b5d36898 exim: Fix build with LDAP (#56058)
The lber library is now required, see also:
https://bugs.archlinux.org/task/27509

(cherry picked from commit b2a6183f75)
2019-03-13 12:18:31 -04:00
Herwig Hochleitner
5a4989f948 chromium: 72.0.3626.121 -> 73.0.3683.75
CVE-2019-5787 CVE-2019-5788 CVE-2019-5789 CVE-2019-5790 CVE-2019-5791
CVE-2019-5792 CVE-2019-5793 CVE-2019-5794 CVE-2019-5795 CVE-2019-5796
CVE-2019-5797 CVE-2019-5798 CVE-2019-5799 CVE-2019-5800 CVE-2019-5801
CVE-2019-5802 CVE-2019-5803 CVE-2019-5804

(cherry picked from commit 006a699e69)
2019-03-13 16:20:37 +01:00
Will Dietz
69fabc286f nodejs-8_x: 8.15.0 -> 8.15.1 (security)
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V8.md#8.15.1
(cherry picked from commit 702120ee90)
2019-03-13 11:48:32 +01:00
Will Dietz
3ada76ede1 nodejs-6_x: 6.16.0 -> 6.17.0 (security)
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V6.md#6.17.0
(cherry picked from commit 4df1c7234f)
2019-03-13 11:48:27 +01:00
Will Dietz
9781b2c8a6 nodejs-10_x: 10.15.0 -> 10.15.3 (security)
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V10.md#10.15.3
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V10.md#10.15.2
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V10.md#10.15.1
(cherry picked from commit 9c894f8418)
2019-03-13 11:48:20 +01:00
Will Dietz
1bb2bcff9e nodejs-11_x: 11.7.0 -> 11.11.0 (security)
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V11.md

(see notes for all versions after 11.7.0)

(cherry picked from commit 5d527793ae)
2019-03-13 11:48:16 +01:00
Dmitry Kalinkin
aa34ca05fe Merge pull request #57531 from veprbl/pr/qt5_qtwebkit_darwin_fix_19.03
[19.03] qt511.qtwebkit: fix on darwin
2019-03-12 23:32:12 -04:00
Robert Djubek
22267de69a pythonPackages.weboob: fix build
(cherry picked from commit f0bd27150a)
ZHF: https://github.com/NixOS/nixpkgs/issues/56826
2019-03-12 22:40:26 -04:00
Jos van Bakel
c4f45dfe99 pythonPackages.rbtools: fix tests (#57258)
(cherry picked from commit 382abc9207)
2019-03-12 22:31:47 +01:00
Aria Edmonds
0c37664eb9 discord: 0.0.8 -> 0.0.9
(cherry picked from commit 24c02a0f5d)
2019-03-12 17:07:03 -04:00
Dmitry Kalinkin
734fdd9916 texlive: add tug.org as a mirror for 2018-final
(cherry picked from commit 2eeb7a9e69)
2019-03-12 21:54:49 +01:00
Dmitry Kalinkin
20f5e2a9ba biber: use texlive.biber for src
(cherry picked from commit 4e103fb651)
2019-03-12 21:54:49 +01:00
Robert Schütz
70ef58d5f6 biber: 2.11 -> 2.12
Biber 2.12 is for biblatex 3.12.

(cherry picked from commit 1046761a3e)
2019-03-12 21:54:49 +01:00
Dmitry Kalinkin
ab77cf4b65 texlive: 2018 -> 2018-final
(cherry picked from commit 40f55d6870)
2019-03-12 21:54:49 +01:00
Dmitry Kalinkin
6e8c73114c texlive/combine.nix: fix bugs in languages filter
Initial language.{dat,def} configuration files provided by
`texlive.hyphen-base` may declare languages that were not part of the
combined packages. Those are filtered out by a sed script that had few
problems:

1) The sed script was generated from a list of potentially non-unique
packages. Every repetition of a select and print clause would produce a
copy of a language declaration in the output file. This became a problem
for update to the 2018-final, the fmtutil would crash from too much
German hyphenation.
2) The select clauses were ambiguous: both '^% from hyphen' and
'^% from hyphen-welsh' will match a line 'from hyphen-welsh'.

(cherry picked from commit 8f35ef724a)
2019-03-12 21:54:48 +01:00
Dmitry Kalinkin
0b2d41568b texlive/combine.nix: clarify implementation of mkUniqueOutPaths
mkUniqueOutPaths used to produce empty paths for dummy packages, this
version strips those out. This does not affect `pkgList.bin` at all, but
`pkgList.nonbin` is affected, so this is not exactly a refactoring. It
should not harm to have a cleaner `paths`.

Also, original comment said "here we deal with those dummy packages
needed for hyphenation filtering". This doesn't seem to be true, the
packages that were really filtered are actually metapackages that
represent collections. I also could not find any dummy packages even in
the originally committed version.

(cherry picked from commit 30364211e6)
2019-03-12 21:54:48 +01:00
Dmitry Kalinkin
2f5520c1dc texlive/combine.nix: s/mkUniquePkgs/mkUniqueOutPaths/
(cherry picked from commit 658d83a182)
2019-03-12 21:54:48 +01:00
Dmitry Kalinkin
cdefec43c8 texlive: move fastUnique from default.nix to combine.nix
(cherry picked from commit a1505f3c6a)
2019-03-12 21:54:48 +01:00
Dmitry Kalinkin
6f380466ce qt5.qtwebkit: don't set qmake variables for cmake build
(cherry picked from commit 518f997eb5)
2019-03-12 13:56:47 -04:00
Dmitry Kalinkin
91f2dc0a35 qt511.qtwebkit: fix on darwin
readline is used on macOS and iOS for some javascript console (JSC). It
seems to be easier to disable it than to fix it.

(cherry picked from commit 4bbd00e934)
2019-03-12 13:56:47 -04:00
Dmitry Kalinkin
fb24cb25dd qt5.qtwebkit: refactor version comparison
This introduces usingAnnulenWebkitFork variable. Using version
check for qtbase.version is misleading because annulen's fork is not
tied to a specific qt5 release.

(cherry picked from commit 67186defda)
2019-03-12 13:56:46 -04:00
Dmitry Kalinkin
a98b25897c qt5.qtwebkit: link against libicucore.dylib from darwin.ICU instead of /usr/lib
The impure library was introduced in

   775531c1e3 ('qt58: extend darwin compatibility')

cmake-based build can use a non-apple ICU if -DMACOS_USE_SYSTEM_ICU=OFF
is set.

(cherry picked from commit f212dd2e32)
2019-03-12 13:56:45 -04:00
Vladimír Čunát
9e762daa73 Merge branch 'staging-19.03' into release-19.03 2019-03-12 17:03:09 +01:00
Bjørn Forsman
7190a0b696 deadpixi-sam: remove duplicate alias
It is already listed in aliases.nix, and I managed to get this from Nix:

  error: Alias deadpixi-sam is still in all-packages.nix

Fixes: 218d81bc9d ("all-packages: move aliases to aliases.nix")
(cherry picked from commit 38ae8aed16)
2019-03-12 12:58:42 +01:00
Vladimír Čunát
a35cdfec11 Merge branch 'release-19.03' into staging-19.03
Thousands of rebuilds.
2019-03-12 11:46:01 +01:00
Sebastian Jordan
6c33f9f34f nix-prefetch-github: 2.1 -> 2.2
(cherry picked from commit b0e63adc93)
2019-03-11 23:16:00 -04:00
Matthew Bauer
72f6eabc49 plasma: handle ksycoca5 better
- Remove xdg-desktop-menu-dummy.menu kbuildsycoca5. Not sure why we
  need it but it is a pretty big failure if it exists.
  See issue #56176.

- plasma: clear ksycoca cache before building

  This is needed to pick up on software removed since the last cache
  update. Otherwise it hangs around as zombies forever (or until the
  cache is cleared).

- Add the above + the icon cache cleanup to plasmaSetup

  This will be run for the logged in user on each nixos-rebuild.
  Unfortunately this only works if you are managing software through
  nixos-rebuild (nix-env users need to run this manually, otherwise
  log out and log back in).

(cherry picked from commit 393b359f13)
2019-03-11 22:59:36 -04:00
Sarah Brofeldt
8d9dd03ebd pgcli: Patch tests (#57402)
(cherry picked from commit f3c66bb31e)
2019-03-12 01:30:42 +01:00
Mario Rodas
4fa4dbe9ab ffmpeg-full: fix darwin build (#57342)
(cherry picked from commit 92917bfb99)
2019-03-12 01:24:59 +01:00
teh
b5a0937269 vowpalwabbit: fix build. (#57455)
(cherry picked from commit 30103df024)
2019-03-12 00:49:39 +01:00
Robert Schütz
0fc413e2be postfix: 3.4.0 -> 3.4.3 (#57368)
(cherry picked from commit 1f302fa30d)
2019-03-11 23:37:12 +01:00
WilliButz
ccb006fa2f grafana: 6.0.0 -> 6.0.1
(cherry picked from commit 881ab86491)
2019-03-11 23:18:00 +01:00
Vladimír Čunát
2d2dd4050f Merge #57427: smenu: relax platform from linux to unix
(cherry picked from commit 636910e563)
2019-03-11 21:06:50 +01:00
Silvan Mosberger
fc40f61347 pythonPackages.poetry: Fix build
(cherry picked from commit bfac72b276)
2019-03-11 17:27:08 +00:00
Mario Rodas
5f3be9bc4b buildRustPackage: Allow pname attribute
(cherry picked from commit 435b326722)
2019-03-11 10:08:35 +00:00
worldofpeace
aea9130d2f audacity: 2.3.0 -> 2.3.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/audacity/versions

(cherry picked from commit 348b734806)
There were outstanding issues with 2.3.0 being built against wxWidgets 3.0
that were fixed in this release.

https://www.audacityteam.org/audacity-2-3-1-released/
2019-03-10 20:54:45 -04:00
Florian Klink
50876481a0 yubioath-desktop: prefix QML2_IMPORT_PATH
Otherwise, yubioath-desktop can't find pyothersides qml files:

QQmlApplicationEngine failed to load component
qrc:/qml/main.qml:168 Type YubiKey unavailable
qrc:/qml/YubiKey.qml:2 module "io.thp.pyotherside" is not installed

[1]    17017 segmentation fault  result/bin/yubioath-desktop

(cherry picked from commit bfc590572f)
2019-03-10 23:40:18 +01:00
Herwig Hochleitner
53cbd05eb2 Merge pull request #56018 from knedlsepp/fix-cuda-gdb
cudatoolkit: Several fixes
(cherry picked from commit b854767dac)
2019-03-10 23:23:44 +01:00
Sander van der Burg
ea23730c7a titaniumenv: fix stripping the unneeded architectures
(cherry picked from commit 907c478ceb)
2019-03-10 23:19:09 +01:00
Lancelot SIX
a673ef75c1 qgis: 2.18.28 -> 3.4.5
(cherry picked from commit 9bcdf81708)
2019-03-10 23:05:54 +01:00
Lancelot SIX
aff2be7acc pythonPackages.qscintilla-qt5: fix installation
(cherry picked from commit b47f47ab10)
2019-03-10 23:05:53 +01:00
Timo Kaufmann
72aa6e382c sage: fix docbuild (#57297)
The docbuild (or rather its tests) failed because sphinx built some
English parts of the documentation in Russian. The added debian patch
fixes that by isolating docbuilding threads in sphinx using
proper subprocesses.

(cherry picked from commit 33c23ce1e3)
2019-03-10 21:42:48 +00:00
Herwig Hochleitner
cf00818ba2 pythonPackage.azure-mgmt-*: fix builds
see https://github.com/NixOS/nixpkgs/issues/52547

(cherry picked from commit 88d9ef9e1f)
2019-03-10 22:20:17 +01:00
Herwig Hochleitner
d5f3c49d07 pythonPackages.msrestazure: init 0.6.0
(cherry picked from commit 292a4520f9)
2019-03-10 22:20:17 +01:00
Herwig Hochleitner
8ac84e4d66 pythonPackages.msrest: init 0.6.2
(cherry picked from commit 668d18c07a)
2019-03-10 22:20:17 +01:00
Pascal Wittmann
944f258b2b ima-evm-utils: apply upstream fix for attr-2.4.48 compatibility 2019-03-10 21:19:53 +01:00
Maximilian Bosch
a90bfc1df5 autorandr: install bash completions properly
Backport of #57261
(cherry picked from commit 0015e526c7)
2019-03-10 21:04:30 +01:00
Peter Simons
925d882017 ghc: add new 8.6.4 version 2019-03-10 20:39:40 +01:00
John Ericson
61fabdfc67 Merge pull request #57268 from obsidiansystems/override-unstable-nix-19.03
nix*: Make .override work for 19.03
2019-03-10 14:19:52 -04:00
Tim Steinbach
2aa471997f linux: 5.0 -> 5.0.1
(cherry picked from commit 0db1b7b025)
2019-03-10 14:18:51 -04:00
Tim Steinbach
dcc499b7aa linux: 4.20.14 -> 4.20.15
(cherry picked from commit 742a089322)
2019-03-10 14:18:51 -04:00
Tim Steinbach
ffba64f25e linux: 4.19.27 -> 4.19.28
(cherry picked from commit 810401284f)
2019-03-10 14:18:51 -04:00
Tim Steinbach
32d3183ea3 linux: Add 5.0
Update latest kernel to 5.0

(cherry picked from commit 09d708eee3)
2019-03-10 14:18:42 -04:00
John Ericson
44cc6fa212 Merge remote-tracking branch 'upstream/release-19.03' into override-unstable-nix-19.03 2019-03-10 13:58:47 -04:00
John Ericson
bfc72142e0 nix*: Make .override work
Currently, .override is only on a temporary attrset that is thrown away, now it
is also on the nix derivations we use.
2019-03-10 13:52:55 -04:00
Timo Kaufmann
72ad05bfc0 Merge pull request #57253 from timokau/sage-python-upgrade-fixes-19.03
[19.03] Sage python upgrade fixes
2019-03-10 15:19:50 +00:00
vanzef
52e59ba4ad marisa-python: fix build (#57013)
(cherry picked from commit 6a11ba39ca)
2019-03-10 16:06:07 +01:00
Timo Kaufmann
64c1b93e75 sage: patch for pip 19
pip 19 introduced a deprecation warning for python 2.7. Since sage
internally uses pip to query for installed packages, this deprecation
warning will show up at unexpected times. That is ugly and messes with
the testsuite.

Upstream: https://trac.sagemath.org/ticket/27405
(cherry picked from commit 2de81ee78f)
2019-03-10 15:58:21 +01:00
Timo Kaufmann
de9921ebf9 python.pkgs.rpy2: fix strictDeps fallout
See https://github.com/NixOS/nixpkgs/pull/54182 and
https://github.com/NixOS/nixpkgs/pull/55757.

(cherry picked from commit c6e4e1dbdf)
2019-03-10 15:58:07 +01:00
Timo Kaufmann
d5230eb1df sage: fix strictDeps fallout
See https://github.com/NixOS/nixpkgs/pull/54182 and
https://github.com/NixOS/nixpkgs/pull/55757.

(cherry picked from commit 9e3754786b)
2019-03-10 15:57:57 +01:00
Matthew Glazar
ad9db2a3ed python35: fix build on macOS
The upstream patch for distutils does not apply cleanly to Python 3.5's
sources. Fix the patch to make python35 build on macOS.

(cherry picked from commit 0bf2d63366)
2019-03-10 13:39:07 +01:00
R. RyanTM
6511fd019b freewheeling: 0.6.4 -> 0.6.5
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/freewheeling/versions

(cherry picked from commit 54cca013ef)
2019-03-10 13:26:38 +01:00
R. RyanTM
85f2b5ddda focuswriter: 1.7.1 -> 1.7.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/focuswriter/versions

(cherry picked from commit 459aceacc3)
2019-03-10 13:26:38 +01:00
R. RyanTM
fd2b1297db flatpak-builder: 1.0.3 -> 1.0.5
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/flatpak-builder/versions

(cherry picked from commit 841d338f4e)
2019-03-10 13:26:38 +01:00
R. RyanTM
e2e4446f0f drumkv1: 0.9.4 -> 0.9.5
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/drumkv1/versions

(cherry picked from commit 20510cf24e)
2019-03-10 13:26:37 +01:00
R. RyanTM
10b0c7184f double-conversion: 3.1.1 -> 3.1.3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/double-conversion/versions

(cherry picked from commit be593f21a5)
2019-03-10 13:26:37 +01:00
R. RyanTM
135e44534b ddcutil: 0.9.4 -> 0.9.5
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/ddcutil/versions

(cherry picked from commit c10e59e7bf)
2019-03-10 13:26:37 +01:00
R. RyanTM
c796b1049f coturn: 4.5.1.0 -> 4.5.1.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/coturn/versions

(cherry picked from commit 416a965692)
2019-03-10 13:26:37 +01:00
R. RyanTM
cffc88afa2 ckbcomp: 1.189 -> 1.190
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/ckbcomp/versions

(cherry picked from commit 9161b2012a)
2019-03-10 13:26:37 +01:00
R. RyanTM
fe995862fa cfr: 0.139 -> 0.140
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/cfr/versions

(cherry picked from commit d7c1eedf81)
2019-03-10 13:26:37 +01:00
R. RyanTM
1227042787 brave: 0.60.45 -> 0.61.50
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/brave/versions

(cherry picked from commit 6cbf57f65c)
2019-03-10 13:26:37 +01:00
R. RyanTM
8674d5e39d appstream: 0.12.5 -> 0.12.6
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/appstream/versions

(cherry picked from commit 404b76582c)
2019-03-10 13:26:37 +01:00
R. RyanTM
891eb9d9d9 ammonite: 1.6.3 -> 1.6.4
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/ammonite/versions

(cherry picked from commit 65ec866a56)
2019-03-10 13:26:36 +01:00
R. RyanTM
7a7fae9e60 flatpak-builder: 1.0.2 -> 1.0.3 (#55315)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/flatpak-builder/versions

(cherry picked from commit 71d92f6408)
2019-03-10 13:26:33 +01:00
R. RyanTM
bdda94ac3b ckbcomp: 1.188 -> 1.189
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/ckbcomp/versions

(cherry picked from commit 495dd9f84b)
2019-03-10 13:25:46 +01:00
Will Dietz
ca14bcef55 Merge #56494: file: 5.35 -> 5.36 (staging-19.03)
(cherry picked from commit 63e68e5bb9)
Fixes #57141.
2019-03-10 10:00:24 +01:00
Vladimír Čunát
939df4bc86 libarchive: apply upstream CVE patches
Fixes #57150.

(cherry picked from commit 5767c18d99)
2019-03-10 09:55:42 +01:00
Vladimír Čunát
3605222d0f tikzit: really use enableParallelBuilding = false
I pushed the incomplete parent commit by mistake.
It defaults to = true, thanks to qmake IIRC.
2019-03-10 08:01:09 +01:00
Vladimír Čunát
96fecc37d4 tikzit: enableParallelBuilding = false
https://hydra.nixos.org/build/90301445
It's quite fast anyway: 1-2 minutes.
2019-03-10 07:52:15 +01:00
Timo Kaufmann
42db132655 trash-cli: fix build (#56818)
More fallout from enabling strictDeps in #55757. `buildInputs` are not
accessible from the check phase.

(cherry picked from commit 83dcf66186)
2019-03-09 23:03:16 -05:00
Pascal Wittmann
ac1d0c45a5 xfstests: fix build (see #53716) by applying upstream patches 2019-03-09 20:42:20 +01:00
Matthew Bauer
a6caed5660 ova: remove stateVersion
This is undefined in the default configuration.nix template.

(cherry picked from commit a923a5bbdc)
2019-03-09 14:27:42 -05:00
Michael Raskin
ce9b83b8fe Merge pull request #57132 from ckauhaus/vulnix-1.8.0
vulnix: 1.7.1 -> 1.8.0
(cherry picked from commit 1f8aa8bf1c)
2019-03-09 20:12:55 +01:00
worldofpeace
1b97770dcf pythonPackages.rfc3986: fix pytest dependency
(cherry picked from commit 40953c84e4)
2019-03-09 13:01:36 -05:00
Silvan Mosberger
6607b8e661 gtk3: Fix for missing symbols (again)
Was removed again in f9a62dbace, but it
was still needed after all, see https://github.com/NixOS/nixpkgs/issues/55692#issuecomment-469058386

(cherry picked from commit e0cc49c219)
2019-03-09 17:31:10 +01:00
worldofpeace
ad3e19a520 nixos/pantheon: add elementary-redacted-script to fonts
Needed by elementary-screenshot-tool to conceal text.

(cherry picked from commit 59f47088fb)
2019-03-09 11:21:57 -05:00
worldofpeace
96587cccb8 pantheon.elementary-redacted-script: init at 2016-06-03
(cherry picked from commit 86f4badc7d)
2019-03-09 11:21:57 -05:00
Pascal Wittmann
83e20a570f mhddfs: fix build (see #53716)
(cherry picked from commit bbfd2be8ed)
2019-03-09 17:15:45 +01:00
Pascal Wittmann
9368dc4cdd aide: 0.16 -> 0.16.1
(cherry picked from commit 2e1217fb48)
2019-03-09 17:07:36 +01:00
Andreas Rammhold
300697dac8 ipget: 0.2.5 -> 0.3.2
Unbreak the build by updating to a newer version.

cc #56826

(cherry picked from commit 1d86cd44f0)
2019-03-09 10:26:12 -05:00
Vladimír Čunát
52565a8818 Merge #56833: linuxPackages.bcc: fix build
(cherry picked from commit 84be644f87)
2019-03-09 13:31:57 +01:00
Pascal Wittmann
87321b656e areca: fix build
(cherry picked from commit 13e4398683)
2019-03-09 13:17:48 +01:00
Silvan Mosberger
ff568fdfd1 sad: Fix build
(cherry picked from commit 8ca1c925c6)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-03-09 12:31:41 +01:00
R. RyanTM
b3acca7f85 react-native-debugger: 0.8.2 -> 0.9.7
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/react-native-debugger/versions

(cherry picked from commit 6d9885f20b)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-03-09 12:06:41 +01:00
Jonas Juselius
d100f96363 nixos/kubernetes: add dns addonmanger reconcile mode option (#55834)
Allow coredns ConfigMap and Depolyment to be editable by the user. An use
case is augmenting the default, generated dns records with local services.
2019-03-09 13:01:58 +02:00
Vladimír Čunát
4610d6c94f Merge branch 'staging-19.03' into release-19.03 2019-03-09 08:47:58 +01:00
Silvan Mosberger
cc1fa81489 sonata: Fix build
(cherry picked from commit ba691817ca)
2019-03-09 03:08:09 +01:00
Silvan Mosberger
f0fb7c64f5 turses: Fix
(cherry picked from commit 308dfc17ac)
2019-03-08 20:27:46 -05:00
Matthew Bauer
70f1335f8d release.nix: remove firefox-unwrapped from darwin-tested
Unfortunately it is broken and I won’t have time to fix right now.
Most likely we will have to wait until the macOS 10.12 update to get
this one working again.
2019-03-08 20:06:22 -05:00
Daniël de Kok
6c34eaf9df python2Packages.moinmoin: 1.9.9 -> 1.9.10 (#56970)
Changes:

https://github.com/moinwiki/moin-1.9/blob/1.9.10/docs/CHANGES#L13

This commit also replaces a ISO-8859-1 character in setup.cfg to fix the
build.

(cherry picked from commit 449e7f9777)
2019-03-08 23:22:58 +01:00
worldofpeace
6318530bf8 pantheon.elementary-calculator: 1.5.1 -> 1.5.2
Just translations

https://github.com/elementary/calculator/releases/tag/1.5.2
(cherry picked from commit a494ce9c62)
2019-03-08 17:17:31 -05:00
Will Dietz
5919bf3b40 ntp: 4.2.8p12 -> 4.2.8p13 (#57059)
From http://www.ntp.org/index.html:
> ntp-4.2.8p13 was released on 07 March 2019.
> It addresses 1 medium-severity security issue in ntpd, and provides 17
> other non-security fixes and 1 improvements over 4.2.8p12.

(cherry picked from commit d7c23cc65f)
2019-03-08 23:07:15 +01:00
Edmund Wu
27b4e71d80 vscode: 1.32.0 -> 1.32.1 (#57089)
(cherry picked from commit 128f691b87)
2019-03-08 16:41:58 -05:00
Silvan Mosberger
440c83d339 vim-vint: Fix
(cherry picked from commit 55be7ae9d5)
2019-03-08 16:37:42 -05:00
Silvan Mosberger
3a2151f793 xpilot-ng: Fix build and cleanup (#57088)
(cherry picked from commit 72a8952e84)
2019-03-08 22:26:32 +01:00
Herwig Hochleitner
35ee677f23 nixos/virtualbox: add warning when for ineffective nixpkgs config
nixpkgs.config.virtualbox.enableExtensionPack doesn't do anything, but
used to. Add a warning for the unsuspecting.

(cherry picked from commit 8b6a38ce7e)
2019-03-08 21:07:16 +01:00
kyren
35845b0b2a stepmania: switch to clangStdenv
Stepmania appears to be miscompiled with gcc, fixes #54227

(cherry picked from commit ff6e4b44dc)
2019-03-08 18:29:27 +01:00
Johan Thomsen
5831fe1f4a nixos/kubernetes: minor module fixes
- mkDefault etcd instance name
- make sure ca-cert in mkKubeConfig can be overriden
- fix controller-manager "tls-private-key-file" flag name

(cherry picked from commit 80c4fd4f85)
2019-03-08 16:24:20 +01:00
Will Dietz
2832a89c38 pythonPackages.m2crypto: swig2 as nativeBuildInput so it can be invoked
Fixes #56993.

(cherry picked from commit 10646d5e62)
2019-03-08 12:25:30 +00:00
Vladimír Čunát
bf6b3a6038 Merge #56586: vimPlugins.meson: init, following pkgs.meson
(cherry picked from commit 6e6633bacb)
2019-03-08 12:23:35 +01:00
Alyssa Ross
5921a7043d crystal: fix build on Darwin
(cherry picked from commit 5b52e90e4a)
2019-03-08 11:19:19 +00:00
Ryan Mulligan
245cd8f53b nixos/hdaps: automatically enable the hdapsd kernel module (#56309)
patch by hpoussin via
https://discourse.nixos.org/t/hdapsd-automatically-enable-the-hdapsd-kernel-module/2183
2019-03-08 09:54:48 +02:00
Will Dietz
0711b73ae8 electron: 4.0.5 -> 4.0.6
https://electronjs.org/releases/stable#release-notes-for-v406
(cherry picked from commit 79b321b09c)
PR #56799
2019-03-08 07:04:27 +01:00
Will Dietz
55a2904252 electron_3: 3.1.3 -> 3.1.4
https://electronjs.org/releases/stable?version=3#3.1.4
(cherry picked from commit 505f2d364b)
PR #56799
2019-03-08 07:04:14 +01:00
Will Dietz
0d0bd6de4e electron: version bumps
(cherry picked from commit 423e3e59cd)
PR #56799
2019-03-08 07:04:00 +01:00
Linus Heckemann
37b1058c49 nixos/bash: fix root prompt
b4b67177b5 introduced a regression of
its own: the prompt would end with $ for all users, not with # for
root as it should.

(cherry picked from commit efbd24ffcc)
2019-03-08 03:11:04 +01:00
Edmund Wu
5847485e3e vscode: 1.31.1 -> 1.32.0
(cherry picked from commit 2a0d01f076)
2019-03-07 17:56:33 -05:00
worldofpeace
bccfcd2af5 pantheon.wingpanel: fix potentially overlapping windows
https://github.com/elementary/wingpanel/pull/198
(cherry picked from commit 3ba5f177f0)
2019-03-07 17:50:46 -05:00
worldofpeace
8d3ad26c75 pantheon.wingpanel-indicator-sound: 2.1.2 -> 2.1.3
https://github.com/elementary/wingpanel-indicator-sound/releases/tag/2.1.3
(cherry picked from commit d7764de507)
2019-03-07 17:50:46 -05:00
worldofpeace
607ddcb4cb pantheon.wingpanel-indicator-keyboard: 2.1.1 -> 2.1.2
Just translations.

https://github.com/elementary/wingpanel-indicator-keyboard/releases/tag/2.1.2
(cherry picked from commit bd86c2905f)
2019-03-07 17:50:46 -05:00
worldofpeace
135c6e1af3 pantheon.switchboard-plug-keyboard: 2.3.4 -> 2.3.5
No more silly LIBRARY_PATH

https://github.com/elementary/switchboard-plug-keyboard/releases/tag/2.3.5
(cherry picked from commit 9ca0f4794a)
2019-03-07 17:50:46 -05:00
worldofpeace
a88ca16051 pantheon.elementary-code: 3.0.2 -> 3.1.0
https://github.com/elementary/code/releases/tag/3.1.0
(cherry picked from commit 7eedc53ef1)
2019-03-07 17:50:46 -05:00
Will Dietz
8ed5c2075a unifont_upper: 11.0.03 -> 12.0.01
(cherry picked from commit 27fd948cf7)
2019-03-07 23:43:09 +01:00
Will Dietz
493bafcfb4 unifont: 11.0.03 -> 12.0.01
http://lists.gnu.org/archive/html/info-gnu/2019-03/msg00002.html
(cherry picked from commit 5531e13f65)
2019-03-07 23:43:09 +01:00
Will Dietz
e694957974 unifont_upper: 10.0.06 -> 11.0.03
Also move to GNU mirror for the file, as we do for unifont.

(cherry picked from commit e78d7c56e0)
2019-03-07 23:42:51 +01:00
Josef Kemetmüller
41dd4fbbed pythonPackages.mxnet: Fix build (#56848)
(cherry picked from commit 811293134b)
2019-03-07 23:06:40 +01:00
Josef Kemetmüller
2b1eecf32d xorg.editres: fix build (#56979)
(cherry picked from commit 680e9f1d91)
2019-03-07 23:02:31 +01:00
Josef Kemetmüller
9b562d62c2 xorg.oclock: Fix build (#56978)
(cherry picked from commit 22160302cf)
2019-03-07 22:59:31 +01:00
Josef Kemetmüller
68cb70612a udocker: Fix build (#57002)
The latest changes to support better cross-compilation compatibility
have introduced a stricter handling of dependency specifications in
python. Since b4acd97, mock and nosetest should be checkInputs, since
they are used for testing.

Fixes: #56972
(cherry picked from commit 61a8aca8e5)
2019-03-07 22:55:43 +01:00
Will Dietz
9ab0281f6b man-pages: 4.16 -> 5.00 (#57039)
(cherry picked from commit e8d116f8ee)
2019-03-07 22:52:03 +01:00
Herwig Hochleitner
ae27cd194d Merge commit '9ae406c0749bbc7373d7422edeaf6b1b6caa0dae' of github.com:NixOS/nixpkgs into fix-chromium
fixes https://github.com/NixOS/nixpkgs/pull/49797

(cherry picked from commit 4901dc4e74)
2019-03-07 21:44:21 +01:00
Danylo Hlynskyi
dc988c0bd6 module system: revert "remove types.optionSet", just deprecate (#56857)
The explicit remove helped to uncover some hidden uses of `optionSet`
in NixOps. However it makes life harder for end-users of NixOps - it will
be impossible to deploy 19.03 systems with old NixOps, but there is no
new release of NixOps with `optionSet` fixes.

Also, "deprecation" process isn't well defined. Even that `optionSet` was
declared "deprecated" for many years, it was never announced. Hence, I
leave "deprecation" announce. Then, 3 releases after announce,
we can announce removal of this feature.

This type has to be removed, not `throw`-ed in runtime, because it makes
some perfectly fine code to fail. For example:
```
$ nix-instantiate --eval -E '(import <nixpkgs/lib>).types' --strict
trace: `types.list` is deprecated; use `types.listOf` instead
error: types.optionSet is deprecated; use types.submodule instead
(use '--show-trace' to show detailed location information)
```
2019-03-07 21:29:29 +02:00
Jörg Thalheim
8ad811b3c3 Merge #57015: lua packages: fix some bugs
(cherry picked from commit 2dc7486b39)
In particular, lua*Packages.luuid now builds.
2019-03-07 20:23:13 +01:00
Dmitry Kalinkin
a9d6158277 yoda: fix sha hash of the tarball
Tarball was replaced upstream. The files are the same, changes are meta
only (appear to be timestamps).

(cherry picked from commit cf1de3c2df)
2019-03-07 14:10:27 -05:00
markuskowa
b161cd9e49 Merge pull request #56995 from aanderse/super-tux-kart
superTuxKart: fix broken build
2019-03-07 19:37:02 +01:00
Aaron Andersen
a593753404 superTuxKart: fix broken build 2019-03-07 11:44:57 -05:00
Michael Raskin
97464d087e Release notes: switch to modesetting: mention backlight problem
(cherry picked from commit 500d61560f)
2019-03-07 13:39:26 +01:00
Markus Kowalewski
e48fa237db gnuradio-limesdr: fix build (add pkgconfig)
(cherry picked from commit 53b12891dc)
2019-03-07 13:29:54 +01:00
Josef Kemetmüller
1a24f2c738 pythonPackages.wrf-python: Fix build (#56989)
The latest changes to support better cross-compilation compatibility
have introduced a stricter handling of dependency specification in
python. Since b4acd977, gfortran should be put into nativeBuildInputs,
as it's a build-time only dependency for wrf-python. Similarly, mock is
only required when testing, so it should go to checkInputs.

(cherry picked from commit 36f5c0d58d)
2019-03-07 13:24:23 +01:00
Josef Kemetmüller
82a3ab0dd2 sewer: Fix build
The sed expression actually caused an error on hydra:
```
sed: -e expression #1, char 18: Invalid collation character
```
It seems to build fine without it however.
2019-03-07 11:28:30 +01:00
Josef Kemetmüller
939abefd1d sewer: 0.6.0 -> 0.7.0 2019-03-07 11:28:30 +01:00
Matthieu Coudron
43c60ce210 python3Packages.matplotlib: 3.0.2 -> 3.0.3
(cherry picked from commit 0752393738)
2019-03-07 10:08:58 +01:00
Frederik Rietdijk
3a7ded14ea ticpp: init at unstable-2019-01-09
(cherry picked from commit 1f8b70e5e5)
2019-03-07 10:08:57 +01:00
Frederik Rietdijk
68ddeacb5b multipart-parser-c: init at unstable-2015-12-14
(cherry picked from commit 931ee3e589)
2019-03-07 10:08:57 +01:00
Frederik Rietdijk
f6fe5cd09b prometheus-cpp: init at 0.6.0
(cherry picked from commit bca5d89ccf)
2019-03-07 10:08:56 +01:00
Frederik Rietdijk
714abf3601 civetweb: init at 1.11
(cherry picked from commit 15e8eebb6d)
2019-03-07 10:08:56 +01:00
Lancelot SIX
d583d1d7aa pythonPackages.django_1_11: 1.11.18 -> 1.11.20
See release notes:
- https://docs.djangoproject.com/en/dev/releases/1.11.19/
- https://docs.djangoproject.com/en/dev/releases/1.11.20/

(cherry picked from commit 3e81b4500e)
2019-03-07 09:57:49 +01:00
Tom Hunger
b01004eb4c pytorch: Use nativeBuildInputs to specify binary build dependencies.
(cherry picked from commit 488230c253)
2019-03-07 09:42:16 +01:00
Michael Raskin
dd1f371a1e Merge pull request #56999 from knedlsepp/fix-cgui
cgui: 2.0.3 -> 2.1.0 (to fix build)
(cherry picked from commit 80d032b13b)
2019-03-07 09:18:09 +01:00
Stephen
4743d8dabc gcompris: fix build
(cherry picked from commit 86cb9d3b61)
2019-03-07 08:59:43 +01:00
Ivan Kozik
2e6b8b337b chromium: fix sha256 for 72.0.3626.121
The sha256 was previously unchanged from 72.0.3626.119

(cherry picked from commit 2129c6ec05)
2019-03-07 05:28:29 +01:00
Shea Levy
a8a6e9eac3 Merge pull request #56920 from grahamc/closure-graph-memory-19.03
Closure graph memory (19.03)
2019-03-06 22:27:49 -05:00
Danylo Hlynskyi
940f396f59 zram: revert "change default algorithm to zstd" (#56856)
19.03 default kernel is still 4.14, which doesn't support zstd. So,
zramSwap in current fasion fails on default kernel.
2019-03-07 02:07:52 +02:00
Janne Heß
c6f607a940 nixos/nginx: Support additional listen parameters (#56971)
(cherry picked from commit 57e8b48a5a)
2019-03-07 01:42:00 +02:00
Herwig Hochleitner
17a5b64424 azure-mgmt-*: re-init older versions for use with nixops
add pinned versions package-private

azure-mgmt-compute 0.20.1
azure-mgmt-network 0.20.1
azure-mgmt-nspkg 1.0.0
azure-mgmt-resource 0.20.1
azure-mgmt-storage 0.20.0

https://github.com/NixOS/nixpkgs/pull/52550
https://github.com/NixOS/nixops/issues/1065
(cherry picked from commit 0c4d750ea1)
2019-03-06 23:10:46 +01:00
William Kral
c891182f1b vagrant: re-add nowarn patch (#56863)
(cherry picked from commit 0b76b2d2af)
2019-03-06 22:55:31 +01:00
Dmitry Kalinkin
52b75d3d85 rivet: 2.7.0 -> 2.7.0
Upstream changed tarball yet again. The change is to autotools scripts,
the new ones have a more strict check for "yoda" package version.

(cherry picked from commit 01ad172921)
2019-03-06 16:49:58 -05:00
Stephen
186557e957 qtwebkit-plugins: fix build for different hunspell version (#56925)
(cherry picked from commit 38ee19986d)
2019-03-06 15:43:33 -05:00
Tim Steinbach
26a40c67c7 vivaldi-ffmpeg-codecs: 72.0.3626.121 -> 72.0.3626.122
(cherry picked from commit 07fdb3b102)
2019-03-06 10:29:57 -05:00
José Romildo Malaquias
705dfc648b vivaldi-ffmpeg-codecs: 72.0.3626.109 -> 72.0.3626.121
(cherry picked from commit 38b8f49b87)
2019-03-06 10:29:51 -05:00
Tim Steinbach
e76c639743 vivaldi: 2.3.1440.57-1 -> 2.3.1440.60-1
(cherry picked from commit 9d20f2214b)
2019-03-06 10:28:22 -05:00
José Romildo Malaquias
bc325d8247 vivaldi: 2.3.1440.48-1 -> 2.3.1440.57-1
(cherry picked from commit fa99afa809)
2019-03-06 10:28:22 -05:00
Jörg Thalheim
58eaf3264a spl: 0.7.12 -> 0.7.13
(cherry picked from commit 6b36c711a9)
2019-03-06 09:07:57 -05:00
Jörg Thalheim
a4d73e6165 zfs: 0.7.12 -> 0.7.13
(cherry picked from commit b57080d34136fd8dcc49632696ceb5ed1ff73326)
(cherry picked from commit 2bfd19fcb2)
2019-03-06 09:07:57 -05:00
Lancelot SIX
4d566c39b0 postgresql_10: 10.6 -> 10.7
See https://www.postgresql.org/about/news/1920/ for release information.

(cherry picked from commit a90cf49fa9)
2019-03-06 14:44:51 +01:00
Lancelot SIX
04e87a8a8a postgresql_9_6: 9.6.11 -> 9.6.12
See https://www.postgresql.org/about/news/1920/ for release information.

(cherry picked from commit 70a31c2e00)
2019-03-06 14:44:44 +01:00
Lancelot SIX
9e7d96f846 postgresql_9_5: 9.5.15 -> 9.5.16
See https://www.postgresql.org/about/news/1920/ for release information.

(cherry picked from commit 74c715e39c)
2019-03-06 14:44:30 +01:00
Lancelot SIX
c3a2919594 postgresql_9_4: 9.4.20 -> 9.4.21
See https://www.postgresql.org/about/news/1920/ for release information.

(cherry picked from commit d1dd3a1f1a)
2019-03-06 14:44:14 +01:00
Frederik Rietdijk
481d64fa85 buildPythonPackage: fix building with flit
(cherry picked from commit a2736d27d1)
2019-03-06 13:43:59 +01:00
Markus Kowalewski
7a32dfed90 julia: remove 0.6.4 (julia_06)
(cherry picked from commit c997f5d0f2)
2019-03-06 10:31:49 +01:00
Andrew Dunham
fab178056f xournalpp: init at 1.0.8
(cherry picked from commit 4cf0343b42)
2019-03-06 10:29:38 +01:00
worldofpeace
7bfc16cf89 pantheon.wingpanel-indicator-session: 2.2.2 -> 2.2.3
(cherry picked from commit fe190d2e83)
2019-03-05 19:13:52 -05:00
Quentin Vaucher
2fc42529b0 maintainers: add kjuvi 2019-03-05 18:40:58 -05:00
Graham Christensen
49917928dd references-by-popularity: cache computation to avoid memory bloat
On very large graphs (14k+ paths), we'd end up with a massive in
memory tree of mostly duplication.

We can safely cache trees and point back to them later, saving
memory.

(cherry picked from commit 09362bc3e8)
2019-03-05 17:35:18 -05:00
Graham Christensen
f17c143da1 references-by-popularity: create debug output
(cherry picked from commit 54826e7471)
2019-03-05 17:35:18 -05:00
Josef Kemetmüller
4933ebf819 mapnik: Fix build
(cherry picked from commit e844f08125)
2019-03-05 23:23:50 +01:00
Kjuvi
8d9f70e54c spice-up: 1.7.0 -> 1.8.0
(cherry picked from commit f271f943e0)
Fixed build.

ZHF: https://github.com/NixOS/nixpkgs/issues/56826
2019-03-05 17:17:38 -05:00
Sam Hug
dcaf6f48b8 pythonPackages.ppft: use custom checkPhase
(cherry picked from commit 529bffccd8)
Fixed build.

ZHF: https://github.com/NixOS/nixpkgs/issues/56826
2019-03-05 16:57:01 -05:00
Vladimír Čunát
019969495f Merge branch 'staging-19.03' into release-19.03 2019-03-05 21:52:09 +01:00
Tim Steinbach
0e65664c56 linux: 4.20.13 -> 4.20.14
(cherry picked from commit 1847b85f15)
2019-03-05 15:08:27 -05:00
Tim Steinbach
ba070eff1a linux: 4.19.26 -> 4.19.27
(cherry picked from commit 5e67bc19c8)
2019-03-05 15:08:27 -05:00
Tim Steinbach
f7ccbec99c linux: 4.14.104 -> 4.14.105
(cherry picked from commit 535600be55)
2019-03-05 15:08:26 -05:00
Tim Steinbach
1d42de524a linux: 4.9.161 -> 4.9.162
(cherry picked from commit cfc1110dc8)
2019-03-05 15:08:26 -05:00
Robert Schütz
ae84bf13cd python.pkgs.bpython: correct Exec in bpython.desktop
(cherry picked from commit b0a9ac798a)
2019-03-05 19:22:18 +01:00
Robert Schütz
6d90e6c7aa python.pkgs.supervise_api: use patch to specify path to supervise
(cherry picked from commit b36dc66bfe)
2019-03-05 15:29:54 +01:00
Robert Schütz
75a40bb6b9 python.pkgs.uproot: update checkInputs
(cherry picked from commit 1435d45b4e)
2019-03-05 15:28:16 +01:00
Robert Schütz
1274d29c3a python.pkgs.tvdb_api: disable tests
(cherry picked from commit a5c3c8e409)
2019-03-05 15:26:17 +01:00
Vladimír Čunát
3adbe4f737 ipe: fix the src hash (modified upstream)
https://mailman.science.uu.nl/pipermail/ipe-announce/2019-February/000080.html
(cherry picked from commit f8039e1425)
2019-03-05 15:11:08 +01:00
Robert Schütz
589d3972aa python.pkgs.awkward: fix tests
pytest.importorskip() doesn't work when we don't use pytest to run tests

(cherry picked from commit 654e6ecc68)
2019-03-05 14:49:48 +01:00
Yannis Koutras
58e31b2692 Merge pull request #56832 from tokudan/r1903-filezilla-zhf
pugixml: Fix pkg-config file installation and use fetchFromGitHub [19.03]
2019-03-05 13:34:20 +01:00
Robert Schütz
7dea73944a python.pkgs.willow: correct src
(cherry picked from commit f66d4bcb6b)
2019-03-05 12:51:23 +01:00
Ioannis Koutras
9e70e00920 curaengine: add protobuf in buildInputs
(cherry picked from commit c14eed2ac0)
2019-03-05 09:49:09 +01:00
Ioannis Koutras
64cf235926 pythonPackages.libarcus: use pkgs.protobuf as input
This commit makes pkgs.protobuf the input for libarcus, since the latter
searches for the native protobuf library and not for the Python module.

(cherry picked from commit 6a523a180a)
2019-03-05 09:48:12 +01:00
Frederik Rietdijk
ef37abe0ab Merge release-19.03 into staging-19.03 2019-03-05 08:31:57 +01:00
Frederik Rietdijk
4c98ed7728 python: 2.7.15 -> 2.7.16
(cherry picked from commit 347680df96)
2019-03-05 08:30:49 +01:00
Domen Kožar
de6efe46cd cachix: 0.1.3 -> 0.2.0
(cherry picked from commit d45ba336b2)
Signed-off-by: Domen Kožar <domen@dev.si>
2019-03-05 11:00:31 +07:00
worldofpeace
f33e380e30 pythonPackages.resampy: enable tests
(cherry picked from commit d830bfba9a)
ZHF: https://github.com/NixOS/nixpkgs/issues/56826
2019-03-04 20:03:20 -05:00
Josef Kemetmüller
98a9e8fb2e pythonPackages.resampy: Fix build
(cherry picked from commit 8e1afe7f14)
ZHF: https://github.com/NixOS/nixpkgs/issues/56826
2019-03-04 20:02:57 -05:00
Franz Pletz
f20fad9894 minetest: git-5.0.0-dev-2019-01-08 -> 5.0.0
(cherry picked from commit bc85062aa1)
2019-03-05 00:59:19 +01:00
Carles Pagès
48e828aa56 trigger-rally: 0.6.5 -> 0.6.6
Fixes build.

(cherry picked from commit eda985dc24)
2019-03-05 00:12:08 +01:00
Michael Raskin
c4c92ec726 Merge pull request #56843 from knedlsepp/fix-smbnetfs
Fix smbnetfs

(cherry picked from commit 9bc5c624e5)
2019-03-04 22:22:30 +01:00
Vladimír Čunát
f06d8e0bf4 Revert "luaPackages.cqueues: move to generated"
This reverts commit c01fe375ca.
See the reverted commit on GitHub for discussion.  /cc PR #55305.

(cherry picked from commit 3e442fd0f9)
2019-03-04 20:43:11 +01:00
Will Dietz
a36be6dc97 lua-modules/generated-packages.nix: fix 'lua' to propagate
Otherwise 'lua' is from the argument populated by callPackage
which means it's whatever the default is.

(instead of the lua we're generating packages for!)

(cherry picked from commit 2a1c7b1f32)
The error had e.g. an effect on `disabled` attributes being incorrect.
2019-03-04 20:43:10 +01:00
Frederik Rietdijk
f45e8b3432 pants: mark as broken
(cherry picked from commit 9dc262c659)
Not much point in even fixing the build since it doesn't work [0]

ZHF: https://github.com/NixOS/nixpkgs/issues/56826
[0]: https://github.com/NixOS/nixpkgs/pull/53206#issuecomment-451017476
2019-03-04 14:33:47 -05:00
worldofpeace
f1751e608e pythonPackages.pex: mark as broken
(cherry picked from commit 77c8b423ed)
ZHF: https://github.com/NixOS/nixpkgs/issues/56826
2019-03-04 14:25:25 -05:00
worldofpeace
4f09c84c4e pantheon.elementary-calendar: 4.2.3 -> 5.0
(cherry picked from commit b6fae7b993)
2019-03-04 13:33:09 -05:00
worldofpeace
2845bb4313 pantheon.elementary-files: rely on desktop-file-utils hook
(cherry picked from commit 898870824d)
2019-03-04 13:33:05 -05:00
worldofpeace
cbdd348568 pantheon.elementary-code: use C.UTF-8
(cherry picked from commit a84fa92008)
2019-03-04 13:33:03 -05:00
Will Dietz
af6ba93fc2 pantheon.elementary-gtk-theme: 5.2.1 -> 5.2.2
(cherry picked from commit 74031d99ef)
2019-03-04 13:32:50 -05:00
Matthew Bauer
6ba15cda1f ghc863: dont add extra libs
Don’t add -liconv to LDFLAGS automatically so that GHC will add it itself.

Merged in pull request #56795 from @matthewbauer.
2019-03-04 13:25:21 -05:00
Ioannis Koutras
54cc54e3bb pugixml: fix pkg-config file installation
(cherry picked from commit 236c7db82c)
2019-03-04 18:49:29 +01:00
Ioannis Koutras
f06205db98 pugixml: use fetchFromGitHub
(cherry picked from commit 8571a669a7)
2019-03-04 18:49:28 +01:00
Jan Tojnar
80d288f6c1 nginx: build with openssl 1.1
This will allow us to enable TLSv1.3

(cherry picked from commit 051e85296a)
PR #56233
2019-03-04 16:44:24 +01:00
Robert Schütz
e506ce5050 python.pkgs.pymediainfo: fix build
(cherry picked from commit 4c0f0a014b)
2019-03-04 15:52:53 +01:00
Robert Schütz
9375b0d230 python.pkgs.rawkit: add patch for python37 compatibility
(cherry picked from commit 35848d284b)
2019-03-04 15:52:04 +01:00
Andreas Wiese
c738ebca21 gogs: 0.11.66 -> 0.11.86 (#56819)
This release especially addresses CVE-2018-20303.

(cherry picked from commit 1673a3c939)
2019-03-04 15:19:39 +01:00
Will Dietz
e866ed8d32 xdm: 1.1.11 -> 1.1.12 (#56755)
https://lists.x.org/archives/xorg-announce/2019-March/002959.html
(cherry picked from commit 9809a541b2)

Fixes CVE-2013-2179
2019-03-04 13:11:39 +01:00
Robert Schütz
fa1cf8098a udiskie: fix build
It was broken by b4acd97729.
Fixes #56771.

(cherry picked from commit 887c31f14c)
2019-03-04 12:22:14 +01:00
Jan Tojnar
bdbf631167 nixos/nginx: Enable TLS 1.3 support
(cherry picked from commit f93ff28c62)
PR #56233
2019-03-04 11:53:10 +01:00
Jan Tojnar
5b38b4572a python2Packages.pyqt4: partial clean up
(cherry picked from commit 6471655f76)
2019-03-03 21:23:11 +01:00
Jan Tojnar
1861f58d9f python2Packages.pyqt4: Fix build
(cherry picked from commit f14a48f716)
2019-03-03 21:23:01 +01:00
Frederik Rietdijk
da66a6359f wxPython: fix build
(cherry picked from commit 1285d739d8)
2019-03-03 08:37:31 +01:00
Robert Schütz
75ee83deeb python.pkgs.wptserve: relax h2 version constraint
(cherry picked from commit 3c4c8b6500)
2019-03-03 08:11:33 +01:00
Pierre Bourdon
f92763c6d1 pythonPackages.protobuf: propagate native pkgs.protobuf input
Python packages depending on the protobuf library often use the "protoc"
tool from pkgs.protobuf to codegen at build time.

This fixes a few regressions from 5c7531872f

(cherry picked from commit f20a66084f)
2019-03-03 08:08:50 +01:00
Matthew Bauer
2df16bf647 nixos-rebuild: get Nix from channel
If our old Nix can’t evaluate the Nixpkgs channel, try the fallback
from the new channel /first/. That way we can upgrade Nix to a newer
version and support breaking changes to Nix (like seen in the upgrade
o Nix 2.0).

This change should be backported to older NixOS versions!

(cherry picked from commit 475c8aa018)
2019-03-02 18:52:12 -05:00
Tristan Helmich (omniIT)
f58c39a4e6 graylog: 2.5.1 -> 3.0.0
(cherry picked from commit 9efddfa2c1)
2019-03-02 23:22:54 +01:00
Tristan Helmich (omniIT)
9c65b516af graylogPlugins: update
graylog-plugin-aggregates: 2.3.0 -> 2.4.0
graylog-plugin-auth-sso: 2.4.2 -> 3.0.0
(cherry picked from commit 76b3c57ff0)
2019-03-02 23:22:53 +01:00
Franz Pletz
6d1dbdcee0 smcroute: 2.4.3 -> 2.4.4
(cherry picked from commit 81b6dd7b09)
2019-03-02 23:19:00 +01:00
Franz Pletz
3351ceb75a xmrig: 2.11.0 -> 2.13.1
(cherry picked from commit 63bd0d513a)
2019-03-02 23:18:59 +01:00
Franz Pletz
aed9b9d004 youtubeDL: 2019.02.18 -> 2019.03.01
(cherry picked from commit 86199e047c)
2019-03-02 23:18:59 +01:00
Franz Pletz
36e4406484 xmr-stak: 2.8.2 -> 2.8.3
(cherry picked from commit df77847f1c)
2019-03-02 23:18:58 +01:00
R. RyanTM
886028a319 brave: 0.59.35 -> 0.60.45
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/brave/versions

(cherry picked from commit edccde3e74)
2019-03-02 23:17:11 +01:00
Thiago Kenji Okada
8850144c2b xsecurelock: Added missing X11 buildInputs
According to xsecurelock's configure.ac file, each of the add
dependencies are used to:

- libXrandr: XRandR provides information about monitor layouts and is
strongly recommended on systems which can use more than one monitor
(which includes most laptops).
- libXext: The X Synchronization extension is used to get per-device idle
times. Used by until_nonidle only.
- libXScrnSaver: The X11 Screen Saver extension is used to turn off the
screen saver when X11 handles screen blanking (e.g. via timeout) anyway.
Saves CPU power.

Adding libXrandr fixes an issue where locking a screen in a multi
monitor setup results in the prompt information to not be in the middle
of the screen. The other dependencies are not tested if they fixed
something, however since upstream recommends than I think it is fair to
include them also.

(cherry picked from commit d2d7fed8ce)
2019-03-02 23:16:43 +01:00
Michael Raskin
98215e4553 Merge pull request #56557 from aanderse/redmine-pkg-update
redmine: 3.4.8 -> 3.4.9 & 4.0.1 -> 4.0.2
(cherry picked from commit 7093aa51b8)
2019-03-02 21:05:51 +01:00
Frederik Rietdijk
cf81d36fc9 Merge release-19.03 into staging-19.03 2019-03-02 19:16:48 +01:00
R. RyanTM
740f0585bd ibus-engines.typing-booster-unwrapped: 2.5.0 -> 2.5.3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/ibus-typing-booster/versions

(cherry picked from commit 6766409824)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-03-02 18:05:50 +01:00
Robert Schütz
ff940e202e python.pkgs.binaryornot: fix build
(cherry picked from commit 736025e234)
2019-03-02 15:27:29 +01:00
Robert Schütz
b6b58a5559 python.pkgs.pyres: skip failing test
(cherry picked from commit 2e16d3d2c8)
2019-03-02 14:51:24 +01:00
Robert Schütz
8f3660523e python.pkgs.parsel: use checkInputs
(cherry picked from commit 09d475aab9)
2019-03-02 14:51:24 +01:00
Robert Schütz
16608fcafd python.pkgs.fudge: fix tests
(cherry picked from commit 11ac34bf93)
2019-03-02 14:51:24 +01:00
Robert Schütz
be5582329a python.pkgs.spglib: fix tests
(cherry picked from commit b1467cf56b)
2019-03-02 14:51:23 +01:00
Robert Schütz
52075c240b python.pkgs.pyrsistent: remove obsolete patch
(cherry picked from commit 35fa04bec4)
2019-03-02 14:51:23 +01:00
Robert Schütz
593918b05c python.pkgs.odfpy: fix build
(cherry picked from commit 434c2a045b)
2019-03-02 14:51:02 +01:00
Robert Schütz
ce4b58f301 python.pkgs.tifffile: 2019.2.10 -> 2019.2.22 and fix build
(cherry picked from commit f9ab0f25f8)
2019-03-02 14:19:07 +01:00
Pascal Wittmann
dcb55ff5aa llpp: install llpp.inotify into bin/ 2019-03-02 12:32:49 +01:00
Pascal Wittmann
f50e057842 llpp: remove unused lib directory 2019-03-02 12:32:41 +01:00
Piotr Bogdan
697213d88b nixos/manual: fix build
(cherry picked from commit b01302b85e)
2019-03-02 12:05:43 +01:00
taku0
b7f92ef372 firefox-esr: 60.5.1esr -> 60.5.2esr
(cherry picked from commit 692a763f60)
2019-03-02 12:01:19 +01:00
taku0
b2234b4fad firefox: 65.0.1 -> 65.0.2
(cherry picked from commit d59a40c3b0)
2019-03-02 12:01:19 +01:00
taku0
e04f8ec62f firefox-bin: 65.0 -> 65.0.2
(cherry picked from commit 03bbab8540)
2019-03-02 12:01:17 +01:00
Robert Schütz
555fff9718 python.pkgs.argon2_cffi: add enum34 dependency
(cherry picked from commit d9b1bfa5bf)
2019-03-02 11:25:27 +01:00
Terje Larsen
f004d6e9c4 pythonPackages.pykeepass: fix build
Add missing dependency future

(cherry picked from commit 80b6892362)
2019-03-02 11:25:14 +01:00
Robert Schütz
74adad3caf python.pkgs.detox: mark as broken
According to https://github.com/tox-dev/detox/blob/0.19/README.md,
"detox is unmaintained and incompatible with tox > 3.6."
We currently have tox 3.7.

(cherry picked from commit f70f3b3005)
2019-03-02 11:20:35 +01:00
leo60228
7b083c00d4 multimc: unstable-2018-06-04 -> 0.6.4
Closes #55699.

(cherry picked from commit 21e2427050)
2019-03-02 10:19:54 +01:00
Daiderd Jordan
a7ffe9c4b1 nixos-rebuild: add changelog/docs for edit subcommand
(cherry picked from commit ad0b82d067)
2019-03-02 10:12:25 +01:00
Claes Wallin (韋嘉誠)
7d6764b2b3 racket{,-minimal}: add cacert to nativeBuildInputs, silence warnings
We don't actually perform any network access, but since Racket 7.0,
when certain modules are loaded, they emit an annoying warning.
While compiling the bundled packages, this happens over and over and
pollutes the logs.

Having a correct SSL configuration prevents the warnings.

(cherry picked from commit f0fbed5690)
2019-03-02 10:10:42 +01:00
Michiel Leenaars
209b5c0d31 qstopmotion: 2.4.0 -> 2.4.1
(cherry picked from commit 4d64916b96)
2019-03-02 10:09:00 +01:00
Averell Dalton
ef20994fd8 python: tensorflow: remove python3.7 restriction
(cherry picked from commit 9dd81f9389)
2019-03-02 09:06:55 +01:00
Jean-Philippe Bernardy
f5bb642008 pythonPackages.tensorflow: 1.11 -> 1.13.1
(cherry picked from commit 1c350dc99e)
2019-03-02 09:06:54 +01:00
Jean-Philippe Bernardy
ca9f5b7720 pythonPackages.tensorflow-tensorboard: 1.11.0 -> 1.13.0
(cherry picked from commit d1b7ada0ba)
2019-03-02 09:06:54 +01:00
Jean-Philippe Bernardy
62898f0641 pythonPackages.tensorflow-estimator: init 1.13.0
(cherry picked from commit 1997ca354e)
2019-03-02 09:06:54 +01:00
Will Dietz
648f31b478 pythonPackages.exchangelib: 1.12.0 -> 1.12.2 (#56531)
(cherry picked from commit e821ba565d)
2019-03-02 09:02:00 +01:00
Frederik Rietdijk
51f048c65d Revert "python: botocore: 1.12.96 -> 1.12.101"
This reverts commit f328c30cfd.

Forgot to remove this from my list of updates.

(cherry picked from commit e81595e889)
2019-03-02 08:52:58 +01:00
Frederik Rietdijk
8c9e42eafc Revert "python: boto3: 1.9.96 -> 1.9.101"
This reverts commit 35f4087d6b.

Forgot to remove this from my list of upgrades.

(cherry picked from commit cf1d44ae0d)
2019-03-02 08:52:49 +01:00
Herwig Hochleitner
004d142292 leiningen: 2.9.0 -> 2.9.1
(cherry picked from commit 025c2abd08)
2019-03-02 06:39:34 +01:00
Herwig Hochleitner
960d7de869 webkitgtk: 2.22.6 -> 2.22.7
(cherry picked from commit 26d8a8c0eb)
2019-03-02 05:28:32 +01:00
Herwig Hochleitner
4d356f872a chromium: 72.0.3626.119 -> 72.0.3626.121
CVE-2019-5786

(cherry picked from commit 9a6e64691c)
2019-03-02 05:28:31 +01:00
Franz Pletz
ca56563be4 nextcloud: 15.0.4 -> 15.0.5
(cherry picked from commit 3eda950518)
2019-03-02 02:29:41 +01:00
Pascal Bach
20de174e65 nixos/nextcloud: don't make phpPackages configurable
It needs to match the version in phpfm which is hard coded.
So there is no point in being able to change it.

(cherry picked from commit 390b6108a2)
2019-03-02 02:29:41 +01:00
Pascal Bach
772347218c nixos/nextcloud: move phpPackage and phpOptions into pool
This allows to have a php configuration for nextcloud that is independent
of the global configuration.

(cherry picked from commit f0c0b8d949)
2019-03-02 02:29:40 +01:00
Pascal Bach
2d12118a87 nixos/nextcloud: use PHP 7.3 instead of 7.1 by default
(cherry picked from commit 8f1b163b00)
2019-03-02 02:29:40 +01:00
Pascal Bach
e0538e5f65 nixos/nextcloud: update recommended nginx settings
This updates the configuration to the recommendations in
https://docs.nextcloud.com/server/15/admin_manual/installation/nginx.html

(cherry picked from commit 7f8620900a)
2019-03-02 02:29:40 +01:00
Julien Moutinho
5e8b8b44e6 rmilter: fix inetSocket
IPv6 address has to be between [] and the port after.

(cherry picked from commit 2a61c058c6)
2019-03-02 02:29:39 +01:00
Tim Steinbach
44e80e344a linux: 4.20.12 -> 4.20.13
(cherry picked from commit cab4a718de)
2019-03-01 20:23:07 -05:00
Tim Steinbach
3c891ad708 linux: 4.19.25 -> 4.19.26
(cherry picked from commit 9a65fde170)
2019-03-01 20:23:06 -05:00
Tim Steinbach
ce4ef3e840 linux: 4.14.103 -> 4.14.104
(cherry picked from commit 4580d6ca9e)
2019-03-01 20:23:06 -05:00
Tim Steinbach
9a25049974 linux: 4.9.160 -> 4.9.161
(cherry picked from commit 4eff65e514)
2019-03-01 20:23:06 -05:00
Pascal Bach
ca0231f28b gitlab-runner: 11.7.0 -> 11.8.0 (#56388)
(cherry picked from commit 23846b949c)
2019-03-02 01:59:14 +01:00
Jörg Thalheim
649a2d9768 i3pystatus: 2018-04-11 -> 2019-02-10
(cherry picked from commit 3709050828)
2019-03-02 01:59:13 +01:00
R. RyanTM
51b84c305f plantuml: 1.2019.0 -> 1.2019.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/plantuml/versions

(cherry picked from commit bc8eab4621)
2019-03-02 01:59:12 +01:00
Will Dietz
16bc15dd20 ffmpeg: 4.1 -> 4.1.1
https://git.ffmpeg.org/gitweb/ffmpeg.git/shortlog/n4.1.1
(cherry picked from commit b3171efe3b)
2019-03-02 01:59:12 +01:00
Alyssa Ross
ec3dfa04ed nginxMainline: 1.15.8 -> 1.15.9 (#56416)
(cherry picked from commit 2576d09716)
2019-03-02 01:59:11 +01:00
Robert Schütz
810ac8b0f7 qutebrowser: 1.5.2 -> 1.6.0 (#56349)
(cherry picked from commit c60d946fa3)
2019-03-02 01:59:11 +01:00
hyperfekt
0ed6e57aaf linux_testing_bcachefs: 4.20.2019.02.09 -> 4.20.2019.02.20
(cherry picked from commit 91c252b206)
2019-03-02 01:59:10 +01:00
Robert Schütz
2352ea4fea postfix: 3.3.2 -> 3.4.0 (#56537)
http://www.postfix.org/announcements/postfix-3.4.0.html
(cherry picked from commit 08052787f4)
2019-03-02 01:59:10 +01:00
Will Dietz
dd01509e4b minio: 2019-01-31 -> 2019-02-26 (#56475)
https://github.com/minio/minio/releases/tag/RELEASE.2019-02-26T19-51-46Z
https://github.com/minio/minio/releases/tag/RELEASE.2019-02-20T22-44-29Z (security)
https://github.com/minio/minio/releases/tag/RELEASE.2019-02-14T00-21-45Z
https://github.com/minio/minio/releases/tag/RELEASE.2019-02-12T21-58-47Z (critical)
https://github.com/minio/minio/releases/tag/RELEASE.2019-02-06T21-16-36Z
(cherry picked from commit 569c594e8e)
2019-03-02 01:59:09 +01:00
Pavol Rusnak
acc8749b9f python3Packages.trezor: 0.11.1 -> 0.11.2 (#56517)
(cherry picked from commit 391436134e)
2019-03-02 01:59:09 +01:00
Will Dietz
dd07dbde31 ddrescue: 1.23 -> 1.24 (#56484)
http://lists.gnu.org/archive/html/info-gnu/2019-02/msg00012.html
(cherry picked from commit 63ca967f5c)
2019-03-02 01:59:08 +01:00
Tim Steinbach
bbd87a4d22 linux: 5.0-rc7 -> 5.0-rc8
(cherry picked from commit 408e4457f1)
2019-03-02 01:59:07 +01:00
Simon Lackerbauer
88c0b50e09 atlassian-crowd: 3.3.3 -> 3.3.4
(cherry picked from commit 373d97527a)
2019-03-02 01:59:04 +01:00
Simon Lackerbauer
f885b8ae30 atlassian-confluence: 6.14.0 -> 6.14.1
(cherry picked from commit 3516d6464d)
2019-03-02 01:58:55 +01:00
Franz Pletz
f2ba18e6cc maintainers.fpletz: add .keys
(cherry picked from commit bc7d45ea57)
2019-03-02 01:27:58 +01:00
Will Dietz
3f4d22f41a radvd: 2.17 -> 2.18
First release in over a year, not sure of changelog.

Release announcement:
http://lists.litech.org/pipermail/radvd-announce-l/2019-February/000045.html

(cherry picked from commit e8f4e5af8d)
2019-03-02 01:27:51 +01:00
Maximilian Bosch
e6d9eddf21 nixos/nextcloud: add overwriteProtocol option
The overwriteprotocol option can be used to force Nextcloud to generate
URLs with the given protocol. This is useful for instances behind
reverse proxies that serve Nextcloud with HTTPS.

In this case Nextcloud can't determine the proper protocol and it needs
to be configured manually.

(cherry picked from commit b42c24f7f2)
2019-03-02 01:23:59 +01:00
Matthieu Coudron
d5ea7d1fb5 services.nextcloud: add logLevel (#56400)
a vlaue between 0 and 4 to help debug problems

(cherry picked from commit 20bbfc39e4)
2019-03-02 01:23:58 +01:00
Andreas Rammhold
b2d02f97ec tinc_pre: fix error after openssl upgrade
With the openssl upgrade to 1.0.2r / 1.1.1b the tinc pre-release version
stopped working due to a bug in tinc where an encryption function was
used during decryption. I submitted a patch upstream [1] but that wasn't
released yet.

[1] http://git.tinc-vpn.org/git/browse?p=tinc;a=commit;h=2b0aeec02d64bb4724da9ff1dbc19b7d35d7c904

(cherry picked from commit 447c21089b)
2019-03-02 01:23:49 +01:00
WilliButz
732a84dfb4 grafana: 5.4.3 -> 6.0.0 (#56412)
(cherry picked from commit 52ea2f59f5)
2019-03-02 01:22:52 +01:00
worldofpeace
bb6b91d3f7 nixos/plasma5: add xdg-user-dirs to create user directories
(cherry picked from commit 2e5f64bb83)
2019-03-01 13:27:43 -05:00
Robert Schütz
ad7494ad12 python.pkgs.pyscard: move swig to nativeBuildInputs
(cherry picked from commit 505b810a7f)
2019-03-01 14:45:45 +01:00
Vladimír Čunát
e9b11fa20e Merge #56201: add nix-env.qaCountBroken metric
... into release-19.03.  (Cherry-picked from 35cf2c82c1.)
The branch is affected by the stdenv change differentiating the numbers,
and I believe consistency with master will be good here.
2019-03-01 14:06:15 +01:00
Vladimír Čunát
a593f64cd7 metrics.nix: track qaCountBroken instead of qaCountDrv
From these three values, I believe it's most meaningful to track
one of the higher ones and their difference (qaCountBroken).
It's a bit unclear which of the higher ones - I have no data on that,
so I kept the one used before the parent commit.
2019-03-01 13:59:30 +01:00
Will Dietz
71a59af061 Merge #56429: xorgserver: 1.20.3 -> 1.20.4
(cherry picked from commit 6ad4e3e315)
It's basically just bugfixes, and 19.03 hasn't even been released yet.
2019-03-01 11:34:21 +01:00
Frederik Rietdijk
dbef9c1ba2 Merge staging-next into staging-19.03
Staging-next should been merged into staging-19.03 before branch-off but wasn't.
The staging-next branch seems good enough, and nothing really has been added since branch-off
so we can merge it into staging-19.03 as well.

Note that due to merge conflicts feedreader may be broken.
2019-03-01 09:09:53 +01:00
Johan Thomsen
2a53812970 kubernetes: 1.13.3 -> 1.13.4 (#56524)
(cherry picked from commit b8285fc782)
2019-02-28 22:37:54 +01:00
Andreas Rammhold
b25a8324ca Merge pull request #56483 from andir/19.03/riak-cve-2017-3163
[19.03] Mark Riak and Riak-cs as insecure
2019-02-28 18:15:33 +01:00
Robert Schütz
e54ec58ca2 thunderbird-bin: fix updateScript evaluation
(cherry picked from commit ca8fd54463)
2019-02-28 08:21:59 +01:00
Robert Schütz
736b85fd35 thunderbird: fix updateScript evaluation
(cherry picked from commit 1a7c2b3f54)
2019-02-28 08:21:52 +01:00
Robert Schütz
8410b3950a firefox-bin: fix updateScript evaluation
(cherry picked from commit fce6329f50)
2019-02-28 08:21:46 +01:00
Robert Schütz
bd4f38e923 nodejs: fix updateScript evaluation
(cherry picked from commit 23b2a60620)
2019-02-28 08:21:27 +01:00
Michael Raskin
dddd1b6118 Revert "Merge pull request #54980 from danbst/etc-relative"
This reverts commit 0b91fa43e4, reversing
changes made to 183919a0c0.
2019-02-28 08:27:39 +01:00
Silvan Mosberger
db90ae9c1e Merge pull request #56466 from averelld/nv-docker-19.03
nvidia-docker 19.03
2019-02-28 02:12:21 +01:00
Andreas Rammhold
a13d7a26bb riak: mark as insecure
(cherry picked from commit 48f1455c65)
2019-02-27 21:28:15 +01:00
Andreas Rammhold
abac37bc7a riak-cs: mark as insecure
(cherry picked from commit 515be3b94b)
2019-02-27 21:28:15 +01:00
Averell Dalton
b7dd36298c nixos/docker: add enableNvidia option 2019-02-27 16:43:46 +01:00
Averell Dalton
8d402c61d6 nvidia-docker: init at 2.0.3
nvidia_x11 and persistenced were modified to provide binaries which can be
mounted inside a docker-container to be executed there.

most ldconfig-based discovery of bundled nvidia libraries is patched out

ldconfig itself is patched to be able to deal with patchelf'ed libraries
See https://sourceware.org/bugzilla/show_bug.cgi?id=23964
2019-02-27 16:43:45 +01:00
Robert Schütz
5c1a47c9b1 linuxPackages.tp_smapi: fix evaluation
has been broken by dadc7eb329

(cherry picked from commit 1d1c909bf8)
2019-02-27 14:35:03 +00:00
Peter Simons
2fbd339171 Merge #56414: openssl: 1.0.2q -> 1.0.2r, 1.1.1a -> 1.1.1b
(cherry picked from commit 8c4b12b8d0)
The 1.0.2 bump is a security fix.
2019-02-27 09:57:42 +01:00
Alyssa Ross
fc4a8f63c4 openssl: 1.0.2q -> 1.0.2r
(cherry picked from commit 9c94d74836)
From PR #56414.  Forward-picking from staging to staging-next,
as minor openssl bumps tend to be fairly breakage-free.
2019-02-27 09:41:25 +01:00
Robert Schütz
1348641d50 Revert "nixos/fish: generate autocompletions from man pages" (#56439)
System rebuilds currently fail due to collisions.
See also https://github.com/NixOS/nixpkgs/issues/56432.

(cherry picked from commit 029adf9619)
2019-02-27 08:21:43 +01:00
Graham Christensen
4e7135af0e libguestfs: build on hydra
It used to be huge, but current measurements reveal a 48mb NAR

(cherry picked from commit 0ea3b395372cc1e400340c8b04d17c1277bf3f03)
2019-02-26 20:52:35 -05:00
worldofpeace
9e21816c7b pantheon.elementary-music: 5.0.2 -> 5.0.3
(cherry picked from commit d53aefd534)
2019-02-26 20:37:36 -05:00
worldofpeace
6b65079f17 pantheon.gala: 2018-12-16 -> 2019-02-09
Changes: 7f1e392e03...1a96644c6a
(cherry picked from commit f995b919fc)
2019-02-26 20:36:58 -05:00
John Ericson
89f928582b Merge pull request #56443 from Ericson2314/runtimeShell
treewide: use runtimeShell instead of stdenv.shell whenever possible for 19.03
2019-02-26 18:44:18 -05:00
Jörg Thalheim
c8ff4a92f7 treewide: use runtimeShell instead of stdenv.shell whenever possible
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.

(cherry picked from commit dadc7eb329)
2019-02-26 18:12:01 -05:00
John Ericson
fb14ed75fc Merge commit 'f07097902cf7355ec02341c0e6576f8d5bc0ccc6' into release-19.03 2019-02-26 18:10:58 -05:00
John Ericson
f07097902c pinentry: Use lib.string.{enable,with}Feature to avoid duplication 2019-02-26 13:22:08 -05:00
Vladimír Čunát
07e2b59812 Merge #56143: luajit, lmdb, knot-resolver: cross-fixes
Master commit: e52396ce2c.  It's bugfixes, basically.
2019-02-26 15:31:33 +01:00
Robert Schütz
0dbfd0e7f9 Merge pull request #56312 from costrouc/python-unstable
Fixes several broken python packages for python-unstable
2019-02-25 17:13:11 +01:00
Robert Schütz
8effff1dae python.pkgs.pynacl: do not propagate libsodium 2019-02-25 15:16:21 +01:00
Chris Ostrouchov
8c0516e113 pythonPackages.pint: refactor change pypi name and 27 compatability 2019-02-25 15:11:59 +01:00
Chris Ostrouchov
1faa09be01 pythonPackages.pynacl: refactor remove deprecated hypothesis testing args 2019-02-25 15:11:52 +01:00
Robert Schütz
83ec5c102b pythonPackages.shapely: use patch to set library paths 2019-02-25 15:10:45 +01:00
Chris Ostrouchov
d54485a145 pythonPackages.monty: 1.0.2 -> 1.0.4
and cleanup broken tests
2019-02-25 14:27:29 +01:00
Robert Schütz
8dccb06516 python.pkgs.cherrypy: skip test that fails intermittently
See https://github.com/cherrypy/cherrypy/issues/1306 for the
upstream discussion.
2019-02-25 11:35:25 +01:00
Robert Schütz
84f1d93c00 vdirsyncer: fix tests 2019-02-25 11:13:46 +01:00
Robert Schütz
865e83b80d python.pkgs.fiona: fix build 2019-02-25 11:13:46 +01:00
Chris Ostrouchov
bbf7666674 pythonPackages.gidgethub: refactor build without flit 2019-02-24 18:20:26 -05:00
Chris Ostrouchov
c0d6bd8743 pythonPackages.howdoi: refactor fix HOME requirement 2019-02-24 12:49:39 -05:00
Vladimír Čunát
18fe630281 Merge #56291: cmake: fix darwin bootstrapping
... into staging-next.
2019-02-24 16:52:03 +01:00
Daiderd Jordan
cb8e6f73f5 cmake: add cf-private on darwin 2019-02-24 11:32:47 +01:00
Daiderd Jordan
fa82915e01 xar: add explicit lzma input
lzma is part of the stdenv but not during bootstrapping?
2019-02-24 11:32:01 +01:00
Daiderd Jordan
c8aaadcc9d cmake: disable ApplicationServices and CoreServices on darwin 2019-02-24 11:30:48 +01:00
Izorkin
55fc2d6375 pythonPackages.psutil: 5.4.8 -> 5.5.1 2019-02-24 10:17:36 +01:00
Frederik Rietdijk
c2eac6741b Merge master into staging-next 2019-02-24 09:19:12 +01:00
catern
917f6f987a pythonPackages.pykerberos: take krb5 as a nativeBuildInput (#56268) 2019-02-24 08:32:14 +01:00
Frederik Rietdijk
1fccd25595 buildPythonPackage: always export LANG=C.UTF-8 2019-02-23 20:08:26 +01:00
Frederik Rietdijk
e7b4608d02 buildPythonPackage: initial support for PEP 517 2019-02-23 20:05:19 +01:00
Frederik Rietdijk
073602c143 python.pkgs.rhpl: fix build 2019-02-23 20:05:19 +01:00
Frederik Rietdijk
8ce693e81b python.pkgs.bootstrapped-pip: pip 19.0.2 -> 19.0.3, wheel 0.33.0 -> 0.33.1 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
3f8c70a019 python: zope.i18n: 4.6.1 -> 4.6.2 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
d7b057941e python: wheel: 0.33.0 -> 0.33.1 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
faa8bbcbf0 python: virtualenv: 16.4.0 -> 16.4.1 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
21675be227 python: uproot: 3.4.5 -> 3.4.6 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
3431148c7a python: uproot-methods: 0.4.2 -> 0.4.3 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
f7c56865ba python: telethon-session-sqlalchemy: 0.2.8 -> 0.2.9.post1 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
eaec54b5d7 python: spectral-cube: 0.4.3 -> 0.4.4 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
4029f3161e python: regex: 2019.02.07 -> 2019.02.21 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
4675cebd2c python: quantities: 0.12.2 -> 0.12.3 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
1bc8faa184 python: qiskit: 0.7.2 -> 0.7.3 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
139fedfba3 python: pyzmq: 17.1.2 -> 17.1.3 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
c6c25741a6 python: pyupdate: 0.2.26 -> 0.2.29 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
fbc5b45259 python: pytest-server-fixtures: 1.6.1 -> 1.6.2 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
41a5f392e3 python: pyrsistent: 0.14.10 -> 0.14.11 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
9cdb255a87 python: pykeepass: 3.0.2 -> 3.0.3 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
d6ece9f4a2 python: pyhomematic: 0.1.55 -> 0.1.56 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
882dd8592a python: PyChromecast: 2.5.1 -> 2.5.2 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
d54a379fb6 python: py_stringmatching: 0.4.0 -> 0.4.1 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
ae19b699d5 python: prompt_toolkit: 2.0.8 -> 2.0.9 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
a473b68709 python: plaid-python: 2.4.0 -> 2.4.1 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
efdb9b322f python: pip: 19.0.2 -> 19.0.3 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
8512713489 python: phonenumbers: 8.10.5 -> 8.10.6 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
96e372b667 python: murmurhash: 1.0.1 -> 1.0.2 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
7d663129a2 python: ledgerblue: 0.1.22 -> 0.1.23 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
2177ac101f python: google-auth: 1.6.2 -> 1.6.3 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
ea6e883752 python: globus-sdk: 1.7.0 -> 1.7.1 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
15d9442440 python: flake8: 3.7.5 -> 3.7.6 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
dc58cece83 python: django-contrib-comments: 1.9.0 -> 1.9.1 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
63176cbeda python: cx_Oracle: 7.1.0 -> 7.1.1 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
aea77eb7d6 python: configparser: 3.7.1 -> 3.7.3 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
e2d0dc3cd6 python: cmd2: 0.9.8 -> 0.9.10 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
f6b3fd3b29 python: cffi: 1.12.0 -> 1.12.1 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
f328c30cfd python: botocore: 1.12.96 -> 1.12.101 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
35f4087d6b python: boto3: 1.9.96 -> 1.9.101 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
bf72a598fc python: atom: 0.4.2 -> 0.4.3 2019-02-23 20:05:17 +01:00
Frederik Rietdijk
abb101dc42 python: androguard: 3.3.4 -> 3.3.5 2019-02-23 20:05:17 +01:00
Frederik Rietdijk
eccf59f056 python: alerta-server: 6.7.4 -> 6.7.5 2019-02-23 20:05:17 +01:00
Frederik Rietdijk
118d7630a7 python: aiohue: 1.9.0 -> 1.9.1 2019-02-23 20:05:17 +01:00
Frederik Rietdijk
143d5fc729 python: XlsxWriter: 1.1.4 -> 1.1.5 2019-02-23 20:05:17 +01:00
Frederik Rietdijk
89f91cf06b python.pkgs.hypothesis: 3.79.3 -> 3.88.3 2019-02-23 20:05:17 +01:00
Vladimír Čunát
98385ff540 knot-resolver: cross-compilation fix 2019-02-23 18:17:35 +01:00
Frederik Rietdijk
8220b5bac8 python.pkgs.configparser: fix darwin regression
We can use C.UTF-8 on Linux but not yet on Darwin.
2019-02-22 18:33:47 +01:00
Jan Malakhovski
36aa5b691d metrics.nix: add nix-env.qaCountDrv metric
Before ae16dd1a15 `nix-env.qaCount` and
`nix-env.qaCountDrv` were equivalent, after that change that is no longer
the case so this needs a separate metric now.
2019-02-22 16:59:29 +00:00
Vladimír Čunát
71f4ba29a3 Merge branch 'master' into staging-next
Hydra nixpkgs: ?compare=1506218
2019-02-22 17:51:01 +01:00
Vladimír Čunát
821c0844d4 Merge branch 'staging' into staging-next 2019-02-22 17:49:58 +01:00
Vladimír Čunát
2adf954e84 Merge #55420: buildEnv, substituteAll: disable binary cache
... into staging.
2019-02-22 13:57:01 +01:00
Vladimír Čunát
4c212f6b12 Merge #55779: only set __darwinAllowLocalNetworking on darwin
... into staging.
2019-02-22 11:27:28 +01:00
Robert Schütz
e1895a52a6 python: readthedocs-sphinx-ext: 0.5.16 -> 0.5.17 2019-02-22 10:05:40 +01:00
Will Dietz
c7a1b77a67 nghttp2: 1.35.1 -> 1.36.0
https://github.com/nghttp2/nghttp2/releases/tag/v1.36.0
2019-02-22 01:52:38 -06:00
Vladimír Čunát
52a2414aae Merge #55819: unbound: 1.8.3 -> 1.9.0 (into staging)
It would be quite a shame if 19.03 missed dnsflagday.net changes
and some other features/fixes from 1.9.0.
2019-02-22 07:38:38 +01:00
Vladimír Čunát
239b5e84a9 Merge #55613: libidn2: 2.1.0 -> 2.1.1 (into staging) 2019-02-22 07:35:24 +01:00
Vladimír Čunát
9cfe4a11cc Merge #55632: libuv: 1.24.1 -> 1.26.0 (into staging) 2019-02-22 07:33:18 +01:00
Vladimír Čunát
052e34a66f Merge #56059: cmake: 3.12.1 -> 3.13.4 (into staging) 2019-02-22 07:23:08 +01:00
Vladimír Čunát
7d47102bbc Merge #56170: Revert "file: 5.35 -> 5.36" (staging) 2019-02-22 07:02:53 +01:00
Vladimír Čunát
2ed8187107 Merge #56022: mesa and x11 updates (into staging) 2019-02-22 06:59:22 +01:00
Will Dietz
c2239ffde6 Revert "file: 5.35 -> 5.36" 2019-02-21 17:10:39 -06:00
Will Dietz
b7eadcfa6f Merge pull request #56126 from dtzWill/update/file-5.36
file: 5.35 -> 5.36
2019-02-21 16:54:39 -06:00
Will Dietz
c1d1bd2391 file: 5.35 -> 5.36
https://mailman.astron.com/pipermail/file/2019-February/000073.html
2019-02-21 12:48:53 -06:00
Vladimír Čunát
5ddfa4183a luajit: fix cross-compilation, partially
Also clean the expression a bit.
2019-02-21 12:16:04 +01:00
Vladimír Čunát
147a685948 lmdb: fix cross-compilation 2019-02-21 12:16:03 +01:00
Michael Raskin
2f6b01f510 Merge pull request #55764 from oxij/pkgs/nasm-from-source
nasm: build from source
2019-02-21 09:54:48 +00:00
Frederik Rietdijk
081ce64e6e Merge pull request #55757 from NixOS/python-unstable
Python: package set updates before branch-off
2019-02-21 10:38:22 +01:00
Maximilian Bosch
9fcd3bffc2 buildEnv: improve file check to avoid false-positives
The original change in #55372 was supposed to fix the case where a store
path which is a file should be placed into `buildEnv` which broke with a
fairly misleading Perl error.

Unfortunately this introduced a regression, `findFiles` can have targets
that are files if the file isn't a store path. Rather than adding more
obscure checks with probably further regressions, I figured that it's
better to replicate the behavior of `lib.isStorePath` and explicitly
check if the store path is a file and break in this case only.

This should also fix recent staging issues.
2019-02-21 10:37:42 +01:00
Robert Schütz
080832f411 octoprint: fix tests 2019-02-21 08:22:47 +01:00
Robert Schütz
c335003b8d octoprint: ignore version constraints 2019-02-21 08:22:47 +01:00
Frederik Rietdijk
5871da418f Merge staging into python-unstable 2019-02-21 08:02:10 +01:00
Frederik Rietdijk
e2cd07b997 Merge staging-next into staging 2019-02-21 07:54:33 +01:00
Robert Schütz
eb22e4c775 python.pkgs.fb-re2: no tests in tarball 2019-02-20 20:32:04 +01:00
Robert Schütz
c01276654e python.pkgs.pygame: fix build
after setting `strictDeps = true;`
2019-02-20 20:27:34 +01:00
Robert Schütz
5124cf7a14 beets: use checkInputs 2019-02-20 20:07:21 +01:00
Robert Schütz
4348c8a0ba python.pkgs.soco: use pytest_3
Otherwise, we get
    [pytest] section in setup.cfg files is no longer supported,
    change to [tool:pytest] instead
2019-02-20 19:59:30 +01:00
Robert Schütz
8cf396442d python.pkgs.sphinx_rtd_theme: fix tests 2019-02-20 19:57:06 +01:00
Robert Schütz
4b8049ee4a python.pkgs.readthedocs-sphinx-ext: init at 0.5.16 2019-02-20 19:55:45 +01:00
Robert Schütz
4527d4fb7a python.pkgs.paster-pastedeploy: fix tests compatibility with PasteDeploy 2+ 2019-02-20 18:12:01 +01:00
Robert Schütz
9d2ea84f55 python.pkgs.celery: 4.2.1 -> 4.3.0rc1
Using a pre-release because it currently does not build due to
updated dependencies.
2019-02-20 17:31:24 +01:00
Robert Schütz
c1b7deab9f python.pkgs.git-annex-adapter: use patch to hardcode git-annex path 2019-02-20 15:05:37 +01:00
Robert Schütz
5e3bdbedd3 python.pkgs.mwclient: use checkInputs 2019-02-20 14:39:33 +01:00
Matthew Bauer
c9b14043f0 Merge pull request #54993 from yorickvP/patch-2
wayland: separateDebugInfo = true
2019-02-19 23:21:18 -05:00
Matthew Bauer
ae3e8355ab Merge pull request #56021 from illegalprime/fix/cmake-cross
cmake: add ability to cross-compile cmake
2019-02-19 22:34:15 -05:00
Sam Stites
9b38f6f09f bump cmake to 3.13.4 2019-02-19 13:21:30 -05:00
Matthew Bauer
5d0b0bbf30 Merge pull request #56030 from matthewbauer/revert-72e176
Revert "libcxx: add linker scripts for libc++.a to ensure libc++abi.a…
2019-02-19 11:45:37 -05:00
Matthew Bauer
e3ca9d954e Merge pull request #56029 from matthewbauer/revert-cctools-bump
Revert cctools bump
2019-02-19 11:44:17 -05:00
Vladimír Čunát
3a078594a1 libpng: always apply the debian patches
This fixes the low-severity CVE on other platforms than aarch64.
2019-02-19 11:10:00 +01:00
Vladimír Čunát
424efc7e71 Merge branch 'staging-next' into staging 2019-02-19 11:08:32 +01:00
Vladimír Čunát
95e2332ed1 Merge #55981: gtk3: 3.24.4 -> 3.24.5 (into staging) 2019-02-19 08:23:01 +01:00
Maximilian Bosch
1cab56e01a buildEnv: break with a proper error if one path is actually a file
I noticed by creating `buildEnv` where I accidentally put a derivation
from `pkgs.writeText` into `paths` and got a broken build with the
following misleading error message:

```
Use of uninitialized value $stat1 in numeric ne (!=) at /nix/store/9g4wc31j7a2xp22xpgwr0qssfxahxdzl-builder.pl line 74.
Use of uninitialized value $stat1 in bitwise and (&) at /nix/store/9g4wc31j7a2xp22xpgwr0qssfxahxdzl-builder.pl line 75.
different permissions in `' and `/nix/store/0vy5ss91laxvwkyvrbld5hv27i88qk5w-noise': 0000 <-> 0444 at /nix/store/9g4wc31j7a2xp22xpgwr0qssfxahxdzl-builder.pl line 75.
```

It can be reproduced with an expression like this:

``` nix
{ pkgs ? import <nixpkgs> { } }:
let
  file = pkgs.writeText "test" ''
    content
  '';
in
  pkgs.buildEnv {
    name = "test-env";
    paths = [ /* ... */ file ];
  }
```
2019-02-19 07:56:44 +01:00
Matthew Bauer
8cb7ea7dae Revert "libcxx: add linker scripts for libc++.a to ensure libc++abi.a is properly linked"
This reverts commit 72e1764199.

This causes the GHC panic reported in issue #55848.
2019-02-18 20:52:08 -05:00
Matthew Bauer
5464dbe40a cctools: add myself as maintainer 2019-02-18 20:45:35 -05:00
Matthew Bauer
0e78f2bd10 Revert "cctools: bump to latest commit"
This reverts commit ac682e362c.

This broke iOS building on master. Even Xcode 8.2 comes with TAPI
librarises. We need these patches to support those .tbd files.
Eventually we will move to using libtapi directly, but I have not
finished work on this right now.

Unfortunately, this will not have my changes for building cctools with
manpages. We will have to do this update at some later time.
2019-02-18 20:44:19 -05:00
Matthew Bauer
b1bbd94bb6 Merge remote-tracking branch 'NixOS/master' into staging 2019-02-18 20:36:48 -05:00
Michael Eden
cbbde55382 cmake: add ability to cross-compile cmake 2019-02-18 17:41:03 -05:00
Lengyel Balazs
6f9a7f05cf mesa: 18.3.3 -> 18.3.4 2019-02-18 23:24:47 +01:00
Lengyel Balazs
b6167a6e63 xorg/xf86-video-apm: init at 1.3.0 2019-02-18 23:24:47 +01:00
Lengyel Balazs
38004ab4bb xorg/xf86-video-tdfx: 1.4.7 -> 1.5.0 2019-02-18 23:24:47 +01:00
Lengyel Balazs
ea1ca5a4eb xorg/xf86-video-s3virge: 1.10.7 -> 1.11.0 2019-02-18 23:24:47 +01:00
Lengyel Balazs
3da970b8c9 xorg/xf86-video-chips: 1.3.4 -> 1.4.0 2019-02-18 23:24:47 +01:00
Lengyel Balazs
0e6814e11a xorg/xcursor-themes: 1.0.5 -> 1.0.6 2019-02-18 23:24:46 +01:00
Lengyel Balazs
c72b449f3c xorg/xcursorgen: 1.0.6 -> 1.0.7 2019-02-18 23:24:46 +01:00
Lengyel Balazs
3117c1131b xorg/xcalc: init ad 1.0.7 2019-02-18 23:24:46 +01:00
Lengyel Balazs
c6d84ce454 xorg/libXau: 1.0.8 -> 1.0.9 2019-02-18 23:24:46 +01:00
Lengyel Balazs
4d5295e6c9 mesa: update llvmPackagages 6 -> 7 2019-02-18 23:23:26 +01:00
Will Dietz
f9a62dbace gtk3: 3.24.4 -> 3.24.5
* add fribidi as it's now required.
* fetch patches to fix fribidi linking, autoreconf
2019-02-17 20:49:34 -06:00
Frederik Rietdijk
94452556cc python.pkgs.altair: fix build 2019-02-17 14:40:58 +01:00
Frederik Rietdijk
e5293adbb6 python.pkgs.alerta-server: fix build 2019-02-17 14:40:57 +01:00
Frederik Rietdijk
df12dd8ff9 python.pkgs.alerta: fix build 2019-02-17 14:40:57 +01:00
Frederik Rietdijk
ea08586abb octoprint: 1.3.9 -> 1.3.10, still broken
need to add a bunch of custom versions of dependencies
2019-02-17 14:40:57 +01:00
Frederik Rietdijk
e31abb97a5 Revert "python: XStatic-Bootstrap: 3.3.7.1 -> 4.1.3.1"
because this broke the sole user bepasty

This reverts commit c7b4424d58.
2019-02-17 14:40:57 +01:00
Frederik Rietdijk
afa743cd47 arelle: fix build 2019-02-17 14:40:57 +01:00
Frederik Rietdijk
a88c739b58 awscli: 1.16.104 -> 1.16.106 2019-02-17 14:40:57 +01:00
Frederik Rietdijk
a6c325019e python: texttable: 1.6.0 -> 1.6.1 2019-02-17 14:40:57 +01:00
Frederik Rietdijk
ea433eb7e3 python: telethon-session-sqlalchemy: 0.2.7 -> 0.2.8 2019-02-17 14:40:57 +01:00
Frederik Rietdijk
30655f92ce python: sopel: 6.6.2 -> 6.6.3 2019-02-17 14:40:57 +01:00
Frederik Rietdijk
2e1980d3f7 python: pyupdate: 0.2.23 -> 0.2.26 2019-02-17 14:40:57 +01:00
Frederik Rietdijk
0a9110cac8 python: pytest-forked: 1.0.1 -> 1.0.2 2019-02-17 14:40:56 +01:00
Frederik Rietdijk
a056facf41 python: pyro-ppl: 0.3.1 -> 0.3.1.post1 2019-02-17 14:40:56 +01:00
Frederik Rietdijk
8027150275 python: PyChromecast: 2.5.0 -> 2.5.1 2019-02-17 14:40:56 +01:00
Frederik Rietdijk
351bcf1b29 python: pid: 2.2.2 -> 2.2.3 2019-02-17 14:40:56 +01:00
Frederik Rietdijk
f6b47bb581 python: marshmallow: 2.18.0 -> 2.18.1 2019-02-17 14:40:56 +01:00
Frederik Rietdijk
23bcc77965 python: llfuse: 1.3.5 -> 1.3.6 2019-02-17 14:40:56 +01:00
Frederik Rietdijk
cc51f4b084 python: identify: 1.2.1 -> 1.2.2 2019-02-17 14:40:56 +01:00
Frederik Rietdijk
5db9c23d66 python: httplib2: 0.12.0 -> 0.12.1 2019-02-17 14:40:56 +01:00
Frederik Rietdijk
0b139eb469 python: google-cloud-dataproc: 0.3.0 -> 0.3.1 2019-02-17 14:40:56 +01:00
Frederik Rietdijk
2e76515282 python: gin-config: 0.1.2 -> 0.1.3 2019-02-17 14:40:55 +01:00
Frederik Rietdijk
7557f5651a python: cairocffi: 1.0.1 -> 1.0.2 2019-02-17 14:40:55 +01:00
Frederik Rietdijk
c90dcf2c0e python: botocore: 1.12.94 -> 1.12.96 2019-02-17 14:40:55 +01:00
Frederik Rietdijk
48871fbe47 python: boto3: 1.9.94 -> 1.9.96 2019-02-17 14:40:55 +01:00
Frederik Rietdijk
8b4fe86b5d python: alerta-server: 6.7.3 -> 6.7.4 2019-02-17 14:40:55 +01:00
Frederik Rietdijk
9ed872ebe2 python: WazeRouteCalculator: 0.7 -> 0.7.2 2019-02-17 14:40:55 +01:00
Frederik Rietdijk
93452724bf python: Wand: 0.5.0 -> 0.5.1 2019-02-17 14:40:55 +01:00
Frederik Rietdijk
6f0555b030 python.pkgs: rename pytestflakes to pytest-flakes
to follow naming guideline
2019-02-17 14:40:55 +01:00
Frederik Rietdijk
9dc262c659 pants: mark as broken 2019-02-17 14:40:55 +01:00
Robert Schütz
d35d7b3578 python3.pkgs.cherrypy: 18.0.1 -> 18.1.0 2019-02-17 14:40:54 +01:00
Robert Schütz
742fa0d741 python.pkgs.python-services: init at 1.3.1 2019-02-17 14:40:54 +01:00
Frederik Rietdijk
ec552248f9 python.pkgs.pythonix: mark as broken 2019-02-17 14:40:54 +01:00
Frederik Rietdijk
e722e0c6c1 python.pkgs.trollius: only for python 2 2019-02-17 14:40:54 +01:00
Frederik Rietdijk
9382d2ea76 python.pkgs.distro: mark as broken 2019-02-17 14:40:54 +01:00
Frederik Rietdijk
993bad1695 python.pkgs.qtawesome: fix build 2019-02-17 14:40:54 +01:00
Frederik Rietdijk
04f051d79f spyder: 3.2.8 -> 3.3.3 2019-02-17 14:40:54 +01:00
Frederik Rietdijk
1c9977c673 python.pkgs.wurlitzer: init at 1.0.2 2019-02-17 14:40:54 +01:00
Frederik Rietdijk
a8b6bf3262 python.pkgs.datashape: mark as broken 2019-02-17 14:40:54 +01:00
Frederik Rietdijk
d2c3fd5af0 Python: fix outfall after setting strictDeps = true; 2019-02-17 14:40:54 +01:00
Frederik Rietdijk
7397fa2a27 python.pkgs.partd: disable failing test 2019-02-17 14:40:53 +01:00
Frederik Rietdijk
96ff09a854 python.pkgs.murmurhash: fix build 2019-02-17 14:40:53 +01:00
Frederik Rietdijk
424dd6c1c5 python.pkgs.cypari2: fix build
after setting `strictDeps = true;`
2019-02-17 14:40:53 +01:00
Frederik Rietdijk
51e9723ba9 python.pkgs.qtconsole: distinguish between build and check inputs 2019-02-17 14:40:52 +01:00
Frederik Rietdijk
6bffe977fe python.pkgs.pyqt5: fix build 2019-02-17 14:40:52 +01:00
Frederik Rietdijk
5c7531872f python.pkgs.protobuf: fix build 2019-02-17 14:40:52 +01:00
Robert Schütz
d3675b5f77 python.pkgs.kombu: add Pyro4 to checkInputs 2019-02-17 14:40:52 +01:00
Robert Schütz
8dcc98e80b python.pkgs.billiard: add psutil to propagatedBuildInputs 2019-02-17 14:40:52 +01:00
Robert Schütz
e70cf2cd44 python.pkgs.portend: disable flake8 tests
They fail with many occurences of `E117 over-indented`.
2019-02-17 14:40:52 +01:00
Robert Schütz
50a85be787 python.pkgs.mutagen: fix tests with updated pycodestyle 2019-02-17 14:40:52 +01:00
Robert Schütz
47061712cf papis: fix build with recent python-slugify 2019-02-17 14:40:52 +01:00
Robert Schütz
e2b68922f3 python.pkgs.pylibgen: no tests in tarball 2019-02-17 14:40:52 +01:00
Frederik Rietdijk
4256099a33 matplotlib: fix pkgconfig situation
We need pkgs.pkgconfig, and not pythonPackages.pkgconfig.
2019-02-17 14:40:51 +01:00
Frederik Rietdijk
d40bd10e68 vulnix: ronn is a native build input 2019-02-17 14:40:51 +01:00
Frederik Rietdijk
0c3197ec08 Revert "python.pkgs.matplotlib: use pkgs.pkgconfig"
This reverts commit c78f98db56.
2019-02-17 14:40:51 +01:00
Spencer Baugh
46f2b49b44 pythonPackages.pkgconfig: use same setupHook as pkgconfig
This setupHook is necessary for actually using pkgconfig. Without this
setupHook, you need to put both pythonPackages.pkgconfig and pkgconfig
into your buildInputs, just to get the setuphook of the latter.

Previously, pythonPackages.pkgconfig depended on pkgconfig as a
propagatedBuildInput, so this setupHook was propagated down to
dependents. That was changed to a regular nativeBuildInput, so now
this setupHook change is necessary for packages to only depend on
pythonPackages.pkgconfig.

A possible alternative is extracting out a common pkgconfigHook
package and having both pythonPackages.pkgconfig and pkgconfig depend
on that with propagatedBuildInputs. That might be necessary to avoid
the buildHook running twice?
2019-02-17 14:40:51 +01:00
Frederik Rietdijk
50b1d64534 dosage: fix build 2019-02-17 14:40:51 +01:00
Frederik Rietdijk
6da810586d awscli: 1.16.90 -> 1.16.104 2019-02-17 14:40:51 +01:00
Robert Schütz
a876267dee python.pkgs.praw: use pytest_3 2019-02-17 14:40:51 +01:00
Robert Schütz
fc2a5acd03 python.pkgs.oauthlib: 2.0.0 -> 3.0.1 2019-02-17 14:40:51 +01:00
Robert Schütz
254099bf7d python.pkgs.virtualenv: rebase virtualenv-change-prefix.patch 2019-02-17 14:40:51 +01:00
Robert Schütz
45716f553d python.pkgs.aiodns: add typing to propagatedBuildInputs 2019-02-17 14:40:51 +01:00
Robert Schütz
9a36041027 python.pkgs.PasteDeploy: no tests in tarball 2019-02-17 14:40:50 +01:00
Robert Schütz
869d64e2d1 python.pkgs.hkdf: no tests in tarball 2019-02-17 14:40:50 +01:00
Robert Schütz
14e5af2aa7 python.pkgs.pytest-localserver: fix tests 2019-02-17 14:40:50 +01:00
Robert Schütz
e68aa6b28f home-assistant: fix pinned dependencies' builds 2019-02-17 14:40:50 +01:00
Robert Schütz
114ffa3dd2 python.pkgs.requests_toolbelt: add meta.license 2019-02-17 14:40:50 +01:00
Robert Schütz
a9c8616ce9 python.pkgs.requests_toolbelt: disable tests that access network 2019-02-17 14:40:50 +01:00
Robert Schütz
3c20d3c806 python.pkgs.txaio: use pytest_3
Otherwise, tests fail with
`Fixtures are not meant to be called directly, but are created
automatically when test functions request them as parameters.`
2019-02-17 14:40:50 +01:00
Robert Schütz
4dcbcbb46e python.pkgs.Mako: use pytest_3
With pytest_42, we get
`[pytest] section in setup.cfg files is no longer supported`.
2019-02-17 14:40:50 +01:00
Robert Schütz
904227c646 python.pkgs.pytest-timeout: fix tests 2019-02-17 14:40:50 +01:00
Robert Schütz
d00bfba2d5 python.pkgs.parameterized: update dependencies 2019-02-17 14:40:49 +01:00
Robert Schütz
9f275067b3 borgbackup: use msgpack-python-0.5.6 2019-02-17 14:40:49 +01:00
Robert Schütz
1c0844f3f2 python.pkgs.whoosh: use pytest_3
With pytest_42, we get
`[pytest] section in setup.cfg files is no longer supported`.
2019-02-17 14:40:49 +01:00
Timo Kaufmann
b8a299c910 python.pkgs.entrypoints: simplify tests
The upstream issue requiring one test to be disabled was fixed:
https://github.com/takluyver/entrypoints/issues/23
2019-02-17 14:40:49 +01:00
Robert Schütz
e751df152b python.pkgs.pycodestyle: remove unused argument 2019-02-17 14:40:49 +01:00
Robert Schütz
0977813095 python.pkgs.pyflakes: run tests 2019-02-17 14:40:49 +01:00
Frederik Rietdijk
a9c41f8f5d python.pkgs.characteristic: fix pytest 4 incompatibility 2019-02-17 14:40:49 +01:00
Frederik Rietdijk
8875a3e706 python.pkgs.ipykernel: disable failing tests 2019-02-17 14:40:49 +01:00
Frederik Rietdijk
64bc5fcf28 python.pkgs.pytest-cov: remove unused deps 2019-02-17 14:40:49 +01:00
Frederik Rietdijk
54941b106e python.pkgs.soupsieve: init at 1.7.3 2019-02-17 14:40:48 +01:00
Frederik Rietdijk
b3febfb850 python.pkgs.pytest_3: keep older version
because not all test suites are compatible with 4 yet.
2019-02-17 14:40:48 +01:00
Frederik Rietdijk
b4acd97729 buildPython*: enable strictDeps 2019-02-17 14:40:48 +01:00
Frederik Rietdijk
72a680e122 python.pkgs.html5lib: disable certain tests
due to pytest change
2019-02-17 14:40:48 +01:00
Frederik Rietdijk
f896d3b3ff python.pkgs.flake8: 3.5.0 -> 3.7.5 2019-02-17 14:40:48 +01:00
Frederik Rietdijk
172b1045ed python: pycodestyle: 2.4.0 -> 2.5.0 2019-02-17 14:40:48 +01:00
Frederik Rietdijk
26626ac9f0 python.pkgs.freezegun: use correct inputs 2019-02-17 14:40:48 +01:00
Frederik Rietdijk
ee38a0d183 python: pytest: 3.9.3 -> 4.2.1 2019-02-17 14:40:48 +01:00
Frederik Rietdijk
e4524dc51c python.pkgs.bootstrapped-pip: wheel 0.32.2 -> 0.33.0, setuptools 40.6.3 -> 40.8.0, pip 18.1 -> 19.0.2 2019-02-17 14:40:48 +01:00
Frederik Rietdijk
1304c0cd63 python: zope.deprecation: 4.3.0 -> 4.4.0 2019-02-17 14:40:48 +01:00
Frederik Rietdijk
d75cd1fcfc python: zope.configuration: 4.3.0 -> 4.3.1 2019-02-17 14:40:47 +01:00
Frederik Rietdijk
3c6abcd1d6 python: zm-py: 0.3.0 -> 0.3.3 2019-02-17 14:40:47 +01:00
Frederik Rietdijk
0c63fd12d0 python: ZConfig: 3.3.0 -> 3.4.0 2019-02-17 14:40:47 +01:00
Frederik Rietdijk
4014455617 python: yattag: 1.10.1 -> 1.11.1 2019-02-17 14:40:47 +01:00
Frederik Rietdijk
57ff9a8881 python: yapf: 0.25.0 -> 0.26.0 2019-02-17 14:40:47 +01:00
Frederik Rietdijk
e5044140b9 python: yamllint: 1.14.0 -> 1.15.0 2019-02-17 14:40:47 +01:00
Frederik Rietdijk
922f5ff77a python: xmltodict: 0.11.0 -> 0.12.0 2019-02-17 14:40:47 +01:00
Frederik Rietdijk
b1602dc618 python: xml2rfc: 2.12.3 -> 2.18.0 2019-02-17 14:40:47 +01:00
Frederik Rietdijk
4c051ae7f5 python: xlrd: 1.1.0 -> 1.2.0 2019-02-17 14:40:47 +01:00
Frederik Rietdijk
2b5cda69eb python: xkcdpass: 1.16.5 -> 1.17.2 2019-02-17 14:40:46 +01:00
Frederik Rietdijk
7382057ec4 python: wsproto: 0.12.0 -> 0.13.0 2019-02-17 14:40:46 +01:00
Frederik Rietdijk
79dc679873 python: wrapt: 1.10.11 -> 1.11.1 2019-02-17 14:40:46 +01:00
Frederik Rietdijk
10baae23ce python: wheel: 0.32.3 -> 0.33.0 2019-02-17 14:40:46 +01:00
Frederik Rietdijk
00a9e6caa0 python: waitress: 1.1.0 -> 1.2.1 2019-02-17 14:40:46 +01:00
Frederik Rietdijk
a69a3e8961 python: voluptuous-serialize: 2.0.0 -> 2.1.0 2019-02-17 14:40:46 +01:00
Frederik Rietdijk
a7431809cf python: virtualenvwrapper: 4.8.2 -> 4.8.4 2019-02-17 14:40:46 +01:00
Frederik Rietdijk
1def91f076 python: virtualenv: 16.1.0 -> 16.4.0 2019-02-17 14:40:46 +01:00
Frederik Rietdijk
663ac63a51 python: virtualenv-clone: 0.2.6 -> 0.5.1 2019-02-17 14:40:46 +01:00
Frederik Rietdijk
a7413f0b7c python: vidstab: 1.0.1 -> 1.5.6 2019-02-17 14:40:45 +01:00
Frederik Rietdijk
ff48fd0bf6 python: venusian: 1.1.0 -> 1.2.0 2019-02-17 14:40:45 +01:00
Frederik Rietdijk
aca72e7953 python: vega_datasets: 0.5.0 -> 0.7.0 2019-02-17 14:40:45 +01:00
Frederik Rietdijk
5a2da811e5 python: uproot: 3.2.15 -> 3.4.5 2019-02-17 14:40:45 +01:00
Frederik Rietdijk
97169aabb5 python: uproot-methods: 0.2.11 -> 0.4.2 2019-02-17 14:40:45 +01:00
Frederik Rietdijk
563a1c5363 python: typed-ast: 1.1.2 -> 1.3.1 2019-02-17 14:40:45 +01:00
Frederik Rietdijk
2b4ecac864 python: txtorcon: 18.3.0 -> 19.0.0 2019-02-17 14:40:45 +01:00
Frederik Rietdijk
1b541e6799 python: twitter.common.options: 0.3.9 -> 0.3.10 2019-02-17 14:40:45 +01:00
Frederik Rietdijk
7d0aacb36e python: twitter.common.log: 0.3.9 -> 0.3.10 2019-02-17 14:40:45 +01:00
Frederik Rietdijk
bef8cb80e4 python: twitter.common.lang: 0.3.9 -> 0.3.10 2019-02-17 14:40:45 +01:00
Frederik Rietdijk
ef7a453503 python: twitter.common.dirutil: 0.3.9 -> 0.3.10 2019-02-17 14:40:44 +01:00
Frederik Rietdijk
a5e09079d5 python: twitter.common.confluence: 0.3.9 -> 0.3.10 2019-02-17 14:40:44 +01:00
Frederik Rietdijk
be9cf3efc4 python: twitter.common.collections: 0.3.9 -> 0.3.10 2019-02-17 14:40:44 +01:00
Frederik Rietdijk
61df2c19be python: twine: 1.12.1 -> 1.13.0 2019-02-17 14:40:44 +01:00
Frederik Rietdijk
5aa33eb817 python: trustme: 0.4.0 -> 0.5.0 2019-02-17 14:40:44 +01:00
Frederik Rietdijk
693f27f1fb python: trio: 0.10.0 -> 0.11.0 2019-02-17 14:40:44 +01:00
Frederik Rietdijk
04af0f5004 python: trezor_agent: 0.9.3 -> 0.10.0 2019-02-17 14:40:44 +01:00
Frederik Rietdijk
4e894ebf05 python: traits: 4.6.0 -> 5.0.0 2019-02-17 14:40:44 +01:00
Frederik Rietdijk
8f0e605c97 python: tqdm: 4.28.1 -> 4.31.1 2019-02-17 14:40:44 +01:00
Frederik Rietdijk
122bc4f1b4 python: tox: 3.5.3 -> 3.7.0 2019-02-17 14:40:43 +01:00
Frederik Rietdijk
f96cc43485 python: tifffile: 0.15.1 -> 2019.2.10 2019-02-17 14:40:43 +01:00
Frederik Rietdijk
71007a1870 python: thespian: 3.9.5 -> 3.9.7 2019-02-17 14:40:43 +01:00
Frederik Rietdijk
1f49efb20f python: telethon-session-sqlalchemy: 0.2.5 -> 0.2.7 2019-02-17 14:40:43 +01:00
Frederik Rietdijk
af5f56c48a python: tabulate: 0.8.2 -> 0.8.3 2019-02-17 14:40:43 +01:00
Frederik Rietdijk
5221e22d9a python: structlog: 18.2.0 -> 19.1.0 2019-02-17 14:40:43 +01:00
Frederik Rietdijk
8951423f30 python: stripe: 2.10.1 -> 2.21.0 2019-02-17 14:40:43 +01:00
Frederik Rietdijk
d9abbebc5e python: srptools: 0.2.0 -> 1.0.0 2019-02-17 14:40:43 +01:00
Frederik Rietdijk
1d698989e5 python: SQLObject: 3.7.0 -> 3.7.1 2019-02-17 14:40:43 +01:00
Frederik Rietdijk
06580d1ce6 python: sqlmap: 1.2.12 -> 1.3.2 2019-02-17 14:40:43 +01:00
Frederik Rietdijk
296da52900 python: sphinxcontrib-plantuml: 0.12 -> 0.14 2019-02-17 14:40:42 +01:00
Frederik Rietdijk
ce50e0f8d7 python: sphinxcontrib-openapi: 0.3.2 -> 0.4.0 2019-02-17 14:40:42 +01:00
Frederik Rietdijk
b6e50612f0 python: sphinx_rtd_theme: 0.4.2 -> 0.4.3 2019-02-17 14:40:42 +01:00
Frederik Rietdijk
2f99e683a0 python: sphinx-testing: 0.8.1 -> 1.0.0 2019-02-17 14:40:42 +01:00
Frederik Rietdijk
9d012bae19 python: spglib: 1.10.4.11 -> 1.12.2.post0 2019-02-17 14:40:42 +01:00
Frederik Rietdijk
28868f6b69 python: sortedcontainers: 2.0.5 -> 2.1.0 2019-02-17 14:40:42 +01:00
Frederik Rietdijk
d8f56526af python: sopel: 6.5.3 -> 6.6.2 2019-02-17 14:40:42 +01:00
Frederik Rietdijk
70c552fbef python: smart_open: 1.7.1 -> 1.8.0 2019-02-17 14:40:42 +01:00
Frederik Rietdijk
4c8996cc2a python: six: 1.11.0 -> 1.12.0 2019-02-17 14:40:42 +01:00
Frederik Rietdijk
e358e47683 python: setuptools_scm: 3.1.0 -> 3.2.0 2019-02-17 14:40:41 +01:00
Frederik Rietdijk
87ce3fa021 python: setuptools: 40.6.3 -> 40.8.0 2019-02-17 14:40:41 +01:00
Frederik Rietdijk
3ef550b15c python: scipy: 1.2.0 -> 1.2.1 2019-02-17 14:40:41 +01:00
Frederik Rietdijk
25d0337b86 python: scikit-image: 0.14.1 -> 0.14.2 2019-02-17 14:40:41 +01:00
Frederik Rietdijk
492d56aa0a python: schedule: 0.5.0 -> 0.6.0 2019-02-17 14:40:41 +01:00
Frederik Rietdijk
bab6dfdc7b python: salmon-mail: 3.0.2 -> 3.1.0 2019-02-17 14:40:41 +01:00
Frederik Rietdijk
c280e83e79 python: s3transfer: 0.1.13 -> 0.2.0 2019-02-17 14:40:41 +01:00
Frederik Rietdijk
67f130dfe9 python: ruamel.yaml: 0.15.86 -> 0.15.88 2019-02-17 14:40:41 +01:00
Frederik Rietdijk
d9366f21ca python: rope: 0.11.0 -> 0.12.0 2019-02-17 14:40:41 +01:00
Frederik Rietdijk
6648aa84d3 python: root_numpy: 4.7.3 -> 4.8.0 2019-02-17 14:40:41 +01:00
Frederik Rietdijk
69807b07cc python: restructuredtext_lint: 1.1.3 -> 1.2.2 2019-02-17 14:40:40 +01:00
Frederik Rietdijk
62021bb3cd python: requests: 2.20.1 -> 2.21.0 2019-02-17 14:40:40 +01:00
Frederik Rietdijk
b86de1abec python: requests-toolbelt: 0.8.0 -> 0.9.1 2019-02-17 14:40:40 +01:00
Frederik Rietdijk
bdbe48b7af python: requests-oauthlib: 1.0.0 -> 1.2.0 2019-02-17 14:40:40 +01:00
Frederik Rietdijk
9f2617caa2 python: regex: 2018.11.22 -> 2019.02.07 2019-02-17 14:40:40 +01:00
Frederik Rietdijk
fdf004ccc6 python: redis: 3.0.1 -> 3.1.0 2019-02-17 14:40:40 +01:00
Frederik Rietdijk
6a19c3b261 python: QtPy: 1.5.2 -> 1.6.0 2019-02-17 14:40:40 +01:00
Frederik Rietdijk
761bc897b8 python: qiskit: 0.6.1 -> 0.7.2 2019-02-17 14:40:40 +01:00
Frederik Rietdijk
6a68bdac9a python: pyupdate: 0.2.16 -> 0.2.23 2019-02-17 14:40:40 +01:00
Frederik Rietdijk
c979604d45 python: pyunifi: 2.15 -> 2.16 2019-02-17 14:40:39 +01:00
Frederik Rietdijk
e4d2dfded6 python: pytzdata: 2018.7 -> 2018.9 2019-02-17 14:40:39 +01:00
Frederik Rietdijk
86d3ef0569 python: pytz: 2018.7 -> 2018.9 2019-02-17 14:40:39 +01:00
Frederik Rietdijk
a321cdcbd6 python: pytools: 2018.5.2 -> 2019.1 2019-02-17 14:40:39 +01:00
Frederik Rietdijk
d0161c9ce6 python: python-socketio: 2.1.2 -> 3.1.2 2019-02-17 14:40:39 +01:00
Frederik Rietdijk
454527eece python: python-slugify: 1.2.6 -> 2.0.1 2019-02-17 14:40:39 +01:00
Frederik Rietdijk
2ee9bd50e5 python: python-rapidjson: 0.6.3 -> 0.7.0 2019-02-17 14:40:39 +01:00
Frederik Rietdijk
278776f9a9 python: python-editor: 1.0.3 -> 1.0.4 2019-02-17 14:40:39 +01:00
Frederik Rietdijk
d08857a1e0 python: python-daemon: 2.2.0 -> 2.2.3 2019-02-17 14:40:39 +01:00
Frederik Rietdijk
07c590e26d python: python-binance: 0.7.0 -> 0.7.1 2019-02-17 14:40:38 +01:00
Frederik Rietdijk
a5bf2d0f68 python: pytest-xdist: 1.24.1 -> 1.26.1 2019-02-17 14:40:38 +01:00
Frederik Rietdijk
51364c7ea3 python: pytest-virtualenv: 1.3.0 -> 1.6.0 2019-02-17 14:40:38 +01:00
Frederik Rietdijk
53d8462684 python: pytest-shutil: 1.3.0 -> 1.6.0 2019-02-17 14:40:38 +01:00
Frederik Rietdijk
d29b599e0d python: pytest-server-fixtures: 1.3.1 -> 1.6.1 2019-02-17 14:40:38 +01:00
Frederik Rietdijk
547457f02c python: pytest-mock: 1.10.0 -> 1.10.1 2019-02-17 14:40:38 +01:00
Frederik Rietdijk
bc4c27a69c python: pytest-localserver: 0.4.2 -> 0.5.0 2019-02-17 14:40:38 +01:00
Frederik Rietdijk
a6011229c9 python: pytest-forked: 0.2 -> 1.0.1 2019-02-17 14:40:38 +01:00
Frederik Rietdijk
5106ecb5e8 python: pytest-flake8: 1.0.3 -> 1.0.4 2019-02-17 14:40:38 +01:00
Frederik Rietdijk
321a04ba5c python: pytest-fixture-config: 1.3.0 -> 1.4.0 2019-02-17 14:40:38 +01:00
Frederik Rietdijk
3ebdd0b341 python: pytest-django: 3.4.6 -> 3.4.7 2019-02-17 14:40:37 +01:00
Frederik Rietdijk
3547637a55 python: pytest-asyncio: 0.9.0 -> 0.10.0 2019-02-17 14:40:37 +01:00
Frederik Rietdijk
9b45ce45b5 python: pyspread: 1.1.2 -> 1.1.3 2019-02-17 14:40:37 +01:00
Frederik Rietdijk
68ebf4aa67 python: pyrsistent: 0.14.9 -> 0.14.10 2019-02-17 14:40:37 +01:00
Frederik Rietdijk
cfff16ee15 python: pyrr: 0.7.2 -> 0.10.1 2019-02-17 14:40:37 +01:00
Frederik Rietdijk
00c75a5caa python: Pyro4: 4.74 -> 4.75 2019-02-17 14:40:37 +01:00
Frederik Rietdijk
51300e4555 python: pyro-ppl: 0.3.0 -> 0.3.1 2019-02-17 14:40:37 +01:00
Frederik Rietdijk
26db5fd35e python: pyramid_jinja2: 2.7 -> 2.8 2019-02-17 14:40:37 +01:00
Frederik Rietdijk
f8811500a4 python: pyramid: 1.10.1 -> 1.10.2 2019-02-17 14:40:37 +01:00
Frederik Rietdijk
32f82c4c99 python: pyowm: 2.9.0 -> 2.10.0 2019-02-17 14:40:36 +01:00
Frederik Rietdijk
f91bfaa049 python: pyOpenSSL: 18.0.0 -> 19.0.0 2019-02-17 14:40:36 +01:00
Frederik Rietdijk
027ea14294 python: pyopencl: 2018.2.2 -> 2018.2.3 2019-02-17 14:40:36 +01:00
Frederik Rietdijk
5e9a864882 python: pynmea2: 1.12.0 -> 1.15.0 2019-02-17 14:40:36 +01:00
Frederik Rietdijk
619991bb7a python: pymediainfo: 2.3.0 -> 3.0 2019-02-17 14:40:36 +01:00
Frederik Rietdijk
353c4b67e0 python: pymc3: 3.5 -> 3.6 2019-02-17 14:40:36 +01:00
Frederik Rietdijk
b087485865 python: pymatgen: 2018.10.18 -> 2019.2.4 2019-02-17 14:40:36 +01:00
Frederik Rietdijk
fb79468d07 python: pylibgen: 1.3.1 -> 2.0.1 2019-02-17 14:40:36 +01:00
Frederik Rietdijk
fd09856c86 python: pylast: 2.4.0 -> 3.0.0 2019-02-17 14:40:36 +01:00
Frederik Rietdijk
f195d8aa8f python: PyJWT: 1.6.4 -> 1.7.1 2019-02-17 14:40:35 +01:00
Frederik Rietdijk
5bfad7383e python: pyjet: 1.3.0 -> 1.4.0 2019-02-17 14:40:35 +01:00
Frederik Rietdijk
479eae7084 python: pyhomematic: 0.1.54 -> 0.1.55 2019-02-17 14:40:35 +01:00
Frederik Rietdijk
b7990c749d python: pyflakes: 2.0.0 -> 2.1.0 2019-02-17 14:40:35 +01:00
Frederik Rietdijk
b3ea273010 python: pyfiglet: 0.8.post0 -> 0.8.post1 2019-02-17 14:40:35 +01:00
Frederik Rietdijk
f39464e0fd python: pyFFTW: 0.10.4 -> 0.11.1 2019-02-17 14:40:35 +01:00
Frederik Rietdijk
7111b59c70 python: pyepsg: 0.3.2 -> 0.4.0 2019-02-17 14:40:35 +01:00
Frederik Rietdijk
223f126039 python: pycryptodomex: 3.7.2 -> 3.7.3 2019-02-17 14:40:35 +01:00
Frederik Rietdijk
87ca1e712c python: pycryptodome: 3.7.2 -> 3.7.3 2019-02-17 14:40:35 +01:00
Frederik Rietdijk
a9f11ad932 python: PyContracts: 1.8.8 -> 1.8.12 2019-02-17 14:40:34 +01:00
Frederik Rietdijk
1a9048cd80 python: PyChromecast: 2.4.0 -> 2.5.0 2019-02-17 14:40:34 +01:00
Frederik Rietdijk
d6dc80967f python: pycapnp: 0.6.3 -> 0.6.4 2019-02-17 14:40:34 +01:00
Frederik Rietdijk
92f366ffd8 python: pybase64: 0.4.0 -> 0.5.0 2019-02-17 14:40:34 +01:00
Frederik Rietdijk
e51bf41f44 python: pyasn1-modules: 0.2.3 -> 0.2.4 2019-02-17 14:40:34 +01:00
Frederik Rietdijk
f87f1c2c12 python: pyaml: 17.12.1 -> 18.11.0 2019-02-17 14:40:34 +01:00
Frederik Rietdijk
996e6843e8 python: scrypt: 0.8.6 -> 0.8.13 2019-02-17 14:40:34 +01:00
Frederik Rietdijk
03ee1da589 python: pvlib: 0.6.0 -> 0.6.1 2019-02-17 14:40:34 +01:00
Frederik Rietdijk
953fce82f3 python: psycopg2: 2.7.6.1 -> 2.7.7 2019-02-17 14:40:34 +01:00
Frederik Rietdijk
1267770fff python: prompt_toolkit: 2.0.7 -> 2.0.8 2019-02-17 14:40:34 +01:00
Frederik Rietdijk
313a74c358 python: prometheus_client: 0.4.2 -> 0.5.0 2019-02-17 14:40:33 +01:00
Frederik Rietdijk
1aeb0dcdda python: process-tests: 2.0.1 -> 2.0.2 2019-02-17 14:40:33 +01:00
Frederik Rietdijk
e3c87a02b9 python: premailer: 3.2.0 -> 3.3.0 2019-02-17 14:40:33 +01:00
Frederik Rietdijk
93cceae425 python: ppft: 1.6.4.8 -> 1.6.4.9 2019-02-17 14:40:33 +01:00
Frederik Rietdijk
87da87c719 python: pox: 0.2.4 -> 0.2.5 2019-02-17 14:40:33 +01:00
Frederik Rietdijk
1c7dddd6d0 python: portpicker: 1.2.0 -> 1.3.0 2019-02-17 14:40:33 +01:00
Frederik Rietdijk
ead3a6f918 python: plyfile: 0.6 -> 0.7 2019-02-17 14:40:33 +01:00
Frederik Rietdijk
3358f38ef2 python: pluginbase: 0.7 -> 1.0.0 2019-02-17 14:40:33 +01:00
Frederik Rietdijk
fb15279c16 python: plotly: 3.4.2 -> 3.6.1 2019-02-17 14:40:33 +01:00
Frederik Rietdijk
9cfa9a8fba python: plaid-python: 2.3.4 -> 2.4.0 2019-02-17 14:40:32 +01:00
Frederik Rietdijk
688285c0bc python: pkginfo: 1.4.2 -> 1.5.0.1 2019-02-17 14:40:32 +01:00
Frederik Rietdijk
ff4d22adfc python: pip: 18.1 -> 19.0.2 2019-02-17 14:40:32 +01:00
Frederik Rietdijk
3eb0a16f92 python: pip-tools: 3.1.0 -> 3.3.2 2019-02-17 14:40:32 +01:00
Frederik Rietdijk
6d5231eb41 python: pint: 0.8.1 -> 0.9 2019-02-17 14:40:32 +01:00
Frederik Rietdijk
4528d7f617 python: Pillow: 5.3.0 -> 5.4.1 2019-02-17 14:40:32 +01:00
Frederik Rietdijk
afe899fde2 python: pid: 2.2.1 -> 2.2.2 2019-02-17 14:40:32 +01:00
Frederik Rietdijk
af2cf6aec6 python: phonopy: 1.13.2.107 -> 2.0.0 2019-02-17 14:40:32 +01:00
Frederik Rietdijk
adbcf0f622 python: phonenumbers: 8.10.3 -> 8.10.5 2019-02-17 14:40:32 +01:00
Frederik Rietdijk
1901d103f6 python: pg8000: 1.12.4 -> 1.13.1 2019-02-17 14:40:31 +01:00
Frederik Rietdijk
db1a6f5048 python: pex: 1.5.3 -> 1.6.2 2019-02-17 14:40:31 +01:00
Frederik Rietdijk
b87cb9b0f0 python: pdf2image: 1.3.1 -> 1.4.1 2019-02-17 14:40:31 +01:00
Frederik Rietdijk
c9bff08c38 python: pbr: 5.1.1 -> 5.1.2 2019-02-17 14:40:31 +01:00
Frederik Rietdijk
fca2e7fd28 python: pathos: 0.2.2.1 -> 0.2.3 2019-02-17 14:40:31 +01:00
Frederik Rietdijk
795d996cac python: PasteScript: 2.0.2 -> 3.0.0 2019-02-17 14:40:31 +01:00
Frederik Rietdijk
36e7ae9d09 python: PasteDeploy: 1.5.2 -> 2.0.1 2019-02-17 14:40:31 +01:00
Frederik Rietdijk
3b2d381c03 python: parso: 0.3.1 -> 0.3.4 2019-02-17 14:40:31 +01:00
Frederik Rietdijk
e7e81d693d python: parse: 1.9.0 -> 1.11.1 2019-02-17 14:40:31 +01:00
Frederik Rietdijk
65c5889102 python: parameterized: 0.6.1 -> 0.7.0 2019-02-17 14:40:30 +01:00
Frederik Rietdijk
01863f237b python: paperspace: 0.0.13 -> 0.0.15 2019-02-17 14:40:30 +01:00
Frederik Rietdijk
c80c568467 python: pandas: 0.23.4 -> 0.24.1 2019-02-17 14:40:30 +01:00
Frederik Rietdijk
691965a0c5 python: pamqp: 2.0.0 -> 2.1.0 2019-02-17 14:40:30 +01:00
Frederik Rietdijk
3480e2c345 python: pamela: 0.3.0 -> 1.0.0 2019-02-17 14:40:30 +01:00
Frederik Rietdijk
1a06654ab9 python: packaging: 18.0 -> 19.0 2019-02-17 14:40:30 +01:00
Frederik Rietdijk
9102a9ebf7 python: ovh: 0.4.8 -> 0.5.0 2019-02-17 14:40:30 +01:00
Frederik Rietdijk
aedde810e4 python: openpyxl: 2.5.12 -> 2.6.0 2019-02-17 14:40:30 +01:00
Frederik Rietdijk
38b197af2e python: odfpy: 1.3.6 -> 1.4.0 2019-02-17 14:40:29 +01:00
Frederik Rietdijk
9106b456b5 python: numpy: 1.16.0 -> 1.16.1 2019-02-17 14:40:29 +01:00
Frederik Rietdijk
72f74a633f python: nose-randomly: 1.2.5 -> 1.2.6 2019-02-17 14:40:29 +01:00
Frederik Rietdijk
e6efedbbdc python: nipype: 1.1.7 -> 1.1.8 2019-02-17 14:40:29 +01:00
Frederik Rietdijk
83e3df7ef8 python: nilearn: 0.4.2 -> 0.5.0 2019-02-17 14:40:29 +01:00
Frederik Rietdijk
7d0a9da164 python: nest_asyncio: 0.9.10 -> 1.0.0 2019-02-17 14:40:29 +01:00
Frederik Rietdijk
773e1c3e58 python: nbconvert: 5.4.0 -> 5.4.1 2019-02-17 14:40:29 +01:00
Frederik Rietdijk
42e0793296 python: natsort: 5.5.0 -> 6.0.0 2019-02-17 14:40:29 +01:00
Frederik Rietdijk
d95ebbae7a python: mysqlclient: 1.3.14 -> 1.4.2.post1 2019-02-17 14:40:28 +01:00
Frederik Rietdijk
ccb99258aa python: mypy: 0.650 -> 0.670 2019-02-17 14:40:28 +01:00
Frederik Rietdijk
8c388fa8c9 python: mypy-protobuf: 1.7 -> 1.9 2019-02-17 14:40:28 +01:00
Frederik Rietdijk
b58aa7457d python: mutagen: 1.41.1 -> 1.42.0 2019-02-17 14:40:28 +01:00
Frederik Rietdijk
b4ae923fc3 python: multiprocess: 0.70.6.1 -> 0.70.7 2019-02-17 14:40:28 +01:00
Frederik Rietdijk
972aee3d4b python: msgpack: 0.5.6 -> 0.6.1 2019-02-17 14:40:28 +01:00
Frederik Rietdijk
d5be98cf42 python: mpmath: 1.0.0 -> 1.1.0 2019-02-17 14:40:28 +01:00
Frederik Rietdijk
8124660691 python: moviepy: 0.2.3.5 -> 1.0.0 2019-02-17 14:40:28 +01:00
Frederik Rietdijk
3e4e9abae4 python: more-itertools: 4.3.0 -> 5.0.0 / 6.0.0
Upgrade to 5.0.0 for 2.7 and 6.0.0 for other versions.
2019-02-17 14:40:28 +01:00
Frederik Rietdijk
79009ede68 python: micawber: 0.3.8 -> 0.4.0 2019-02-17 14:40:27 +01:00
Frederik Rietdijk
e016d1207b python: mecab-python3: 0.7 -> 0.996.1 2019-02-17 14:40:27 +01:00
Frederik Rietdijk
f1fac795be python: mautrix-appservice: 0.3.7 -> 0.3.8 2019-02-17 14:40:27 +01:00
Frederik Rietdijk
cca1a9b81f python: marshmallow: 2.16.3 -> 2.18.0 2019-02-17 14:40:27 +01:00
Frederik Rietdijk
f5895cfa3d python: marshmallow-sqlalchemy: 0.15.0 -> 0.16.0 2019-02-17 14:40:27 +01:00
Frederik Rietdijk
1c37002795 python: MarkupSafe: 1.0 -> 1.1.0 2019-02-17 14:40:27 +01:00
Frederik Rietdijk
1fa2857c71 python: manhole: 1.5.0 -> 1.6.0 2019-02-17 14:40:27 +01:00
Frederik Rietdijk
8eabecf4ee python: lxml: 4.2.6 -> 4.3.1 2019-02-17 14:40:27 +01:00
Frederik Rietdijk
a4e684cbdd python: luftdaten: 0.3.4 -> 0.5.0 2019-02-17 14:40:27 +01:00
Frederik Rietdijk
50b082c5ba python: limnoria: 2018.09.09 -> 2018.12.19 2019-02-17 14:40:26 +01:00
Frederik Rietdijk
a8586da853 python: librosa: 0.6.2 -> 0.6.3 2019-02-17 14:40:26 +01:00
Frederik Rietdijk
f2c89e325d python: libagent: 0.12.1 -> 0.13.0 2019-02-17 14:40:26 +01:00
Frederik Rietdijk
66febdeb3c python: ldappool: 2.3.1 -> 2.4.0 2019-02-17 14:40:26 +01:00
Frederik Rietdijk
e7fa663de6 python: kombu: 4.2.2.post1 -> 4.3.0 2019-02-17 14:40:26 +01:00
Frederik Rietdijk
b5c5963ddd python: keyring: 16.0.2 -> 18.0.0 2019-02-17 14:40:26 +01:00
Frederik Rietdijk
7e29f6b552 python: Keras_Preprocessing: 1.0.8 -> 1.0.9 2019-02-17 14:40:26 +01:00
Frederik Rietdijk
27f20064bb python: kazoo: 2.5.0 -> 2.6.1 2019-02-17 14:40:26 +01:00
Frederik Rietdijk
2fb453f9c4 python: jupyter-repo2docker: 0.6.0 -> 0.7.0 2019-02-17 14:40:26 +01:00
Frederik Rietdijk
3e2ffbdbc6 python: jsonpickle: 1.0 -> 1.1 2019-02-17 14:40:25 +01:00
Frederik Rietdijk
6f80a699c1 python: jenkins-job-builder: 2.6.0 -> 2.9.1 2019-02-17 14:40:25 +01:00
Frederik Rietdijk
7685f6fc74 python: jdatetime: 3.0.2 -> 3.2.0 2019-02-17 14:40:25 +01:00
Frederik Rietdijk
be18d32fa5 python: jaraco.text: 1.10.1 -> 2.0 2019-02-17 14:40:25 +01:00
Frederik Rietdijk
eaaee55da7 python: jaraco.stream: 1.2 -> 2.0 2019-02-17 14:40:25 +01:00
Frederik Rietdijk
75a83cf61f python: jaraco.itertools: 4.0.0 -> 4.4.1 2019-02-17 14:40:25 +01:00
Frederik Rietdijk
d90d47692a python: jaraco.functools: 1.20 -> 2.0 2019-02-17 14:40:25 +01:00
Frederik Rietdijk
eb88cf275e python: jaraco.collections: 1.6.0 -> 2.0 2019-02-17 14:40:25 +01:00
Frederik Rietdijk
ff0e3dd53f python: ipython: 7.1.1 -> 7.2.0 2019-02-17 14:40:25 +01:00
Frederik Rietdijk
fc325aeb50 python: inflect: 1.0.2 -> 2.1.0 2019-02-17 14:40:25 +01:00
Frederik Rietdijk
5bd94e5c46 python: imgaug: 0.2.7 -> 0.2.8 2019-02-17 14:40:24 +01:00
Frederik Rietdijk
0a32063519 python: imageio: 2.4.1 -> 2.5.0 2019-02-17 14:40:24 +01:00
Frederik Rietdijk
3d23167efd python: idna: 2.7 -> 2.8 2019-02-17 14:40:24 +01:00
Frederik Rietdijk
61596da490 python: identify: 1.1.8 -> 1.2.1 2019-02-17 14:40:24 +01:00
Frederik Rietdijk
aafdd98001 python: hyperframe: 5.1.0 -> 5.2.0 2019-02-17 14:40:24 +01:00
Frederik Rietdijk
862799a545 python: httplib2: 0.11.3 -> 0.12.0 2019-02-17 14:40:24 +01:00
Frederik Rietdijk
94aa119e4a python: hdbscan: 0.8.18 -> 0.8.19 2019-02-17 14:40:24 +01:00
Frederik Rietdijk
cd2e38de5d python: ha-ffmpeg: 1.9 -> 1.11 2019-02-17 14:40:24 +01:00
Frederik Rietdijk
9a6b9d2551 python: h2: 3.0.1 -> 3.1.0 2019-02-17 14:40:24 +01:00
Frederik Rietdijk
22fb395d17 python: gym: 0.10.9 -> 0.11.0 2019-02-17 14:40:23 +01:00
Frederik Rietdijk
99b69b5402 python: gspread: 3.0.1 -> 3.1.0 2019-02-17 14:40:23 +01:00
Frederik Rietdijk
b725eb4ed5 python: gsd: 1.5.5 -> 1.6.0 2019-02-17 14:40:23 +01:00
Frederik Rietdijk
f0cba48e63 python: grpcio: 1.16.1 -> 1.18.0 2019-02-17 14:40:23 +01:00
Frederik Rietdijk
d531e1ec6c python: grpcio-tools: 1.16.1 -> 1.18.0 2019-02-17 14:40:23 +01:00
Frederik Rietdijk
99448c406d python: green: 2.13.0 -> 2.13.1 2019-02-17 14:40:23 +01:00
Frederik Rietdijk
543c70506f python: gphoto2: 1.8.5 -> 1.9.0 2019-02-17 14:40:23 +01:00
Frederik Rietdijk
edb7e8cdd9 python: googleapis-common-protos: 1.5.6 -> 1.5.8 2019-02-17 14:40:23 +01:00
Frederik Rietdijk
622e3bf734 python: google-cloud-texttospeech: 0.3.0 -> 0.4.0 2019-02-17 14:40:23 +01:00
Frederik Rietdijk
a12c3a898a python: google-cloud-storage: 1.13.2 -> 1.14.0 2019-02-17 14:40:23 +01:00
Frederik Rietdijk
9de737c62f python: google-cloud-kms: 0.2.1 -> 1.0.0 2019-02-17 14:40:22 +01:00
Frederik Rietdijk
4626cff7ae python: google-cloud-bigquery: 1.8.1 -> 1.9.0 2019-02-17 14:40:22 +01:00
Frederik Rietdijk
bafd6928f3 python: google-auth: 1.5.1 -> 1.6.2 2019-02-17 14:40:22 +01:00
Frederik Rietdijk
caa67167fe python: google-music-proto: 2.2.0 -> 2.4.0 2019-02-17 14:40:22 +01:00
Frederik Rietdijk
2b1ee6cb82 python: gmusicapi: 11.0.4 -> 12.0.0 2019-02-17 14:40:22 +01:00
Frederik Rietdijk
4c42376169 python: glom: 18.4.0 -> 19.1.0 2019-02-17 14:40:22 +01:00
Frederik Rietdijk
ab5e84d8a7 python: globus-sdk: 1.6.1 -> 1.7.0 2019-02-17 14:40:22 +01:00
Frederik Rietdijk
11725fae5a python: github3.py: 1.2.0 -> 1.3.0 2019-02-17 14:40:22 +01:00
Frederik Rietdijk
c0c2c061a0 python: gevent: 1.3.7 -> 1.4.0 2019-02-17 14:40:22 +01:00
Frederik Rietdijk
28cee643b7 python: geopy: 1.17.0 -> 1.18.1 2019-02-17 14:40:21 +01:00
Frederik Rietdijk
0e2b7100cf python: gensim: 3.6.0 -> 3.7.1 2019-02-17 14:40:21 +01:00
Frederik Rietdijk
b3a8b46895 python: fs: 2.1.3 -> 2.3.1 2019-02-17 14:40:21 +01:00
Frederik Rietdijk
83d84444cb python: fs-s3fs: 1.0.0 -> 1.1.0 2019-02-17 14:40:21 +01:00
Frederik Rietdijk
cf7d410071 python: fonttools: 3.37.0 -> 3.37.3 2019-02-17 14:40:21 +01:00
Frederik Rietdijk
72b6ead8ec python: flit: 1.2.1 -> 1.3 2019-02-17 14:40:21 +01:00
Frederik Rietdijk
bb69a2c3ff python: Flask-SocketIO: 3.1.2 -> 3.2.2 2019-02-17 14:40:21 +01:00
Frederik Rietdijk
ccba5e96e4 python: flask-paginate: 0.5.1 -> 0.5.2 2019-02-17 14:40:21 +01:00
Frederik Rietdijk
45e033fcf9 python: Flask-JWT-Extended: 3.14.0 -> 3.17.0 2019-02-17 14:40:21 +01:00
Frederik Rietdijk
45e2993c80 python: flaky: 3.4.0 -> 3.5.3 2019-02-17 14:40:20 +01:00
Frederik Rietdijk
d36ef92ac5 python: fints: 2.0.0 -> 2.0.1 2019-02-17 14:40:20 +01:00
Frederik Rietdijk
c72673ad5a python: fb-re2: 1.0.6 -> 1.0.7 2019-02-17 14:40:20 +01:00
Frederik Rietdijk
42f5c284b6 python: envs: 1.2.6 -> 1.3 2019-02-17 14:40:20 +01:00
Frederik Rietdijk
4fb381218b python: entrypoints: 0.2.3 -> 0.3 2019-02-17 14:40:20 +01:00
Frederik Rietdijk
114881753d python: easy-thumbnails: 2.5 -> 2.6 2019-02-17 14:40:20 +01:00
Frederik Rietdijk
b6b0f70c20 python: dulwich: 0.19.10 -> 0.19.11 2019-02-17 14:40:20 +01:00
Frederik Rietdijk
71fde40c29 python: dogpile.cache: 0.6.8 -> 0.7.1 2019-02-17 14:40:20 +01:00
Frederik Rietdijk
1bef0b8a66 python: docker: 3.5.1 -> 3.7.0 2019-02-17 14:40:20 +01:00
Frederik Rietdijk
ad7535f6cb python: docker-pycreds: 0.3.0 -> 0.4.0 2019-02-17 14:40:20 +01:00
Frederik Rietdijk
99b5005e59 python: dnspython: 1.15.0 -> 1.16.0 2019-02-17 14:40:19 +01:00
Frederik Rietdijk
d3e8281441 python: django-modelcluster: 4.2 -> 4.3 2019-02-17 14:40:19 +01:00
Frederik Rietdijk
6d00cda77c python: django-guardian: 1.4.9 -> 1.5.0 2019-02-17 14:40:19 +01:00
Frederik Rietdijk
b67226fab2 python: Django: 2.1.5 -> 2.1.7 2019-02-17 14:40:19 +01:00
Frederik Rietdijk
332ae71b29 python: django-picklefield: 1.1.0 -> 2.0 2019-02-17 14:40:19 +01:00
Frederik Rietdijk
3644424455 python: distro: 1.3.0 -> 1.4.0 2019-02-17 14:40:19 +01:00
Frederik Rietdijk
115b28e3be python: dill: 0.2.8.2 -> 0.2.9 2019-02-17 14:40:19 +01:00
Frederik Rietdijk
4a1c2f1413 python: diff-match-patch: 20121119 -> 20181111 2019-02-17 14:40:19 +01:00
Frederik Rietdijk
b51b39965b python: detox: 0.18 -> 0.19 2019-02-17 14:40:19 +01:00
Frederik Rietdijk
9a68b3dda7 python: derpconf: 0.8.2 -> 0.8.3 2019-02-17 14:40:18 +01:00
Frederik Rietdijk
d663e05464 python: deluge-client: 1.6.0 -> 1.7.0 2019-02-17 14:40:18 +01:00
Frederik Rietdijk
bcfd325781 python: decorator: 4.3.0 -> 4.3.2 2019-02-17 14:40:18 +01:00
Frederik Rietdijk
cd5c056106 python: python-dateutil: 2.7.5 -> 2.8.0
No longer possible to run tests with `python setup.py tests` so we have
to explicitly use `pytest`. This is going to need further fixing.
2019-02-17 14:40:18 +01:00
Frederik Rietdijk
d9d067c88b python: datadog: 0.25.0 -> 0.26.0 2019-02-17 14:40:18 +01:00
Frederik Rietdijk
6733ec9e1c python: dask: 0.20.2 -> 1.1.1 2019-02-17 14:40:18 +01:00
Frederik Rietdijk
3d2c0c52c2 python: cx_Oracle: 7.0.0 -> 7.1.0 2019-02-17 14:40:18 +01:00
Frederik Rietdijk
bb2b606db7 python: cvxopt: 1.2.2 -> 1.2.3 2019-02-17 14:40:18 +01:00
Frederik Rietdijk
b3e2dd1d14 python: cupy: 5.0.0 -> 5.2.0 2019-02-17 14:40:18 +01:00
Frederik Rietdijk
504321e198 python: cornice: 3.4.4 -> 3.5.1 2019-02-17 14:40:17 +01:00
Frederik Rietdijk
d80c0548b9 python: configparser: 3.5.0 -> 3.7.1 2019-02-17 14:40:17 +01:00
Frederik Rietdijk
6e87bed9c9 python: colorlover: 0.2.1 -> 0.3.0 2019-02-17 14:40:17 +01:00
Frederik Rietdijk
78695ebabb python: colorama: 0.3.9 -> 0.4.1 2019-02-17 14:40:17 +01:00
Frederik Rietdijk
f686b06231 python: colander: 1.5.1 -> 1.7.0 2019-02-17 14:40:17 +01:00
Frederik Rietdijk
d49d2cc2e6 python: cmdline: 0.1.8 -> 0.2.0 2019-02-17 14:40:17 +01:00
Frederik Rietdijk
0357494a42 python: cmd2: 0.9.7 -> 0.9.8 2019-02-17 14:40:17 +01:00
Frederik Rietdijk
3d1de07069 python: cloudpickle: 0.6.1 -> 0.8.0 2019-02-17 14:40:17 +01:00
Frederik Rietdijk
3ca427d737 python: channels: 2.1.6 -> 2.1.7 2019-02-17 14:40:17 +01:00
Frederik Rietdijk
6baab451c3 python: chalice: 1.6.2 -> 1.7.0 2019-02-17 14:40:17 +01:00
Frederik Rietdijk
3075af4297 python: chainer: 5.0.0 -> 5.2.0 2019-02-17 14:40:16 +01:00
Frederik Rietdijk
fbdbc5f894 python: cffi: 1.11.5 -> 1.12.0 2019-02-17 14:40:16 +01:00
Frederik Rietdijk
1455d07699 python: cassandra-driver: 3.15.1 -> 3.16.0 2019-02-17 14:40:16 +01:00
Frederik Rietdijk
564b69896a python: cairocffi: 0.9.0 -> 1.0.1 2019-02-17 14:40:16 +01:00
Frederik Rietdijk
e0abf7c956 python: cachetools: 2.1.0 -> 3.1.0 2019-02-17 14:40:16 +01:00
Frederik Rietdijk
48bb7ac9d3 python: zc.buildout: 2.12.2 -> 2.13.1 2019-02-17 14:40:16 +01:00
Frederik Rietdijk
9fa13bba96 python: zc.buildout: 2.12.2 -> 2.13.1 2019-02-17 14:40:16 +01:00
Frederik Rietdijk
6f00aa5a55 python: botocore: 1.12.80 -> 1.12.94 2019-02-17 14:40:16 +01:00
Frederik Rietdijk
970a952380 python: boto3: 1.9.80 -> 1.9.94 2019-02-17 14:40:16 +01:00
Frederik Rietdijk
acc86e9dff python: BoltzTraP2: 18.9.1 -> 19.1.1 2019-02-17 14:40:15 +01:00
Frederik Rietdijk
30975fb58b python: bleach: 3.0.2 -> 3.1.0 2019-02-17 14:40:15 +01:00
Frederik Rietdijk
d84fb4bd61 python: billiard: 3.5.0.5 -> 3.6.0.0 2019-02-17 14:40:15 +01:00
Frederik Rietdijk
54fea17915 python: bidict: 0.17.5 -> 0.18.0 2019-02-17 14:40:15 +01:00
Frederik Rietdijk
a696666ca5 python: beautifulsoup4: 4.6.3 -> 4.7.1 2019-02-17 14:40:15 +01:00
Frederik Rietdijk
c11eba29aa python: backports.ssl_match_hostname: 3.5.0.1 -> 3.7.0.1 2019-02-17 14:40:15 +01:00
Frederik Rietdijk
3a49f9825a python: azure-mgmt-storage: 0.20.0 -> 3.1.1 2019-02-17 14:40:15 +01:00
Frederik Rietdijk
2eb9ded886 python: azure-mgmt-resource: 0.20.1 -> 2.1.0 2019-02-17 14:40:15 +01:00
Frederik Rietdijk
808e5d95b7 python: azure-mgmt-nspkg: 1.0.0 -> 3.0.2 2019-02-17 14:40:15 +01:00
Frederik Rietdijk
9f97782601 python: azure-mgmt-network: 0.20.1 -> 2.5.1 2019-02-17 14:40:15 +01:00
Frederik Rietdijk
7f80b2fda5 python: azure-mgmt-compute: 0.20.1 -> 4.4.0 2019-02-17 14:40:14 +01:00
Frederik Rietdijk
f4c569c2da python: azure-common: 1.1.17 -> 1.1.18 2019-02-17 14:40:14 +01:00
Frederik Rietdijk
12c6c3d39f python: aws-xray-sdk: 2.2.0 -> 2.3.0 2019-02-17 14:40:14 +01:00
Frederik Rietdijk
6c5d973b65 python: aws-sam-translator: 1.9.0 -> 1.9.1 2019-02-17 14:40:14 +01:00
Frederik Rietdijk
9f88ef68fa python: aws-adfs: 1.12.2 -> 1.12.3 2019-02-17 14:40:14 +01:00
Frederik Rietdijk
8937c80c9b python: awkward: 0.5.6 -> 0.8.4 2019-02-17 14:40:14 +01:00
Frederik Rietdijk
606440977b python: av: 6.1.0 -> 6.1.2 2019-02-17 14:40:14 +01:00
Frederik Rietdijk
720e12c5af python: autobahn: 18.10.1 -> 19.1.1 2019-02-17 14:40:14 +01:00
Frederik Rietdijk
964cdc39d9 python: audio-metadata: 0.3.0 -> 0.4.0 2019-02-17 14:40:14 +01:00
Frederik Rietdijk
a7610810db python: attrdict: 2.0.0 -> 2.0.1 2019-02-17 14:40:13 +01:00
Frederik Rietdijk
ff2545e867 python: atomman: 1.2.3 -> 1.2.4 2019-02-17 14:40:13 +01:00
Frederik Rietdijk
de2cced181 python: atomicwrites: 1.2.1 -> 1.3.0 2019-02-17 14:40:13 +01:00
Frederik Rietdijk
99163d2207 python: atom: 0.4.1 -> 0.4.2 2019-02-17 14:40:13 +01:00
Frederik Rietdijk
d3415f62c7 python: asyncssh: 1.14.0 -> 1.15.1 2019-02-17 14:40:13 +01:00
Frederik Rietdijk
e40eaf4699 python: astunparse: 1.6.1 -> 1.6.2 2019-02-17 14:40:13 +01:00
Frederik Rietdijk
9aba584e78 python: astral: 1.9.2 -> 1.10.1 2019-02-17 14:40:13 +01:00
Frederik Rietdijk
3508c0800b python: aspy.yaml: 1.1.1 -> 1.1.2 2019-02-17 14:40:13 +01:00
Frederik Rietdijk
0a743603e5 python: arrow: 0.12.1 -> 0.13.1 2019-02-17 14:40:13 +01:00
Will Dietz
a808baa5e5 Merge pull request #55164 from dtzWill/update/iw-5
iw: 4.14 -> 5.0.1
2019-02-17 00:12:36 -06:00
Will Dietz
e6d26d807e Merge pull request #55603 from dtzWill/update/ffmpeg-4.1.1
ffmpeg: 4.1 -> 4.1.1
2019-02-17 00:08:47 -06:00
Will Dietz
b6f92dc791 Merge pull request #55874 from dtzWill/update/libdrm-2.4.97
libdrm: 2.4.96 -> 2.4.97
2019-02-17 00:05:48 -06:00
worldofpeace
bad2db31b7 Merge pull request #55894 from andrew-d/andrew/cairo-CVE-2018-19876
cairo: apply patch for CVE-2018-19876
2019-02-17 03:52:37 +00:00
Andrew Dunham
7c28cb299d cairo: apply patch for CVE-2018-19876
This applies the patch from the following upstream merge request:
    https://gitlab.freedesktop.org/cairo/cairo/merge_requests/5

This resulted in the following merge commit, which we fetch as a patch
and apply:
    6edf572ebb
2019-02-16 15:18:46 -08:00
Frederik Rietdijk
fd48a94b62 Merge staging-next into staging 2019-02-16 09:30:46 +01:00
Will Dietz
b9392ac9a6 libdrm: 2.4.96 -> 2.4.97
https://lists.x.org/archives/xorg-announce/2019-January/002937.html
2019-02-15 23:39:03 -06:00
Wael Nasreddine
a0eb6c1f81 gnome3.dconf: fix the build on Darwin (#55800)
Fix the build on Darwin.

Please see https://gitlab.gnome.org/GNOME/dconf/issues/47 for more information.
2019-02-15 17:29:35 -08:00
R. RyanTM
c84e7d1b6d unbound: 1.8.3 -> 1.9.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/unbound/versions
2019-02-15 02:45:27 -08:00
Will Dietz
91047d75e1 xorg.bitmap: 1.0.8 -> 1.0.9 (#55594)
https://lists.x.org/archives/xorg-announce/2019-February/002941.html
2019-02-14 23:16:04 +01:00
Daiderd Jordan
7ec53a932f stdenv: only set __darwinAllowLocalNetworking on darwin
This is a darwin only nix attribute for sandbox builds, it can be
ignored on other platforms to avoid unnecessary rebuilds.
2019-02-14 21:38:08 +01:00
Jan Malakhovski
01d74a5382 nasm: build from source
https://nasm.us is currently down. This way is also preferable, IMHO.
2019-02-14 13:51:47 +00:00
Linus Heckemann
3cf2745c30 Merge pull request #55729 from tilpner/groff-man-determinism
groff: Remove indeterminism in manpages
2019-02-14 12:30:17 +01:00
Frederik Rietdijk
72ed15de69 python: argon2_cffi: 18.3.0 -> 19.1.0 2019-02-14 11:38:01 +01:00
Frederik Rietdijk
338efb0a7d python: amqp: 2.3.2 -> 2.4.1 2019-02-14 11:38:01 +01:00
Frederik Rietdijk
03e6ac7783 python: altair: 2.2.2 -> 2.3.0 2019-02-14 11:38:01 +01:00
Frederik Rietdijk
ffe6ed9a21 python: alerta: 6.3.1 -> 6.5.0 2019-02-14 11:38:01 +01:00
Frederik Rietdijk
2cd6c89fa2 python: alerta-server: 6.3.2 -> 6.7.3 2019-02-14 11:38:01 +01:00
Frederik Rietdijk
1fb9b309b6 python: alembic: 1.0.6 -> 1.0.7 2019-02-14 11:38:01 +01:00
Frederik Rietdijk
a837e68760 python: aiohue: 1.7.0 -> 1.9.0 2019-02-14 11:38:01 +01:00
Frederik Rietdijk
da6c773c6c python: aiodns: 1.1.1 -> 1.2.0 2019-02-14 11:38:01 +01:00
Frederik Rietdijk
fa0b52a0ea python: aioconsole: 0.1.11 -> 0.1.13 2019-02-14 11:38:01 +01:00
Frederik Rietdijk
e06990e6fb python: adal: 1.2.0 -> 1.2.1 2019-02-14 11:38:01 +01:00
Frederik Rietdijk
3550bdb905 python: absl-py: 0.6.1 -> 0.7.0 2019-02-14 11:38:01 +01:00
Frederik Rietdijk
5e3df28423 python: XlsxWriter: 1.1.2 -> 1.1.4 2019-02-14 11:38:01 +01:00
Frederik Rietdijk
8c800a8031 python: WazeRouteCalculator: 0.6 -> 0.7 2019-02-14 11:38:01 +01:00
Frederik Rietdijk
494c021c6d python: Pygments: 2.2.0 -> 2.3.1 2019-02-14 11:38:01 +01:00
Frederik Rietdijk
f044cf23b4 python: Cython: 0.29.2 -> 0.29.5 2019-02-14 11:38:01 +01:00
Frederik Rietdijk
a25d48cd4f Merge master into staging 2019-02-14 11:35:50 +01:00
Michael Weiss
ecfa775439 python37Packages.cryptography: 2.4.2 -> 2.5
Changelog:
https://cryptography.io/en/latest/changelog/#v2-5

Important changes:
- BACKWARDS INCOMPATIBLE: U-label strings were deprecated in version
  2.1, but this version removes the default idna dependency as well.
- BACKWARDS INCOMPATIBLE: The minimum supported PyPy version is now 5.4.
2019-02-14 08:15:15 +01:00
Michael Weiss
53a349d1fd python37Packages.cryptography_vectors: 2.4.2 -> 2.5 2019-02-14 08:15:15 +01:00
Jan Tojnar
4a0c2ac1c5 Merge pull request #55735 from jtojnar/gnome-no-alias
gnome3: stop using aliases
2019-02-14 07:02:02 +01:00
Jan Tojnar
606ceda352 gnome3: stop using aliases 2019-02-14 02:31:15 +01:00
tilpner
5888faeee6 groff: Remove indeterminism in manpages
It was caused by including the modification date
2019-02-13 23:50:43 +01:00
Tim Steinbach
e27fa435f7 nss: 3.42 -> 3.42.1 2019-02-13 08:10:13 -05:00
Frederik Rietdijk
8b05b829be Merge staging-next into staging 2019-02-13 13:27:42 +01:00
Will Dietz
d495cdc3b2 Merge pull request #55661 from dtzWill/update/gnupg-2.2.13
gnupg: 2.2.12 -> 2.2.13
2019-02-12 16:14:39 -06:00
Michael Raskin
e92d58fe70 Merge pull request #52854 from r-ryantm/auto-update/libev
libev: 4.24 -> 4.25
2019-02-12 21:20:14 +00:00
Will Dietz
a3db3e5d12 gnupg: 2.2.12 -> 2.2.13
https://dev.gnupg.org/T4290
2019-02-12 12:55:11 -06:00
Will Dietz
173d12a4ca Merge pull request #55619 from dtzWill/update/ninja-1.9.0-fix-musl
ninja: patch to fix w/musl, see upstream issue
2019-02-12 11:32:44 -06:00
Will Dietz
32a7d27aad Merge pull request #54060 from dtzWill/update/openconnect-8.02
openconnect: 7.08 -> 8.02
2019-02-12 10:05:06 -06:00
Will Dietz
6e2da120c9 Merge pull request #55020 from dtzWill/update/mpfr-4.0.2
mpfr: 4.0.1 -> 4.0.2
2019-02-12 07:31:30 -06:00
Eelco Dolstra
a4c9e42e5c Merge pull request #55600 from dtzWill/update/dhcpcd-7.1.1
dhcpcd: 7.0.8 -> 7.1.1
2019-02-12 13:32:10 +01:00
Will Dietz
2973f1780f libuv: 1.24.1 -> 1.26.0
https://github.com/libuv/libuv/releases/tag/v1.26.0
https://github.com/libuv/libuv/releases/tag/v1.25.0
2019-02-12 03:55:09 -06:00
Will Dietz
0f14c9cd8f ninja: patch to fix w/musl, see upstream issue 2019-02-11 22:41:45 -06:00
Will Dietz
3517d9c963 libidn2: 2.1.0 -> 2.1.1
http://lists.gnu.org/archive/html/info-gnu/2019-02/msg00002.html
2019-02-11 18:16:04 -06:00
Will Dietz
690fb6e723 Merge pull request #55166 from dtzWill/update/bison-3.3.2
bison: 3.3.1 -> 3.3.2
2019-02-11 18:06:04 -06:00
Will Dietz
b3171efe3b ffmpeg: 4.1 -> 4.1.1
https://git.ffmpeg.org/gitweb/ffmpeg.git/shortlog/n4.1.1
2019-02-11 17:44:24 -06:00
Will Dietz
683dcb8e8a dhcpcd: 7.0.8 -> 7.1.1 2019-02-11 17:34:55 -06:00
Daiderd Jordan
051fcba987 swift-corefoundation: fix sandboxed build 2019-02-12 00:29:28 +01:00
R. RyanTM
015b0294b3 gnome3.librsvg: 2.44.11 -> 2.44.12 (#54779)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/librsvg/versions
2019-02-11 17:46:36 +01:00
volth
c706233f2e buildFHSEnv: allowSubstitutes = false
trivial builder
2019-02-08 00:27:40 +00:00
volth
98e2820f59 makeFontsCache: allowSubstitutes = false
trivial builder
2019-02-08 00:24:14 +00:00
volth
5c28152a95 substituteAllFiles: allowSubstitutes = false
trivial builder
2019-02-08 00:22:51 +00:00
volth
18e5db37bf substituteAll: allowSubstitutes = false;
trivial derivation
2019-02-07 22:20:42 +00:00
volth
09665fee2b buildEnv: allowSubstitutes = false
trivial derivation
2019-02-07 22:19:26 +00:00
Will Dietz
17ac9070b4 iw: 5.0 -> 5.0.1 2019-02-04 22:20:13 -06:00
Will Dietz
b3d8b2d6ec bison: 3.3.1 -> 3.3.2
http://lists.gnu.org/archive/html/bison-announce/2019-02/msg00000.html
2019-02-03 22:54:03 -06:00
Will Dietz
a2d07bc725 iw: 4.14 -> 5.0 2019-02-03 22:08:11 -06:00
Will Dietz
b64024e70c mpfr: 4.0.1 -> 4.0.2
https://www.mpfr.org/mpfr-4.0.2/
2019-01-31 18:17:58 -06:00
Will Dietz
1610427425 openconnect: 7.08 -> 8.02 2019-01-31 12:34:09 -06:00
Yorick
be5181bc47 wayland: separateDebugInfo = true 2019-01-31 15:47:51 +01:00
R. RyanTM
6d87f8dc49 libev: 4.24 -> 4.25
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/libev/versions
2018-12-25 10:16:02 -08:00
1531 changed files with 43367 additions and 24302 deletions

View File

@@ -1,4 +1,4 @@
Copyright (c) 2003-2018 Eelco Dolstra and the Nixpkgs/NixOS contributors
Copyright (c) 2003-2019 Eelco Dolstra and the Nixpkgs/NixOS contributors
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the

View File

@@ -12,12 +12,12 @@ build daemon as so-called channels. To get channel information via git, add
```
For stability and maximum binary package support, it is recommended to maintain
custom changes on top of one of the channels, e.g. `nixos-18.09` for the latest
custom changes on top of one of the channels, e.g. `nixos-19.03` for the latest
release and `nixos-unstable` for the latest successful build of master:
```
% git remote update channels
% git rebase channels/nixos-18.09
% git rebase channels/nixos-19.03
```
For pull requests, please rebase onto nixpkgs `master`.
@@ -31,9 +31,9 @@ For pull requests, please rebase onto nixpkgs `master`.
* [Manual (NixOS)](https://nixos.org/nixos/manual/)
* [Community maintained wiki](https://nixos.wiki/)
* [Continuous package builds for unstable/master](https://hydra.nixos.org/jobset/nixos/trunk-combined)
* [Continuous package builds for 18.09 release](https://hydra.nixos.org/jobset/nixos/release-18.09)
* [Continuous package builds for 19.03 release](https://hydra.nixos.org/jobset/nixos/release-19.03)
* [Tests for unstable/master](https://hydra.nixos.org/job/nixos/trunk-combined/tested#tabs-constituents)
* [Tests for 18.09 release](https://hydra.nixos.org/job/nixos/release-18.09/tested#tabs-constituents)
* [Tests for 19.03 release](https://hydra.nixos.org/job/nixos/release-19.03/tested#tabs-constituents)
Communication:

View File

@@ -47,7 +47,7 @@ buildImage {
contents = pkgs.redis; <co xml:id='ex-dockerTools-buildImage-6' />
runAsRoot = '' <co xml:id='ex-dockerTools-buildImage-runAsRoot' />
#!${stdenv.shell}
#!${pkgs.runtimeShell}
mkdir -p /data
'';
@@ -544,7 +544,7 @@ buildImage {
name = "shadow-basic";
runAsRoot = ''
#!${stdenv.shell}
#!${pkgs.runtimeShell}
${shadowSetup}
groupadd -r redis
useradd -r -g redis redis

View File

@@ -3,12 +3,91 @@
xml:id="sec-language-go">
<title>Go</title>
<para>
The function <varname>buildGoPackage</varname> builds standard Go programs.
</para>
<section xml:id="ssec-go-modules">
<title>Go modules</title>
<example xml:id='ex-buildGoPackage'>
<title>buildGoPackage</title>
<para>
The function <varname> buildGoModule </varname> builds Go programs managed
with Go modules. It builds a
<link xlink:href="https://github.com/golang/go/wiki/Modules">Go
modules</link> through a two phase build:
<itemizedlist>
<listitem>
<para>
An intermediate fetcher derivation. This derivation will be used to fetch
all of the dependencies of the Go module.
</para>
</listitem>
<listitem>
<para>
A final derivation will use the output of the intermediate derivation to
build the binaries and produce the final output.
</para>
</listitem>
</itemizedlist>
</para>
<example xml:id='ex-buildGoModule'>
<title>buildGoModule</title>
<programlisting>
pet = buildGoModule rec {
name = "pet-${version}";
version = "0.3.4";
src = fetchFromGitHub {
owner = "knqyf263";
repo = "pet";
rev = "v${version}";
sha256 = "0m2fzpqxk7hrbxsgqplkg7h2p7gv6s1miymv3gvw0cz039skag0s";
};
modSha256 = "1879j77k96684wi554rkjxydrj8g3hpp0kvxz03sd8dmwr3lh83j"; <co xml:id='ex-buildGoModule-1' />
subPackages = [ "." ]; <co xml:id='ex-buildGoModule-2' />
meta = with lib; {
description = "Simple command-line snippet manager, written in Go";
homepage = https://github.com/knqyf263/pet;
license = licenses.mit;
maintainers = with maintainers; [ kalbasit ];
platforms = platforms.linux ++ platforms.darwin;
};
}
</programlisting>
</example>
<para>
<xref linkend='ex-buildGoModule'/> is an example expression using
buildGoModule, the following arguments are of special significance to the
function:
<calloutlist>
<callout arearefs='ex-buildGoModule-1'>
<para>
<varname>modSha256</varname> is the hash of the output of the
intermediate fetcher derivation.
</para>
</callout>
<callout arearefs='ex-buildGoModule-2'>
<para>
<varname>subPackages</varname> limits the builder from building child
packages that have not been listed. If <varname>subPackages</varname> is
not specified, all child packages will be built.
</para>
</callout>
</calloutlist>
</para>
</section>
<section xml:id="ssec-go-legacy">
<title>Go legacy</title>
<para>
The function <varname> buildGoPackage </varname> builds legacy Go programs,
not supporting Go modules.
</para>
<example xml:id='ex-buildGoPackage'>
<title>buildGoPackage</title>
<programlisting>
deis = buildGoPackage rec {
name = "deis-${version}";
@@ -29,56 +108,56 @@ deis = buildGoPackage rec {
buildFlags = "--tags release"; <co xml:id='ex-buildGoPackage-4' />
}
</programlisting>
</example>
</example>
<para>
<xref linkend='ex-buildGoPackage'/> is an example expression using
buildGoPackage, the following arguments are of special significance to the
function:
<calloutlist>
<callout arearefs='ex-buildGoPackage-1'>
<para>
<varname>goPackagePath</varname> specifies the package's canonical Go
import path.
</para>
</callout>
<callout arearefs='ex-buildGoPackage-2'>
<para>
<varname>subPackages</varname> limits the builder from building child
packages that have not been listed. If <varname>subPackages</varname> is
not specified, all child packages will be built.
</para>
<para>
In this example only <literal>github.com/deis/deis/client</literal> will
be built.
</para>
</callout>
<callout arearefs='ex-buildGoPackage-3'>
<para>
<varname>goDeps</varname> is where the Go dependencies of a Go program are
listed as a list of package source identified by Go import path. It could
be imported as a separate <varname>deps.nix</varname> file for
readability. The dependency data structure is described below.
</para>
</callout>
<callout arearefs='ex-buildGoPackage-4'>
<para>
<varname>buildFlags</varname> is a list of flags passed to the go build
command.
</para>
</callout>
</calloutlist>
</para>
<para>
<xref linkend='ex-buildGoPackage'/> is an example expression using
buildGoPackage, the following arguments are of special significance to the
function:
<calloutlist>
<callout arearefs='ex-buildGoPackage-1'>
<para>
<varname>goPackagePath</varname> specifies the package's canonical Go
import path.
</para>
</callout>
<callout arearefs='ex-buildGoPackage-2'>
<para>
<varname>subPackages</varname> limits the builder from building child
packages that have not been listed. If <varname>subPackages</varname> is
not specified, all child packages will be built.
</para>
<para>
In this example only <literal>github.com/deis/deis/client</literal> will
be built.
</para>
</callout>
<callout arearefs='ex-buildGoPackage-3'>
<para>
<varname>goDeps</varname> is where the Go dependencies of a Go program
are listed as a list of package source identified by Go import path. It
could be imported as a separate <varname>deps.nix</varname> file for
readability. The dependency data structure is described below.
</para>
</callout>
<callout arearefs='ex-buildGoPackage-4'>
<para>
<varname>buildFlags</varname> is a list of flags passed to the go build
command.
</para>
</callout>
</calloutlist>
</para>
<para>
The <varname>goDeps</varname> attribute can be imported from a separate
<varname>nix</varname> file that defines which Go libraries are needed and
should be included in <varname>GOPATH</varname> for
<varname>buildPhase</varname>.
</para>
<para>
The <varname>goDeps</varname> attribute can be imported from a separate
<varname>nix</varname> file that defines which Go libraries are needed and
should be included in <varname>GOPATH</varname> for
<varname>buildPhase</varname>.
</para>
<example xml:id='ex-goDeps'>
<title>deps.nix</title>
<example xml:id='ex-goDeps'>
<title>deps.nix</title>
<programlisting>
[ <co xml:id='ex-goDeps-1' />
{
@@ -101,60 +180,62 @@ deis = buildGoPackage rec {
}
]
</programlisting>
</example>
</example>
<para>
<calloutlist>
<callout arearefs='ex-goDeps-1'>
<para>
<varname>goDeps</varname> is a list of Go dependencies.
</para>
</callout>
<callout arearefs='ex-goDeps-2'>
<para>
<varname>goPackagePath</varname> specifies Go package import path.
</para>
</callout>
<callout arearefs='ex-goDeps-3'>
<para>
<varname>fetch type</varname> that needs to be used to get package source.
If <varname>git</varname> is used there should be <varname>url</varname>,
<varname>rev</varname> and <varname>sha256</varname> defined next to it.
</para>
</callout>
</calloutlist>
</para>
<para>
<calloutlist>
<callout arearefs='ex-goDeps-1'>
<para>
<varname>goDeps</varname> is a list of Go dependencies.
</para>
</callout>
<callout arearefs='ex-goDeps-2'>
<para>
<varname>goPackagePath</varname> specifies Go package import path.
</para>
</callout>
<callout arearefs='ex-goDeps-3'>
<para>
<varname>fetch type</varname> that needs to be used to get package
source. If <varname>git</varname> is used there should be
<varname>url</varname>, <varname>rev</varname> and
<varname>sha256</varname> defined next to it.
</para>
</callout>
</calloutlist>
</para>
<para>
To extract dependency information from a Go package in automated way use
<link xlink:href="https://github.com/kamilchm/go2nix">go2nix</link>. It can
produce complete derivation and <varname>goDeps</varname> file for Go
programs.
</para>
<para>
To extract dependency information from a Go package in automated way use
<link xlink:href="https://github.com/kamilchm/go2nix">go2nix</link>. It can
produce complete derivation and <varname>goDeps</varname> file for Go
programs.
</para>
<para>
<varname>buildGoPackage</varname> produces
<xref linkend='chap-multiple-output' xrefstyle="select: title" /> where
<varname>bin</varname> includes program binaries. You can test build a Go
binary as follows:
<para>
<varname>buildGoPackage</varname> produces
<xref linkend='chap-multiple-output' xrefstyle="select: title" /> where
<varname>bin</varname> includes program binaries. You can test build a Go
binary as follows:
<screen>
$ nix-build -A deis.bin
</screen>
or build all outputs with:
or build all outputs with:
<screen>
$ nix-build -A deis.all
</screen>
<varname>bin</varname> output will be installed by default with
<varname>nix-env -i</varname> or <varname>systemPackages</varname>.
</para>
<varname>bin</varname> output will be installed by default with
<varname>nix-env -i</varname> or <varname>systemPackages</varname>.
</para>
<para>
You may use Go packages installed into the active Nix profiles by adding the
following to your ~/.bashrc:
<para>
You may use Go packages installed into the active Nix profiles by adding the
following to your ~/.bashrc:
<screen>
for p in $NIX_PROFILES; do
GOPATH="$p/share/go:$GOPATH"
done
</screen>
</para>
</para>
</section>
</section>

View File

@@ -188,25 +188,24 @@ building Python libraries is `buildPythonPackage`. Let's see how we can build th
```nix
{ lib, buildPythonPackage, fetchPypi }:
toolz = buildPythonPackage rec {
pname = "toolz";
version = "0.7.4";
buildPythonPackage rec {
pname = "toolz";
version = "0.7.4";
src = fetchPypi {
inherit pname version;
sha256 = "43c2c9e5e7a16b6c88ba3088a9bfc82f7db8e13378be7c78d6c14a5f8ed05afd";
};
doCheck = false;
meta = with lib; {
homepage = https://github.com/pytoolz/toolz;
description = "List processing tools and functional utilities";
license = licenses.bsd3;
maintainers = with maintainers; [ fridh ];
};
src = fetchPypi {
inherit pname version;
sha256 = "43c2c9e5e7a16b6c88ba3088a9bfc82f7db8e13378be7c78d6c14a5f8ed05afd";
};
}
doCheck = false;
meta = with lib; {
homepage = https://github.com/pytoolz/toolz;
description = "List processing tools and functional utilities";
license = licenses.bsd3;
maintainers = with maintainers; [ fridh ];
};
};
```
What happens here? The function `buildPythonPackage` is called and as argument
@@ -279,32 +278,31 @@ The following example shows which arguments are given to `buildPythonPackage` in
order to build [`datashape`](https://github.com/blaze/datashape).
```nix
{ # ...
{ lib, buildPythonPackage, fetchPypi, numpy, multipledispatch, dateutil, pytest }:
datashape = buildPythonPackage rec {
pname = "datashape";
version = "0.4.7";
buildPythonPackage rec {
pname = "datashape";
version = "0.4.7";
src = fetchPypi {
inherit pname version;
sha256 = "14b2ef766d4c9652ab813182e866f493475e65e558bed0822e38bf07bba1a278";
};
src = fetchPypi {
inherit pname version;
sha256 = "14b2ef766d4c9652ab813182e866f493475e65e558bed0822e38bf07bba1a278";
};
checkInputs = with self; [ pytest ];
propagatedBuildInputs = with self; [ numpy multipledispatch dateutil ];
checkInputs = [ pytest ];
propagatedBuildInputs = [ numpy multipledispatch dateutil ];
meta = with lib; {
homepage = https://github.com/ContinuumIO/datashape;
description = "A data description language";
license = licenses.bsd2;
maintainers = with maintainers; [ fridh ];
};
meta = with lib; {
homepage = https://github.com/ContinuumIO/datashape;
description = "A data description language";
license = licenses.bsd2;
maintainers = with maintainers; [ fridh ];
};
}
```
We can see several runtime dependencies, `numpy`, `multipledispatch`, and
`dateutil`. Furthermore, we have one `buildInput`, i.e. `pytest`. `pytest` is a
`dateutil`. Furthermore, we have one `checkInputs`, i.e. `pytest`. `pytest` is a
test runner and is only used during the `checkPhase` and is therefore not added
to `propagatedBuildInputs`.
@@ -314,25 +312,24 @@ Python bindings to `libxml2` and `libxslt`. These libraries are only required
when building the bindings and are therefore added as `buildInputs`.
```nix
{ # ...
{ lib, pkgs, buildPythonPackage, fetchPypi }:
lxml = buildPythonPackage rec {
pname = "lxml";
version = "3.4.4";
buildPythonPackage rec {
pname = "lxml";
version = "3.4.4";
src = fetchPypi {
inherit pname version;
sha256 = "16a0fa97hym9ysdk3rmqz32xdjqmy4w34ld3rm3jf5viqjx65lxk";
};
src = fetchPypi {
inherit pname version;
sha256 = "16a0fa97hym9ysdk3rmqz32xdjqmy4w34ld3rm3jf5viqjx65lxk";
};
buildInputs = with self; [ pkgs.libxml2 pkgs.libxslt ];
buildInputs = [ pkgs.libxml2 pkgs.libxslt ];
meta = with lib; {
description = "Pythonic binding for the libxml2 and libxslt libraries";
homepage = https://lxml.de;
license = licenses.bsd3;
maintainers = with maintainers; [ sjourdois ];
};
meta = with lib; {
description = "Pythonic binding for the libxml2 and libxslt libraries";
homepage = https://lxml.de;
license = licenses.bsd3;
maintainers = with maintainers; [ sjourdois ];
};
}
```
@@ -348,35 +345,34 @@ find each of them in a different folder, and therefore we have to set `LDFLAGS`
and `CFLAGS`.
```nix
{ # ...
{ lib, pkgs, buildPythonPackage, fetchPypi, numpy, scipy }:
pyfftw = buildPythonPackage rec {
pname = "pyFFTW";
version = "0.9.2";
buildPythonPackage rec {
pname = "pyFFTW";
version = "0.9.2";
src = fetchPypi {
inherit pname version;
sha256 = "f6bbb6afa93085409ab24885a1a3cdb8909f095a142f4d49e346f2bd1b789074";
};
src = fetchPypi {
inherit pname version;
sha256 = "f6bbb6afa93085409ab24885a1a3cdb8909f095a142f4d49e346f2bd1b789074";
};
buildInputs = [ pkgs.fftw pkgs.fftwFloat pkgs.fftwLongDouble];
buildInputs = [ pkgs.fftw pkgs.fftwFloat pkgs.fftwLongDouble];
propagatedBuildInputs = with self; [ numpy scipy ];
propagatedBuildInputs = [ numpy scipy ];
# Tests cannot import pyfftw. pyfftw works fine though.
doCheck = false;
# Tests cannot import pyfftw. pyfftw works fine though.
doCheck = false;
preConfigure = ''
export LDFLAGS="-L${pkgs.fftw.dev}/lib -L${pkgs.fftwFloat.out}/lib -L${pkgs.fftwLongDouble.out}/lib"
export CFLAGS="-I${pkgs.fftw.dev}/include -I${pkgs.fftwFloat.dev}/include -I${pkgs.fftwLongDouble.dev}/include"
'';
preConfigure = ''
export LDFLAGS="-L${pkgs.fftw.dev}/lib -L${pkgs.fftwFloat.out}/lib -L${pkgs.fftwLongDouble.out}/lib"
export CFLAGS="-I${pkgs.fftw.dev}/include -I${pkgs.fftwFloat.dev}/include -I${pkgs.fftwLongDouble.dev}/include"
'';
meta = with lib; {
description = "A pythonic wrapper around FFTW, the FFT library, presenting a unified interface for all the supported transforms";
homepage = http://hgomersall.github.com/pyFFTW;
license = with licenses; [ bsd2 bsd3 ];
maintainers = with maintainers; [ fridh ];
};
meta = with lib; {
description = "A pythonic wrapper around FFTW, the FFT library, presenting a unified interface for all the supported transforms";
homepage = http://hgomersall.github.com/pyFFTW;
license = with licenses; [ bsd2 bsd3 ];
maintainers = with maintainers; [ fridh ];
};
}
```
@@ -404,7 +400,7 @@ Indeed, we can just add any package we like to have in our environment to `propa
```nix
with import <nixpkgs> {};
with pkgs.python35Packages;
with python35Packages;
buildPythonPackage rec {
name = "mypackage";
@@ -437,7 +433,7 @@ Let's split the package definition from the environment definition.
We first create a function that builds `toolz` in `~/path/to/toolz/release.nix`
```nix
{ lib, pkgs, buildPythonPackage }:
{ lib, buildPythonPackage }:
buildPythonPackage rec {
pname = "toolz";
@@ -457,18 +453,17 @@ buildPythonPackage rec {
}
```
It takes two arguments, `pkgs` and `buildPythonPackage`.
It takes an argument `buildPythonPackage`.
We now call this function using `callPackage` in the definition of our environment
```nix
with import <nixpkgs> {};
( let
toolz = pkgs.callPackage /path/to/toolz/release.nix {
pkgs = pkgs;
buildPythonPackage = pkgs.python35Packages.buildPythonPackage;
toolz = callPackage /path/to/toolz/release.nix {
buildPythonPackage = python35Packages.buildPythonPackage;
};
in pkgs.python35.withPackages (ps: [ ps.numpy toolz ])
in python35.withPackages (ps: [ ps.numpy toolz ])
).env
```
@@ -566,7 +561,7 @@ buildPythonPackage rec {
'';
checkInputs = [ hypothesis ];
buildInputs = [ setuptools_scm ];
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ attrs py setuptools six pluggy ];
meta = with lib; {
@@ -586,11 +581,6 @@ The `buildPythonPackage` mainly does four things:
environment variable and add dependent libraries to script's `sys.path`.
* In the `installCheck` phase, `${python.interpreter} setup.py test` is ran.
As in Perl, dependencies on other Python packages can be specified in the
`buildInputs` and `propagatedBuildInputs` attributes. If something is
exclusively a build-time dependency, use `buildInputs`; if it is (also) a runtime
dependency, use `propagatedBuildInputs`.
By default tests are run because `doCheck = true`. Test dependencies, like
e.g. the test runner, should be added to `checkInputs`.
@@ -602,11 +592,10 @@ as the interpreter unless overridden otherwise.
All parameters from `stdenv.mkDerivation` function are still supported. The following are specific to `buildPythonPackage`:
* `catchConflicts ? true`: If `true`, abort package build if a package name appears more than once in dependency tree. Default is `true`.
* `checkInputs ? []`: Dependencies needed for running the `checkPhase`. These are added to `buildInputs` when `doCheck = true`.
* `disabled` ? false: If `true`, package is not build for the particular Python interpreter version.
* `dontWrapPythonPrograms ? false`: Skip wrapping of python programs.
* `installFlags ? []`: A list of strings. Arguments to be passed to `pip install`. To pass options to `python setup.py install`, use `--install-option`. E.g., `installFlags=["--install-option='--cpp_implementation'"].
* `format ? "setuptools"`: Format of the source. Valid options are `"setuptools"`, `"flit"`, `"wheel"`, and `"other"`. `"setuptools"` is for when the source has a `setup.py` and `setuptools` is used to build a wheel, `flit`, in case `flit` should be used to build a wheel, and `wheel` in case a wheel is provided. Use `other` when a custom `buildPhase` and/or `installPhase` is needed.
* `installFlags ? []`: A list of strings. Arguments to be passed to `pip install`. To pass options to `python setup.py install`, use `--install-option`. E.g., `installFlags=["--install-option='--cpp_implementation'"]`.
* `format ? "setuptools"`: Format of the source. Valid options are `"setuptools"`, `"pyproject"`, `"flit"`, `"wheel"`, and `"other"`. `"setuptools"` is for when the source has a `setup.py` and `setuptools` is used to build a wheel, `flit`, in case `flit` should be used to build a wheel, and `wheel` in case a wheel is provided. Use `other` when a custom `buildPhase` and/or `installPhase` is needed.
* `makeWrapperArgs ? []`: A list of strings. Arguments to be passed to `makeWrapper`, which wraps generated binaries. By default, the arguments to `makeWrapper` set `PATH` and `PYTHONPATH` environment variables before calling the binary. Additional arguments here can allow a developer to set environment variables which will be available when the binary is run. For example, `makeWrapperArgs = ["--set FOO BAR" "--set BAZ QUX"]`.
* `namePrefix`: Prepends text to `${name}` parameter. In case of libraries, this defaults to `"python3.5-"` for Python 3.5, etc., and in case of applications to `""`.
* `pythonPath ? []`: List of packages to be added into `$PYTHONPATH`. Packages in `pythonPath` are not propagated (contrary to `propagatedBuildInputs`).
@@ -615,6 +604,14 @@ All parameters from `stdenv.mkDerivation` function are still supported. The foll
* `removeBinByteCode ? true`: Remove bytecode from `/bin`. Bytecode is only created when the filenames end with `.py`.
* `setupPyBuildFlags ? []`: List of flags passed to `setup.py build_ext` command.
The `stdenv.mkDerivation` function accepts various parameters for describing build inputs (see "Specifying dependencies"). The following are of special
interest for Python packages, either because these are primarily used, or because their behaviour is different:
* `nativeBuildInputs ? []`: Build-time only dependencies. Typically executables as well as the items listed in `setup_requires`.
* `buildInputs ? []`: Build and/or run-time dependencies that need to be be compiled for the host machine. Typically non-Python libraries which are being linked.
* `checkInputs ? []`: Dependencies needed for running the `checkPhase`. These are added to `nativeBuildInputs` when `doCheck = true`. Items listed in `tests_require` go here.
* `propagatedBuildInputs ? []`: Aside from propagating dependencies, `buildPythonPackage` also injects code into and wraps executables with the paths included in this list. Items listed in `install_requires` go here.
##### Overriding Python packages
The `buildPythonPackage` function has a `overridePythonAttrs` method that
@@ -727,7 +724,7 @@ Saving the following as `default.nix`
with import <nixpkgs> {};
python.buildEnv.override {
extraLibs = [ pkgs.pythonPackages.pyramid ];
extraLibs = [ pythonPackages.pyramid ];
ignoreCollisions = true;
}
```
@@ -809,11 +806,12 @@ Given a `default.nix`:
```nix
with import <nixpkgs> {};
buildPythonPackage { name = "myproject";
pythonPackages.buildPythonPackage {
name = "myproject";
buildInputs = with pythonPackages; [ pyramid ];
buildInputs = with pkgs.pythonPackages; [ pyramid ];
src = ./.; }
src = ./.;
}
```
Running `nix-shell` with no arguments should give you
@@ -874,7 +872,6 @@ example of such a situation is when `py.test` is used.
'';
}
```
- 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
@@ -1000,10 +997,13 @@ Create this `default.nix` file, together with a `requirements.txt` and simply ex
```nix
with import <nixpkgs> {};
with pkgs.python27Packages;
with python27Packages;
stdenv.mkDerivation {
name = "impurePythonEnv";
src = null;
buildInputs = [
# these packages are required for virtualenv and pip to work:
#
@@ -1023,14 +1023,15 @@ stdenv.mkDerivation {
libxslt
libzip
stdenv
zlib ];
src = null;
zlib
];
shellHook = ''
# set SOURCE_DATE_EPOCH so that we can use python wheels
SOURCE_DATE_EPOCH=$(date +%s)
virtualenv --no-setuptools venv
export PATH=$PWD/venv/bin:$PATH
pip install -r requirements.txt
# set SOURCE_DATE_EPOCH so that we can use python wheels
SOURCE_DATE_EPOCH=$(date +%s)
virtualenv --no-setuptools venv
export PATH=$PWD/venv/bin:$PATH
pip install -r requirements.txt
'';
}
```
@@ -1123,6 +1124,14 @@ LLVM implementation. To use that one instead, Intel recommends users set it with
Note that `mkl` is only available on `x86_64-{linux,darwin}` platforms;
moreover, Hydra is not building and distributing pre-compiled binaries using it.
### What inputs do `setup_requires`, `install_requires` and `tests_require` map to?
In a `setup.py` or `setup.cfg` it is common to declare dependencies:
* `setup_requires` corresponds to `nativeBuildInputs`
* `install_requires` corresponds to `propagatedBuildInputs`
* `tests_require` corresponds to `checkInputs`
## Contributing
### Contributing guidelines

View File

@@ -882,6 +882,33 @@ citrix_receiver.override {
On NixOS it can be installed using the following expression:
<programlisting>{ pkgs, ... }: {
fonts.fonts = with pkgs; [ noto-fonts-emoji ];
}</programlisting>
</para>
</section>
</section>
<section xml:id="dlib">
<title>DLib</title>
<para>
<link xlink:href="http://dlib.net/">DLib</link> is a modern, C++-based toolkit which
provides several machine learning algorithms.
</para>
<section xml:id="compiling-without-avx-support">
<title>Compiling without AVX support</title>
<para>
Especially older CPUs don't support
<link xlink:href="https://en.wikipedia.org/wiki/Advanced_Vector_Extensions">AVX</link>
(<abbrev>Advanced Vector Extensions</abbrev>) instructions that are used by DLib to
optimize their algorithms.
</para>
<para>
On the affected hardware errors like <literal>Illegal instruction</literal> will occur.
In those cases AVX support needs to be disabled:
<programlisting>self: super: {
dlib = super.dlib.override { avxSupport = false; };
}</programlisting>
</para>
</section>

View File

@@ -476,8 +476,22 @@ rec {
optionSet to options of type submodule. FIXME: remove
eventually. */
fixupOptionType = loc: opt:
if opt.type.getSubModules or null == null
then opt // { type = opt.type or types.unspecified; }
let
options = opt.options or
(throw "Option `${showOption loc'}' has type optionSet but has no option attribute, in ${showFiles opt.declarations}.");
f = tp:
let optionSetIn = type: (tp.name == type) && (tp.functor.wrapped.name == "optionSet");
in
if tp.name == "option set" || tp.name == "submodule" then
throw "The option ${showOption loc} uses submodules without a wrapping type, in ${showFiles opt.declarations}."
else if optionSetIn "attrsOf" then types.attrsOf (types.submodule options)
else if optionSetIn "loaOf" then types.loaOf (types.submodule options)
else if optionSetIn "listOf" then types.listOf (types.submodule options)
else if optionSetIn "nullOr" then types.nullOr (types.submodule options)
else tp;
in
if opt.type.getSubModules or null == null
then opt // { type = f (opt.type or types.unspecified); }
else opt // { type = opt.type.substSubModules opt.options; options = []; };

View File

@@ -48,6 +48,8 @@ rec {
visible ? null,
# Whether the option can be set only once
readOnly ? null,
# Deprecated, used by types.optionSet.
options ? null
} @ attrs:
attrs // { _type = "option"; };

View File

@@ -469,8 +469,10 @@ rec {
# Obsolete alternative to configOf. It takes its option
# declarations from the options attribute of containing option
# declaration.
optionSet = builtins.throw "types.optionSet is deprecated; use types.submodule instead" "optionSet";
optionSet = mkOptionType {
name = builtins.trace "types.optionSet is deprecated; use types.submodule instead" "optionSet";
description = "option set";
};
# Augment the given type with an additional type check function.
addCheck = elemType: check: elemType // { check = x: elemType.check x && check x; };

View File

@@ -1628,6 +1628,10 @@
email = "fpletz@fnordicwalking.de";
github = "fpletz";
name = "Franz Pletz";
keys = [{
longkeyid = "rsa4096/0x846FDED7792617B4";
fingerprint = "8A39 615D CE78 AF08 2E23 F303 846F DED7 7926 17B4";
}];
};
fps = {
email = "mista.tapas@gmx.net";
@@ -2449,6 +2453,11 @@
github = "kisonecat";
name = "Jim Fowler";
};
kjuvi = {
email = "quentin.vaucher@pm.me";
github = "kjuvi";
name = "Quentin Vaucher";
};
kkallio = {
email = "tierpluspluslists@gmail.com";
name = "Karn Kallio";

View File

@@ -14,12 +14,13 @@ fi
tmp=$(mktemp -d)
pushd $tmp >/dev/null
wget -nH -r -c --no-parent "${WGET_ARGS[@]}" >/dev/null
wget -nH -r -c --no-parent "${WGET_ARGS[@]}" -A '*.tar.xz.sha256' -A '*.mirrorlist' >/dev/null
find -type f -name '*.mirrorlist' -delete
csv=$(mktemp)
find . -type f | while read src; do
# Sanitize file name
filename=$(basename "$src" | tr '@' '_')
filename=$(gawk '{ print $2 }' "$src" | tr '@' '_')
nameVersion="${filename%.tar.*}"
name=$(echo "$nameVersion" | sed -e 's,-[[:digit:]].*,,' | sed -e 's,-opensource-src$,,' | sed -e 's,-everywhere-src$,,')
version=$(echo "$nameVersion" | sed -e 's,^\([[:alpha:]][[:alnum:]]*-\)\+,,')
@@ -38,8 +39,8 @@ gawk -F , "{ print \$1 }" $csv | sort | uniq | while read name; do
latestVersion=$(echo "$versions" | sort -rV | head -n 1)
src=$(gawk -F , "/^$name,$latestVersion,/ { print \$3 }" $csv)
filename=$(gawk -F , "/^$name,$latestVersion,/ { print \$4 }" $csv)
url="${src:2}"
sha256=$(nix-hash --type sha256 --base32 --flat "$src")
url="$(dirname "${src:2}")/$filename"
sha256=$(gawk '{ print $1 }' "$src")
cat >>"$SRCS" <<EOF
$name = {
version = "$latestVersion";

View File

@@ -1,7 +1,6 @@
ansicolors,
argparse,
basexx,
cqueues
dkjson
fifo
inspect
1 ansicolors,
2 argparse,
3 basexx,
cqueues
4 dkjson
5 fifo
6 inspect

View File

@@ -200,8 +200,9 @@ swapDevices = [ { device = "/dev/disk/by-label/swap"; } ];
<xref linkend="opt-services.postgresql.package"/> = pkgs.postgresql_10;
</programlisting>
The latter option definition changes the default PostgreSQL package used
by NixOSs PostgreSQL service to 10.x. For more information on packages,
including how to add new ones, see <xref linkend="sec-custom-packages"/>.
by NixOSs PostgreSQL service to 10.x. For more information on
packages, including how to add new ones, see
<xref linkend="sec-custom-packages"/>.
</para>
</listitem>
</varlistentry>

View File

@@ -21,6 +21,7 @@
<xi:include href="xfce.xml" />
<xi:include href="networking.xml" />
<xi:include href="linux-kernel.xml" />
<xi:include href="matrix.xml" />
<xi:include href="../generated/modules.xml" xpointer="xpointer(//section[@id='modules']/*)" />
<xi:include href="profiles.xml" />
<xi:include href="kubernetes.xml" />

View File

@@ -4,15 +4,13 @@
version="5.0"
xml:id="sec-kubernetes">
<title>Kubernetes</title>
<para>
The NixOS Kubernetes module is a collective term for a handful of
individual submodules implementing the Kubernetes cluster components.
The NixOS Kubernetes module is a collective term for a handful of individual
submodules implementing the Kubernetes cluster components.
</para>
<para>
There are generally two ways of enabling Kubernetes on NixOS.
One way is to enable and configure cluster components appropriately by hand:
There are generally two ways of enabling Kubernetes on NixOS. One way is to
enable and configure cluster components appropriately by hand:
<programlisting>
services.kubernetes = {
apiserver.enable = true;
@@ -33,95 +31,82 @@ services.kubernetes = {
<programlisting>
<xref linkend="opt-services.kubernetes.roles"/> = [ "node" ];
</programlisting>
Assigning both the master and node roles is usable if you want a single
node Kubernetes cluster for dev or testing purposes:
Assigning both the master and node roles is usable if you want a single node
Kubernetes cluster for dev or testing purposes:
<programlisting>
<xref linkend="opt-services.kubernetes.roles"/> = [ "master" "node" ];
</programlisting>
Note: Assigning either role will also default both
<xref linkend="opt-services.kubernetes.flannel.enable"/> and
<xref linkend="opt-services.kubernetes.easyCerts"/> to true.
This sets up flannel as CNI and activates automatic PKI bootstrapping.
<xref linkend="opt-services.kubernetes.easyCerts"/> to true. This sets up
flannel as CNI and activates automatic PKI bootstrapping.
</para>
<para>
As of kubernetes 1.10.X it has been deprecated to open
non-tls-enabled ports on kubernetes components. Thus, from NixOS 19.03 all
plain HTTP ports have been disabled by default.
While opening insecure ports is still possible, it is recommended not to
bind these to other interfaces than loopback.
To re-enable the insecure port on the apiserver, see options:
<xref linkend="opt-services.kubernetes.apiserver.insecurePort"/>
and
<xref linkend="opt-services.kubernetes.apiserver.insecureBindAddress"/>
As of kubernetes 1.10.X it has been deprecated to open non-tls-enabled ports
on kubernetes components. Thus, from NixOS 19.03 all plain HTTP ports have
been disabled by default. While opening insecure ports is still possible, it
is recommended not to bind these to other interfaces than loopback. To
re-enable the insecure port on the apiserver, see options:
<xref linkend="opt-services.kubernetes.apiserver.insecurePort"/> and
<xref linkend="opt-services.kubernetes.apiserver.insecureBindAddress"/>
</para>
<note>
<para>
As of NixOS 19.03, it is mandatory to configure:
<xref linkend="opt-services.kubernetes.masterAddress"/>.
The masterAddress must be resolveable and routeable by all cluster nodes.
In single node clusters, this can be set to <literal>localhost</literal>.
<xref linkend="opt-services.kubernetes.masterAddress"/>. The masterAddress
must be resolveable and routeable by all cluster nodes. In single node
clusters, this can be set to <literal>localhost</literal>.
</para>
</note>
<para>
Role-based access control (RBAC) authorization mode is enabled by default.
This means that anonymous requests to the apiserver secure port will
expectedly cause a permission denied error. All cluster components must
therefore be configured with x509 certificates for two-way tls communication.
The x509 certificate subject section determines the roles and permissions
granted by the apiserver to perform clusterwide or namespaced operations.
See also:
<link
Role-based access control (RBAC) authorization mode is enabled by default.
This means that anonymous requests to the apiserver secure port will
expectedly cause a permission denied error. All cluster components must
therefore be configured with x509 certificates for two-way tls communication.
The x509 certificate subject section determines the roles and permissions
granted by the apiserver to perform clusterwide or namespaced operations. See
also:
<link
xlink:href="https://kubernetes.io/docs/reference/access-authn-authz/rbac/">
Using RBAC Authorization</link>.
Using RBAC Authorization</link>.
</para>
<para>
The NixOS kubernetes module provides an option for automatic certificate
bootstrapping and configuration,
<xref linkend="opt-services.kubernetes.easyCerts"/>.
The PKI bootstrapping process involves setting up a certificate authority
(CA) daemon (cfssl) on the kubernetes master node. cfssl generates a CA-cert
for the cluster, and uses the CA-cert for signing subordinate certs issued to
each of the cluster components. Subsequently, the certmgr daemon monitors
active certificates and renews them when needed. For single node Kubernetes
clusters, setting <xref linkend="opt-services.kubernetes.easyCerts"/> = true
is sufficient and no further action is required. For joining extra node
machines to an existing cluster on the other hand, establishing initial trust
is mandatory.
</para>
<para>
To add new nodes to the cluster:
On any (non-master) cluster node where
<xref linkend="opt-services.kubernetes.easyCerts"/> is enabled, the helper
script <literal>nixos-kubernetes-node-join</literal> is available on PATH.
Given a token on stdin, it will copy the token to the kubernetes
secrets directory and restart the certmgr service. As requested
certificates are issued, the script will restart kubernetes cluster
components as needed for them to pick up new keypairs.
The NixOS kubernetes module provides an option for automatic certificate
bootstrapping and configuration,
<xref linkend="opt-services.kubernetes.easyCerts"/>. The PKI bootstrapping
process involves setting up a certificate authority (CA) daemon (cfssl) on
the kubernetes master node. cfssl generates a CA-cert for the cluster, and
uses the CA-cert for signing subordinate certs issued to each of the cluster
components. Subsequently, the certmgr daemon monitors active certificates and
renews them when needed. For single node Kubernetes clusters, setting
<xref linkend="opt-services.kubernetes.easyCerts"/> = true is sufficient and
no further action is required. For joining extra node machines to an existing
cluster on the other hand, establishing initial trust is mandatory.
</para>
<para>
To add new nodes to the cluster: On any (non-master) cluster node where
<xref linkend="opt-services.kubernetes.easyCerts"/> is enabled, the helper
script <literal>nixos-kubernetes-node-join</literal> is available on PATH.
Given a token on stdin, it will copy the token to the kubernetes secrets
directory and restart the certmgr service. As requested certificates are
issued, the script will restart kubernetes cluster components as needed for
them to pick up new keypairs.
</para>
<note>
<para>
Multi-master (HA) clusters are not supported by the easyCerts module.
</para>
</note>
<para>
In order to interact with an RBAC-enabled cluster as an administrator, one
needs to have cluster-admin privileges. By default, when easyCerts is
enabled, a cluster-admin kubeconfig file is generated and linked into
<literal>/etc/kubernetes/cluster-admin.kubeconfig</literal> as determined by
<xref linkend="opt-services.kubernetes.pki.etcClusterAdminKubeconfig"/>.
<literal>export KUBECONFIG=/etc/kubernetes/cluster-admin.kubeconfig</literal>
will make kubectl use this kubeconfig to access and authenticate the cluster.
The cluster-admin kubeconfig references an auto-generated keypair owned by
root. Thus, only root on the kubernetes master may obtain cluster-admin
rights by means of this file.
In order to interact with an RBAC-enabled cluster as an administrator, one
needs to have cluster-admin privileges. By default, when easyCerts is
enabled, a cluster-admin kubeconfig file is generated and linked into
<literal>/etc/kubernetes/cluster-admin.kubeconfig</literal> as determined by
<xref linkend="opt-services.kubernetes.pki.etcClusterAdminKubeconfig"/>.
<literal>export KUBECONFIG=/etc/kubernetes/cluster-admin.kubeconfig</literal>
will make kubectl use this kubeconfig to access and authenticate the cluster.
The cluster-admin kubeconfig references an auto-generated keypair owned by
root. Thus, only root on the kubernetes master may obtain cluster-admin
rights by means of this file.
</para>
</chapter>

View File

@@ -0,0 +1,203 @@
<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="module-services-matrix">
<title>Matrix</title>
<para>
<link xlink:href="https://matrix.org/">Matrix</link> is an open standard for
interoperable, decentralised, real-time communication over IP. It can be used
to power Instant Messaging, VoIP/WebRTC signalling, Internet of Things
communication - or anywhere you need a standard HTTP API for publishing and
subscribing to data whilst tracking the conversation history.
</para>
<para>
This chapter will show you how to set up your own, self-hosted Matrix
homeserver using the Synapse reference homeserver, and how to serve your own
copy of the Riot web client. See the
<link xlink:href="https://matrix.org/docs/projects/try-matrix-now.html">Try
Matrix Now!</link> overview page for links to Riot Apps for Android and iOS,
desktop clients, as well as bridges to other networks and other projects
around Matrix.
</para>
<section xml:id="module-services-matrix-synapse">
<title>Synapse Homeserver</title>
<para>
<link xlink:href="https://github.com/matrix-org/synapse">Synapse</link> is
the reference homeserver implementation of Matrix from the core development
team at matrix.org. The following configuration example will set up a
synapse server for the <literal>example.org</literal> domain, served from
the host <literal>myhostname.example.org</literal>. For more information,
please refer to the
<link xlink:href="https://github.com/matrix-org/synapse#synapse-installation">
installation instructions of Synapse </link>.
<programlisting>
let
fqdn =
let
join = hostName: domain: hostName + optionalString (domain != null) ".${domain}";
in join config.networking.hostName config.networking.domain;
in {
networking = {
hostName = "myhostname";
domain = "example.org";
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
services.nginx = {
enable = true;
# only recommendedProxySettings and recommendedGzipSettings are strictly required,
# but the rest make sense as well
recommendedTlsSettings = true;
recommendedOptimisation = true;
recommendedGzipSettings = true;
recommendedProxySettings = true;
virtualHosts = {
# This host section can be placed on a different host than the rest,
# i.e. to delegate from the host being accessible as ${config.networking.domain}
# to another host actually running the Matrix homeserver.
"${config.networking.domain}" = {
locations."= /.well-known/matrix/server".extraConfig =
let
# use 443 instead of the default 8448 port to unite
# the client-server and server-server port for simplicity
server = { "m.server" = "${fqdn}:443"; };
in ''
add_header Content-Type application/json;
return 200 '${builtins.toJSON server}';
'';
locations."= /.well-known/matrix/client".extraConfig =
let
client = {
"m.homeserver" = { "base_url" = "https://${fqdn}"; };
"m.identity_server" = { "base_url" = "https://vector.im"; };
};
# ACAO required to allow riot-web on any URL to request this json file
in ''
add_header Content-Type application/json;
add_header Access-Control-Allow-Origin *;
return 200 '${builtins.toJSON client}';
'';
};
# Reverse proxy for Matrix client-server and server-server communication
${fqdn} = {
enableACME = true;
forceSSL = true;
# Or do a redirect instead of the 404, or whatever is appropriate for you.
# But do not put a Matrix Web client here! See the Riot Web section below.
locations."/".extraConfig = ''
return 404;
'';
# forward all Matrix API calls to the synapse Matrix homeserver
locations."/_matrix" = {
proxyPass = "http://[::1]:8008";
};
};
};
};
services.matrix-synapse = {
enable = true;
server_name = config.networking.domain;
listeners = [
{
port = 8008;
bind_address = "::1";
type = "http";
tls = false;
x_forwarded = true;
resources = [
{ names = [ "client" "federation" ]; compress = false; }
];
}
];
};
};
</programlisting>
</para>
<para>
If the <code>A</code> and <code>AAAA</code> DNS records on
<literal>example.org</literal> do not point on the same host as the records
for <code>myhostname.example.org</code>, you can easily move the
<code>/.well-known</code> virtualHost section of the code to the host that
is serving <literal>example.org</literal>, while the rest stays on
<literal>myhostname.example.org</literal> with no other changes required.
This pattern also allows to seamlessly move the homeserver from
<literal>myhostname.example.org</literal> to
<literal>myotherhost.example.org</literal> by only changing the
<code>/.well-known</code> redirection target.
</para>
<para>
If you want to run a server with public registration by anybody, you can
then enable <option>services.matrix-synapse.enable_registration =
true;</option>. Otherwise, or you can generate a registration secret with
<command>pwgen -s 64 1</command> and set it with
<option>services.matrix-synapse.registration_shared_secret</option>. To
create a new user or admin, run the following after you have set the secret
and have rebuilt NixOS:
<programlisting>
$ nix run nixpkgs.matrix-synapse
$ register_new_matrix_user -k &lt;your-registration-shared-secret&gt; http://localhost:8008
New user localpart: &lt;your-username&gt;
Password:
Confirm password:
Make admin [no]:
Success!
</programlisting>
In the example, this would create a user with the Matrix Identifier
<literal>@your-username:example.org</literal>. Note that the registration
secret ends up in the nix store and therefore is world-readable by any user
on your machine, so it makes sense to only temporarily activate the
<option>registration_shared_secret</option> option until a better solution
for NixOS is in place.
</para>
</section>
<section xml:id="module-services-matrix-riot-web">
<title>Riot Web Client</title>
<para>
<link xlink:href="https://github.com/vector-im/riot-web/">Riot Web</link> is
the reference web client for Matrix and developed by the core team at
matrix.org. The following snippet can be optionally added to the code before
to complete the synapse installation with a web client served at
<code>https://riot.myhostname.example.org</code> and
<code>https://riot.example.org</code>. Alternatively, you can use the hosted
copy at <link xlink:href="https://riot.im/app">https://riot.im/app</link>,
or use other web clients or native client applications. Due to the
<literal>/.well-known</literal> urls set up done above, many clients should
fill in the required connection details automatically when you enter your
Matrix Identifier. See
<link xlink:href="https://matrix.org/docs/projects/try-matrix-now.html">Try
Matrix Now!</link> for a list of existing clients and their supported
featureset.
<programlisting>
services.nginx.virtualHosts."riot.${fqdn}" = {
enableACME = true;
forceSSL = true;
serverAliases = [
"riot.${config.networking.domain}"
];
root = pkgs.riot-web;
};
</programlisting>
</para>
<para>
Note that the Riot developers do not recommend running Riot and your Matrix
homeserver on the same fully-qualified domain name for security reasons. In
the example, this means that you should not reuse the
<literal>myhostname.example.org</literal> virtualHost to also serve Riot,
but instead serve it on a different subdomain, like
<literal>riot.example.org</literal> in the example. See the
<link xlink:href="https://github.com/vector-im/riot-web#important-security-note">Riot
Important Security Notes</link> for more information on this subject.
</para>
</section>
</chapter>

View File

@@ -112,9 +112,8 @@ true
$ nixos-option <xref linkend="opt-boot.kernelModules"/>
[ "tun" "ipv6" "loop" <replaceable>...</replaceable> ]
</screen>
Interactive exploration of the configuration is possible using
<command>nix repl</command>, a read-eval-print loop for Nix expressions.
A typical use:
Interactive exploration of the configuration is possible using <command>nix
repl</command>, a read-eval-print loop for Nix expressions. A typical use:
<screen>
$ nix repl '&lt;nixpkgs/nixos>'
@@ -127,11 +126,10 @@ nix-repl> map (x: x.hostName) config.<xref linkend="opt-services.httpd.virtualHo
</para>
<para>
While abstracting your configuration, you may find it useful to generate
modules using code, instead of writing files. The example
below would have the same effect as importing a file which sets those
options.
<screen>
While abstracting your configuration, you may find it useful to generate
modules using code, instead of writing files. The example below would have
the same effect as importing a file which sets those options.
<screen>
{ config, pkgs, ... }:
let netConfig = { hostName }: {
@@ -143,5 +141,5 @@ nix-repl> map (x: x.hostName) config.<xref linkend="opt-services.httpd.virtualHo
{ imports = [ (netConfig "nixos.localdomain") ]; }
</screen>
</para>
</para>
</section>

View File

@@ -12,14 +12,14 @@
That is to say, expected usage is to add them to the imports list of your
<filename>/etc/configuration.nix</filename> as such:
</para>
<programlisting>
<programlisting>
imports = [
&lt;nixpkgs/nixos/modules/profiles/profile-name.nix&gt;
];
</programlisting>
<para>
Even if some of these profiles seem only useful in the context of
install media, many are actually intended to be used in real installs.
Even if some of these profiles seem only useful in the context of install
media, many are actually intended to be used in real installs.
</para>
<para>
What follows is a brief explanation on the purpose and use-case for each

View File

@@ -1,15 +1,16 @@
<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-profile-all-hardware">
<title>All Hardware</title>
<para>
Enables all hardware supported by NixOS: i.e., all firmware is
included, and all devices from which one may boot are enabled in the initrd.
Its primary use is in the NixOS installation CDs.
Enables all hardware supported by NixOS: i.e., all firmware is included, and
all devices from which one may boot are enabled in the initrd. Its primary
use is in the NixOS installation CDs.
</para>
<para>
The enabled kernel modules include support for SATA and PATA, SCSI
(partially), USB, Firewire (untested), Virtio (QEMU, KVM, etc.), VMware, and

View File

@@ -1,15 +1,15 @@
<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-profile-base">
<title>Base</title>
<para>
Defines the software packages included in the "minimal"
installation CD. It installs several utilities useful in a simple recovery or
install media, such as a text-mode web browser, and tools for manipulating
block devices, networking, hardware diagnostics, and filesystems (with their
respective kernel modules).
Defines the software packages included in the "minimal" installation CD. It
installs several utilities useful in a simple recovery or install media, such
as a text-mode web browser, and tools for manipulating block devices,
networking, hardware diagnostics, and filesystems (with their respective
kernel modules).
</para>
</section>

View File

@@ -1,14 +1,14 @@
<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-profile-clone-config">
<title>Clone Config</title>
<para>
This profile is used in installer images.
It provides an editable configuration.nix that imports all the modules that
were also used when creating the image in the first place.
As a result it allows users to edit and rebuild the live-system.
This profile is used in installer images. It provides an editable
configuration.nix that imports all the modules that were also used when
creating the image in the first place. As a result it allows users to edit
and rebuild the live-system.
</para>
</section>

View File

@@ -1,13 +1,15 @@
<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-profile-demo">
<title>Demo</title>
<para>
This profile just enables a <systemitem class="username">demo</systemitem> user, with password <literal>demo</literal>, uid <literal>1000</literal>, <systemitem class="groupname">wheel</systemitem>
group and <link linkend="opt-services.xserver.displayManager.sddm.autoLogin">
autologin in the SDDM display manager</link>.
This profile just enables a <systemitem class="username">demo</systemitem>
user, with password <literal>demo</literal>, uid <literal>1000</literal>,
<systemitem class="groupname">wheel</systemitem> group and
<link linkend="opt-services.xserver.displayManager.sddm.autoLogin"> autologin
in the SDDM display manager</link>.
</para>
</section>

View File

@@ -1,15 +1,16 @@
<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-profile-docker-container">
<title>Docker Container</title>
<para>
This is the profile from which the Docker images are generated. It prepares a
working system by importing the <link linkend="sec-profile-minimal">Minimal</link> and
<link linkend="sec-profile-clone-config">Clone Config</link> profiles, and setting appropriate
configuration options that are useful inside a container context, like
<xref linkend="opt-boot.isContainer"/>.
working system by importing the
<link linkend="sec-profile-minimal">Minimal</link> and
<link linkend="sec-profile-clone-config">Clone Config</link> profiles, and
setting appropriate configuration options that are useful inside a container
context, like <xref linkend="opt-boot.isContainer"/>.
</para>
</section>

View File

@@ -1,20 +1,21 @@
<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-profile-graphical">
<title>Graphical</title>
<para>
Defines a NixOS configuration with the Plasma 5 desktop. It's used by the
graphical installation CD.
</para>
<para>
It sets <xref linkend="opt-services.xserver.enable"/>,
<xref linkend="opt-services.xserver.displayManager.sddm.enable"/>,
<xref linkend="opt-services.xserver.desktopManager.plasma5.enable"/> (
<link linkend="opt-services.xserver.desktopManager.plasma5.enableQt4Support">
without Qt4 Support</link>), and
without Qt4 Support</link>), and
<xref linkend="opt-services.xserver.libinput.enable"/> to true. It also
includes glxinfo and firefox in the system packages list.
</para>

View File

@@ -1,22 +1,24 @@
<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-profile-hardened">
<title>Hardened</title>
<para>
A profile with most (vanilla) hardening options enabled by default,
potentially at the cost of features and performance.
</para>
<para>
This includes a hardened kernel, and limiting the system information
available to processes through the <filename>/sys</filename> and
<filename>/proc</filename> filesystems. It also disables the User Namespaces
feature of the kernel, which stops Nix from being able to build anything
(this particular setting can be overriden via
<xref linkend="opt-security.allowUserNamespaces"/>). See the <literal
<xref linkend="opt-security.allowUserNamespaces"/>). See the
<literal
xlink:href="https://github.com/nixos/nixpkgs/tree/master/nixos/modules/profiles/hardened.nix">
profile source</literal> for further detail on which settings are altered.
profile source</literal> for further detail on which settings are altered.
</para>
</section>

View File

@@ -1,18 +1,19 @@
<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-profile-headless">
<title>Headless</title>
<para>
Common configuration for headless machines (e.g., Amazon EC2 instances).
</para>
<para>
Disables <link linkend="opt-sound.enable">sound</link>,
<link linkend="opt-boot.vesa">vesa</link>, serial consoles,
<link linkend="opt-systemd.enableEmergencyMode">emergency mode</link>,
<link linkend="opt-boot.loader.grub.splashImage">grub splash images</link> and
configures the kernel to reboot automatically on panic.
<link linkend="opt-boot.loader.grub.splashImage">grub splash images</link>
and configures the kernel to reboot automatically on panic.
</para>
</section>

View File

@@ -1,31 +1,34 @@
<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-profile-installation-device">
<title>Installation Device</title>
<para>
Provides a basic configuration for installation devices like CDs. This means
enabling hardware scans, using the <link linkend="sec-profile-clone-config">
Clone Config profile</link> to guarantee
Clone Config profile</link> to guarantee
<filename>/etc/nixos/configuration.nix</filename> exists (for
<command>nixos-rebuild</command> to work), a copy of the Nixpkgs channel
snapshot used to create the install media.
</para>
<para>
Additionally, documentation for <link linkend="opt-documentation.enable">
Nixpkgs</link> and <link linkend="opt-documentation.nixos.enable">NixOS
</link> are forcefully enabled (to override the
<link linkend="sec-profile-minimal">Minimal profile</link> preference); the
NixOS manual is shown automatically on TTY 8, sudo and udisks are disabled.
Autologin is enabled as root.
Nixpkgs</link> and <link linkend="opt-documentation.nixos.enable">NixOS
</link> are forcefully enabled (to override the
<link linkend="sec-profile-minimal">Minimal profile</link> preference); the
NixOS manual is shown automatically on TTY 8, sudo and udisks are disabled.
Autologin is enabled as root.
</para>
<para>
A message is shown to the user to start a display manager if needed,
ssh with <xref linkend="opt-services.openssh.permitRootLogin"/> are enabled (but
A message is shown to the user to start a display manager if needed, ssh with
<xref linkend="opt-services.openssh.permitRootLogin"/> are enabled (but
doesn't autostart). WPA Supplicant is also enabled without autostart.
</para>
<para>
Finally, vim is installed, root is set to not have a password, the kernel is
made more silent for remote public IP installs, and several settings are

View File

@@ -1,16 +1,16 @@
<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-profile-minimal">
<title>Minimal</title>
<para>
This profile defines a small NixOS configuration. It does not contain any
graphical stuff. It's a very short file that enables
<link linkend="opt-environment.noXlibs">noXlibs</link>, sets
<link linkend="opt-i18n.supportedLocales">i18n.supportedLocales</link>
to only support the user-selected locale,
<link linkend="opt-i18n.supportedLocales">i18n.supportedLocales</link> to
only support the user-selected locale,
<link linkend="opt-documentation.enable">disables packages' documentation
</link>, and <link linkend="opt-sound.enable">disables sound</link>.
</para>

View File

@@ -4,10 +4,12 @@
version="5.0"
xml:id="sec-profile-qemu-guest">
<title>QEMU Guest</title>
<para>
This profile contains common configuration for virtual machines running under
QEMU (using virtio).
</para>
<para>
It makes virtio modules available on the initrd, sets the system time from
the hardware clock to work around a bug in qemu-kvm, and

View File

@@ -28,11 +28,9 @@
Be aware that keys will be written to the nix store in plaintext! When no
networks are set, it will default to using a configuration file at
<literal>/etc/wpa_supplicant.conf</literal>. You should edit this file
yourself to define wireless networks, WPA keys and so on (see
<citerefentry>
<refentrytitle>wpa_supplicant.conf</refentrytitle>
<manvolnum>5</manvolnum>
</citerefentry>).
yourself to define wireless networks, WPA keys and so on (see <citerefentry>
<refentrytitle>wpa_supplicant.conf</refentrytitle>
<manvolnum>5</manvolnum> </citerefentry>).
</para>
<para>

View File

@@ -35,8 +35,8 @@
</para>
<para>
NixOSs default <emphasis>display manager</emphasis> (the program that
provides a graphical login prompt and manages the X server) is LightDM. You can
select an alternative one by picking one of the following lines:
provides a graphical login prompt and manages the X server) is LightDM. You
can select an alternative one by picking one of the following lines:
<programlisting>
<xref linkend="opt-services.xserver.displayManager.sddm.enable"/> = true;
<xref linkend="opt-services.xserver.displayManager.slim.enable"/> = true;
@@ -59,9 +59,16 @@
<screen>
# systemctl start display-manager.service
</screen>
</para>
<para>
On 64-bit systems, if you want OpenGL for 32-bit programs such as in Wine,
you should also set the following:
<programlisting>
<xref linkend="opt-hardware.opengl.driSupport32Bit"/> = true;
</programlisting>
</para>
<simplesect xml:id="sec-x11-graphics-cards-nvidia">
<title>NVIDIA Graphics Cards</title>
<title>Proprietary NVIDIA drivers</title>
<para>
NVIDIA provides a proprietary driver for its graphics cards that has better
3D performance than the X.org drivers. It is not enabled by default because
@@ -71,6 +78,7 @@
</programlisting>
Or if you have an older card, you may have to use one of the legacy drivers:
<programlisting>
<xref linkend="opt-services.xserver.videoDrivers"/> = [ "nvidiaLegacy390" ];
<xref linkend="opt-services.xserver.videoDrivers"/> = [ "nvidiaLegacy340" ];
<xref linkend="opt-services.xserver.videoDrivers"/> = [ "nvidiaLegacy304" ];
<xref linkend="opt-services.xserver.videoDrivers"/> = [ "nvidiaLegacy173" ];
@@ -78,16 +86,9 @@
You may need to reboot after enabling this driver to prevent a clash with
other kernel modules.
</para>
<para>
On 64-bit systems, if you want full acceleration for 32-bit programs such as
Wine, you should also set the following:
<programlisting>
<xref linkend="opt-hardware.opengl.driSupport32Bit"/> = true;
</programlisting>
</para>
</simplesect>
<simplesect xml:id="sec-x11--graphics-cards-amd">
<title>AMD Graphics Cards</title>
<title>Proprietary AMD drivers</title>
<para>
AMD provides a proprietary driver for its graphics cards that has better 3D
performance than the X.org drivers. It is not enabled by default because
@@ -99,11 +100,8 @@
other kernel modules.
</para>
<para>
On 64-bit systems, if you want full acceleration for 32-bit programs such as
Wine, you should also set the following:
<programlisting>
<xref linkend="opt-hardware.opengl.driSupport32Bit"/> = true;
</programlisting>
Note: for recent AMD GPUs you most likely want to keep either the defaults
or <literal>"amdgpu"</literal> (both free).
</para>
</simplesect>
<simplesect xml:id="sec-x11-touchpads">

View File

@@ -77,10 +77,10 @@
Shared folders can be given a name and a path in the host system in the
VirtualBox settings (Machine / Settings / Shared Folders, then click on the
"Add" icon). Add the following to the
<literal>/etc/nixos/configuration.nix</literal> to auto-mount them. If you
do not add <literal>"nofail"</literal>, the system will no boot properly.
The same goes for disabling <literal>rngd</literal> which is normally used
to get randomness but this does not work in virtual machines.
<literal>/etc/nixos/configuration.nix</literal> to auto-mount them. If you do
not add <literal>"nofail"</literal>, the system will no boot properly. The
same goes for disabling <literal>rngd</literal> which is normally used to get
randomness but this does not work in virtual machines.
</para>
<programlisting>

View File

@@ -13,18 +13,18 @@
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>nixos-generate-config</command>
<command>nixos-generate-config</command>
<arg>
<option>--force</option>
</arg>
<arg>
<arg choice='plain'>
<option>--root</option>
</arg>
<replaceable>root</replaceable>
</arg>
<arg>
<arg choice='plain'>
<option>--dir</option>

View File

@@ -13,35 +13,39 @@
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>nixos-rebuild</command><group choice='req'>
<command>nixos-rebuild</command><group choice='req'>
<arg choice='plain'>
<option>switch</option>
</arg>
<arg choice='plain'>
<option>boot</option>
</arg>
<arg choice='plain'>
<option>test</option>
</arg>
<arg choice='plain'>
<option>build</option>
</arg>
<arg choice='plain'>
<option>dry-build</option>
</arg>
<arg choice='plain'>
<option>dry-activate</option>
</arg>
<arg choice='plain'>
<option>edit</option>
</arg>
<arg choice='plain'>
<option>build-vm</option>
</arg>
<arg choice='plain'>
<option>build-vm-with-bootloader</option>
</arg>
@@ -50,33 +54,33 @@
<arg>
<option>--upgrade</option>
</arg>
<arg>
<option>--install-bootloader</option>
</arg>
<arg>
<option>--no-build-nix</option>
</arg>
<arg>
<option>--fast</option>
</arg>
<arg>
<option>--rollback</option>
</arg>
<arg>
<option>--builders</option>
<replaceable>builder-spec</replaceable>
<option>--builders</option> <replaceable>builder-spec</replaceable>
</arg>
<sbr />
<arg>
<group choice='req'>
<group choice='req'>
<arg choice='plain'>
<option>--profile-name</option>
</arg>
<arg choice='plain'>
<option>-p</option>
</arg>
@@ -188,6 +192,16 @@ $ nix-build /path/to/nixpkgs/nixos -A system
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>edit</option>
</term>
<listitem>
<para>
Opens <filename>configuration.nix</filename> in the default editor.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>build-vm</option>
@@ -320,25 +334,23 @@ $ ./result/bin/run-*-vm
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>--builders</option>
<replaceable>builder-spec</replaceable>
</term>
<listitem>
<para>
Allow ad-hoc remote builders for building the new system.
This requires the user executing <command>nixos-rebuild</command> (usually
root) to be configured as a trusted user in the Nix daemon. This can be
achieved by using the <literal>nix.trustedUsers</literal> NixOS option.
Examples values for that option are described in the
<literal>Remote builds chapter</literal> in the Nix manual,
(i.e. <command>--builders "ssh://bigbrother x86_64-linux"</command>).
By specifying an empty string existing builders specified in
<filename>/etc/nix/machines</filename> can be ignored:
<command>--builders ""</command> for example when they are not
reachable due to network connectivity.
</para>
</listitem>
<term>
<option>--builders</option> <replaceable>builder-spec</replaceable>
</term>
<listitem>
<para>
Allow ad-hoc remote builders for building the new system. This requires
the user executing <command>nixos-rebuild</command> (usually root) to be
configured as a trusted user in the Nix daemon. This can be achieved by
using the <literal>nix.trustedUsers</literal> NixOS option. Examples
values for that option are described in the <literal>Remote builds
chapter</literal> in the Nix manual, (i.e. <command>--builders
"ssh://bigbrother x86_64-linux"</command>). By specifying an empty string
existing builders specified in <filename>/etc/nix/machines</filename> can
be ignored: <command>--builders ""</command> for example when they are
not reachable due to network connectivity.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>

View File

@@ -639,7 +639,8 @@ $ nix-instantiate -E '(import &lt;nixpkgsunstable&gt; {}).gitFull'
</listitem>
<listitem>
<para>
Groups <literal>kvm</literal> and <literal>render</literal> are introduced now, as systemd requires them.
Groups <literal>kvm</literal> and <literal>render</literal> are introduced
now, as systemd requires them.
</para>
</listitem>
</itemizedlist>

View File

@@ -20,25 +20,27 @@
<itemizedlist>
<listitem>
<para>
The default Python 3 interpreter is now CPython 3.7 instead of CPython 3.6.
The default Python 3 interpreter is now CPython 3.7 instead of CPython
3.6.
</para>
</listitem>
<listitem>
<para>
Added the Pantheon desktop environment.
It can be enabled through <varname>services.xserver.desktopManager.pantheon.enable</varname>.
Added the Pantheon desktop environment. It can be enabled through
<varname>services.xserver.desktopManager.pantheon.enable</varname>.
</para>
<note>
<para>
<varname>services.xserver.desktopManager.pantheon</varname> default enables lightdm
as a display manager and using Pantheon's greeter.
<varname>services.xserver.desktopManager.pantheon</varname> default
enables lightdm as a display manager and using Pantheon's greeter.
</para>
<para>
This is because of limitations with the screenlocking implementation, whereas the
screenlocker would be non-functional without it.
This is because of limitations with the screenlocking implementation,
whereas the screenlocker would be non-functional without it.
</para>
<para>
Because of that it is recommended to retain this precaution, however if you'd like to change this set:
Because of that it is recommended to retain this precaution, however if
you'd like to change this set:
</para>
<itemizedlist>
<listitem>
@@ -52,16 +54,38 @@
</para>
</listitem>
</itemizedlist>
<para>to <literal>false</literal> and enable your preferred display manager.</para>
<para>
to <literal>false</literal> and enable your preferred display manager.
</para>
</note>
</listitem>
<listitem>
<para>
A major refactoring of the Kubernetes module has been completed.
Refactorings primarily focus on decoupling components and enhancing
security. Two-way TLS and RBAC has been enabled by default for all
components, which slightly changes the way the module is configured. See:
<xref linkend="sec-kubernetes"/> for details.
</para>
</listitem>
<listitem>
<para>
A major refactoring of the Kubernetes module has been completed.
Refactorings primarily focus on decoupling components and enhancing
security. Two-way TLS and RBAC has been enabled by default for all
components, which slightly changes the way the module is configured.
See: <xref linkend="sec-kubernetes"/> for details.
There is now a set of <option>confinement</option> options for
<option>systemd.services</option>, which allows to restrict services
into a <citerefentry>
<refentrytitle>chroot</refentrytitle>
<manvolnum>2</manvolnum>
</citerefentry>ed environment that only contains the store paths from
the runtime closure of the service.
</para>
</listitem>
<listitem>
<para>
A UEFI installer image for Aarch64 is now
<link xlink:href="https://hydra.nixos.org/job/nixos/release-19.03/nixos.iso_minimal.aarch64-linux/latest">
built by Hydra</link>.
It should work on all devices with a UEFI implementation
such as upstream u-boot.
</para>
</listitem>
</itemizedlist>
@@ -71,57 +95,80 @@
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
version="5.0"
xml:id="sec-release-19.03-new-services">
<title>New Services</title>
xml:id="sec-release-19.03-new-modules">
<title>New Modules</title>
<para>
The following new services were added since the last release:
The following new modules were added since the last release:
</para>
<itemizedlist>
<listitem>
<para>
<literal>./programs/nm-applet.nix</literal>
</para>
</listitem>
<listitem>
<para><filename>security/google_oslogin.nix</filename></para>
<para>
There is a new <varname>security.googleOsLogin</varname> module for using
<link xlink:href="https://cloud.google.com/compute/docs/instances/managing-instance-access">OS Login</link>
to manage SSH access to Google Compute Engine instances, which supersedes
the imperative and broken <literal>google-accounts-daemon</literal> used
in <literal>nixos/modules/virtualisation/google-compute-config.nix</literal>.
</para>
</listitem>
<listitem>
<para>
<literal>./services/misc/beanstalkd.nix</literal>
<link xlink:href="https://cloud.google.com/compute/docs/instances/managing-instance-access">OS
Login</link> to manage SSH access to Google Compute Engine instances,
which supersedes the imperative and broken
<literal>google-accounts-daemon</literal> used in
<literal>nixos/modules/virtualisation/google-compute-config.nix</literal>.
</para>
</listitem>
<listitem>
<para><filename>services/misc/beanstalkd.nix</filename></para>
<para>
There is a new <varname>services.cockroachdb</varname> module for running
CockroachDB databases. NixOS now ships with CockroachDB 2.1.x as well, available
on <literal>x86_64-linux</literal> and <literal>aarch64-linux</literal>.
CockroachDB databases. NixOS now ships with CockroachDB 2.1.x as well,
available on <literal>x86_64-linux</literal> and
<literal>aarch64-linux</literal>.
</para>
</listitem>
</itemizedlist>
<itemizedlist>
<listitem>
<para>
<literal>./security/duosec.nix</literal>
<filename>security/duosec.nix</filename>
</para>
</listitem>
<listitem>
<para>
The <link xlink:href="https://duo.com/docs/duounix">PAM module for Duo
Security</link> has been enabled for use. One can configure it using
the <option>security.duosec</option> options along with the
corresponding PAM option in
Security</link> has been enabled for use. One can configure it using the
<option>security.duosec</option> options along with the corresponding PAM
option in
<option>security.pam.services.&lt;name?&gt;.duoSecurity.enable</option>.
</para>
</listitem>
<listitem><para><filename>config/appstream.nix</filename></para></listitem>
<listitem><para><filename>config/xdg/sounds.nix</filename></para></listitem>
<listitem><para><filename>hardware/acpilight.nix</filename></para></listitem>
<listitem><para><filename>hardware/ledger.nix</filename></para></listitem>
<listitem><para><filename>programs/dmrconfig.nix</filename></para></listitem>
<listitem><para><filename>programs/iotop.nix</filename></para></listitem>
<listitem><para><filename>programs/mininet.nix</filename></para></listitem>
<listitem><para><filename>programs/nm-applet.nix</filename></para></listitem>
<listitem><para><filename>programs/wavemon.nix</filename></para></listitem>
<listitem><para><filename>security/google_oslogin.nix</filename></para></listitem>
<listitem><para><filename>security/misc.nix</filename></para></listitem>
<listitem><para><filename>services/desktops/gnome3/rygel.nix</filename></para></listitem>
<listitem><para><filename>services/desktops/gsignond.nix</filename></para></listitem>
<listitem><para><filename>services/hardware/bolt.nix</filename></para></listitem>
<listitem><para><filename>services/hardware/lirc.nix</filename></para></listitem>
<listitem><para><filename>services/hardware/ratbagd.nix</filename></para></listitem>
<listitem><para><filename>services/hardware/triggerhappy.nix</filename></para></listitem>
<listitem><para><filename>services/hardware/vdr.nix</filename></para></listitem>
<listitem><para><filename>services/mail/davmail.nix</filename></para></listitem>
<listitem><para><filename>services/mail/roundcube.nix</filename></para></listitem>
<listitem><para><filename>services/mail/rss2email.nix</filename></para></listitem>
<listitem><para><filename>services/misc/beanstalkd.nix</filename></para></listitem>
<listitem><para><filename>services/misc/bees.nix</filename></para></listitem>
<listitem><para><filename>services/misc/headphones.nix</filename></para></listitem>
<listitem><para><filename>services/misc/lidarr.nix</filename></para></listitem>
<listitem><para><filename>services/misc/sickbeard.nix</filename></para></listitem>
<listitem><para><filename>services/misc/weechat.nix</filename></para></listitem>
<listitem><para><filename>services/misc/zoneminder.nix</filename></para></listitem>
<listitem><para><filename>services/monitoring/alerta.nix</filename></para></listitem>
<listitem><para><filename>services/monitoring/kapacitor.nix</filename></para></listitem>
<listitem><para><filename>services/networking/iperf3.nix</filename></para></listitem>
<listitem><para><filename>services/networking/knot.nix</filename></para></listitem>
</itemizedlist>
</section>
@@ -184,22 +231,37 @@
</listitem>
<listitem>
<para>
The Syncthing state and configuration data has been moved from
<varname>services.syncthing.dataDir</varname> to the newly defined
<varname>services.syncthing.configDir</varname>, which default to
<literal>/var/lib/syncthing/.config/syncthing</literal>.
This change makes possible to share synced directories using ACLs
without Syncthing resetting the permission on every start.
The <varname>buildPythonPackage</varname> function now sets
<varname>strictDeps = true</varname> to help distinguish between native
and non-native dependencies in order to improve cross-compilation
compatibility. Note however that this may break user expressions.
</para>
</listitem>
<listitem>
<para>
The <literal>ntp</literal> module now has sane default restrictions.
If you're relying on the previous defaults, which permitted all queries
and commands from all firewall-permitted sources, you can set
<varname>services.ntp.restrictDefault</varname> and
<varname>services.ntp.restrictSource</varname> to
<literal>[]</literal>.
The <varname>buildPythonPackage</varname> function now sets <varname>LANG
= C.UTF-8</varname> to enable Unicode support. The
<varname>glibcLocales</varname> package is no longer needed as a build
input.
</para>
</listitem>
<listitem>
<para>
The Syncthing state and configuration data has been moved from
<varname>services.syncthing.dataDir</varname> to the newly defined
<varname>services.syncthing.configDir</varname>, which default to
<literal>/var/lib/syncthing/.config/syncthing</literal>. This change makes
possible to share synced directories using ACLs without Syncthing
resetting the permission on every start.
</para>
</listitem>
<listitem>
<para>
The <literal>ntp</literal> module now has sane default restrictions. If
you're relying on the previous defaults, which permitted all queries and
commands from all firewall-permitted sources, you can set
<varname>services.ntp.restrictDefault</varname> and
<varname>services.ntp.restrictSource</varname> to <literal>[]</literal>.
</para>
</listitem>
<listitem>
@@ -227,17 +289,21 @@
</listitem>
<listitem>
<para>
Options
<literal>services.znc.confOptions.networks.<replaceable>name</replaceable>.userName</literal> and
<literal>services.znc.confOptions.networks.<replaceable>name</replaceable>.modulePackages</literal>
were removed. They were never used for anything and can therefore safely be removed.
Options
<literal>services.znc.confOptions.networks.<replaceable>name</replaceable>.userName</literal>
and
<literal>services.znc.confOptions.networks.<replaceable>name</replaceable>.modulePackages</literal>
were removed. They were never used for anything and can therefore safely
be removed.
</para>
</listitem>
<listitem>
<para>
Package <literal>wasm</literal> has been renamed <literal>proglodyte-wasm</literal>. The package
<literal>wasm</literal> will be pointed to <literal>ocamlPackages.wasm</literal> in 19.09, so
make sure to update your configuration if you want to keep <literal>proglodyte-wasm</literal>
Package <literal>wasm</literal> has been renamed
<literal>proglodyte-wasm</literal>. The package <literal>wasm</literal>
will be pointed to <literal>ocamlPackages.wasm</literal> in 19.09, so make
sure to update your configuration if you want to keep
<literal>proglodyte-wasm</literal>
</para>
</listitem>
<listitem>
@@ -259,43 +325,47 @@
<listitem>
<para>
The versioned <varname>postgresql</varname> have been renamed to use
underscore number seperators. For example, <varname>postgresql96</varname>
underscore number separators. For example, <varname>postgresql96</varname>
has been renamed to <varname>postgresql_9_6</varname>.
</para>
</listitem>
<listitem>
<para>
Package <literal>consul-ui</literal> and passthrough <literal>consul.ui</literal> have been removed.
The package <literal>consul</literal> now uses upstream releases that vendor the UI into the binary.
See <link xlink:href="https://github.com/NixOS/nixpkgs/pull/48714#issuecomment-433454834">#48714</link>
Package <literal>consul-ui</literal> and passthrough
<literal>consul.ui</literal> have been removed. The package
<literal>consul</literal> now uses upstream releases that vendor the UI
into the binary. See
<link xlink:href="https://github.com/NixOS/nixpkgs/pull/48714#issuecomment-433454834">#48714</link>
for details.
</para>
</listitem>
<listitem>
<para>
Slurm introduces the new option
<literal>services.slurm.stateSaveLocation</literal>,
which is now set to <literal>/var/spool/slurm</literal> by default
(instead of <literal>/var/spool</literal>).
Make sure to move all files to the new directory or to set the option accordingly.
Slurm introduces the new option
<literal>services.slurm.stateSaveLocation</literal>, which is now set to
<literal>/var/spool/slurm</literal> by default (instead of
<literal>/var/spool</literal>). Make sure to move all files to the new
directory or to set the option accordingly.
</para>
<para>
The slurmctld now runs as user <literal>slurm</literal> instead of <literal>root</literal>.
If you want to keep slurmctld running as <literal>root</literal>, set
<literal>services.slurm.user = root</literal>.
The slurmctld now runs as user <literal>slurm</literal> instead of
<literal>root</literal>. If you want to keep slurmctld running as
<literal>root</literal>, set <literal>services.slurm.user =
root</literal>.
</para>
<para>
The options <literal>services.slurm.nodeName</literal> and
<literal>services.slurm.partitionName</literal> are now sets of
strings to correctly reflect that fact that each of these
options can occour more than once in the configuration.
The options <literal>services.slurm.nodeName</literal> and
<literal>services.slurm.partitionName</literal> are now sets of strings to
correctly reflect that fact that each of these options can occour more
than once in the configuration.
</para>
</listitem>
<listitem>
<para>
The <literal>solr</literal> package has been upgraded from 4.10.3 to 7.5.0 and has undergone
some major changes. The <literal>services.solr</literal> module has been updated to reflect
these changes. Please review http://lucene.apache.org/solr/ carefully before upgrading.
The <literal>solr</literal> package has been upgraded from 4.10.3 to 7.5.0
and has undergone some major changes. The <literal>services.solr</literal>
module has been updated to reflect these changes. Please review
http://lucene.apache.org/solr/ carefully before upgrading.
</para>
</listitem>
<listitem>
@@ -307,46 +377,49 @@
</listitem>
<listitem>
<para>
The option <literal>services.xserver.displayManager.job.logToFile</literal> which was
The option
<literal>services.xserver.displayManager.job.logToFile</literal> which was
previously set to <literal>true</literal> when using the display managers
<literal>lightdm</literal>, <literal>sddm</literal> or <literal>xpra</literal> has been
reset to the default value (<literal>false</literal>).
<literal>lightdm</literal>, <literal>sddm</literal> or
<literal>xpra</literal> has been reset to the default value
(<literal>false</literal>).
</para>
</listitem>
<listitem>
<para>
Network interface indiscriminate NixOS firewall options
(<literal>networking.firewall.allow*</literal>) are now preserved when also
setting interface specific rules such as <literal>networking.firewall.interfaces.en0.allow*</literal>.
These rules continue to use the pseudo device "default"
(<literal>networking.firewall.interfaces.default.*</literal>), and assigning
to this pseudo device will override the (<literal>networking.firewall.allow*</literal>)
options.
</para>
</listitem>
<listitem>
<para>
(<literal>networking.firewall.allow*</literal>) are now preserved when
also setting interface specific rules such as
<literal>networking.firewall.interfaces.en0.allow*</literal>. These rules
continue to use the pseudo device "default"
(<literal>networking.firewall.interfaces.default.*</literal>), and
assigning to this pseudo device will override the
(<literal>networking.firewall.allow*</literal>) options.
</para>
</listitem>
<listitem>
<para>
The <literal>nscd</literal> service now disables all caching of
<literal>passwd</literal> and <literal>group</literal> databases by
default. This was interferring with the correct functioning of the
<literal>libnss_systemd.so</literal> module which is used by
<literal>systemd</literal> to manage uids and usernames in the presence of
<literal>DynamicUser=</literal> in systemd services. This was already the
<literal>DynamicUser=</literal> in systemd services. This was already the
default behaviour in presence of <literal>services.sssd.enable =
true</literal> because nscd caching would interfere with
<literal>sssd</literal> in unpredictable ways as well. Because we're
using nscd not for caching, but for convincing glibc to find NSS modules
in the nix store instead of an absolute path, we have decided to disable
caching globally now, as it's usually not the behaviour the user wants and
can lead to surprising behaviour. Furthermore, negative caching of host
true</literal> because nscd caching would interfere with
<literal>sssd</literal> in unpredictable ways as well. Because we're using
nscd not for caching, but for convincing glibc to find NSS modules in the
nix store instead of an absolute path, we have decided to disable caching
globally now, as it's usually not the behaviour the user wants and can
lead to surprising behaviour. Furthermore, negative caching of host
lookups is also disabled now by default. This should fix the issue of dns
lookups failing in the presence of an unreliable network.
</para>
<para>
If the old behaviour is desired, this can be restored by setting
the <literal>services.nscd.config</literal> option
with the desired caching parameters.
<programlisting>
</para>
<para>
If the old behaviour is desired, this can be restored by setting the
<literal>services.nscd.config</literal> option with the desired caching
parameters.
<programlisting>
services.nscd.config =
''
server-user nscd
@@ -379,92 +452,125 @@
shared hosts yes
'';
</programlisting>
See <link xlink:href="https://github.com/NixOS/nixpkgs/pull/50316">#50316</link>
See
<link xlink:href="https://github.com/NixOS/nixpkgs/pull/50316">#50316</link>
for details.
</para>
</listitem>
<listitem>
<para>
</para>
</listitem>
<listitem>
<para>
GitLab Shell previously used the nix store paths for the
<literal>gitlab-shell</literal> command in its
<literal>authorized_keys</literal> file, which might stop working after
garbage collection. To circumvent that, we regenerated that file on each
startup. As <literal>gitlab-shell</literal> has now been changed to use
startup. As <literal>gitlab-shell</literal> has now been changed to use
<literal>/var/run/current-system/sw/bin/gitlab-shell</literal>, this is
not necessary anymore, but there might be leftover lines with a nix store
path. Regenerate the <literal>authorized_keys</literal> file via
<command>sudo -u git -H gitlab-rake gitlab:shell:setup</command> in that
case.
</para>
</listitem>
<listitem>
<para>
</para>
</listitem>
<listitem>
<para>
The <literal>pam_unix</literal> account module is now loaded with its
control field set to <literal>required</literal> instead of
<literal>sufficient</literal>, so that later PAM account modules that
might do more extensive checks are being executed.
Previously, the whole account module verification was exited prematurely
in case a nss module provided the account name to
<literal>pam_unix</literal>.
The LDAP and SSSD NixOS modules already add their NSS modules when
enabled. In case your setup breaks due to some later PAM account module
previosuly shadowed, or failing NSS lookups, please file a bug. You can
get back the old behaviour by manually setting
<literal><![CDATA[security.pam.services.<name?>.text]]></literal>.
</para>
</listitem>
<listitem>
<para>
The <literal>pam_unix</literal> password module is now loaded with its
control field set to <literal>sufficient</literal> instead of
<literal>required</literal>, so that password managed only
by later PAM password modules are being executed.
Previously, for example, changing an LDAP account's password through PAM
was not possible: the whole password module verification
was exited prematurely by <literal>pam_unix</literal>,
preventing <literal>pam_ldap</literal> to manage the password as it should.
</para>
</listitem>
<listitem>
<para>
<literal>fish</literal> has been upgraded to 3.0.
It comes with a number of improvements and backwards incompatible changes.
See the <literal>fish</literal> <link xlink:href="https://github.com/fish-shell/fish-shell/releases/tag/3.0.0">release notes</link> for more information.
might do more extensive checks are being executed. Previously, the whole
account module verification was exited prematurely in case a nss module
provided the account name to <literal>pam_unix</literal>. The LDAP and
SSSD NixOS modules already add their NSS modules when enabled. In case
your setup breaks due to some later PAM account module previously
shadowed, or failing NSS lookups, please file a bug. You can get back the
old behaviour by manually setting <literal>
<![CDATA[security.pam.services.<name?>.text]]>
</literal>.
</para>
</listitem>
<listitem>
<listitem>
<para>
The ibus-table input method has had a change in config format, which
causes all previous settings to be lost. See
<link xlink:href="https://github.com/mike-fabian/ibus-table/commit/f9195f877c5212fef0dfa446acb328c45ba5852b">this commit message</link>
for details.
The <literal>pam_unix</literal> password module is now loaded with its
control field set to <literal>sufficient</literal> instead of
<literal>required</literal>, so that password managed only by later PAM
password modules are being executed. Previously, for example, changing an
LDAP account's password through PAM was not possible: the whole password
module verification was exited prematurely by <literal>pam_unix</literal>,
preventing <literal>pam_ldap</literal> to manage the password as it
should.
</para>
</listitem>
<listitem>
<para>
Support for NixOS module system type <literal>types.optionSet</literal> and
<literal>lib.mkOption</literal> argument <literal>options</literal> is removed.
Use <literal>types.submodule</literal> instead.
(<link xlink:href="https://github.com/NixOS/nixpkgs/pull/54637">#54637</link>)
</para>
</listitem>
<listitem>
<para>
<literal>matrix-synapse</literal> has been updated to version 0.99. It will
<link xlink:href="https://github.com/matrix-org/synapse/pull/4509">no longer generate a self-signed certificate on first launch</link>
and will be <link xlink:href="https://matrix.org/blog/2019/02/05/synapse-0-99-0/">the last version to accept self-signed certificates</link>.
As such, it is now recommended to use a proper certificate verified by a
root CA (for example Let's Encrypt).
</para>
</listitem>
</listitem>
<listitem>
<para>
<literal>fish</literal> has been upgraded to 3.0. It comes with a number
of improvements and backwards incompatible changes. See the
<literal>fish</literal>
<link xlink:href="https://github.com/fish-shell/fish-shell/releases/tag/3.0.0">release
notes</link> for more information.
</para>
</listitem>
<listitem>
<para>
The ibus-table input method has had a change in config format, which
causes all previous settings to be lost. See
<link xlink:href="https://github.com/mike-fabian/ibus-table/commit/f9195f877c5212fef0dfa446acb328c45ba5852b">this
commit message</link> for details.
</para>
</listitem>
<listitem>
<para>
NixOS module system type <literal>types.optionSet</literal> and
<literal>lib.mkOption</literal> argument <literal>options</literal> are
deprecated. Use <literal>types.submodule</literal> instead.
(<link xlink:href="https://github.com/NixOS/nixpkgs/pull/54637">#54637</link>)
</para>
</listitem>
<listitem>
<para>
<literal>matrix-synapse</literal> has been updated to version 0.99. It
will <link xlink:href="https://github.com/matrix-org/synapse/pull/4509">no
longer generate a self-signed certificate on first launch</link> and will
be
<link xlink:href="https://matrix.org/blog/2019/02/05/synapse-0-99-0/">the
last version to accept self-signed certificates</link>. As such, it is now
recommended to use a proper certificate verified by a root CA (for example
Let's Encrypt). The new <link linkend="module-services-matrix">manual
chapter on Matrix</link> contains a working example of using nginx as a
reverse proxy in front of <literal>matrix-synapse</literal>, using Let's
Encrypt certificates.
</para>
</listitem>
<listitem>
<para>
<literal>mailutils</literal> now works by default when
<literal>sendmail</literal> is not in a setuid wrapper. As a consequence,
the <literal>sendmailPath</literal> argument, having lost its main use, has
been removed.
the <literal>sendmailPath</literal> argument, having lost its main use,
has been removed.
</para>
</listitem>
<listitem>
<para>
<literal>graylog</literal> has been upgraded from version 2.* to 3.*. Some
setups making use of extraConfig (especially those exposing Graylog via
reverse proxies) need to be updated as upstream removed/replaced some
settings. See
<link xlink:href="http://docs.graylog.org/en/3.0/pages/upgrade/graylog-3.0.html#simplified-http-interface-configuration">Upgrading
Graylog</link> for details.
</para>
</listitem>
<listitem>
<para>
The option <literal>users.ldap.bind.password</literal> was renamed to <literal>users.ldap.bind.passwordFile</literal>,
and needs to be readable by the <literal>nslcd</literal> user.
Same applies to the new <literal>users.ldap.daemon.rootpwmodpwFile</literal> option.
</para>
</listitem>
<listitem>
<para>
<literal>nodejs-6_x</literal> is end-of-life.
<literal>nodejs-6_x</literal>, <literal>nodejs-slim-6_x</literal> and
<literal>nodePackages_6_x</literal> are removed.
</para>
</listitem>
</itemizedlist>
</section>
@@ -479,198 +585,235 @@
<listitem>
<para>
The <option>services.matomo</option> module gained the option
<option>services.matomo.package</option> which determines the used
Matomo version.
<option>services.matomo.package</option> which determines the used Matomo
version.
</para>
<para>
The Matomo module now also comes with the systemd service <literal>matomo-archive-processing.service</literal>
and a timer that automatically triggers archive processing every hour.
This means that you can safely
The Matomo module now also comes with the systemd service
<literal>matomo-archive-processing.service</literal> and a timer that
automatically triggers archive processing every hour. This means that you
can safely
<link xlink:href="https://matomo.org/docs/setup-auto-archiving/#disable-browser-triggers-for-matomo-archiving-and-limit-matomo-reports-to-updating-every-hour">
disable browser triggers for Matomo archiving
</link> at <literal>Administration > System > General Settings</literal>.
disable browser triggers for Matomo archiving </link> at
<literal>Administration > System > General Settings</literal>.
</para>
<para>
Additionally, you can enable to
<link xlink:href="https://matomo.org/docs/privacy/#step-2-delete-old-visitors-logs">
delete old visitor logs
</link> at <literal>Administration > System > Privacy</literal>,
but make sure that you run <literal>systemctl start matomo-archive-processing.service</literal>
at least once without errors if you have already collected data before,
so that the reports get archived before the source data gets deleted.
delete old visitor logs </link> at <literal>Administration > System >
Privacy</literal>, but make sure that you run <literal>systemctl start
matomo-archive-processing.service</literal> at least once without errors
if you have already collected data before, so that the reports get
archived before the source data gets deleted.
</para>
</listitem>
<listitem>
<para>
<literal>composableDerivation</literal> along with supporting library functions
has been removed.
<literal>composableDerivation</literal> along with supporting library
functions has been removed.
</para>
</listitem>
<listitem>
<para>
The deprecated <literal>truecrypt</literal> package has been removed
and <literal>truecrypt</literal> attribute is now an alias for
The deprecated <literal>truecrypt</literal> package has been removed and
<literal>truecrypt</literal> attribute is now an alias for
<literal>veracrypt</literal>. VeraCrypt is backward-compatible with
TrueCrypt volumes. Note that <literal>cryptsetup</literal> also
supports loading TrueCrypt volumes.
TrueCrypt volumes. Note that <literal>cryptsetup</literal> also supports
loading TrueCrypt volumes.
</para>
</listitem>
<listitem>
<para>
The Kubernetes DNS addons, kube-dns, has been replaced with CoreDNS.
This change is made in accordance with Kubernetes making CoreDNS the official default
starting from
<link xlink:href="https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.11.md#sig-cluster-lifecycle">Kubernetes v1.11</link>.
Please beware that upgrading DNS-addon on existing clusters might induce
minor downtime while the DNS-addon terminates and re-initializes.
Also note that the DNS-service now runs with 2 pod replicas by default.
The desired number of replicas can be configured using:
<option>services.kubernetes.addons.dns.replicas</option>.
</para>
</listitem>
<listitem>
<para>
The quassel-webserver package and module was removed from nixpkgs due to the lack
of maintainers.
</para>
</listitem>
<listitem>
<para>
The astah-community package was removed from nixpkgs due to it being discontinued and the downloads not being available anymore.
</para>
</listitem>
<listitem>
<para>
The httpd service now saves log files with a .log file extension by default for
easier integration with the logrotate service.
</para>
</listitem>
<listitem>
<para>
The owncloud server packages and httpd subservice module were removed
from nixpkgs due to the lack of maintainers.
</para>
</listitem>
<listitem>
<para>
It is possible now to uze ZRAM devices as general purpose ephemeral block devices,
not only as swap. Using more than 1 device as ZRAM swap is no longer recommended,
but is still possible by setting <literal>zramSwap.swapDevices</literal> explicitly.
</para>
<para>
Default algorithm for ZRAM swap was changed to <literal>zstd</literal>.
</para>
<para>
Changes to ZRAM algorithm are applied during <literal>nixos-rebuild switch</literal>,
so make sure you have enough swap space on disk to survive ZRAM device rebuild. Alternatively,
use <literal>nixos-rebuild boot; reboot</literal>.
</para>
</listitem>
<listitem>
<para>
Symlinks in <filename>/etc</filename> (except <filename>/etc/static</filename>)
are now relative instead of absolute. This makes possible to examine
NixOS container's <filename>/etc</filename> directory from host system
(previously it pointed to host <filename>/etc</filename> when viewed from host,
and to container <filename>/etc</filename> when viewed from container chroot).
</para>
<para>
This also makes <filename>/etc/os-release</filename> adhere to
<link xlink:href="https://www.freedesktop.org/software/systemd/man/os-release.html">the standard</link>
for NixOS containers.
The Kubernetes DNS addons, kube-dns, has been replaced with CoreDNS. This
change is made in accordance with Kubernetes making CoreDNS the official
default starting from
<link xlink:href="https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.11.md#sig-cluster-lifecycle">Kubernetes
v1.11</link>. Please beware that upgrading DNS-addon on existing clusters
might induce minor downtime while the DNS-addon terminates and
re-initializes. Also note that the DNS-service now runs with 2 pod
replicas by default. The desired number of replicas can be configured
using: <option>services.kubernetes.addons.dns.replicas</option>.
</para>
</listitem>
<listitem>
<para>
Flat volumes are now disabled by default in <literal>hardware.pulseaudio</literal>.
This has been done to prevent applications, which are unaware of this feature, setting
their volumes to 100% on startup causing harm to your audio hardware and potentially your ears.
The quassel-webserver package and module was removed from nixpkgs due to
the lack of maintainers.
</para>
</listitem>
<listitem>
<para>
The manual gained a <link linkend="module-services-matrix"> new chapter on
self-hosting <literal>matrix-synapse</literal> and
<literal>riot-web</literal> </link>, the most prevalent server and client
implementations for the
<link xlink:href="https://matrix.org/">Matrix</link> federated
communication network.
</para>
</listitem>
<listitem>
<para>
The astah-community package was removed from nixpkgs due to it being
discontinued and the downloads not being available anymore.
</para>
</listitem>
<listitem>
<para>
The httpd service now saves log files with a .log file extension by
default for easier integration with the logrotate service.
</para>
</listitem>
<listitem>
<para>
The owncloud server packages and httpd subservice module were removed from
nixpkgs due to the lack of maintainers.
</para>
</listitem>
<listitem>
<para>
It is possible now to uze ZRAM devices as general purpose ephemeral block
devices, not only as swap. Using more than 1 device as ZRAM swap is no
longer recommended, but is still possible by setting
<literal>zramSwap.swapDevices</literal> explicitly.
</para>
<para>
ZRAM algorithm can be changed now.
</para>
<para>
Changes to ZRAM algorithm are applied during <literal>nixos-rebuild
switch</literal>, so make sure you have enough swap space on disk to
survive ZRAM device rebuild. Alternatively, use <literal>nixos-rebuild
boot; reboot</literal>.
</para>
</listitem>
<listitem>
<para>
Flat volumes are now disabled by default in
<literal>hardware.pulseaudio</literal>. This has been done to prevent
applications, which are unaware of this feature, setting their volumes to
100% on startup causing harm to your audio hardware and potentially your
ears.
</para>
<note>
<para>
With this change application specific volumes are relative to the master volume which can be
adjusted independently, whereas before they were absolute; meaning that in effect, it scaled the
device-volume with the volume of the loudest application.
With this change application specific volumes are relative to the master
volume which can be adjusted independently, whereas before they were
absolute; meaning that in effect, it scaled the device-volume with the
volume of the loudest application.
</para>
</note>
</listitem>
<listitem>
<para>
The <link xlink:href="https://github.com/DanielAdolfsson/ndppd"><literal>ndppd</literal></link> module
now supports <link linkend="opt-services.ndppd.enable">all config options</link> provided by the current
upstream version as service options. Additionally the <literal>ndppd</literal> package doesn't contain
the systemd unit configuration from upstream anymore, the unit is completely configured by the NixOS module now.
The
<link xlink:href="https://github.com/DanielAdolfsson/ndppd"><literal>ndppd</literal></link>
module now supports <link linkend="opt-services.ndppd.enable">all config
options</link> provided by the current upstream version as service
options. Additionally the <literal>ndppd</literal> package doesn't contain
the systemd unit configuration from upstream anymore, the unit is
completely configured by the NixOS module now.
</para>
</listitem>
<listitem>
<para>
New installs of NixOS will default to the Redmine 4.x series unless otherwise specified in
<literal>services.redmine.package</literal> while existing installs of NixOS will default to
the Redmine 3.x series.
New installs of NixOS will default to the Redmine 4.x series unless
otherwise specified in <literal>services.redmine.package</literal> while
existing installs of NixOS will default to the Redmine 3.x series.
</para>
</listitem>
<listitem>
<para>
The <link linkend="opt-services.grafana.enable">Grafana module</link> now supports declarative
<link xlink:href="http://docs.grafana.org/administration/provisioning/">datasource and dashboard</link>
provisioning.
The <link linkend="opt-services.grafana.enable">Grafana module</link> now
supports declarative
<link xlink:href="http://docs.grafana.org/administration/provisioning/">datasource
and dashboard</link> provisioning.
</para>
</listitem>
<listitem>
<para>
The use of insecure ports on kubernetes has been deprecated. Thus options:
<varname>services.kubernetes.apiserver.port</varname> and
<varname>services.kubernetes.controllerManager.port</varname> has been
renamed to <varname>.insecurePort</varname>, and default of both options
has changed to 0 (disabled).
</para>
</listitem>
<listitem>
<para>
The default value of
<varname>services.kubernetes.apiserver.bindAddress</varname> has changed
from 127.0.0.1 to 0.0.0.0, allowing the apiserver to be accessible from
outside the master node itself. If the apiserver insecurePort is enabled,
it is strongly recommended to only bind on the loopback interface. See:
<varname>services.kubernetes.apiserver.insecurebindAddress</varname>.
</para>
</listitem>
<listitem>
<para>
The option
<varname>services.kubernetes.apiserver.allowPrivileged</varname> and
<varname>services.kubernetes.kubelet.allowPrivileged</varname> now
defaults to false. Disallowing privileged containers on the cluster.
</para>
</listitem>
<listitem>
<para>
The kubernetes module no longer adds the kubernetes package to
<varname>environment.systemPackages</varname> implicitly.
</para>
</listitem>
<listitem>
<para>
The <literal>intel</literal> driver has been removed from the default list
of <link linkend="opt-services.xserver.videoDrivers">X.org video
drivers</link>. The <literal>modesetting</literal> driver should take over
automatically, it is better maintained upstream and has less problems with
advanced X11 features. This can lead to a change in the output names used
by <command>xrandr</command>. Some performance regressions on some GPU
models might happen. Some OpenCL and VA-API applications might also break
(Beignet seems to provide OpenCL support with
<literal>modesetting</literal> driver, too). Kernel mode setting API does
not support backlight control, so <command>xbacklight</command> tool will
not work; backlight level can be controlled directly via
<filename>/sys/</filename> or with <command>brightnessctl</command> or
<command>light</command>. Users
who need this functionality more than multi-output XRandR are advised to
add <literal>intel</literal> to <varname>videoDrivers</varname> and report
an issue (or provide additional details in an existing one).
</para>
</listitem>
<listitem>
<para>
Openmpi has been updated to version 4.0.0, which removes some deprecated
MPI-1 symbols. This may break some older applications that still rely on
those symbols. An upgrade guide can be found
<link xlink:href="https://www.open-mpi.org/faq/?category=mpi-removed">here</link>.
</para>
</listitem>
<listitem>
<para>
The nginx package now relies on OpenSSL 1.1 and supports TLS 1.3 by
default. You can set the protocols used by the nginx service using
<xref linkend="opt-services.nginx.sslProtocols"/>.
</para>
</listitem>
<listitem>
<para>
A new subcommand <command>nixos-rebuild edit</command> was added.
</para>
</listitem>
<listitem>
<para>
The use of insecure ports on kubernetes has been deprecated.
Thus options:
<varname>services.kubernetes.apiserver.port</varname> and
<varname>services.kubernetes.controllerManager.port</varname>
has been renamed to <varname>.insecurePort</varname>,
and default of both options has changed to 0 (disabled).
<function>stdenv.mkDerivation</function> may now be passed
<varname>pname</varname> and <varname>version</varname> attributes
instead of <varname>name</varname>, and will now automatically
construct the package name by joining them with a dash.
</para>
</listitem>
<listitem>
<para>
Note that the default value of
<varname>services.kubernetes.apiserver.bindAddress</varname>
has changed from 127.0.0.1 to 0.0.0.0, allowing the apiserver to be
accessible from outside the master node itself.
If the apiserver insecurePort is enabled,
it is strongly recommended to only bind on the loopback interface. See:
<varname>services.kubernetes.apiserver.insecurebindAddress</varname>.
</para>
</listitem>
<listitem>
<para>
The option <varname>services.kubernetes.apiserver.allowPrivileged</varname>
and <varname>services.kubernetes.kubelet.allowPrivileged</varname> now
defaults to false. Disallowing privileged containers on the cluster.
</para>
</listitem>
<listitem>
<para>
The kubernetes module does no longer add the kubernetes package to
<varname>environment.systemPackages</varname> implicitly.
</para>
</listitem>
<listitem>
<para>
The <literal>intel</literal> driver has been removed from the default list of
<link linkend="opt-services.xserver.videoDrivers">X.org video drivers</link>.
The <literal>modesetting</literal> driver should take over automatically,
it is better maintained upstream and has less problems with advanced X11 features.
This can lead to a change in the output names used by <literal>xrandr</literal>.
Some performance regressions on some GPU models might happen.
Some OpenCL and VA-API applications might also break
(Beignet seems to provide OpenCL support with
<literal>modesetting</literal> driver, too).
Users who need this functionality more than multi-output XRandR are advised
to add `intel` to `videoDrivers` and report an issue (or provide additional
details in an existing one)
</para>
</listitem>
<listitem>
<para>
Openmpi has been updated to version 4.0.0, which removes some deprecated MPI-1 symbols.
This may break some older applications that still rely on those symbols.
An upgrade guide can be found <link xlink:href="https://www.open-mpi.org/faq/?category=mpi-removed">here</link>.
The Sway tiling Wayland compositor has been updated to version 1.0, and the
corresponding NixOS module has been refined to fix some bugs.
</para>
</listitem>
</itemizedlist>

View File

@@ -27,25 +27,29 @@ let
'';
};
nslcdConfig = {
target = "nslcd.conf";
source = writeText "nslcd.conf" ''
uid nslcd
gid nslcd
uri ${cfg.server}
base ${cfg.base}
timelimit ${toString cfg.timeLimit}
bind_timelimit ${toString cfg.bind.timeLimit}
${optionalString (cfg.bind.distinguishedName != "")
"binddn ${cfg.bind.distinguishedName}" }
${optionalString (cfg.daemon.rootpwmoddn != "")
"rootpwmoddn ${cfg.daemon.rootpwmoddn}" }
${optionalString (cfg.daemon.extraConfig != "") cfg.daemon.extraConfig }
'';
};
nslcdConfig = writeText "nslcd.conf" ''
uid nslcd
gid nslcd
uri ${cfg.server}
base ${cfg.base}
timelimit ${toString cfg.timeLimit}
bind_timelimit ${toString cfg.bind.timeLimit}
${optionalString (cfg.bind.distinguishedName != "")
"binddn ${cfg.bind.distinguishedName}" }
${optionalString (cfg.daemon.rootpwmoddn != "")
"rootpwmoddn ${cfg.daemon.rootpwmoddn}" }
${optionalString (cfg.daemon.extraConfig != "") cfg.daemon.extraConfig }
'';
insertLdapPassword = !config.users.ldap.daemon.enable &&
config.users.ldap.bind.distinguishedName != "";
# nslcd normally reads configuration from /etc/nslcd.conf.
# this file might contain secrets. We append those at runtime,
# so redirect its location to something more temporary.
nslcdWrapped = runCommandNoCC "nslcd-wrapped" { nativeBuildInputs = [ makeWrapper ]; } ''
mkdir -p $out/bin
makeWrapper ${nss_pam_ldapd}/sbin/nslcd $out/bin/nslcd \
--set LD_PRELOAD "${pkgs.libredirect}/lib/libredirect.so" \
--set NIX_REDIRECTS "/etc/nslcd.conf=/run/nslcd/nslcd.conf"
'';
in
@@ -139,13 +143,13 @@ in
'';
};
rootpwmodpw = mkOption {
rootpwmodpwFile = mkOption {
default = "";
example = "/run/keys/nslcd.rootpwmodpw";
type = types.str;
description = ''
The path to a file containing the credentials with which
to bind to the LDAP server if the root user tries to change a user's password
The path to a file containing the credentials with which to bind to
the LDAP server if the root user tries to change a user's password.
'';
};
};
@@ -161,7 +165,7 @@ in
'';
};
password = mkOption {
passwordFile = mkOption {
default = "/etc/ldap/bind.password";
type = types.str;
description = ''
@@ -220,14 +224,14 @@ in
config = mkIf cfg.enable {
environment.etc = if cfg.daemon.enable then [nslcdConfig] else [ldapConfig];
environment.etc = optional (!cfg.daemon.enable) ldapConfig;
system.activationScripts = mkIf insertLdapPassword {
system.activationScripts = mkIf (!cfg.daemon.enable) {
ldap = stringAfter [ "etc" "groups" "users" ] ''
if test -f "${cfg.bind.password}" ; then
if test -f "${cfg.bind.passwordFile}" ; then
umask 0077
conf="$(mktemp)"
printf 'bindpw %s\n' "$(cat ${cfg.bind.password})" |
printf 'bindpw %s\n' "$(cat ${cfg.bind.passwordFile})" |
cat ${ldapConfig.source} - >"$conf"
mv -fT "$conf" /etc/ldap.conf
fi
@@ -251,7 +255,6 @@ in
};
systemd.services = mkIf cfg.daemon.enable {
nslcd = {
wantedBy = [ "multi-user.target" ];
@@ -259,32 +262,32 @@ in
umask 0077
conf="$(mktemp)"
{
cat ${nslcdConfig.source}
test -z '${cfg.bind.distinguishedName}' -o ! -f '${cfg.bind.password}' ||
printf 'bindpw %s\n' "$(cat '${cfg.bind.password}')"
test -z '${cfg.daemon.rootpwmoddn}' -o ! -f '${cfg.daemon.rootpwmodpw}' ||
printf 'rootpwmodpw %s\n' "$(cat '${cfg.daemon.rootpwmodpw}')"
cat ${nslcdConfig}
test -z '${cfg.bind.distinguishedName}' -o ! -f '${cfg.bind.passwordFile}' ||
printf 'bindpw %s\n' "$(cat '${cfg.bind.passwordFile}')"
test -z '${cfg.daemon.rootpwmoddn}' -o ! -f '${cfg.daemon.rootpwmodpwFile}' ||
printf 'rootpwmodpw %s\n' "$(cat '${cfg.daemon.rootpwmodpwFile}')"
} >"$conf"
mv -fT "$conf" /etc/nslcd.conf
mv -fT "$conf" /run/nslcd/nslcd.conf
'';
# NOTE: because one cannot pass a custom config path to `nslcd`
# (which is only able to use `/etc/nslcd.conf`)
# changes in `nslcdConfig` won't change `serviceConfig`,
# and thus won't restart `nslcd`.
# Therefore `restartTriggers` is used on `/etc/nslcd.conf`.
restartTriggers = [ nslcdConfig.source ];
restartTriggers = [ "/run/nslcd/nslcd.conf" ];
serviceConfig = {
ExecStart = "${nss_pam_ldapd}/sbin/nslcd";
ExecStart = "${nslcdWrapped}/bin/nslcd";
Type = "forking";
PIDFile = "/run/nslcd/nslcd.pid";
Restart = "always";
User = "nslcd";
Group = "nslcd";
RuntimeDirectory = [ "nslcd" ];
PIDFile = "/run/nslcd/nslcd.pid";
};
};
};
};
imports =
[ (mkRenamedOptionModule [ "users" "ldap" "bind" "password"] [ "users" "ldap" "bind" "passwordFile"])
];
}

View File

@@ -91,13 +91,13 @@ in
};
algorithm = mkOption {
default = "zstd";
example = "lzo";
default = "lzo";
example = "lz4";
type = with types; either (enum [ "lzo" "lz4" "zstd" ]) str;
description = ''
Compression algorithm. <literal>lzo</literal> has good compression,
but is slow. <literal>lz4</literal> has bad compression, but is fast.
<literal>zstd</literal> is both good compression and fast.
<literal>zstd</literal> is both good compression and fast, but requires newer kernel.
You can check what other algorithms are supported by your zram device with
<programlisting>cat /sys/class/block/zram*/comp_algorithm</programlisting>
'';

View File

@@ -172,6 +172,11 @@ in
environment.systemPackages = [ nvidia_x11.bin nvidia_x11.settings ]
++ lib.filter (p: p != null) [ nvidia_x11.persistenced ];
systemd.tmpfiles.rules = optional config.virtualisation.docker.enableNvidia
"L+ /run/nvidia-docker/bin - - - - ${nvidia_x11.bin}/origBin"
++ optional (nvidia_x11.persistenced != null && config.virtualisation.docker.enableNvidia)
"L+ /run/nvidia-docker/extras/bin/nvidia-persistenced - - - - ${nvidia_x11.persistenced}/origBin/nvidia-persistenced";
boot.extraModulePackages = [ nvidia_x11.bin ];
# nvidia-uvm is required by CUDA applications.

View File

@@ -88,7 +88,7 @@ let
# result in incorrect boot entries.
baseIsolinuxCfg = ''
SERIAL 0 38400
SERIAL 0 115200
TIMEOUT ${builtins.toString syslinuxTimeout}
UI vesamenu.c32
MENU TITLE NixOS
@@ -165,6 +165,8 @@ let
else
"# No refind for ${targetArch}"
;
grubPkgs = if config.boot.loader.grub.forcei686 then pkgs.pkgsi686Linux else pkgs;
grubMenuCfg = ''
#
@@ -241,7 +243,7 @@ let
# Modules that may or may not be available per-platform.
echo "Adding additional modules:"
for mod in efi_uga; do
if [ -f ${pkgs.grub2_efi}/lib/grub/${pkgs.grub2_efi.grubTarget}/$mod.mod ]; then
if [ -f ${grubPkgs.grub2_efi}/lib/grub/${grubPkgs.grub2_efi.grubTarget}/$mod.mod ]; then
echo " - $mod"
MODULES+=" $mod"
fi
@@ -249,9 +251,9 @@ let
# Make our own efi program, we can't rely on "grub-install" since it seems to
# probe for devices, even with --skip-fs-probe.
${pkgs.grub2_efi}/bin/grub-mkimage -o $out/EFI/boot/boot${targetArch}.efi -p /EFI/boot -O ${pkgs.grub2_efi.grubTarget} \
${grubPkgs.grub2_efi}/bin/grub-mkimage -o $out/EFI/boot/boot${targetArch}.efi -p /EFI/boot -O ${grubPkgs.grub2_efi.grubTarget} \
$MODULES
cp ${pkgs.grub2_efi}/share/grub/unicode.pf2 $out/EFI/boot/
cp ${grubPkgs.grub2_efi}/share/grub/unicode.pf2 $out/EFI/boot/
cat <<EOF > $out/EFI/boot/grub.cfg
@@ -362,7 +364,7 @@ let
# Name used by UEFI for architectures.
targetArch =
if pkgs.stdenv.isi686 then
if pkgs.stdenv.isi686 || config.boot.loader.grub.forcei686 then
"ia32"
else if pkgs.stdenv.isx86_64 then
"x64"
@@ -506,7 +508,7 @@ in
# here and it causes a cyclic dependency.
boot.loader.grub.enable = false;
environment.systemPackages = [ pkgs.grub2 pkgs.grub2_efi ]
environment.systemPackages = [ grubPkgs.grub2 grubPkgs.grub2_efi ]
++ optional canx86BiosBoot pkgs.syslinux
;

View File

@@ -138,7 +138,18 @@ fi
# Ask the user to set a root password, but only if the passwd command
# exists (i.e. when mutable user accounts are enabled).
if [[ -z $noRootPasswd ]] && [ -t 0 ]; then
nixos-enter --root "$mountPoint" -c '[[ -e /nix/var/nix/profiles/system/sw/bin/passwd ]] && echo "setting root password..." && /nix/var/nix/profiles/system/sw/bin/passwd'
if nixos-enter --root "$mountPoint" -c 'test -e /nix/var/nix/profiles/system/sw/bin/passwd'; then
set +e
nixos-enter --root "$mountPoint" -c 'echo "setting root password..." && /nix/var/nix/profiles/system/sw/bin/passwd'
exit_code=$?
set -e
if [[ $exit_code != 0 ]]; then
echo "Setting a root password failed with the above printed error."
echo "You can set the root password manually by executing \`nixos-enter --root ${mountPoint@Q}\` and then running \`passwd\` in the shell of the new system."
exit $exit_code
fi
fi
fi
echo "installation finished!"

View File

@@ -267,6 +267,14 @@ if [ -n "$rollback" -o "$action" = dry-build ]; then
buildNix=
fi
nixSystem() {
machine="$(uname -m)"
if [[ "$machine" =~ i.86 ]]; then
machine=i686
fi
echo $machine-linux
}
prebuiltNix() {
machine="$1"
if [ "$machine" = x86_64 ]; then
@@ -286,7 +294,9 @@ if [ -n "$buildNix" ]; then
nixDrv=
if ! nixDrv="$(nix-instantiate '<nixpkgs/nixos>' --add-root $tmpDir/nix.drv --indirect -A config.nix.package.out "${extraBuildFlags[@]}")"; then
if ! nixDrv="$(nix-instantiate '<nixpkgs>' --add-root $tmpDir/nix.drv --indirect -A nix "${extraBuildFlags[@]}")"; then
nixStorePath="$(prebuiltNix "$(uname -m)")"
if ! nixStorePath="$(nix-instantiate --eval '<nixpkgs/nixos/modules/installer/tools/nix-fallback-paths.nix>' -A $(nixSystem) | sed -e 's/^"//' -e 's/"$//')"; then
nixStorePath="$(prebuiltNix "$(uname -m)")"
fi
if ! nix-store -r $nixStorePath --add-root $tmpDir/nix --indirect \
--option extra-binary-caches https://cache.nixos.org/; then
echo "warning: don't know how to get latest Nix" >&2

View File

@@ -57,7 +57,5 @@ with lib;
# Enable the OpenSSH daemon.
# services.openssh.enable = true;
system.stateVersion = mkDefault "18.03";
'';
}

View File

@@ -129,7 +129,6 @@
./programs/sysdig.nix
./programs/systemtap.nix
./programs/sway.nix
./programs/sway-beta.nix
./programs/thefuck.nix
./programs/tmux.nix
./programs/udevil.nix
@@ -171,6 +170,7 @@
./security/rtkit.nix
./security/wrappers/default.nix
./security/sudo.nix
./security/systemd-confinement.nix
./services/admin/oxidized.nix
./services/admin/salt/master.nix
./services/admin/salt/minion.nix
@@ -337,6 +337,7 @@
./services/logging/syslog-ng.nix
./services/logging/syslogd.nix
./services/mail/clamsmtp.nix
./services/mail/davmail.nix
./services/mail/dkimproxy-out.nix
./services/mail/dovecot.nix
./services/mail/dspam.nix
@@ -573,6 +574,7 @@
./services/networking/keepalived/default.nix
./services/networking/keybase.nix
./services/networking/kippo.nix
./services/networking/knot.nix
./services/networking/kresd.nix
./services/networking/lambdabot.nix
./services/networking/libreswan.nix

View File

@@ -102,7 +102,7 @@ in
# Emacs term mode doesn't support xterm title escape sequence (\e]0;)
PS1="\n\[\033[$PROMPT_COLOR\][\u@\h:\w]\\$\[\033[0m\] "
else
PS1="\n\[\033[$PROMPT_COLOR\][\[\e]0;\u@\h: \w\a\]\u@\h:\w]\$\[\033[0m\] "
PS1="\n\[\033[$PROMPT_COLOR\][\[\e]0;\u@\h: \w\a\]\u@\h:\w]\\$\[\033[0m\] "
fi
if test "$TERM" = "xterm"; then
PS1="\[\033]2;\h:\u:\w\007\]$PS1"

View File

@@ -4,15 +4,34 @@ with lib;
{
###### interface
options = {
programs.browserpass.enable = mkEnableOption "the NativeMessaging configuration for Chromium, Chrome, and Vivaldi.";
};
options.programs.browserpass.enable = mkEnableOption "Browserpass native messaging host";
###### implementation
config = mkIf config.programs.browserpass.enable {
environment.systemPackages = [ pkgs.browserpass ];
environment.etc = {
environment.etc = let
appId = "com.github.browserpass.native.json";
source = part: "${pkgs.browserpass}/lib/browserpass/${part}/${appId}";
in {
# chromium
"chromium/native-messaging-hosts/${appId}".source = source "hosts/chromium";
"chromium/policies/managed/${appId}".source = source "policies/chromium";
# chrome
"opt/chrome/native-messaging-hosts/${appId}".source = source "hosts/chromium";
"opt/chrome/policies/managed/${appId}".source = source "policies/chromium";
# vivaldi
"opt/vivaldi/native-messaging-hosts/${appId}".source = source "hosts/chromium";
"opt/vivaldi/policies/managed/${appId}".source = source "policies/chromium";
# brave
"opt/brave/native-messaging-hosts/${appId}".source = source "hosts/chromium";
"opt/brave/policies/managed/${appId}".source = source "policies/chromium";
}
# As with the v2 backwards compatibility in the pkgs.browserpass
# declaration, this part can be removed once the browser extension
# auto-updates to v3 (planned 2019-04-13, see
# https://github.com/browserpass/browserpass-native/issues/31)
// {
"chromium/native-messaging-hosts/com.dannyvankooten.browserpass.json".source = "${pkgs.browserpass}/etc/chrome-host.json";
"chromium/policies/managed/com.dannyvankooten.browserpass.json".source = "${pkgs.browserpass}/etc/chrome-policy.json";
"opt/chrome/native-messaging-hosts/com.dannyvankooten.browserpass.json".source = "${pkgs.browserpass}/etc/chrome-host.json";

View File

@@ -169,43 +169,6 @@ in
end
'';
programs.fish.interactiveShellInit = ''
# add completions generated by NixOS to $fish_complete_path
begin
# joins with null byte to acommodate all characters in paths, then respectively gets all paths before / after the first one including "generated_completions",
# splits by null byte, and then removes all empty lines produced by using 'string'
set -l prev (string join0 $fish_complete_path | string match --regex "^.*?(?=\x00[^\x00]*generated_completions.*)" | string split0 | string match -er ".")
set -l post (string join0 $fish_complete_path | string match --regex "[^\x00]*generated_completions.*" | string split0 | string match -er ".")
set fish_complete_path $prev "/etc/fish/generated_completions" $post
end
'';
environment.etc."fish/generated_completions".source =
let
generateCompletions = package: pkgs.runCommand
"${package.name}-fish-completions"
(
{
src = package;
nativeBuildInputs = [ pkgs.python3 ];
buildInputs = [ pkgs.fish ];
preferLocalBuild = true;
allowSubstitutes = false;
}
// optionalAttrs (package ? meta.priority) { meta.priority = package.meta.priority; }
)
''
mkdir -p $out
if [ -d $src/share/man ]; then
find $src/share/man -type f | xargs python ${pkgs.fish}/share/fish/tools/create_manpage_completions.py --directory $out >/dev/null
fi
'';
in
pkgs.buildEnv {
name = "system-fish-completions";
paths = map generateCompletions config.environment.systemPackages;
};
# include programs that bring their own completions
environment.pathsToLink = []
++ optional cfg.vendor.config.enable "/share/fish/vendor_conf.d"

View File

@@ -1,91 +0,0 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.programs.sway-beta;
swayPackage = cfg.package;
swayWrapped = pkgs.writeShellScriptBin "sway" ''
set -o errexit
if [ ! "$_SWAY_WRAPPER_ALREADY_EXECUTED" ]; then
export _SWAY_WRAPPER_ALREADY_EXECUTED=1
${cfg.extraSessionCommands}
fi
if [ "$DBUS_SESSION_BUS_ADDRESS" ]; then
export DBUS_SESSION_BUS_ADDRESS
exec ${swayPackage}/bin/sway "$@"
else
exec ${pkgs.dbus}/bin/dbus-run-session ${swayPackage}/bin/sway "$@"
fi
'';
swayJoined = pkgs.symlinkJoin {
name = "sway-joined";
paths = [ swayWrapped swayPackage ];
};
in {
options.programs.sway-beta = {
enable = mkEnableOption ''
Sway, the i3-compatible tiling Wayland compositor. This module will be removed after the final release of Sway 1.0
'';
package = mkOption {
type = types.package;
default = pkgs.sway-beta;
defaultText = "pkgs.sway-beta";
description = ''
The package to be used for `sway`.
'';
};
extraSessionCommands = mkOption {
type = types.lines;
default = "";
example = ''
export SDL_VIDEODRIVER=wayland
# needs qt5.qtwayland in systemPackages
export QT_QPA_PLATFORM=wayland
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
# Fix for some Java AWT applications (e.g. Android Studio),
# use this if they aren't displayed properly:
export _JAVA_AWT_WM_NONREPARENTING=1
'';
description = ''
Shell commands executed just before Sway is started.
'';
};
extraPackages = mkOption {
type = with types; listOf package;
default = with pkgs; [
swaylock swayidle
xwayland rxvt_unicode dmenu
];
defaultText = literalExample ''
with pkgs; [ swaylock swayidle xwayland rxvt_unicode dmenu ];
'';
example = literalExample ''
with pkgs; [
xwayland
i3status i3status-rust
termite rofi light
]
'';
description = ''
Extra packages to be installed system wide.
'';
};
};
config = mkIf cfg.enable {
environment.systemPackages = [ swayJoined ] ++ cfg.extraPackages;
security.pam.services.swaylock = {};
hardware.opengl.enable = mkDefault true;
fonts.enableDefaultFonts = mkDefault true;
programs.dconf.enable = mkDefault true;
};
meta.maintainers = with lib.maintainers; [ gnidorah primeos colemickens ];
}

View File

@@ -16,9 +16,9 @@ let
if [ "$DBUS_SESSION_BUS_ADDRESS" ]; then
export DBUS_SESSION_BUS_ADDRESS
exec sway-setcap "$@"
exec ${swayPackage}/bin/sway "$@"
else
exec ${pkgs.dbus}/bin/dbus-run-session sway-setcap "$@"
exec ${pkgs.dbus}/bin/dbus-run-session ${swayPackage}/bin/sway "$@"
fi
'';
swayJoined = pkgs.symlinkJoin {
@@ -28,22 +28,24 @@ let
in {
options.programs.sway = {
enable = mkEnableOption ''
the tiling Wayland compositor Sway. After adding yourself to the "sway"
group you can manually launch Sway by executing "sway" from a terminal.
If you call "sway" with any parameters the extraSessionCommands won't be
executed and Sway won't be launched with dbus-launch'';
Sway, the i3-compatible tiling Wayland compositor. You can manually launch
Sway by executing "exec sway" on a TTY. Copy /etc/sway/config to
~/.config/sway/config to modify the default configuration. See
https://github.com/swaywm/sway/wiki and "man 5 sway" for more information.
Please have a look at the "extraSessionCommands" example for running
programs natively under Wayland'';
extraSessionCommands = mkOption {
type = types.lines;
default = "";
example = ''
# Define a keymap (US QWERTY is the default)
export XKB_DEFAULT_LAYOUT=de,us
export XKB_DEFAULT_VARIANT=nodeadkeys
export XKB_DEFAULT_OPTIONS=grp:alt_shift_toggle,caps:escape
# Change the Keyboard repeat delay and rate
export WLC_REPEAT_DELAY=660
export WLC_REPEAT_RATE=25
export SDL_VIDEODRIVER=wayland
# needs qt5.qtwayland in systemPackages
export QT_QPA_PLATFORM=wayland
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
# Fix for some Java AWT applications (e.g. Android Studio),
# use this if they aren't displayed properly:
export _JAVA_AWT_WM_NONREPARENTING=1
'';
description = ''
Shell commands executed just before Sway is started.
@@ -53,14 +55,17 @@ in {
extraPackages = mkOption {
type = with types; listOf package;
default = with pkgs; [
i3status xwayland rxvt_unicode dmenu
swaylock swayidle
xwayland rxvt_unicode dmenu
];
defaultText = literalExample ''
with pkgs; [ i3status xwayland rxvt_unicode dmenu ];
with pkgs; [ swaylock swayidle xwayland rxvt_unicode dmenu ];
'';
example = literalExample ''
with pkgs; [
i3lock light termite
xwayland
i3status i3status-rust
termite rofi light
]
'';
description = ''
@@ -70,23 +75,19 @@ in {
};
config = mkIf cfg.enable {
environment.systemPackages = [ swayJoined ] ++ cfg.extraPackages;
security.wrappers.sway = {
program = "sway-setcap";
source = "${swayPackage}/bin/sway";
capabilities = "cap_sys_ptrace,cap_sys_tty_config=eip";
owner = "root";
group = "sway";
permissions = "u+rx,g+rx";
environment = {
systemPackages = [ swayJoined ] ++ cfg.extraPackages;
etc = {
"sway/config".source = "${swayPackage}/etc/sway/config";
#"sway/security.d".source = "${swayPackage}/etc/sway/security.d/";
#"sway/config.d".source = "${swayPackage}/etc/sway/config.d/";
};
};
users.groups.sway = {};
security.pam.services.swaylock = {};
hardware.opengl.enable = mkDefault true;
fonts.enableDefaultFonts = mkDefault true;
programs.dconf.enable = mkDefault true;
};
meta.maintainers = with lib.maintainers; [ gnidorah primeos ];
meta.maintainers = with lib.maintainers; [ gnidorah primeos colemickens ];
}

View File

@@ -87,9 +87,9 @@
<para>
<emphasis>Please keep in mind that this is not compatible with
<literal>programs.zsh.ohMyZsh.custom</literal> as it requires an immutable store
path while <literal>custom</literal> shall remain mutable! An evaluation
failure will be thrown if both <literal>custom</literal> and
<literal>programs.zsh.ohMyZsh.custom</literal> as it requires an immutable
store path while <literal>custom</literal> shall remain mutable! An
evaluation failure will be thrown if both <literal>custom</literal> and
<literal>customPkgs</literal> are set.</emphasis>
</para>
</section>

View File

@@ -4,11 +4,6 @@ with lib;
{
imports = [
# !!! These were renamed the other way, but got reverted later.
# !!! Drop these before 18.09 is released.
(mkRenamedOptionModule [ "system" "nixos" "stateVersion" ] [ "system" "stateVersion" ])
(mkRenamedOptionModule [ "system" "nixos" "defaultChannel" ] [ "system" "defaultChannel" ])
(mkRenamedOptionModule [ "environment" "x11Packages" ] [ "environment" "systemPackages" ])
(mkRenamedOptionModule [ "environment" "enableBashCompletion" ] [ "programs" "bash" "enableCompletion" ])
(mkRenamedOptionModule [ "environment" "nix" ] [ "nix" "package" ])

View File

@@ -76,7 +76,7 @@ in
};
failmode = mkOption {
type = types.enum [ "safe" "enum" ];
type = types.enum [ "safe" "secure" ];
default = "safe";
description = ''
On service or configuration errors that prevent Duo

View File

@@ -0,0 +1,199 @@
{ config, pkgs, lib, ... }:
let
toplevelConfig = config;
inherit (lib) types;
inherit (import ../system/boot/systemd-lib.nix {
inherit config pkgs lib;
}) mkPathSafeName;
in {
options.systemd.services = lib.mkOption {
type = types.attrsOf (types.submodule ({ name, config, ... }: {
options.confinement.enable = lib.mkOption {
type = types.bool;
default = false;
description = ''
If set, all the required runtime store paths for this service are
bind-mounted into a <literal>tmpfs</literal>-based <citerefentry>
<refentrytitle>chroot</refentrytitle>
<manvolnum>2</manvolnum>
</citerefentry>.
'';
};
options.confinement.fullUnit = lib.mkOption {
type = types.bool;
default = false;
description = ''
Whether to include the full closure of the systemd unit file into the
chroot, instead of just the dependencies for the executables.
<warning><para>While it may be tempting to just enable this option to
make things work quickly, please be aware that this might add paths
to the closure of the chroot that you didn't anticipate. It's better
to use <option>confinement.packages</option> to <emphasis
role="strong">explicitly</emphasis> add additional store paths to the
chroot.</para></warning>
'';
};
options.confinement.packages = lib.mkOption {
type = types.listOf (types.either types.str types.package);
default = [];
description = let
mkScOption = optName: "<option>serviceConfig.${optName}</option>";
in ''
Additional packages or strings with context to add to the closure of
the chroot. By default, this includes all the packages from the
${lib.concatMapStringsSep ", " mkScOption [
"ExecReload" "ExecStartPost" "ExecStartPre" "ExecStop"
"ExecStopPost"
]} and ${mkScOption "ExecStart"} options. If you want to have all the
dependencies of this systemd unit, you can use
<option>confinement.fullUnit</option>.
<note><para>The store paths listed in <option>path</option> are
<emphasis role="strong">not</emphasis> included in the closure as
well as paths from other options except those listed
above.</para></note>
'';
};
options.confinement.binSh = lib.mkOption {
type = types.nullOr types.path;
default = toplevelConfig.environment.binsh;
defaultText = "config.environment.binsh";
example = lib.literalExample "\${pkgs.dash}/bin/dash";
description = ''
The program to make available as <filename>/bin/sh</filename> inside
the chroot. If this is set to <literal>null</literal>, no
<filename>/bin/sh</filename> is provided at all.
This is useful for some applications, which for example use the
<citerefentry>
<refentrytitle>system</refentrytitle>
<manvolnum>3</manvolnum>
</citerefentry> library function to execute commands.
'';
};
options.confinement.mode = lib.mkOption {
type = types.enum [ "full-apivfs" "chroot-only" ];
default = "full-apivfs";
description = ''
The value <literal>full-apivfs</literal> (the default) sets up
private <filename class="directory">/dev</filename>, <filename
class="directory">/proc</filename>, <filename
class="directory">/sys</filename> and <filename
class="directory">/tmp</filename> file systems in a separate user
name space.
If this is set to <literal>chroot-only</literal>, only the file
system name space is set up along with the call to <citerefentry>
<refentrytitle>chroot</refentrytitle>
<manvolnum>2</manvolnum>
</citerefentry>.
<note><para>This doesn't cover network namespaces and is solely for
file system level isolation.</para></note>
'';
};
config = let
rootName = "${mkPathSafeName name}-chroot";
inherit (config.confinement) binSh fullUnit;
wantsAPIVFS = lib.mkDefault (config.confinement.mode == "full-apivfs");
in lib.mkIf config.confinement.enable {
serviceConfig = {
RootDirectory = pkgs.runCommand rootName {} "mkdir \"$out\"";
TemporaryFileSystem = "/";
PrivateMounts = lib.mkDefault true;
# https://github.com/NixOS/nixpkgs/issues/14645 is a future attempt
# to change some of these to default to true.
#
# If we run in chroot-only mode, having something like PrivateDevices
# set to true by default will mount /dev within the chroot, whereas
# with "chroot-only" it's expected that there are no /dev, /proc and
# /sys file systems available.
#
# However, if this suddenly becomes true, the attack surface will
# increase, so let's explicitly set these options to true/false
# depending on the mode.
MountAPIVFS = wantsAPIVFS;
PrivateDevices = wantsAPIVFS;
PrivateTmp = wantsAPIVFS;
PrivateUsers = wantsAPIVFS;
ProtectControlGroups = wantsAPIVFS;
ProtectKernelModules = wantsAPIVFS;
ProtectKernelTunables = wantsAPIVFS;
};
confinement.packages = let
execOpts = [
"ExecReload" "ExecStart" "ExecStartPost" "ExecStartPre" "ExecStop"
"ExecStopPost"
];
execPkgs = lib.concatMap (opt: let
isSet = config.serviceConfig ? ${opt};
in lib.optional isSet config.serviceConfig.${opt}) execOpts;
unitAttrs = toplevelConfig.systemd.units."${name}.service";
allPkgs = lib.singleton (builtins.toJSON unitAttrs);
unitPkgs = if fullUnit then allPkgs else execPkgs;
in unitPkgs ++ lib.optional (binSh != null) binSh;
};
}));
};
config.assertions = lib.concatLists (lib.mapAttrsToList (name: cfg: let
whatOpt = optName: "The 'serviceConfig' option '${optName}' for"
+ " service '${name}' is enabled in conjunction with"
+ " 'confinement.enable'";
in lib.optionals cfg.confinement.enable [
{ assertion = !cfg.serviceConfig.RootDirectoryStartOnly or false;
message = "${whatOpt "RootDirectoryStartOnly"}, but right now systemd"
+ " doesn't support restricting bind-mounts to 'ExecStart'."
+ " Please either define a separate service or find a way to run"
+ " commands other than ExecStart within the chroot.";
}
{ assertion = !cfg.serviceConfig.DynamicUser or false;
message = "${whatOpt "DynamicUser"}. Please create a dedicated user via"
+ " the 'users.users' option instead as this combination is"
+ " currently not supported.";
}
]) config.systemd.services);
config.systemd.packages = lib.concatLists (lib.mapAttrsToList (name: cfg: let
rootPaths = let
contents = lib.concatStringsSep "\n" cfg.confinement.packages;
in pkgs.writeText "${mkPathSafeName name}-string-contexts.txt" contents;
chrootPaths = pkgs.runCommand "${mkPathSafeName name}-chroot-paths" {
closureInfo = pkgs.closureInfo { inherit rootPaths; };
serviceName = "${name}.service";
excludedPath = rootPaths;
} ''
mkdir -p "$out/lib/systemd/system"
serviceFile="$out/lib/systemd/system/$serviceName"
echo '[Service]' > "$serviceFile"
# /bin/sh is special here, because the option value could contain a
# symlink and we need to properly resolve it.
${lib.optionalString (cfg.confinement.binSh != null) ''
binsh=${lib.escapeShellArg cfg.confinement.binSh}
realprog="$(readlink -e "$binsh")"
echo "BindReadOnlyPaths=$realprog:/bin/sh" >> "$serviceFile"
''}
while read storePath; do
if [ -L "$storePath" ]; then
# Currently, systemd can't cope with symlinks in Bind(ReadOnly)Paths,
# so let's just bind-mount the target to that location.
echo "BindReadOnlyPaths=$(readlink -e "$storePath"):$storePath"
elif [ "$storePath" != "$excludedPath" ]; then
echo "BindReadOnlyPaths=$storePath"
fi
done < "$closureInfo/store-paths" >> "$serviceFile"
'';
in lib.optional cfg.confinement.enable chrootPaths) config.systemd.services);
}

View File

@@ -38,6 +38,18 @@ in {
type = types.int;
};
reconcileMode = mkOption {
description = ''
Controls the addon manager reconciliation mode for the DNS addon.
Setting reconcile mode to EnsureExists makes it possible to tailor DNS behavior by editing the coredns ConfigMap.
See: <link xlink:href="https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/addon-manager/README.md"/>.
'';
default = "Reconcile";
type = types.enum [ "Reconcile" "EnsureExists" ];
};
coredns = mkOption {
description = "Docker image to seed for the CoreDNS container.";
type = types.attrs;
@@ -131,7 +143,7 @@ in {
kind = "ConfigMap";
metadata = {
labels = {
"addonmanager.kubernetes.io/mode" = "Reconcile";
"addonmanager.kubernetes.io/mode" = cfg.reconcileMode;
"k8s-app" = "kube-dns";
"kubernetes.io/cluster-service" = "true";
};
@@ -162,7 +174,7 @@ in {
kind = "Deployment";
metadata = {
labels = {
"addonmanager.kubernetes.io/mode" = "Reconcile";
"addonmanager.kubernetes.io/mode" = cfg.reconcileMode;
"k8s-app" = "kube-dns";
"kubernetes.io/cluster-service" = "true";
"kubernetes.io/name" = "CoreDNS";

View File

@@ -350,7 +350,7 @@ in
listenPeerUrls = mkDefault ["https://0.0.0.0:2380"];
advertiseClientUrls = mkDefault ["https://${top.masterAddress}:2379"];
initialCluster = mkDefault ["${top.masterAddress}=https://${top.masterAddress}:2380"];
name = top.masterAddress;
name = mkDefault top.masterAddress;
initialAdvertisePeerUrls = mkDefault ["https://${top.masterAddress}:2380"];
};

View File

@@ -131,7 +131,7 @@ in
${optionalString (cfg.tlsCertFile!=null)
"--tls-cert-file=${cfg.tlsCertFile}"} \
${optionalString (cfg.tlsKeyFile!=null)
"--tls-key-file=${cfg.tlsKeyFile}"} \
"--tls-private-key-file=${cfg.tlsKeyFile}"} \
${optionalString (elem "RBAC" top.apiserver.authorizationMode)
"--use-service-account-credentials"} \
${optionalString (cfg.verbosity != null) "--v=${toString cfg.verbosity}"} \

View File

@@ -10,7 +10,7 @@ let
kind = "Config";
clusters = [{
name = "local";
cluster.certificate-authority = cfg.caFile;
cluster.certificate-authority = conf.caFile or cfg.caFile;
cluster.server = conf.server;
}];
users = [{

View File

@@ -0,0 +1,91 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.davmail;
configType = with types;
either (either (attrsOf configType) str) (either int bool) // {
description = "davmail config type (str, int, bool or attribute set thereof)";
};
toStr = val: if isBool val then boolToString val else toString val;
linesForAttrs = attrs: concatMap (name: let value = attrs.${name}; in
if isAttrs value
then map (line: name + "." + line) (linesForAttrs value)
else [ "${name}=${toStr value}" ]
) (attrNames attrs);
configFile = pkgs.writeText "davmail.properties" (concatStringsSep "\n" (linesForAttrs cfg.config));
in
{
options.services.davmail = {
enable = mkEnableOption "davmail, an MS Exchange gateway";
url = mkOption {
type = types.str;
description = "Outlook Web Access URL to access the exchange server, i.e. the base webmail URL.";
example = "https://outlook.office365.com/EWS/Exchange.asmx";
};
config = mkOption {
type = configType;
default = {};
description = ''
Davmail configuration. Refer to
<link xlink:href="http://davmail.sourceforge.net/serversetup.html"/>
and <link xlink:href="http://davmail.sourceforge.net/advanced.html"/>
for details on supported values.
'';
example = literalExample ''
{
davmail.allowRemote = true;
davmail.imapPort = 55555;
davmail.bindAddress = "10.0.1.2";
davmail.smtpSaveInSent = true;
davmail.folderSizeLimit = 10;
davmail.caldavAutoSchedule = false;
log4j.logger.rootLogger = "DEBUG";
}
'';
};
};
config = mkIf cfg.enable {
services.davmail.config.davmail = mapAttrs (name: mkDefault) {
server = true;
disableUpdateCheck = true;
logFilePath = "/var/log/davmail/davmail.log";
logFileSize = "1MB";
mode = "auto";
url = cfg.url;
caldavPort = 1080;
imapPort = 1143;
ldapPort = 1389;
popPort = 1110;
smtpPort = 1025;
};
systemd.services.davmail = {
description = "DavMail POP/IMAP/SMTP Exchange Gateway";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.davmail}/bin/davmail ${configFile}";
Restart = "on-failure";
DynamicUser = "yes";
LogsDirectory = "davmail";
};
};
environment.systemPackages = [ pkgs.davmail ];
};
}

View File

@@ -8,7 +8,7 @@ let
postfixCfg = config.services.postfix;
cfg = config.services.rmilter;
inetSocket = addr: port: "inet:[${toString port}@${addr}]";
inetSocket = addr: port: "inet:${addr}:${toString port}";
unixSocket = sock: "unix:${sock}";
systemdSocket = if cfg.bindSocket.type == "unix" then cfg.bindSocket.path
@@ -97,7 +97,7 @@ in
bindSocket.address = mkOption {
type = types.str;
default = "::1";
default = "[::1]";
example = "0.0.0.0";
description = ''
Inet address to listen on.

View File

@@ -160,6 +160,20 @@ let
'';
};
gitlab-rails = pkgs.stdenv.mkDerivation rec {
name = "gitlab-rails";
buildInputs = [ pkgs.makeWrapper ];
dontBuild = true;
unpackPhase = ":";
installPhase = ''
mkdir -p $out/bin
makeWrapper ${cfg.packages.gitlab.rubyEnv}/bin/rails $out/bin/gitlab-rails \
${concatStrings (mapAttrsToList (name: value: "--set ${name} '${value}' ") gitlabEnv)} \
--set PATH '${lib.makeBinPath [ pkgs.nodejs pkgs.gzip pkgs.git pkgs.gnutar config.services.postgresql.package pkgs.coreutils pkgs.procps ]}:$PATH' \
--run 'cd ${cfg.packages.gitlab}/share/gitlab'
'';
};
smtpSettings = pkgs.writeText "gitlab-smtp-settings.rb" ''
if Rails.env.production?
Rails.application.config.action_mailer.delivery_method = :smtp
@@ -439,7 +453,7 @@ in {
config = mkIf cfg.enable {
environment.systemPackages = [ pkgs.git gitlab-rake cfg.packages.gitlab-shell ];
environment.systemPackages = [ pkgs.git gitlab-rake gitlab-rails cfg.packages.gitlab-shell ];
# Redis is required for the sidekiq queue runner.
services.redis.enable = mkDefault true;
@@ -512,9 +526,12 @@ in {
wantedBy = [ "multi-user.target" ];
path = with pkgs; [
openssh
procps # See https://gitlab.com/gitlab-org/gitaly/issues/1562
gitAndTools.git
cfg.packages.gitaly.rubyEnv
cfg.packages.gitaly.rubyEnv.wrappedRuby
gzip
bzip2
];
serviceConfig = {
Type = "simple";

View File

@@ -16,6 +16,7 @@ in
};
config = mkIf cfg.enable {
boot.kernelModules = [ "hdapsd" ];
services.udev.packages = hdapsd;
systemd.packages = hdapsd;
};

View File

@@ -0,0 +1,95 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.knot;
configFile = pkgs.writeText "knot.conf" cfg.extraConfig;
socketFile = "/run/knot/knot.sock";
knotConfCheck = file: pkgs.runCommand "knot-config-checked"
{ buildInputs = [ cfg.package ]; } ''
ln -s ${configFile} $out
knotc --config=${configFile} conf-check
'';
knot-cli-wrappers = pkgs.stdenv.mkDerivation {
name = "knot-cli-wrappers";
buildInputs = [ pkgs.makeWrapper ];
buildCommand = ''
mkdir -p $out/bin
makeWrapper ${cfg.package}/bin/knotc "$out/bin/knotc" \
--add-flags "--config=${configFile}" \
--add-flags "--socket=${socketFile}"
makeWrapper ${cfg.package}/bin/keymgr "$out/bin/keymgr" \
--add-flags "--config=${configFile}"
for executable in kdig khost kjournalprint knsec3hash knsupdate kzonecheck
do
ln -s "${cfg.package}/bin/$executable" "$out/bin/$executable"
done
mkdir -p "$out/share"
ln -s '${cfg.package}/share/man' "$out/share/"
'';
};
in {
options = {
services.knot = {
enable = mkEnableOption "Knot authoritative-only DNS server";
extraArgs = mkOption {
type = types.listOf types.str;
default = [];
description = ''
List of additional command line paramters for knotd
'';
};
extraConfig = mkOption {
type = types.lines;
default = "";
description = ''
Extra lines to be added verbatim to knot.conf
'';
};
package = mkOption {
type = types.package;
default = pkgs.knot-dns;
description = ''
Which Knot DNS package to use
'';
};
};
};
config = mkIf config.services.knot.enable {
systemd.services.knot = {
unitConfig.Documentation = "man:knotd(8) man:knot.conf(5) man:knotc(8) https://www.knot-dns.cz/docs/${cfg.package.version}/html/";
description = cfg.package.meta.description;
wantedBy = [ "multi-user.target" ];
wants = [ "network.target" ];
after = ["network.target" ];
serviceConfig = {
Type = "notify";
ExecStart = "${cfg.package}/bin/knotd --config=${knotConfCheck configFile} --socket=${socketFile} ${concatStringsSep " " cfg.extraArgs}";
ExecReload = "${knot-cli-wrappers}/bin/knotc reload";
CapabilityBoundingSet = "CAP_NET_BIND_SERVICE CAP_SETPCAP";
AmbientCapabilities = "CAP_NET_BIND_SERVICE CAP_SETPCAP";
NoNewPrivileges = true;
DynamicUser = "yes";
RuntimeDirectory = "knot";
StateDirectory = "knot";
StateDirectoryMode = "0700";
PrivateDevices = true;
RestrictAddressFamilies = "AF_UNIX AF_INET AF_INET6";
SystemCallArchitectures = "native";
Restart = "on-abort";
};
};
environment.systemPackages = [ knot-cli-wrappers ];
};
}

View File

@@ -86,7 +86,7 @@ in {
startAt = cfg.interval;
serviceConfig = {
ExecStart =
"${pkgs.python3Packages.elasticsearch-curator}/bin/curator" +
"${pkgs.elasticsearch-curator}/bin/curator" +
" --config ${curatorConfig} ${curatorAction}";
};
};

View File

@@ -3,112 +3,18 @@
poolName = "icingaweb2";
phpfpmSocketName = "/var/run/phpfpm/${poolName}.sock";
formatBool = b: if b then "1" else "0";
configIni = let
config = cfg.generalConfig;
in ''
[global]
show_stacktraces = "${formatBool config.showStacktraces}"
show_application_state_messages = "${formatBool config.showApplicationStateMessages}"
module_path = "${pkgs.icingaweb2}/modules${optionalString (builtins.length config.modulePath > 0) ":${concatStringsSep ":" config.modulePath}"}"
config_backend = "${config.configBackend}"
${optionalString (config.configBackend == "db") ''config_resource = "${config.configResource}"''}
[logging]
log = "${config.log}"
${optionalString (config.log != "none") ''level = "${config.logLevel}"''}
${optionalString (config.log == "php" || config.log == "syslog") ''application = "${config.logApplication}"''}
${optionalString (config.log == "syslog") ''facility = "${config.logFacility}"''}
${optionalString (config.log == "file") ''file = "${config.logFile}"''}
[themes]
default = "${config.themeDefault}"
disabled = "${formatBool config.themeDisabled}"
[authentication]
${optionalString (config.authDefaultDomain != null) ''default_domain = "${config.authDefaultDomain}"''}
'';
resourcesIni = concatStringsSep "\n" (mapAttrsToList (name: config: ''
[${name}]
type = "${config.type}"
${optionalString (config.type == "db") ''
db = "${config.db}"
host = "${config.host}"
${optionalString (config.port != null) ''port = "${toString config.port}"''}
username = "${config.username}"
password = "${config.password}"
dbname = "${config.dbname}"
${optionalString (config.charset != null) ''charset = "${config.charset}"''}
use_ssl = "${formatBool config.useSSL}"
${optionalString (config.sslCert != null) ''ssl_cert = "${config.sslCert}"''}
${optionalString (config.sslKey != null) ''ssl_cert = "${config.sslKey}"''}
${optionalString (config.sslCA != null) ''ssl_cert = "${config.sslCA}"''}
${optionalString (config.sslCApath != null) ''ssl_cert = "${config.sslCApath}"''}
${optionalString (config.sslCipher != null) ''ssl_cert = "${config.sslCipher}"''}
''}
${optionalString (config.type == "ldap") ''
hostname = "${config.host}"
${optionalString (config.port != null) ''port = "${toString config.port}"''}
root_dn = "${config.rootDN}"
bind_dn = "${config.username}"
bind_pw = "${config.password}"
encryption = "${config.ldapEncryption}"
timeout = "${toString config.ldapTimeout}"
''}
${optionalString (config.type == "ssh") ''
user = "${config.username}"
private_key = "${config.sshPrivateKey}"
''}
'') cfg.resources);
authenticationIni = concatStringsSep "\n" (mapAttrsToList (name: config: ''
[${name}]
backend = "${config.backend}"
${optionalString (config.domain != null) ''domain = "${config.domain}"''}
${optionalString (config.backend == "external" && config.externalStripRegex != null) ''strip_username_regexp = "${config.externalStripRegex}"''}
${optionalString (config.backend != "external") ''resource = "${config.resource}"''}
${optionalString (config.backend == "ldap" || config.backend == "msldap") ''
${optionalString (config.ldapUserClass != null) ''user_class = "${config.ldapUserClass}"''}
${optionalString (config.ldapUserNameAttr != null) ''user_name_attribute = "${config.ldapUserNameAttr}"''}
${optionalString (config.ldapFilter != null) ''filter = "${config.ldapFilter}"''}
''}
'') cfg.authentications);
groupsIni = concatStringsSep "\n" (mapAttrsToList (name: config: ''
[${name}]
backend = "${config.backend}"
resource = "${config.resource}"
${optionalString (config.backend != "db") ''
${optionalString (config.ldapUserClass != null) ''user_class = "${config.ldapUserClass}"''}
${optionalString (config.ldapUserNameAttr != null) ''user_name_attribute = "${config.ldapUserNameAttr}"''}
${optionalString (config.ldapGroupClass != null) ''group_class = "${config.ldapGroupClass}"''}
${optionalString (config.ldapGroupNameAttr != null) ''group_name_attribute = "${config.ldapGroupNameAttr}"''}
${optionalString (config.ldapGroupFilter != null) ''group_filter = "${config.ldapGroupFilter}"''}
''}
${optionalString (config.backend == "msldap" && config.ldapNestedSearch) ''nested_group_search = "1"''}
'') cfg.groupBackends);
rolesIni = let
optionalList = var: attribute: optionalString (builtins.length var > 0) ''${attribute} = "${concatStringsSep "," var}"'';
in concatStringsSep "\n" (mapAttrsToList (name: config: ''
[${name}]
${optionalList config.users "users"}
${optionalList config.groups "groups"}
${optionalList config.permissions "permissions"}
${optionalList config.permissions "permissions"}
${concatStringsSep "\n" (mapAttrsToList (key: value: optionalList value key) config.extraAssignments)}
'') cfg.roles);
defaultConfig = {
global = {
module_path = "${pkgs.icingaweb2}/modules${optionalString (builtins.length config.modulePath > 0) ":${concatStringsSep ":" config.modulePath}"}";
};
};
in {
options.services.icingaweb2 = with types; {
enable = mkEnableOption "the icingaweb2 web interface";
pool = mkOption {
type = str;
default = "${poolName}";
default = poolName;
description = ''
Name of existing PHP-FPM pool that is used to run Icingaweb2.
If not specified, a pool will automatically created with default values.
@@ -143,7 +49,7 @@ in {
default = {};
example = literalExample ''
{
"snow" = pkgs.icingaweb2Modules.theme-snow;
"snow" = icingaweb2Modules.theme-snow;
}
'';
description = ''
@@ -153,394 +59,105 @@ in {
'';
};
generalConfig = {
mutable = mkOption {
type = bool;
default = false;
description = ''
Make config.ini mutable (e.g. via the web interface).
Not that you need to update module_path manually.
'';
generalConfig = mkOption {
type = nullOr attrs;
default = null;
example = {
general = {
showStacktraces = 1;
config_resource = "icingaweb_db";
};
logging = {
log = "syslog";
level = "CRITICAL";
};
};
description = ''
config.ini contents.
Will automatically be converted to a .ini file.
If you don't set global.module_path, the module will take care of it.
showStacktraces = mkOption {
type = bool;
default = true;
description = "Enable stack traces in the Web UI";
};
showApplicationStateMessages = mkOption {
type = bool;
default = true;
description = "Enable application state messages in the Web UI";
};
modulePath = mkOption {
type = listOf str;
default = [];
description = "List of additional module search paths";
};
configBackend = mkOption {
type = enum [ "ini" "db" "none" ];
default = "db";
description = "Where to store user preferences";
};
configResource = mkOption {
type = nullOr str;
default = null;
description = "Database resource where user preferences are stored (if they are stored in a database)";
};
log = mkOption {
type = enum [ "syslog" "php" "file" "none" ];
default = "syslog";
description = "Logging target";
};
logLevel = mkOption {
type = enum [ "ERROR" "WARNING" "INFO" "DEBUG" ];
default = "ERROR";
description = "Maximum logging level to emit";
};
logApplication = mkOption {
type = str;
default = "icingaweb2";
description = "Application name to log under (syslog and php log)";
};
logFacility = mkOption {
type = enum [ "user" "local0" "local1" "local2" "local3" "local4" "local5" "local6" "local7" ];
default = "user";
description = "Syslog facility to log to";
};
logFile = mkOption {
type = str;
default = "/var/log/icingaweb2/icingaweb2.log";
description = "File to log to";
};
themeDefault = mkOption {
type = str;
default = "Icinga";
description = "Name of the default theme";
};
themeDisabled = mkOption {
type = bool;
default = false;
description = "Disallow users to change the theme";
};
authDefaultDomain = mkOption {
type = nullOr str;
default = null;
description = "Domain for users logging in without a qualified domain";
};
};
mutableResources = mkOption {
type = bool;
default = false;
description = "Make resources.ini mutable (e.g. via the web interface)";
If the value is null, no config.ini is created and you can
modify it manually (e.g. via the web interface).
Note that you need to update module_path manually.
'';
};
resources = mkOption {
default = {};
description = "Icingaweb 2 resources to define";
type = attrsOf (submodule ({ name, ... }: {
options = {
name = mkOption {
visible = false;
default = name;
type = str;
description = "Name of this resource";
};
type = mkOption {
type = enum [ "db" "ldap" "ssh" ];
default = "db";
description = "Type of this resouce";
};
db = mkOption {
type = enum [ "mysql" "pgsql" ];
default = "mysql";
description = "Type of this database resource";
};
host = mkOption {
type = str;
description = "Host to connect to";
};
port = mkOption {
type = nullOr port;
default = null;
description = "Port to connect on";
};
username = mkOption {
type = str;
description = "Database or SSH user or LDAP bind DN to connect with";
};
password = mkOption {
type = str;
description = "Password for the database user or LDAP bind DN";
};
dbname = mkOption {
type = str;
description = "Name of the database to connect to";
};
charset = mkOption {
type = nullOr str;
default = null;
example = "utf8";
description = "Database character set to connect with";
};
useSSL = mkOption {
type = nullOr bool;
default = false;
description = "Whether to connect to the database using SSL";
};
sslCert = mkOption {
type = nullOr str;
default = null;
description = "The file path to the SSL certificate. Only available for the mysql database.";
};
sslKey = mkOption {
type = nullOr str;
default = null;
description = "The file path to the SSL key. Only available for the mysql database.";
};
sslCA = mkOption {
type = nullOr str;
default = null;
description = "The file path to the SSL certificate authority. Only available for the mysql database.";
};
sslCApath = mkOption {
type = nullOr str;
default = null;
description = "The file path to the directory that contains the trusted SSL CA certificates in PEM format. Only available for the mysql database.";
};
sslCipher = mkOption {
type = nullOr str;
default = null;
description = "A list of one or more permissible ciphers to use for SSL encryption, in a format understood by OpenSSL. Only available for the mysql database.";
};
rootDN = mkOption {
type = str;
description = "Root object of the LDAP tree";
};
ldapEncryption = mkOption {
type = enum [ "none" "starttls" "ldaps" ];
default = "none";
description = "LDAP encryption to use";
};
ldapTimeout = mkOption {
type = ints.positive;
default = 5;
description = "Connection timeout for every LDAP connection";
};
sshPrivateKey = mkOption {
type = str;
description = "The path to the private key of the user";
};
type = nullOr attrs;
default = null;
example = {
icingaweb_db = {
type = "db";
db = "mysql";
host = "localhost";
username = "icingaweb2";
password = "icingaweb2";
dbname = "icingaweb2";
};
}));
};
};
description = ''
resources.ini contents.
Will automatically be converted to a .ini file.
mutableAuthConfig = mkOption {
type = bool;
default = true;
description = "Make authentication.ini mutable (e.g. via the web interface)";
If the value is null, no resources.ini is created and you can
modify it manually (e.g. via the web interface).
Note that if you set passwords here, they will go into the nix store.
'';
};
authentications = mkOption {
default = {};
description = "Icingaweb 2 authentications to define";
type = attrsOf (submodule ({ name, ... }: {
options = {
name = mkOption {
visible = false;
default = name;
type = str;
description = "Name of this authentication";
};
backend = mkOption {
type = enum [ "external" "ldap" "msldap" "db" ];
default = "db";
description = "The type of this authentication backend";
};
domain = mkOption {
type = nullOr str;
default = null;
description = "Domain for domain-aware authentication";
};
externalStripRegex = mkOption {
type = nullOr str;
default = null;
description = "Regular expression to strip off specific user name parts";
};
resource = mkOption {
type = str;
description = "Name of the database/LDAP resource";
};
ldapUserClass = mkOption {
type = nullOr str;
default = null;
description = "LDAP user class";
};
ldapUserNameAttr = mkOption {
type = nullOr str;
default = null;
description = "LDAP attribute which contains the username";
};
ldapFilter = mkOption {
type = nullOr str;
default = null;
description = "LDAP search filter";
};
type = nullOr attrs;
default = null;
example = {
icingaweb = {
backend = "db";
resource = "icingaweb_db";
};
}));
};
};
description = ''
authentication.ini contents.
Will automatically be converted to a .ini file.
mutableGroupsConfig = mkOption {
type = bool;
default = true;
description = "Make groups.ini mutable (e.g. via the web interface)";
If the value is null, no authentication.ini is created and you can
modify it manually (e.g. via the web interface).
'';
};
groupBackends = mkOption {
default = {};
description = "Icingaweb 2 group backends to define";
type = attrsOf (submodule ({ name, ... }: {
options = {
name = mkOption {
visible = false;
default = name;
type = str;
description = "Name of this group backend";
};
backend = mkOption {
type = enum [ "ldap" "msldap" "db" ];
default = "db";
description = "The type of this group backend";
};
resource = mkOption {
type = str;
description = "Name of the database/LDAP resource";
};
ldapUserClass = mkOption {
type = nullOr str;
default = null;
description = "LDAP user class";
};
ldapUserNameAttr = mkOption {
type = nullOr str;
default = null;
description = "LDAP attribute which contains the username";
};
ldapGroupClass = mkOption {
type = nullOr str;
default = null;
description = "LDAP group class";
};
ldapGroupNameAttr = mkOption {
type = nullOr str;
default = null;
description = "LDAP attribute which contains the groupname";
};
ldapGroupFilter = mkOption {
type = nullOr str;
default = null;
description = "LDAP group search filter";
};
ldapNestedSearch = mkOption {
type = bool;
default = false;
description = "Enable nested group search in Active Directory based on the user";
};
type = nullOr attrs;
default = null;
example = {
icingaweb = {
backend = "db";
resource = "icingaweb_db";
};
}));
};
};
description = ''
groups.ini contents.
Will automatically be converted to a .ini file.
mutableRolesConfig = mkOption {
type = bool;
default = true;
description = "Make roles.ini mutable (e.g. via the web interface)";
If the value is null, no groups.ini is created and you can
modify it manually (e.g. via the web interface).
'';
};
roles = mkOption {
default = {};
description = "Icingaweb 2 roles to define";
type = attrsOf (submodule ({ name, ... }: {
options = {
name = mkOption {
visible = false;
default = name;
type = str;
description = "Name of this role";
};
users = mkOption {
type = listOf str;
default = [];
description = "List of users that are assigned to the role";
};
groups = mkOption {
type = listOf str;
default = [];
description = "List of groups that are assigned to the role";
};
permissions = mkOption {
type = listOf str;
default = [];
example = [ "application/share/navigation" "config/*" ];
description = "The permissions to grant";
};
extraAssignments = mkOption {
type = attrsOf (listOf str);
default = {};
example = { "monitoring/blacklist/properties" = [ "sla" "customer"]; };
description = "Additional assignments of this role";
};
type = nullOr attrs;
default = null;
example = {
Administrators = {
users = "admin";
permissions = "*";
};
}));
};
description = ''
roles.ini contents.
Will automatically be converted to a .ini file.
If the value is null, no roles.ini is created and you can
modify it manually (e.g. via the web interface).
'';
};
};
@@ -609,11 +226,11 @@ in {
// doModule "test"
// doModule "translation"
# Configs
// optionalAttrs (!cfg.generalConfig.mutable) { "icingaweb2/config.ini".text = configIni; }
// optionalAttrs (!cfg.mutableResources) { "icingaweb2/resources.ini".text = resourcesIni; }
// optionalAttrs (!cfg.mutableAuthConfig) { "icingaweb2/authentication.ini".text = authenticationIni; }
// optionalAttrs (!cfg.mutableGroupsConfig) { "icingaweb2/groups.ini".text = groupsIni; }
// optionalAttrs (!cfg.mutableRolesConfig) { "icingaweb2/roles.ini".text = rolesIni; };
// optionalAttrs (cfg.generalConfig != null) { "icingaweb2/config.ini".text = generators.toINI {} (defaultConfig // cfg.generalConfig); }
// optionalAttrs (cfg.resources != null) { "icingaweb2/resources.ini".text = generators.toINI {} cfg.resources; }
// optionalAttrs (cfg.authentications != null) { "icingaweb2/authentication.ini".text = generators.toINI {} cfg.authentications; }
// optionalAttrs (cfg.groupBackends != null) { "icingaweb2/groups.ini".text = generators.toINI {} cfg.groupBackends; }
// optionalAttrs (cfg.roles != null) { "icingaweb2/roles.ini".text = generators.toINI {} cfg.roles; };
# User and group
users.groups.icingaweb2 = {};

View File

@@ -12,15 +12,15 @@
An automatic setup is not suported by Matomo, so you need to configure Matomo
itself in the browser-based Matomo setup.
</para>
<section xml:id="module-services-matomo-database-setup">
<title>Database Setup</title>
<para>
You also need to configure a MariaDB or MySQL database and -user for Matomo
yourself, and enter those credentials in your browser. You can use
passwordless database authentication via the UNIX_SOCKET authentication
plugin with the following SQL commands:
<programlisting>
<programlisting>
# For MariaDB
INSTALL PLUGIN unix_socket SONAME 'auth_socket';
CREATE DATABASE matomo;
@@ -46,30 +46,32 @@
database is not on the same host.
</para>
</section>
<section xml:id="module-services-matomo-archive-processing">
<title>Archive Processing</title>
<para>
This module comes with the systemd service <literal>matomo-archive-processing.service</literal>
and a timer that automatically triggers archive processing every hour.
This means that you can safely
This module comes with the systemd service
<literal>matomo-archive-processing.service</literal> and a timer that
automatically triggers archive processing every hour. This means that you
can safely
<link xlink:href="https://matomo.org/docs/setup-auto-archiving/#disable-browser-triggers-for-matomo-archiving-and-limit-matomo-reports-to-updating-every-hour">
disable browser triggers for Matomo archiving
</link> at <literal>Administration > System > General Settings</literal>.
disable browser triggers for Matomo archiving </link> at
<literal>Administration > System > General Settings</literal>.
</para>
<para>
With automatic archive processing, you can now also enable to
<link xlink:href="https://matomo.org/docs/privacy/#step-2-delete-old-visitors-logs">
delete old visitor logs
</link> at <literal>Administration > System > Privacy</literal>,
but make sure that you run <literal>systemctl start matomo-archive-processing.service</literal>
at least once without errors if you have already collected data before,
so that the reports get archived before the source data gets deleted.
delete old visitor logs </link> at <literal>Administration > System >
Privacy</literal>, but make sure that you run <literal>systemctl start
matomo-archive-processing.service</literal> at least once without errors if
you have already collected data before, so that the reports get archived
before the source data gets deleted.
</para>
</section>
<section xml:id="module-services-matomo-backups">
<title>Backup</title>
<para>
You only need to take backups of your MySQL database and the
<filename>/var/lib/matomo/config/config.ini.php</filename> file. Use a user
@@ -78,9 +80,9 @@
<link xlink:href="https://matomo.org/faq/how-to-install/faq_138/" />.
</para>
</section>
<section xml:id="module-services-matomo-issues">
<title>Issues</title>
<itemizedlist>
<listitem>
<para>
@@ -97,7 +99,6 @@
</listitem>
</itemizedlist>
</section>
<section xml:id="module-services-matomo-other-web-servers">
<title>Using other Web Servers than nginx</title>

View File

@@ -5,14 +5,18 @@ with lib;
let
cfg = config.services.nextcloud;
phpPackage = pkgs.php73;
phpPackages = pkgs.php73Packages;
toKeyValue = generators.toKeyValue {
mkKeyValue = generators.mkKeyValueDefault {} " = ";
};
phpOptionsExtensions = ''
${optionalString cfg.caching.apcu "extension=${cfg.phpPackages.apcu}/lib/php/extensions/apcu.so"}
${optionalString cfg.caching.redis "extension=${cfg.phpPackages.redis}/lib/php/extensions/redis.so"}
${optionalString cfg.caching.memcached "extension=${cfg.phpPackages.memcached}/lib/php/extensions/memcached.so"}
${optionalString cfg.caching.apcu "extension=${phpPackages.apcu}/lib/php/extensions/apcu.so"}
${optionalString cfg.caching.redis "extension=${phpPackages.redis}/lib/php/extensions/redis.so"}
${optionalString cfg.caching.memcached "extension=${phpPackages.memcached}/lib/php/extensions/memcached.so"}
extension=${phpPackages.imagick}/lib/php/extensions/imagick.so
zend_extension = opcache.so
opcache.enable = 1
'';
@@ -28,7 +32,7 @@ let
cd ${pkgs.nextcloud}
exec /run/wrappers/bin/sudo -u nextcloud \
NEXTCLOUD_CONFIG_DIR="${cfg.home}/config" \
${config.services.phpfpm.phpPackage}/bin/php \
${phpPackage}/bin/php \
-c ${pkgs.writeText "php.ini" phpOptionsStr}\
occ $*
'';
@@ -45,6 +49,11 @@ in {
default = "/var/lib/nextcloud";
description = "Storage path of nextcloud.";
};
logLevel = mkOption {
type = types.ints.between 0 4;
default = 2;
description = "Log level value between 0 (DEBUG) and 4 (FATAL).";
};
https = mkOption {
type = types.bool;
default = false;
@@ -89,18 +98,6 @@ in {
'';
};
phpPackages = mkOption {
type = types.attrs;
default = pkgs.php71Packages;
defaultText = "pkgs.php71Packages";
description = ''
Overridable attribute of the PHP packages set to use. If any caching
module is enabled, it will be taken from here. Therefore it should
match the version of PHP given to
<literal>services.phpfpm.phpPackage</literal>.
'';
};
phpOptions = mkOption {
type = types.attrsOf types.str;
default = {
@@ -218,6 +215,19 @@ in {
<literal>services.nextcloud.hostname</literal> here.
'';
};
overwriteProtocol = mkOption {
type = types.nullOr (types.enum [ "http" "https" ]);
default = null;
example = "https";
description = ''
Force Nextcloud to always use HTTPS i.e. for link generation. Nextcloud
uses the currently used protocol by default, but when behind a reverse-proxy,
it may use <literal>http</literal> for everything although Nextcloud
may be served via HTTPS.
'';
};
};
caching = {
@@ -281,6 +291,8 @@ in {
'skeletondirectory' => '${cfg.skeletonDirectory}',
${optionalString cfg.caching.apcu "'memcache.local' => '\\OC\\Memcache\\APCu',"}
'log_type' => 'syslog',
'log_level' => '${builtins.toString cfg.logLevel}',
${optionalString (cfg.config.overwriteProtocol != null) "'overwriteprotocol' => '${cfg.config.overwriteProtocol}',"}
];
'';
occInstallCmd = let
@@ -348,19 +360,19 @@ in {
environment.NEXTCLOUD_CONFIG_DIR = "${cfg.home}/config";
serviceConfig.Type = "oneshot";
serviceConfig.User = "nextcloud";
serviceConfig.ExecStart = "${pkgs.php}/bin/php -f ${pkgs.nextcloud}/cron.php";
serviceConfig.ExecStart = "${phpPackage}/bin/php -f ${pkgs.nextcloud}/cron.php";
};
};
services.phpfpm = {
phpOptions = phpOptionsExtensions;
phpPackage = pkgs.php71;
pools.nextcloud = let
phpAdminValues = (toKeyValue
(foldr (a: b: a // b) {}
(mapAttrsToList (k: v: { "php_admin_value[${k}]" = v; })
phpOptions)));
in {
phpOptions = phpOptionsExtensions;
phpPackage = phpPackage;
listen = "/run/phpfpm/nextcloud";
extraConfig = ''
listen.owner = nginx
@@ -401,7 +413,7 @@ in {
};
"/" = {
priority = 200;
extraConfig = "rewrite ^ /index.php$uri;";
extraConfig = "rewrite ^ /index.php$request_uri;";
};
"~ ^/store-apps" = {
priority = 201;
@@ -415,19 +427,19 @@ in {
priority = 210;
extraConfig = "return 301 $scheme://$host/remote.php/dav;";
};
"~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/" = {
"~ ^\\/(?:build|tests|config|lib|3rdparty|templates|data)\\/" = {
priority = 300;
extraConfig = "deny all;";
};
"~ ^/(?:\\.|autotest|occ|issue|indie|db_|console)" = {
"~ ^\\/(?:\\.|autotest|occ|issue|indie|db_|console)" = {
priority = 300;
extraConfig = "deny all;";
};
"~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+)\\.php(?:$|/)" = {
"~ ^\\/(?:index|remote|public|cron|core/ajax\\/update|status|ocs\\/v[12]|updater\\/.+|ocs-provider\\/.+|ocm-provider\\/.+)\\.php(?:$|\\/)" = {
priority = 500;
extraConfig = ''
include ${config.services.nginx.package}/conf/fastcgi.conf;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
fastcgi_split_path_info ^(.+\.php)(\\/.*)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param HTTPS ${if cfg.https then "on" else "off"};
fastcgi_param modHeadersAvailable true;
@@ -438,22 +450,23 @@ in {
fastcgi_read_timeout 120s;
'';
};
"~ ^/(?:updater|ocs-provider)(?:$|/)".extraConfig = ''
"~ ^\\/(?:updater|ocs-provider|ocm-provider)(?:$|\\/)".extraConfig = ''
try_files $uri/ =404;
index index.php;
'';
"~ \\.(?:css|js|woff|svg|gif)$".extraConfig = ''
try_files $uri /index.php$uri$is_args$args;
"~ \\.(?:css|js|woff2?|svg|gif)$".extraConfig = ''
try_files $uri /index.php$request_uri;
add_header Cache-Control "public, max-age=15778463";
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
add_header Referrer-Policy no-referrer;
access_log off;
'';
"~ \\.(?:png|html|ttf|ico|jpg|jpeg)$".extraConfig = ''
try_files $uri /index.php$uri$is_args$args;
try_files $uri /index.php$request_uri;
access_log off;
'';
};
@@ -463,10 +476,12 @@ in {
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
add_header Referrer-Policy no-referrer;
error_page 403 /core/templates/403.php;
error_page 404 /core/templates/404.php;
client_max_body_size ${cfg.maxUploadSize};
fastcgi_buffers 64 4K;
fastcgi_hide_header X-Powered-By;
gzip on;
gzip_vary on;
gzip_comp_level 4;

View File

@@ -4,24 +4,26 @@
version="5.0"
xml:id="module-services-nextcloud">
<title>Nextcloud</title>
<para>
<link xlink:href="https://nextcloud.com/">Nextcloud</link> is an open-source, self-hostable cloud
platform. The server setup can be automated using
<link linkend="opt-services.nextcloud.enable">services.nextcloud</link>. A desktop client is packaged
at <literal>pkgs.nextcloud-client</literal>.
<link xlink:href="https://nextcloud.com/">Nextcloud</link> is an open-source,
self-hostable cloud platform. The server setup can be automated using
<link linkend="opt-services.nextcloud.enable">services.nextcloud</link>. A
desktop client is packaged at <literal>pkgs.nextcloud-client</literal>.
</para>
<section xml:id="module-services-nextcloud-basic-usage">
<title>Basic usage</title>
<para>
Nextcloud is a PHP-based application which requires an HTTP server
(<literal><link linkend="opt-services.nextcloud.enable">services.nextcloud</link></literal> optionally supports
<literal><link linkend="opt-services.nginx.enable">services.nginx</link></literal>) and a database
(it's recommended to use <literal><link linkend="opt-services.postgresql.enable">services.postgresql</link></literal>).
(<literal><link linkend="opt-services.nextcloud.enable">services.nextcloud</link></literal>
optionally supports
<literal><link linkend="opt-services.nginx.enable">services.nginx</link></literal>)
and a database (it's recommended to use
<literal><link linkend="opt-services.postgresql.enable">services.postgresql</link></literal>).
</para>
<para>
A very basic configuration may look like this:
A very basic configuration may look like this:
<programlisting>{ pkgs, ... }:
{
services.nextcloud = {
@@ -55,45 +57,59 @@
<link linkend="opt-networking.firewall.allowedTCPPorts">networking.firewall.allowedTCPPorts</link> = [ 80 443 ];
}</programlisting>
</para>
<para>
The options <literal>hostName</literal> and <literal>nginx.enable</literal> are used internally to configure an
HTTP server using <literal><link xlink:href="https://php-fpm.org/">PHP-FPM</link></literal> and <literal>nginx</literal>.
The <literal>config</literal> attribute set is used for the <literal>config.php</literal> which is used
for the application's configuration.
<emphasis>Beware: this isn't entirely pure since the config is modified by the application's runtime!</emphasis>
The options <literal>hostName</literal> and <literal>nginx.enable</literal>
are used internally to configure an HTTP server using
<literal><link xlink:href="https://php-fpm.org/">PHP-FPM</link></literal>
and <literal>nginx</literal>. The <literal>config</literal> attribute set is
used for the <literal>config.php</literal> which is used for the
application's configuration. <emphasis>Beware: this isn't entirely pure
since the config is modified by the application's runtime!</emphasis>
</para>
<para>
In case the application serves multiple hosts (those are checked with
<literal><link xlink:href="http://php.net/manual/en/reserved.variables.server.php">$_SERVER['HTTP_HOST']</link></literal>)
those can be added using
<literal><link linkend="opt-services.nextcloud.config.extraTrustedDomains">services.nextcloud.config.extraTrustedDomains</link></literal>.
In case the application serves multiple hosts (those are checked with
<literal><link xlink:href="http://php.net/manual/en/reserved.variables.server.php">$_SERVER['HTTP_HOST']</link></literal>)
those can be added using
<literal><link linkend="opt-services.nextcloud.config.extraTrustedDomains">services.nextcloud.config.extraTrustedDomains</link></literal>.
</para>
</section>
<section xml:id="module-services-nextcloud-pitfalls-during-upgrade">
<title>Pitfalls</title>
<para>
Unfortunately Nextcloud appears to be very stateful when it comes to managing its own configuration. The
config file lives in the home directory of the <literal>nextcloud</literal> user (by default
<literal>/var/lib/nextcloud/config/config.php</literal>) and is also used to track several
states of the application (e.g. whether installed or not).
Unfortunately Nextcloud appears to be very stateful when it comes to
managing its own configuration. The config file lives in the home directory
of the <literal>nextcloud</literal> user (by default
<literal>/var/lib/nextcloud/config/config.php</literal>) and is also used to
track several states of the application (e.g. whether installed or not).
</para>
<para>
Right now changes to the <literal>services.nextcloud.config</literal> attribute set won't take effect
after the first install
(except <literal><link linkend="opt-services.nextcloud.config.extraTrustedDomains">services.nextcloud.config.extraTrustedDomains</link></literal>) since the actual configuration
file is generated by the NextCloud installer which also sets up critical parts such as the database
structure.
Right now changes to the <literal>services.nextcloud.config</literal>
attribute set won't take effect after the first install (except
<literal><link linkend="opt-services.nextcloud.config.extraTrustedDomains">services.nextcloud.config.extraTrustedDomains</link></literal>)
since the actual configuration file is generated by the NextCloud installer
which also sets up critical parts such as the database structure.
</para>
<para>
<emphasis>Warning: don't delete <literal>config.php</literal>! This file tracks the application's state and a deletion can cause unwanted side-effects!</emphasis>
<emphasis>Warning: don't delete <literal>config.php</literal>! This file
tracks the application's state and a deletion can cause unwanted
side-effects!</emphasis>
</para>
<para>
<emphasis>Warning: don't rerun <literal>nextcloud-occ maintenance:install</literal>! This command tries to install the application and can cause unwanted side-effects!</emphasis>
<emphasis>Warning: don't rerun <literal>nextcloud-occ
maintenance:install</literal>! This command tries to install the application
and can cause unwanted side-effects!</emphasis>
</para>
<para>
The issues are known and reported in <link xlink:href="https://github.com/NixOS/nixpkgs/issues/49783">#49783</link>, for now it's unfortunately necessary to manually work around these issues.
The issues are known and reported in
<link xlink:href="https://github.com/NixOS/nixpkgs/issues/49783">#49783</link>,
for now it's unfortunately necessary to manually work around these issues.
</para>
</section>
</chapter>

View File

@@ -705,10 +705,7 @@ in
path =
[ httpd pkgs.coreutils pkgs.gnugrep ]
++ # Needed for PHP's mail() function. !!! Probably the
# ssmtp module should export the path to sendmail in
# some way.
optional config.networking.defaultMailServer.directDelivery pkgs.ssmtp
++ optional enablePHP pkgs.system-sendmail # Needed for PHP's mail() function.
++ concatMap (svc: svc.extraServerPath) allSubservices;
environment =

View File

@@ -194,11 +194,12 @@ let
then filter (x: x.ssl) defaultListen
else defaultListen;
listenString = { addr, port, ssl, ... }:
listenString = { addr, port, ssl, extraParameters ? [], ... }:
"listen ${addr}:${toString port} "
+ optionalString ssl "ssl "
+ optionalString (ssl && vhost.http2) "http2 "
+ optionalString vhost.default "default_server "
+ optionalString (extraParameters != []) (concatStringsSep " " extraParameters)
+ ";";
redirectListen = filter (x: !x.ssl) defaultListen;
@@ -491,8 +492,8 @@ in
sslProtocols = mkOption {
type = types.str;
default = "TLSv1.2";
example = "TLSv1 TLSv1.1 TLSv1.2";
default = "TLSv1.2 TLSv1.3";
example = "TLSv1 TLSv1.1 TLSv1.2 TLSv1.3";
description = "Allowed TLS protocol versions.";
};

View File

@@ -31,6 +31,7 @@ with lib;
addr = mkOption { type = str; description = "IP address."; };
port = mkOption { type = int; description = "Port number."; default = 80; };
ssl = mkOption { type = bool; description = "Enable SSL."; default = false; };
extraParameters = mkOption { type = listOf str; description = "Extra parameters of this listen directive."; default = []; example = [ "reuseport" "deferred" ]; };
}; });
default = [];
example = [

View File

@@ -108,25 +108,25 @@ in
([ pkgs.pantheon.switchboard-plug-power ])
(mkIf config.services.printing.enable ([pkgs.system-config-printer]) )
];
services.pantheon.contractor.enable = true;
services.pantheon.contractor.enable = mkDefault true;
services.geoclue2.enable = mkDefault true;
# pantheon has pantheon-agent-geoclue2
services.geoclue2.enableDemoAgent = false;
services.gnome3.at-spi2-core.enable = true;
services.gnome3.evolution-data-server.enable = true;
services.gnome3.file-roller.enable = true;
services.gnome3.file-roller.enable = mkDefault true;
# TODO: gnome-keyring's xdg autostarts will still be in the environment (from elementary-session-settings) if disabled forcefully
services.gnome3.gnome-keyring.enable = true;
services.gnome3.gvfs.enable = true;
services.gnome3.rygel.enable = true;
services.gsignond.enable = true;
services.gnome3.rygel.enable = mkDefault true;
services.gsignond.enable = mkDefault true;
services.gsignond.plugins = with pkgs.gsignondPlugins; [ lastfm mail oauth ];
services.udev.packages = [ pkgs.pantheon.elementary-settings-daemon ];
services.udisks2.enable = true;
services.upower.enable = config.powerManagement.enable;
services.xserver.libinput.enable = mkDefault true;
services.xserver.updateDbusEnvironment = true;
services.zeitgeist.enable = true;
services.zeitgeist.enable = mkDefault true;
networking.networkmanager.enable = mkDefault true;
networking.networkmanager.basePackages =
@@ -151,19 +151,15 @@ in
"/share"
];
environment.systemPackages = pkgs.pantheon.artwork ++ pkgs.pantheon.desktop ++ pkgs.pantheon.services ++ cfg.sessionPath
++ (pkgs.gnome3.removePackagesByName pkgs.pantheon.apps config.environment.pantheon.excludePackages)
++ (with pkgs.gnome3;
[
adwaita-icon-theme
dconf
epiphany
environment.systemPackages =
pkgs.pantheon.artwork ++ pkgs.pantheon.desktop ++ pkgs.pantheon.services ++ cfg.sessionPath
++ (with pkgs; gnome3.removePackagesByName
([
gnome3.geary
gnome3.epiphany
gnome3.gnome-font-viewer
evince
geary
gnome-bluetooth
gnome-font-viewer
gnome-power-manager
])
] ++ pantheon.apps) config.environment.pantheon.excludePackages)
++ (with pkgs;
[
adwaita-qt
@@ -171,6 +167,8 @@ in
glib
glib-networking
gnome-menus
gnome3.adwaita-icon-theme
gnome3.dconf
gtk3.out
hicolor-icon-theme
lightlocker
@@ -184,7 +182,9 @@ in
fonts.fonts = with pkgs; [
opensans-ttf
roboto-mono
pantheon.elementary-redacted-script # needed by screenshot-tool
];
fonts.fontconfig.defaultFonts = {
monospace = [ "Roboto Mono" ];
sansSerif = [ "Open Sans" ];

View File

@@ -163,6 +163,8 @@ in
libsForQt56.phonon-backend-gstreamer
libsForQt5.phonon-backend-gstreamer
xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/
]
++ lib.optionals cfg.enableQt4Support [ pkgs.phonon-backend-gstreamer ]
@@ -175,9 +177,9 @@ in
++ lib.optional config.services.colord.enable colord-kde
++ lib.optionals config.services.samba.enable [ kdenetwork-filesharing pkgs.samba ];
environment.pathsToLink = [
environment.pathsToLink = [
# FIXME: modules should link subdirs of `/share` rather than relying on this
"/share"
"/share"
];
environment.etc = singleton {
@@ -224,7 +226,29 @@ in
security.pam.services.slim.enableKwallet = true;
# Update the start menu for each user that is currently logged in
system.userActivationScripts.plasmaSetup = "${pkgs.libsForQt5.kservice}/bin/kbuildsycoca5";
system.userActivationScripts.plasmaSetup = ''
# The KDE icon cache is supposed to update itself
# automatically, but it uses the timestamp on the icon
# theme directory as a trigger. Since in Nix the
# timestamp is always the same, this doesn't work. So as
# a workaround, nuke the icon cache on login. This isn't
# perfect, since it may require logging out after
# installing new applications to update the cache.
# See http://lists-archives.org/kde-devel/26175-what-when-will-icon-cache-refresh.html
rm -fv $HOME/.cache/icon-cache.kcache
# xdg-desktop-settings generates this empty file but
# it makes kbuildsyscoca5 fail silently. To fix this
# remove that menu if it exists.
rm -fv $HOME/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu
# Remove the kbuildsyscoca5 cache. It will be regenerated
# immediately after. This is necessary for kbuildsyscoca5 to
# recognize that software that has been removed.
rm -fv $HOME/.cache/ksycoca*
${pkgs.libsForQt5.kservice}/bin/kbuildsycoca5
'';
})
];

View File

@@ -53,7 +53,7 @@ in
# Supplies some abstract icons such as:
# utilities-terminal, accessories-text-editor
gnome3.defaultIconTheme
gnome3.adwaita-icon-theme
hicolor-icon-theme
tango-icon-theme

View File

@@ -96,8 +96,8 @@ in
package = mkOption {
type = types.package;
default = pkgs.gnome3.defaultIconTheme;
defaultText = "pkgs.gnome3.defaultIconTheme";
default = pkgs.gnome3.adwaita-icon-theme;
defaultText = "pkgs.gnome3.adwaita-icon-theme";
description = ''
The package path that contains the icon theme given in the name option.
'';
@@ -116,8 +116,8 @@ in
cursorTheme = {
package = mkOption {
default = pkgs.gnome3.defaultIconTheme;
defaultText = "pkgs.gnome3.defaultIconTheme";
default = pkgs.gnome3.adwaita-icon-theme;
defaultText = "pkgs.gnome3.adwaita-icon-theme";
description = ''
The package path that contains the cursor theme given in the name option.
'';

View File

@@ -25,7 +25,7 @@ in
{ name = "dwm";
start =
''
${pkgs.dwm}/bin/dwm &
dwm &
waitPID=$!
'';
};

View File

@@ -244,7 +244,7 @@ in
default = [ "ati" "cirrus" "vesa" "vmware" "modesetting" ];
example = [
"ati_unfree" "amdgpu" "amdgpu-pro"
"nv" "nvidia" "nvidiaLegacy340" "nvidiaLegacy304"
"nv" "nvidia" "nvidiaLegacy390" "nvidiaLegacy340" "nvidiaLegacy304"
];
# TODO(@oxij): think how to easily add the rest, like those nvidia things
relatedPackages = concatLists
@@ -257,6 +257,11 @@ in
The names of the video drivers the configuration
supports. They will be tried in order until one that
supports your card is found.
Don't combine those with "incompatible" OpenGL implementations,
e.g. free ones (mesa-based) with proprietary ones.
For unfree "nvidia*", the supported GPU lists are on
https://www.nvidia.com/object/unix.html
'';
};

View File

@@ -8,13 +8,17 @@ let
efi = config.boot.loader.efi;
realGrub = if cfg.version == 1 then pkgs.grub
else if cfg.zfsSupport then pkgs.grub2.override { zfsSupport = true; }
grubPkgs =
# Package set of targeted architecture
if cfg.forcei686 then pkgs.pkgsi686Linux else pkgs;
realGrub = if cfg.version == 1 then grubPkgs.grub
else if cfg.zfsSupport then grubPkgs.grub2.override { zfsSupport = true; }
else if cfg.trustedBoot.enable
then if cfg.trustedBoot.isHPLaptop
then pkgs.trustedGrub-for-HP
else pkgs.trustedGrub
else pkgs.grub2;
then grubPkgs.trustedGrub-for-HP
else grubPkgs.trustedGrub
else grubPkgs.grub2;
grub =
# Don't include GRUB if we're only generating a GRUB menu (e.g.,
@@ -58,14 +62,10 @@ let
version extraConfig extraPerEntryConfig extraEntries forceInstall useOSProber
extraEntriesBeforeNixOS extraPrepareConfig extraInitrd configurationLimit copyKernels
default fsIdentifier efiSupport efiInstallAsRemovable gfxmodeEfi gfxmodeBios;
path = (makeBinPath ([
pkgs.coreutils pkgs.gnused pkgs.gnugrep pkgs.findutils pkgs.diffutils pkgs.btrfs-progs
pkgs.utillinux ]
++ (optional (cfg.efiSupport && (cfg.version == 2)) pkgs.efibootmgr)
++ (optionals cfg.useOSProber [pkgs.busybox pkgs.os-prober])
)) + ":" + (makeSearchPathOutput "bin" "sbin" [
pkgs.mdadm pkgs.utillinux
]);
path = with pkgs; makeBinPath (
[ coreutils gnused gnugrep findutils diffutils btrfs-progs utillinux mdadm ]
++ optional (cfg.efiSupport && (cfg.version == 2)) efibootmgr
++ optionals cfg.useOSProber [ busybox os-prober ]);
font = if cfg.font == null then ""
else (if lib.last (lib.splitString "." cfg.font) == "pf2"
then cfg.font
@@ -512,6 +512,15 @@ in
'';
};
forcei686 = mkOption {
default = false;
type = types.bool;
description = ''
Whether to force the use of a ia32 boot loader on x64 systems. Required
to install and run NixOS on 64bit x86 systems with 32bit (U)EFI.
'';
};
trustedBoot = {
enable = mkOption {

View File

@@ -9,12 +9,11 @@ in rec {
shellEscape = s: (replaceChars [ "\\" ] [ "\\\\" ] s);
mkPathSafeName = lib.replaceChars ["@" ":" "\\" "[" "]"] ["-" "-" "-" "" ""];
makeUnit = name: unit:
let
pathSafeName = lib.replaceChars ["@" ":" "\\" "[" "]"] ["-" "-" "-" "" ""] name;
in
if unit.enable then
pkgs.runCommand "unit-${pathSafeName}"
pkgs.runCommand "unit-${mkPathSafeName name}"
{ preferLocalBuild = true;
allowSubstitutes = false;
inherit (unit) text;
@@ -24,7 +23,7 @@ in rec {
echo -n "$text" > $out/${shellEscape name}
''
else
pkgs.runCommand "unit-${pathSafeName}-disabled"
pkgs.runCommand "unit-${mkPathSafeName name}-disabled"
{ preferLocalBuild = true;
allowSubstitutes = false;
}

View File

@@ -10,11 +10,6 @@ users_=($users)
groups_=($groups)
set +f
# Create relative symlinks, so that the links can be followed if
# the NixOS installation is not mounted as filesystem root.
# Absolute symlinks violate the os-release format
# at https://www.freedesktop.org/software/systemd/man/os-release.html
# and break e.g. systemd-nspawn and os-prober.
for ((i = 0; i < ${#targets_[@]}; i++)); do
source="${sources_[$i]}"
target="${targets_[$i]}"
@@ -24,14 +19,14 @@ for ((i = 0; i < ${#targets_[@]}; i++)); do
# If the source name contains '*', perform globbing.
mkdir -p $out/etc/$target
for fn in $source; do
ln -s --relative "$fn" $out/etc/$target/
ln -s "$fn" $out/etc/$target/
done
else
mkdir -p $out/etc/$(dirname $target)
if ! [ -e $out/etc/$target ]; then
ln -s --relative $source $out/etc/$target
ln -s $source $out/etc/$target
else
echo "duplicate entry $target -> $source"
if test "$(readlink $out/etc/$target)" != "$source"; then
@@ -39,13 +34,13 @@ for ((i = 0; i < ${#targets_[@]}; i++)); do
exit 1
fi
fi
if test "${modes_[$i]}" != symlink; then
echo "${modes_[$i]}" > $out/etc/$target.mode
echo "${users_[$i]}" > $out/etc/$target.uid
echo "${groups_[$i]}" > $out/etc/$target.gid
fi
fi
done

View File

@@ -4,7 +4,6 @@ use File::Copy;
use File::Path;
use File::Basename;
use File::Slurp;
use File::Spec;
my $etc = $ARGV[0] or die;
my $static = "/etc/static";
@@ -18,20 +17,6 @@ sub atomicSymlink {
return 1;
}
# Create relative symlinks, so that the links can be followed if
# the NixOS installation is not mounted as filesystem root.
# Absolute symlinks violate the os-release format
# at https://www.freedesktop.org/software/systemd/man/os-release.html
# and break e.g. systemd-nspawn and os-prober.
sub atomicRelativeSymlink {
my ($source, $target) = @_;
my $tmp = "$target.tmp";
unlink $tmp;
my $rel = File::Spec->abs2rel($source, dirname $target);
symlink $rel, $tmp or return 0;
rename $tmp, $target or return 0;
return 1;
}
# Atomically update /etc/static to point at the etc files of the
# current configuration.
@@ -118,7 +103,7 @@ sub link {
if (-e "$_.mode") {
my $mode = read_file("$_.mode"); chomp $mode;
if ($mode eq "direct-symlink") {
atomicRelativeSymlink readlink("$static/$fn"), $target or warn;
atomicSymlink readlink("$static/$fn"), $target or warn;
} else {
my $uid = read_file("$_.uid"); chomp $uid;
my $gid = read_file("$_.gid"); chomp $gid;
@@ -132,7 +117,7 @@ sub link {
push @copied, $fn;
print CLEAN "$fn\n";
} elsif (-l "$_") {
atomicRelativeSymlink "$static/$fn", $target or warn;
atomicSymlink "$static/$fn", $target or warn;
}
}

View File

@@ -36,8 +36,9 @@ let
#! ${pkgs.runtimeShell} -e
# Initialise the container side of the veth pair.
if [ -n "$HOST_ADDRESS" ] || [ -n "$LOCAL_ADDRESS" ] || [ -n "$HOST_BRIDGE" ]; then
if [ -n "$HOST_ADDRESS" ] || [ -n "$HOST_ADDRESS6" ] ||
[ -n "$LOCAL_ADDRESS" ] || [ -n "$LOCAL_ADDRESS6" ] ||
[ -n "$HOST_BRIDGE" ]; then
ip link set host0 name eth0
ip link set dev eth0 up
@@ -88,7 +89,8 @@ let
extraFlags+=" --private-network"
fi
if [ -n "$HOST_ADDRESS" ] || [ -n "$LOCAL_ADDRESS" ]; then
if [ -n "$HOST_ADDRESS" ] || [ -n "$LOCAL_ADDRESS" ] ||
[ -n "$HOST_ADDRESS6" ] || [ -n "$LOCAL_ADDRESS6" ]; then
extraFlags+=" --network-veth"
fi
@@ -159,7 +161,8 @@ let
# Clean up existing machined registration and interfaces.
machinectl terminate "$INSTANCE" 2> /dev/null || true
if [ -n "$HOST_ADDRESS" ] || [ -n "$LOCAL_ADDRESS" ]; then
if [ -n "$HOST_ADDRESS" ] || [ -n "$LOCAL_ADDRESS" ] ||
[ -n "$HOST_ADDRESS6" ] || [ -n "$LOCAL_ADDRESS6" ]; then
ip link del dev "ve-$INSTANCE" 2> /dev/null || true
ip link del dev "vb-$INSTANCE" 2> /dev/null || true
fi
@@ -208,7 +211,8 @@ let
'';
in
''
if [ -n "$HOST_ADDRESS" ] || [ -n "$LOCAL_ADDRESS" ]; then
if [ -n "$HOST_ADDRESS" ] || [ -n "$LOCAL_ADDRESS" ] ||
[ -n "$HOST_ADDRESS6" ] || [ -n "$LOCAL_ADDRESS6" ]; then
if [ -z "$HOST_BRIDGE" ]; then
ifaceHost=ve-$INSTANCE
ip link set dev $ifaceHost up

View File

@@ -52,6 +52,15 @@ in
'';
};
enableNvidia =
mkOption {
type = types.bool;
default = false;
description = ''
Enable nvidia-docker wrapper, supporting NVIDIA GPUs inside docker containers.
'';
};
liveRestore =
mkOption {
type = types.bool;
@@ -140,7 +149,8 @@ in
###### implementation
config = mkIf cfg.enable (mkMerge [{
environment.systemPackages = [ cfg.package ];
environment.systemPackages = [ cfg.package ]
++ optional cfg.enableNvidia pkgs.nvidia-docker;
users.groups.docker.gid = config.ids.gids.docker;
systemd.packages = [ cfg.package ];
@@ -157,6 +167,7 @@ in
--log-driver=${cfg.logDriver} \
${optionalString (cfg.storageDriver != null) "--storage-driver=${cfg.storageDriver}"} \
${optionalString cfg.liveRestore "--live-restore" } \
${optionalString cfg.enableNvidia "--add-runtime nvidia=${pkgs.nvidia-docker}/bin/nvidia-container-runtime" } \
${cfg.extraOptions}
''];
ExecReload=[
@@ -165,7 +176,8 @@ in
];
};
path = [ pkgs.kmod ] ++ (optional (cfg.storageDriver == "zfs") pkgs.zfs);
path = [ pkgs.kmod ] ++ optional (cfg.storageDriver == "zfs") pkgs.zfs
++ optional cfg.enableNvidia pkgs.nvidia-docker;
};
systemd.sockets.docker = {
@@ -179,7 +191,6 @@ in
};
};
systemd.services.docker-prune = {
description = "Prune docker resources";
@@ -194,7 +205,15 @@ in
startAt = optional cfg.autoPrune.enable cfg.autoPrune.dates;
};
assertions = [
{ assertion = cfg.enableNvidia -> config.hardware.opengl.driSupport32Bit or false;
message = "Option enableNvidia requires 32bit support libraries";
}];
}
(mkIf cfg.enableNvidia {
environment.etc."nvidia-container-runtime/config.toml".source = "${pkgs.nvidia-docker}/etc/config.toml";
})
]);
imports = [

View File

@@ -20,6 +20,7 @@ in
config = {
fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
autoResize = true;
};

View File

@@ -83,6 +83,8 @@ in
};
config = mkIf cfg.enable (mkMerge [{
warnings = mkIf (config.nixpkgs.config.virtualbox.enableExtensionPack or false)
["'nixpkgs.virtualbox.enableExtensionPack' has no effect, please use 'virtualisation.virtualbox.host.enableExtensionPack'"];
boot.kernelModules = [ "vboxdrv" "vboxnetadp" "vboxnetflt" ];
boot.extraModulePackages = [ kernelModules ];
environment.systemPackages = [ virtualbox ];

View File

@@ -64,6 +64,7 @@ in rec {
#(all nixos.tests.containers)
(all nixos.tests.containers-imperative)
(all nixos.tests.containers-ipv4)
(all nixos.tests.containers-ipv6)
nixos.tests.chromium.x86_64-linux or []
(all nixos.tests.firefox)
(all nixos.tests.firewall)

View File

@@ -33,6 +33,7 @@ in rec {
inherit (nixos'.tests)
containers-imperative
containers-ipv4
containers-ipv6
firewall
ipv6
login

View File

@@ -116,6 +116,7 @@ in
kernel-latest = handleTest ./kernel-latest.nix {};
kernel-lts = handleTest ./kernel-lts.nix {};
keymap = handleTest ./keymap.nix {};
knot = handleTest ./knot.nix {};
kubernetes.dns = handleTestOn ["x86_64-linux"] ./kubernetes/dns.nix {};
# kubernetes.e2e should eventually replace kubernetes.rbac when it works
#kubernetes.e2e = handleTestOn ["x86_64-linux"] ./kubernetes/e2e.nix {};
@@ -171,6 +172,7 @@ in
osquery = handleTest ./osquery.nix {};
osrm-backend = handleTest ./osrm-backend.nix {};
ostree = handleTest ./ostree.nix {};
overlayfs = handleTest ./overlayfs.nix {};
pam-oath-login = handleTest ./pam-oath-login.nix {};
pam-u2f = handleTest ./pam-u2f.nix {};
pantheon = handleTest ./pantheon.nix {};
@@ -215,6 +217,7 @@ in
switchTest = handleTest ./switch-test.nix {};
syncthing-relay = handleTest ./syncthing-relay.nix {};
systemd = handleTest ./systemd.nix {};
systemd-confinement = handleTest ./systemd-confinement.nix {};
taskserver = handleTest ./taskserver.nix {};
telegraf = handleTest ./telegraf.nix {};
tomcat = handleTest ./tomcat.nix {};
@@ -224,6 +227,7 @@ in
upnp = handleTest ./upnp.nix {};
vault = handleTest ./vault.nix {};
virtualbox = handleTestOn ["x86_64-linux"] ./virtualbox.nix {};
wireguard = handleTest ./wireguard {};
wordpress = handleTest ./wordpress.nix {};
xautolock = handleTest ./xautolock.nix {};
xdg-desktop-portal = handleTest ./xdg-desktop-portal.nix {};

View File

@@ -1,10 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:blogChannel="http://backend.userland.com/blogChannelModule" version="2.0"><channel><title>NixOS News</title><link>https://nixos.org</link><description>News for NixOS, the purely functional Linux distribution.</description><image><title>NixOS</title><url>https://nixos.org/logo/nixos-logo-only-hires.png</url><link>https://nixos.org/</link></image><item><title>
NixOS 18.09 released
</title><link>https://nixos.org/news.html</link><description>
<a href="https://github.com/NixOS/nixos-artwork/blob/master/releases/18.09-jellyfish/jellyfish.png">
<img class="inline" src="logo/nixos-logo-18.09-jellyfish-lores.png" alt="18.09 Jellyfish logo" with="100" height="87"/>
</a>
<rss xmlns:blogChannel="http://backend.userland.com/blogChannelModule" version="2.0">
<channel>
<title>NixOS News</title><link>https://nixos.org</link>
<description>News for NixOS, the purely functional Linux distribution.</description>
<image>
<title>NixOS</title>
<url>https://nixos.org/logo/nixos-logo-only-hires.png</url><link>https://nixos.org/</link>
</image>
<item>
<title>NixOS 18.09 released</title><link>https://nixos.org/news.html</link>
<description>
<a href="https://github.com/NixOS/nixos-artwork/blob/master/releases/18.09-jellyfish/jellyfish.png">
<img class="inline" src="logo/nixos-logo-18.09-jellyfish-lores.png" alt="18.09 Jellyfish logo" with="100" height="87"/>
</a>
NixOS 18.09 “Jellyfish” has been released, the tenth stable release branch.
See the <a href="/nixos/manual/release-notes.html#sec-release-18.09">release notes</a>
for details. You can get NixOS 18.09 ISOs and VirtualBox appliances
@@ -12,4 +20,8 @@
For information on how to upgrade from older release branches
to 18.09, check out the
<a href="/nixos/manual/index.html#sec-upgrading">manual section on upgrading</a>.
</description><pubDate>Sat Oct 06 2018 00:00:00 GMT</pubDate></item></channel></rss>
</description>
<pubDate>Sat Oct 06 2018 00:00:00 GMT</pubDate>
</item>
</channel>
</rss>

View File

@@ -1,5 +1,8 @@
# This test runs gitlab and checks if it works
let
initialRootPassword = "notproduction";
in
import ./make-test.nix ({ pkgs, lib, ...} : with lib; {
name = "gitlab";
meta = with pkgs.stdenv.lib.maintainers; {
@@ -27,7 +30,7 @@ import ./make-test.nix ({ pkgs, lib, ...} : with lib; {
services.gitlab = {
enable = true;
databasePassword = "dbPassword";
initialRootPassword = "notproduction";
inherit initialRootPassword;
smtp.enable = true;
secrets = {
secret = "secret";
@@ -69,7 +72,27 @@ import ./make-test.nix ({ pkgs, lib, ...} : with lib; {
};
};
testScript = ''
testScript =
let
auth = pkgs.writeText "auth.json" (builtins.toJSON {
grant_type = "password";
username = "root";
password = initialRootPassword;
});
createProject = pkgs.writeText "create-project.json" (builtins.toJSON {
name = "test";
});
putFile = pkgs.writeText "put-file.json" (builtins.toJSON {
branch = "master";
author_email = "author@example.com";
author_name = "Firstname Lastname";
content = "some content";
commit_message = "create a new file";
});
in
''
$gitlab->start();
$gitlab->waitForUnit("gitaly.service");
$gitlab->waitForUnit("gitlab-workhorse.service");
@@ -78,6 +101,13 @@ import ./make-test.nix ({ pkgs, lib, ...} : with lib; {
$gitlab->waitForFile("/var/gitlab/state/tmp/sockets/gitlab.socket");
$gitlab->waitUntilSucceeds("curl -sSf http://gitlab/users/sign_in");
$gitlab->succeed("curl -isSf http://gitlab | grep -i location | grep -q http://gitlab/users/sign_in");
$gitlab->succeed("${pkgs.sudo}/bin/sudo -u gitlab -H gitlab-rake gitlab:check 1>&2")
$gitlab->succeed("${pkgs.sudo}/bin/sudo -u gitlab -H gitlab-rake gitlab:check 1>&2");
$gitlab->succeed("echo \"Authorization: Bearer \$(curl -X POST -H 'Content-Type: application/json' -d @${auth} http://gitlab/oauth/token | ${pkgs.jq}/bin/jq -r '.access_token')\" >/tmp/headers");
$gitlab->succeed("curl -X POST -H 'Content-Type: application/json' -H @/tmp/headers -d @${createProject} http://gitlab/api/v4/projects");
$gitlab->succeed("curl -X POST -H 'Content-Type: application/json' -H @/tmp/headers -d @${putFile} http://gitlab/api/v4/projects/1/repository/files/some-file.txt");
$gitlab->succeed("curl -H @/tmp/headers http://gitlab/api/v4/projects/1/repository/archive.tar.gz > /tmp/archive.tar.gz");
$gitlab->succeed("curl -H @/tmp/headers http://gitlab/api/v4/projects/1/repository/archive.tar.bz2 > /tmp/archive.tar.bz2");
$gitlab->succeed("test -s /tmp/archive.tar.gz");
$gitlab->succeed("test -s /tmp/archive.tar.bz2");
'';
})

197
nixos/tests/knot.nix Normal file
View File

@@ -0,0 +1,197 @@
import ./make-test.nix ({ pkgs, lib, ...} :
let
common = {
networking.firewall.enable = false;
networking.useDHCP = false;
};
exampleZone = pkgs.writeTextDir "example.com.zone" ''
@ SOA ns.example.com. noc.example.com. 2019031301 86400 7200 3600000 172800
@ NS ns1
@ NS ns2
ns1 A 192.168.0.1
ns1 AAAA fd00::1
ns2 A 192.168.0.2
ns2 AAAA fd00::2
www A 192.0.2.1
www AAAA 2001:DB8::1
sub NS ns.example.com.
'';
delegatedZone = pkgs.writeTextDir "sub.example.com.zone" ''
@ SOA ns.example.com. noc.example.com. 2019031301 86400 7200 3600000 172800
@ NS ns1.example.com.
@ NS ns2.example.com.
@ A 192.0.2.2
@ AAAA 2001:DB8::2
'';
knotZonesEnv = pkgs.buildEnv {
name = "knot-zones";
paths = [ exampleZone delegatedZone ];
};
in {
name = "knot";
nodes = {
master = { lib, ... }: {
imports = [ common ];
networking.interfaces.eth1 = {
ipv4.addresses = lib.mkForce [
{ address = "192.168.0.1"; prefixLength = 24; }
];
ipv6.addresses = lib.mkForce [
{ address = "fd00::1"; prefixLength = 64; }
];
};
services.knot.enable = true;
services.knot.extraArgs = [ "-v" ];
services.knot.extraConfig = ''
server:
listen: 0.0.0.0@53
listen: ::@53
acl:
- id: slave_acl
address: 192.168.0.2
action: transfer
remote:
- id: slave
address: 192.168.0.2@53
template:
- id: default
storage: ${knotZonesEnv}
notify: [slave]
acl: [slave_acl]
dnssec-signing: on
# Input-only zone files
# https://www.knot-dns.cz/docs/2.8/html/operation.html#example-3
# prevents modification of the zonefiles, since the zonefiles are immutable
zonefile-sync: -1
zonefile-load: difference
journal-content: changes
# move databases below the state directory, because they need to be writable
journal-db: /var/lib/knot/journal
kasp-db: /var/lib/knot/kasp
timer-db: /var/lib/knot/timer
zone:
- domain: example.com
file: example.com.zone
- domain: sub.example.com
file: sub.example.com.zone
log:
- target: syslog
any: info
'';
};
slave = { lib, ... }: {
imports = [ common ];
networking.interfaces.eth1 = {
ipv4.addresses = lib.mkForce [
{ address = "192.168.0.2"; prefixLength = 24; }
];
ipv6.addresses = lib.mkForce [
{ address = "fd00::2"; prefixLength = 64; }
];
};
services.knot.enable = true;
services.knot.extraArgs = [ "-v" ];
services.knot.extraConfig = ''
server:
listen: 0.0.0.0@53
listen: ::@53
acl:
- id: notify_from_master
address: 192.168.0.1
action: notify
remote:
- id: master
address: 192.168.0.1@53
template:
- id: default
master: master
acl: [notify_from_master]
# zonefileless setup
# https://www.knot-dns.cz/docs/2.8/html/operation.html#example-2
zonefile-sync: -1
zonefile-load: none
journal-content: all
# move databases below the state directory, because they need to be writable
journal-db: /var/lib/knot/journal
kasp-db: /var/lib/knot/kasp
timer-db: /var/lib/knot/timer
zone:
- domain: example.com
file: example.com.zone
- domain: sub.example.com
file: sub.example.com.zone
log:
- target: syslog
any: info
'';
};
client = { lib, nodes, ... }: {
imports = [ common ];
networking.interfaces.eth1 = {
ipv4.addresses = [
{ address = "192.168.0.3"; prefixLength = 24; }
];
ipv6.addresses = [
{ address = "fd00::3"; prefixLength = 64; }
];
};
environment.systemPackages = [ pkgs.knot-dns ];
};
};
testScript = { nodes, ... }: let
master4 = (lib.head nodes.master.config.networking.interfaces.eth1.ipv4.addresses).address;
master6 = (lib.head nodes.master.config.networking.interfaces.eth1.ipv6.addresses).address;
slave4 = (lib.head nodes.slave.config.networking.interfaces.eth1.ipv4.addresses).address;
slave6 = (lib.head nodes.slave.config.networking.interfaces.eth1.ipv6.addresses).address;
in ''
startAll;
$client->waitForUnit("network.target");
$master->waitForUnit("knot.service");
$slave->waitForUnit("knot.service");
sub assertResponse {
my ($knot, $query_type, $query, $expected) = @_;
my $out = $client->succeed("khost -t $query_type $query $knot");
$client->log("$knot replies with: $out");
chomp $out;
die "DNS query for $query ($query_type) against $knot gave '$out' instead of '$expected'"
if ($out !~ $expected);
}
foreach ("${master4}", "${master6}", "${slave4}", "${slave6}") {
subtest $_, sub {
assertResponse($_, "SOA", "example.com", qr/start of authority.*?noc\.example\.com/);
assertResponse($_, "A", "example.com", qr/has no [^ ]+ record/);
assertResponse($_, "AAAA", "example.com", qr/has no [^ ]+ record/);
assertResponse($_, "A", "www.example.com", qr/address 192.0.2.1$/);
assertResponse($_, "AAAA", "www.example.com", qr/address 2001:db8::1$/);
assertResponse($_, "NS", "sub.example.com", qr/nameserver is ns\d\.example\.com.$/);
assertResponse($_, "A", "sub.example.com", qr/address 192.0.2.2$/);
assertResponse($_, "AAAA", "sub.example.com", qr/address 2001:db8::2$/);
assertResponse($_, "RRSIG", "www.example.com", qr/RR set signature is/);
assertResponse($_, "DNSKEY", "example.com", qr/DNSSEC key is/);
};
}
'';
})

View File

@@ -28,20 +28,19 @@ let
users.ldap.daemon = {
enable = useDaemon;
rootpwmoddn = "cn=admin,${dbSuffix}";
rootpwmodpw = "/etc/nslcd.rootpwmodpw";
rootpwmodpwFile = "/etc/nslcd.rootpwmodpw";
};
# NOTE: password stored in clear in Nix's store, but this is a test.
environment.etc."nslcd.rootpwmodpw".source = pkgs.writeText "rootpwmodpw" dbAdminPwd;
users.ldap.loginPam = true;
users.ldap.nsswitch = true;
users.ldap.server = "ldap://server";
users.ldap.base = "ou=posix,${dbSuffix}";
users.ldap.bind = {
distinguishedName = "cn=admin,${dbSuffix}";
password = "/etc/ldap/bind.password";
passwordFile = "/etc/ldap/bind.password";
};
# NOTE: password stored in clear in Nix's store, but this is a test.
# NOTE: passwords stored in clear in Nix's store, but this is a test.
environment.etc."ldap/bind.password".source = pkgs.writeText "password" dbAdminPwd;
environment.etc."nslcd.rootpwmodpw".source = pkgs.writeText "rootpwmodpw" dbAdminPwd;
};
in

57
nixos/tests/overlayfs.nix Normal file
View File

@@ -0,0 +1,57 @@
import ./make-test.nix ({ pkgs, ... }: {
name = "overlayfs";
meta.maintainers = with pkgs.stdenv.lib.maintainers; [ bachp ];
machine = { pkgs, ... }: {
virtualisation.emptyDiskImages = [ 512 ];
networking.hostId = "deadbeef";
environment.systemPackages = with pkgs; [ parted ];
};
testScript = ''
$machine->succeed("ls /dev");
$machine->succeed("mkdir -p /tmp/mnt");
# Test ext4 + overlayfs
$machine->succeed(
"mkfs.ext4 -F -L overlay-ext4 /dev/vdb",
"mount -t ext4 /dev/vdb /tmp/mnt",
"mkdir -p /tmp/mnt/upper /tmp/mnt/lower /tmp/mnt/work /tmp/mnt/merged",
# Setup some existing files
"echo 'Replace' > /tmp/mnt/lower/replace.txt",
"echo 'Append' > /tmp/mnt/lower/append.txt",
"echo 'Overwrite' > /tmp/mnt/lower/overwrite.txt",
"mount -t overlay overlay -o lowerdir=/tmp/mnt/lower,upperdir=/tmp/mnt/upper,workdir=/tmp/mnt/work /tmp/mnt/merged",
# Test new
"echo 'New' > /tmp/mnt/merged/new.txt",
"[[ \"\$(cat /tmp/mnt/merged/new.txt)\" == \"New\" ]]",
# Test replace
"[[ \"\$(cat /tmp/mnt/merged/replace.txt)\" == \"Replace\" ]]",
"echo 'Replaced' > /tmp/mnt/merged/replace-tmp.txt",
"mv /tmp/mnt/merged/replace-tmp.txt /tmp/mnt/merged/replace.txt",
"[[ \"\$(cat /tmp/mnt/merged/replace.txt)\" == \"Replaced\" ]]",
# Overwrite
"[[ \"\$(cat /tmp/mnt/merged/overwrite.txt)\" == \"Overwrite\" ]]",
"echo 'Overwritten' > /tmp/mnt/merged/overwrite.txt",
"[[ \"\$(cat /tmp/mnt/merged/overwrite.txt)\" == \"Overwritten\" ]]",
# Test append
"[[ \"\$(cat /tmp/mnt/merged/append.txt)\" == \"Append\" ]]",
"echo 'ed' >> /tmp/mnt/merged/append.txt",
#"cat /tmp/mnt/merged/append.txt && exit 1",
"[[ \"\$(cat /tmp/mnt/merged/append.txt)\" == \"Append\ned\" ]]",
"umount /tmp/mnt/merged",
"umount /tmp/mnt",
"udevadm settle"
);
'';
})

View File

@@ -20,8 +20,7 @@ in pkgs.lib.listToAttrs (pkgs.lib.crossLists (predictable: withNetworkd: {
testScript = ''
print $machine->succeed("ip link");
$machine->succeed("ip link show ${if predictable then "ens3" else "eth0"}");
$machine->fail("ip link show ${if predictable then "eth0" else "ens3"}");
$machine->${if predictable then "fail" else "succeed"}("ip link show eth0 ");
'';
};
}) [[true false] [true false]])

View File

@@ -0,0 +1,168 @@
import ./make-test.nix {
name = "systemd-confinement";
machine = { pkgs, lib, ... }: let
testServer = pkgs.writeScript "testserver.sh" ''
#!${pkgs.stdenv.shell}
export PATH=${lib.escapeShellArg "${pkgs.coreutils}/bin"}
${lib.escapeShellArg pkgs.stdenv.shell} 2>&1
echo "exit-status:$?"
'';
testClient = pkgs.writeScriptBin "chroot-exec" ''
#!${pkgs.stdenv.shell} -e
output="$(echo "$@" | nc -NU "/run/test$(< /teststep).sock")"
ret="$(echo "$output" | sed -nre '$s/^exit-status:([0-9]+)$/\1/p')"
echo "$output" | head -n -1
exit "''${ret:-1}"
'';
mkTestStep = num: { description, config ? {}, testScript }: {
systemd.sockets."test${toString num}" = {
description = "Socket for Test Service ${toString num}";
wantedBy = [ "sockets.target" ];
socketConfig.ListenStream = "/run/test${toString num}.sock";
socketConfig.Accept = true;
};
systemd.services."test${toString num}@" = {
description = "Confined Test Service ${toString num}";
confinement = (config.confinement or {}) // { enable = true; };
serviceConfig = (config.serviceConfig or {}) // {
ExecStart = testServer;
StandardInput = "socket";
};
} // removeAttrs config [ "confinement" "serviceConfig" ];
__testSteps = lib.mkOrder num ''
subtest '${lib.escape ["\\" "'"] description}', sub {
$machine->succeed('echo ${toString num} > /teststep');
${testScript}
};
'';
};
in {
imports = lib.imap1 mkTestStep [
{ description = "chroot-only confinement";
config.confinement.mode = "chroot-only";
testScript = ''
$machine->succeed(
'test "$(chroot-exec ls -1 / | paste -sd,)" = bin,nix',
'test "$(chroot-exec id -u)" = 0',
'chroot-exec chown 65534 /bin',
);
'';
}
{ description = "full confinement with APIVFS";
testScript = ''
$machine->fail(
'chroot-exec ls -l /etc',
'chroot-exec ls -l /run',
'chroot-exec chown 65534 /bin',
);
$machine->succeed(
'test "$(chroot-exec id -u)" = 0',
'chroot-exec chown 0 /bin',
);
'';
}
{ description = "check existence of bind-mounted /etc";
config.serviceConfig.BindReadOnlyPaths = [ "/etc" ];
testScript = ''
$machine->succeed('test -n "$(chroot-exec cat /etc/passwd)"');
'';
}
{ description = "check if User/Group really runs as non-root";
config.serviceConfig.User = "chroot-testuser";
config.serviceConfig.Group = "chroot-testgroup";
testScript = ''
$machine->succeed('chroot-exec ls -l /dev');
$machine->succeed('test "$(chroot-exec id -u)" != 0');
$machine->fail('chroot-exec touch /bin/test');
'';
}
(let
symlink = pkgs.runCommand "symlink" {
target = pkgs.writeText "symlink-target" "got me\n";
} "ln -s \"$target\" \"$out\"";
in {
description = "check if symlinks are properly bind-mounted";
config.confinement.packages = lib.singleton symlink;
testScript = ''
$machine->fail('chroot-exec test -e /etc');
$machine->succeed('chroot-exec cat ${symlink} >&2');
$machine->succeed('test "$(chroot-exec cat ${symlink})" = "got me"');
'';
})
{ description = "check if StateDirectory works";
config.serviceConfig.User = "chroot-testuser";
config.serviceConfig.Group = "chroot-testgroup";
config.serviceConfig.StateDirectory = "testme";
testScript = ''
$machine->succeed('chroot-exec touch /tmp/canary');
$machine->succeed('chroot-exec "echo works > /var/lib/testme/foo"');
$machine->succeed('test "$(< /var/lib/testme/foo)" = works');
$machine->succeed('test ! -e /tmp/canary');
'';
}
{ description = "check if /bin/sh works";
testScript = ''
$machine->succeed(
'chroot-exec test -e /bin/sh',
'test "$(chroot-exec \'/bin/sh -c "echo bar"\')" = bar',
);
'';
}
{ description = "check if suppressing /bin/sh works";
config.confinement.binSh = null;
testScript = ''
$machine->succeed(
'chroot-exec test ! -e /bin/sh',
'test "$(chroot-exec \'/bin/sh -c "echo foo"\')" != foo',
);
'';
}
{ description = "check if we can set /bin/sh to something different";
config.confinement.binSh = "${pkgs.hello}/bin/hello";
testScript = ''
$machine->succeed(
'chroot-exec test -e /bin/sh',
'test "$(chroot-exec /bin/sh -g foo)" = foo',
);
'';
}
{ description = "check if only Exec* dependencies are included";
config.environment.FOOBAR = pkgs.writeText "foobar" "eek\n";
testScript = ''
$machine->succeed('test "$(chroot-exec \'cat "$FOOBAR"\')" != eek');
'';
}
{ description = "check if all unit dependencies are included";
config.environment.FOOBAR = pkgs.writeText "foobar" "eek\n";
config.confinement.fullUnit = true;
testScript = ''
$machine->succeed('test "$(chroot-exec \'cat "$FOOBAR"\')" = eek');
'';
}
];
options.__testSteps = lib.mkOption {
type = lib.types.lines;
description = "All of the test steps combined as a single script.";
};
config.environment.systemPackages = lib.singleton testClient;
config.users.groups.chroot-testgroup = {};
config.users.users.chroot-testuser = {
description = "Chroot Test User";
group = "chroot-testgroup";
};
};
testScript = { nodes, ... }: ''
$machine->waitForUnit('multi-user.target');
${nodes.machine.config.__testSteps}
'';
}

View File

@@ -0,0 +1,97 @@
let
wg-snakeoil-keys = import ./snakeoil-keys.nix;
in
import ../make-test.nix ({ pkgs, ...} : {
name = "wireguard";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ ma27 ];
};
nodes = {
peer0 = { lib, ... }: {
boot.kernel.sysctl = {
"net.ipv6.conf.all.forwarding" = "1";
"net.ipv6.conf.default.forwarding" = "1";
"net.ipv4.ip_forward" = "1";
};
networking.useDHCP = false;
networking.interfaces.eth1 = {
ipv4.addresses = lib.singleton {
address = "192.168.0.1";
prefixLength = 24;
};
ipv6.addresses = lib.singleton {
address = "fd00::1";
prefixLength = 64;
};
};
networking.firewall.allowedUDPPorts = [ 23542 ];
networking.wireguard.interfaces.wg0 = {
ips = [ "10.23.42.1/32" "fc00::1/128" ];
listenPort = 23542;
inherit (wg-snakeoil-keys.peer0) privateKey;
peers = lib.singleton {
allowedIPs = [ "10.23.42.2/32" "fc00::2/128" ];
inherit (wg-snakeoil-keys.peer1) publicKey;
};
};
};
peer1 = { pkgs, lib, ... }: {
boot.kernel.sysctl = {
"net.ipv6.conf.all.forwarding" = "1";
"net.ipv6.conf.default.forwarding" = "1";
"net.ipv4.ip_forward" = "1";
};
networking.useDHCP = false;
networking.interfaces.eth1 = {
ipv4.addresses = lib.singleton {
address = "192.168.0.2";
prefixLength = 24;
};
ipv6.addresses = lib.singleton {
address = "fd00::2";
prefixLength = 64;
};
};
networking.wireguard.interfaces.wg0 = {
ips = [ "10.23.42.2/32" "fc00::2/128" ];
listenPort = 23542;
allowedIPsAsRoutes = false;
inherit (wg-snakeoil-keys.peer1) privateKey;
peers = lib.singleton {
allowedIPs = [ "0.0.0.0/0" "::/0" ];
endpoint = "192.168.0.1:23542";
persistentKeepalive = 25;
inherit (wg-snakeoil-keys.peer0) publicKey;
};
postSetup = let inherit (pkgs) iproute; in ''
${iproute}/bin/ip route replace 10.23.42.1/32 dev wg0
${iproute}/bin/ip route replace fc00::1/128 dev wg0
'';
};
};
};
testScript = ''
startAll;
$peer0->waitForUnit("wireguard-wg0.service");
$peer1->waitForUnit("wireguard-wg0.service");
$peer1->succeed("ping -c5 fc00::1");
$peer1->succeed("ping -c5 10.23.42.1")
'';
})

View File

@@ -0,0 +1,11 @@
{
peer0 = {
privateKey = "OPuVRS2T0/AtHDp3PXkNuLQYDiqJaBEEnYe42BSnJnQ=";
publicKey = "IujkG119YPr2cVQzJkSLYCdjpHIDjvr/qH1w1tdKswY=";
};
peer1 = {
privateKey = "uO8JVo/sanx2DOM0L9GUEtzKZ82RGkRnYgpaYc7iXmg=";
publicKey = "Ks9yRJIi/0vYgRmn14mIOQRwkcUGBujYINbMpik2SBI=";
};
}

View File

@@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "1v1qwv4x5agjba82s1vknmdgq67y26wzdwbmwwqavv7f7y3y860h";
};
enableParallelBuilding = false;
qmakeFlags = ["USE_UPNP=-"];
# I think that openssl and zlib are required, but come through other

View File

@@ -2,8 +2,8 @@
, makeWrapper, makeDesktopItem
, qtbase, qmake, qtmultimedia, qttools
, qtgraphicaleffects, qtdeclarative
, qtlocation, qtquickcontrols2, qtwebchannel
, qtwebengine, qtx11extras, qtxmlpatterns
, qtlocation, qtquickcontrols, qtquickcontrols2
, qtwebchannel, qtwebengine, qtx11extras, qtxmlpatterns
, monero, unbound, readline, boost, libunwind
, libsodium, pcsclite, zeromq, cppzmq, pkgconfig
, hidapi
@@ -11,22 +11,35 @@
with stdenv.lib;
let
qmlPath = qmlLib: "${qmlLib}/${qtbase.qtQmlPrefix}";
qml2ImportPath = concatMapStringsSep ":" qmlPath [
qtbase.bin qtmultimedia.bin qtgraphicaleffects
qtdeclarative.bin qtlocation.bin
qtquickcontrols qtquickcontrols2.bin
qtwebchannel.bin qtwebengine.bin qtxmlpatterns
];
in
stdenv.mkDerivation rec {
name = "monero-gui-${version}";
version = "0.13.0.4";
version = "0.14.0.0";
src = fetchFromGitHub {
owner = "monero-project";
repo = "monero-gui";
rev = "v${version}";
sha256 = "142yj5s15bhm300dislq3x5inw1f37shnrd5vyj78jjcvry3wymw";
sha256 = "1l4kx2vidr7bpds43jdbwyaz0q1dy7sricpz061ff1fkappbxdh8";
};
nativeBuildInputs = [ qmake pkgconfig ];
buildInputs = [
qtbase qtmultimedia qtgraphicaleffects
qtdeclarative qtlocation qtquickcontrols2
qtdeclarative qtlocation
qtquickcontrols qtquickcontrols2
qtwebchannel qtwebengine qtx11extras
qtxmlpatterns monero unbound readline
boost libunwind libsodium pcsclite zeromq
@@ -81,6 +94,11 @@ stdenv.mkDerivation rec {
cp $src/images/appicons/$size.png \
$out/share/icons/hicolor/$size/apps/monero.png
done;
# wrap runtime dependencies
wrapProgram $out/bin/monero-wallet-gui \
--set QML2_IMPORT_PATH "${qml2ImportPath}" \
--set QT_PLUGIN_PATH "${qtbase.bin}/${qtbase.qtPluginPrefix}"
'';
meta = {

View File

@@ -13,15 +13,17 @@ index 79223c0..e80b317 100644
parser.addHelpOption();
parser.process(app);
diff --git a/Logger.cpp b/Logger.cpp
index 660bafc..dae24d4 100644
index 6b1daba..c357762 100644
--- a/Logger.cpp
+++ b/Logger.cpp
@@ -15,7 +15,7 @@ static const QString default_name = "monero-wallet-gui.log";
#elif defined(Q_OS_MAC)
static const QString osPath = QStandardPaths::standardLocations(QStandardPaths::HomeLocation).at(0) + "/Library/Logs";
@@ -28,8 +28,8 @@ static const QString defaultLogName = "monero-wallet-gui.log";
static const QString appFolder = "Library/Logs";
#else // linux + bsd
//HomeLocation = "~"
- static const QString osPath = QStandardPaths::standardLocations(QStandardPaths::HomeLocation).at(0);
- static const QString appFolder = ".bitmonero";
+ static const QString osPath = QStandardPaths::standardLocations(QStandardPaths::CacheLocation).at(0);
+ static const QString appFolder = "bitmonero";
#endif

View File

@@ -11,12 +11,12 @@ with stdenv.lib;
stdenv.mkDerivation rec {
name = "monero-${version}";
version = "0.13.0.4";
version = "0.14.0.2";
src = fetchgit {
url = "https://github.com/monero-project/monero.git";
rev = "v${version}";
sha256 = "1ambgakapijhsi1pd70vw8vvnlwa3nid944lqkbfq3wl25lmc70d";
sha256 = "1471iy6c8dfdqcmcwcp0m7fp9xl74dcm5hqlfdfi217abhawfs8k";
};
nativeBuildInputs = [ cmake pkgconfig git ];

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