Compare commits

...

1823 Commits

Author SHA1 Message Date
Mario Rodas
925ff360bc ruby_2_5: 2.5.7 -> 2.5.8
Changelog: https://www.ruby-lang.org/en/news/2020/03/31/ruby-2-5-8-released/
(cherry picked from commit 99b09d6b8f)
2020-04-01 13:16:45 +00:00
zowoq
e99df8643c ffmpeg_2_8: 2.8.14 -> 2.8.15
(cherry picked from commit c13f1a508d)
2020-01-04 12:38:06 +00:00
Mario Rodas
f0b18a3f96 ruby_2_5: 2.5.3 -> 2.5.7
Changelog: https://www.ruby-lang.org/en/news/2019/10/01/ruby-2-5-7-released/
(cherry picked from commit 5e76e7b430)
2019-10-02 11:11:44 +00:00
Mario Rodas
acb68715b9 ruby_2_4: 2.4.5 -> 2.4.9
Changelog:
- https://www.ruby-lang.org/en/news/2019/10/01/ruby-2-4-8-released/
- https://www.ruby-lang.org/en/news/2019/10/02/ruby-2-4-9-released/

(cherry picked from commit 5ed9d8b8aa)
2019-10-02 11:09:33 +00:00
Dima
f2ffac1ee4 linux-libre: fixing build / deblobbing (#68844)
Build was failing because we were depending on tagged versions of
the deblobbing scripts. The tags are not updated and thus newer
changes required won't be reflected unless the tag is re-created, which
might not be reliably the case.

So bumping revision and switching to use the branches to access the
deblob scripts.

For context, in our case the missing change is:

--- /nix/store/sfc0rrhj5l44zpqgpsymq5750k5wzg8p-tags-r16790/4.19-gnu/deblob-4.19	1970-01-01 01:00:01.000000000 +0100
+++ ../deblob-4.19	2019-09-14 14:53:44.637404289 +0200
@@ -1879,7 +1879,11 @@

 announce BRCMFMAC - "Broadcom IEEE802.11n embedded FullMAC WLAN driver"
 reject_firmware drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c
-reject_firmware drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
+if grep -q firmware_request_nowarn drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c; then
+  reject_firmware_nowarn drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
+else
+  reject_firmware drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
+fi
 clean_blob drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c
 clean_blob drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.h

(cherry picked from commit 2a8f7d71ce)
2019-09-15 20:13:24 +00:00
Tobias Happ
2aead2422f environment.profiles: fix order of profiles
This change is needed because the order of profiles correlate to the
order in PATH, therefore "/etc/profiles/per-user/$USER" always appeared
after the system packages directories.

(cherry picked from commit 33c834f2fb)
2019-08-14 12:59:52 -04:00
Tor Hedin Brønner
e823132dd4 flatpak: clear GDK_PIXBUF_MODULE_FILE
GDK_PIXBUF_MODULE_FILE is often set to a nix store path not available in a app
sandbox. This can cause some apps to fail launching, simply reset this env var
when running applications.

fixes https://github.com/NixOS/nixpkgs/issues/53441

(cherry picked from commit 752e176d67)
(cherry picked from commit be89fd6a03)
2019-08-14 12:59:30 -04:00
Vitalii Zinchenko
68b3bff32d libelf: fix download url (#65576)
(cherry picked from commit 179ab19856)
2019-07-29 20:46:01 -04:00
Dmitry Kalinkin
9f9806d63d arrow-cpp: add fixDarwinDylibNames
(cherry picked from commit e884852ac4)

cc #64144
2019-07-02 13:02:25 -04:00
Vladimír Čunát
3d4459e31b Merge #62861: exim: patch CVE-2019-10149 (into release-18.09) 2019-06-17 14:51:25 +02:00
Dmitry Kalinkin
cb1d0c44e9 rivet: fix rivet-mkhtml runtime
(cherry picked from commit 73b5a2531c)
2019-06-10 18:03:16 -04:00
Vladimír Čunát
7ba52aed86 Merge #62059: cups: patch CVE-2018-4700 (into release-18.09) 2019-06-09 13:52:32 +02:00
Robert Scott
bce378d215 exim: add patch for CVE-2019-10149 2019-06-08 15:00:42 +01:00
Domen Kožar
d37ee9933a backport lib.strings.hasInfix 2019-06-07 14:19:48 +02:00
Vladimír Čunát
0fe4d437a1 vim_configurable: also apply the security patch
(cherry picked from commit e95bbcf5f8)
2019-06-06 10:48:26 +02:00
Andreas Rammhold
9e5afbee96 Merge #62713: vim/neovim: Backports fix for ACE
(cherry picked from commit 0d62805dbf)
The patch is fairly simple and the vulnerability seems important.
2019-06-06 10:47:28 +02:00
Franz Pletz
14ab6e4d4a Merge pull request #62292 from etu/php-upgrades-1809
[18.09] php: 7.1.29 -> 7.1.30, 7.2.18 -> 7.2.19
2019-06-01 13:43:47 +00:00
Elis Hirwing
cf9da14db5 php72: 7.2.18 -> 7.2.19
Changelog: https://php.net/index.php#id2019-05-30-2
(cherry picked from commit 639e146de1)
2019-05-31 10:37:14 +02:00
Elis Hirwing
61c1d2da30 php71: 7.1.29 -> 7.1.30
Changelog: https://php.net/index.php#id2019-05-30-3
(cherry picked from commit 1d92bec205)
2019-05-31 10:37:00 +02:00
aszlig
d2c887061c python/hetzner: 0.8.1 -> 0.8.2
Only includes a small fix for the login into the Robot Web interface,
which is used to eg. provide access to admin accounts (which in turn is
used by the NixOps Hetzner backend).

Signed-off-by: aszlig <aszlig@nix.build>
(cherry picked from commit 56009d4a8d)
2019-05-27 19:22:20 +02:00
Robert Scott
3ebabc95f1 cups: add patch for CVE-2018-4700 2019-05-25 12:34:06 +01:00
Tim Steinbach
66af519580 linux: 4.9.176 -> 4.9.177
(cherry picked from commit e289798ec8)
2019-05-19 16:04:46 +02:00
Tim Steinbach
f3cd79372b linux: 4.4.179 -> 4.4.180
(cherry picked from commit b5c73e967c)
2019-05-19 16:04:08 +02:00
Tim Steinbach
bb599d51f9 linux: 4.19.42 -> 4.19.44
(cherry picked from commit e9ec2f1f29)
2019-05-19 16:04:04 +02:00
Tim Steinbach
9d9d6de95d linux: 4.14.118 -> 4.14.120
(cherry picked from commit 08aae882b6)
2019-05-19 16:01:46 +02:00
samsonan-it
a7e559a550 Merge #60201: neo.map: fix URL
Current URL is no longer available.

(cherry picked from commit 6e100ae88f)
2019-05-19 10:21:32 +02:00
Renaud
87f146a41c Merge pull request #61637 from c0bw3b/sec/1809/mds
[18.09] spectre-meltdown-checker: 0.39 -> 0.41
2019-05-17 19:42:13 +02:00
Will Dietz
faf303913b spectre-meltdown-checker: 0.40 -> 0.41
https://github.com/speed47/spectre-meltdown-checker/releases/tag/v0.41
(cherry picked from commit f5b400b875)
2019-05-17 18:44:30 +02:00
R. RyanTM
3c0234e88e spectre-meltdown-checker: 0.39 -> 0.40
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/spectre-meltdown-checker/versions

(cherry picked from commit 4ca9524e98)
2019-05-17 18:44:24 +02:00
Renaud
2296f0fc95 Merge pull request #61551 from risicle/ris-leptonica-fix-18.09-backport
[r18.09] leptonica: patch multiple CVEs
2019-05-16 11:31:22 +02:00
Robert Scott
c8cd51d108 leptonica: patch multiple CVEs
this should fix CVE-2018-3836, CVE-2018-7186, CVE-2018-7247 & CVE-2018-7440

a fix for CVE-2018-7441 & CVE-2018-7442 is *not* included as its patches
are very wide-ranging

also enable tests to give confidence that I'm not completely butchering
the code

(cherry-picked from commit 0861ad591a)
2019-05-15 20:25:16 +01:00
Tim Steinbach
1e9e709953 linux: 4.9.174 -> 4.9.175 2019-05-11 09:23:53 -04:00
Tim Steinbach
ecbd1a1b4c linux: 4.19.41 -> 4.19.42 2019-05-11 09:23:52 -04:00
Tim Steinbach
356f4f64b2 linux: 4.14.117 -> 4.14.118 2019-05-11 09:23:50 -04:00
Renaud
6cd0603d75 Merge pull request #55442 from jacereda/fix-nvenc-licensing
ffmpeg-full: nvenc doesn't imply nonfree licensing
2019-05-10 13:54:17 +02:00
Jorge Acereda
65c52e11ab nv-codec-headers: fix license 2019-05-10 13:05:26 +02:00
Jorge Acereda
b869a42ddb nvenc: remove obsolete nvidia-video-sdk 2019-05-09 19:44:34 +02:00
Tim Steinbach
7413c884f0 linux: 4.9.173 -> 4.9.174 2019-05-08 10:15:18 -04:00
Tim Steinbach
ea757522ff linux: 4.19.40 -> 4.19.41 2019-05-08 10:15:16 -04:00
Tim Steinbach
187ab0f961 linux: 4.14.116 -> 4.14.117 2019-05-08 10:15:15 -04:00
Tim Steinbach
c2a6501db0 linux: 4.19.39 -> 4.19.40 2019-05-05 11:29:14 -04:00
Elis Hirwing
8b166e5007 Merge pull request #60882 from etu/1809-php-upgrades
[18.09] php: 7.1.27 -> 7.1.29, 7.2.16 -> 7.2.18
2019-05-05 11:43:47 +02:00
Tim Steinbach
9e149f7607 linux: 4.9.172 -> 4.9.173
(cherry picked from commit 5ee553b280)
2019-05-04 10:42:29 -04:00
Tim Steinbach
d267ae82e1 linux: 4.19.38 -> 4.19.39
(cherry picked from commit 7d0a77cd36)
2019-05-04 10:42:27 -04:00
Tim Steinbach
7b77a9ad60 linux: 4.14.115 -> 4.14.116
(cherry picked from commit a03324e9ba)
2019-05-04 10:42:26 -04:00
Vladimír Čunát
a483713a0e pinentry: update patch url
I verified the hash did NOT change as suggested in #60699.

(cherry picked from commit 0b9c477719)
2019-05-04 00:24:56 +02:00
Elis Hirwing
c57d980fd3 php72: 7.2.17 -> 7.2.18
Changelog: https://www.php.net/ChangeLog-7.php#7.2.18
(cherry picked from commit 6f3625a1c6)
2019-05-03 19:45:12 +02:00
Will Dietz
57d39230d5 php72: 7.2.16 -> 7.2.17
security release, see announcement:
https://www.php.net/archive/2019.php#id2019-04-04-2

(cherry picked from commit 76394e36ec)
2019-05-03 19:45:06 +02:00
Elis Hirwing
33dddace72 php71: 7.1.28 -> 7.1.29
Changelog: https://www.php.net/ChangeLog-7.php#7.1.29
(cherry picked from commit 2a0125c0ce)
2019-05-03 19:44:36 +02:00
Will Dietz
1f90d6aeeb php71: 7.1.27 -> 7.1.28
security release:
https://www.php.net/archive/2019.php#id2019-04-04-3

(cherry picked from commit b8446dcc57)
2019-05-03 19:44:32 +02:00
Dmitry Kalinkin
f2132308c4 texlive: provide bin.texlive on Darwin too
texlive attribute was accidentally added in attrset wrapped with

  stdenv.lib.optionalAttrs (!stdenv.isDarwin)

Fixes: dbc2c1c4b8 ('texlive: add missing perl dependencies for latexindent')
(cherry picked from commit b6d0bdf513)
2019-05-03 10:35:48 -04:00
Dmitry Kalinkin
fc98b4e129 texlive: add missing perl dependencies for latexindent
(cherry picked from commit dbc2c1c4b8)

cc #59537
2019-05-03 08:06:27 -04:00
Tim Steinbach
8114a09a4a linux: 4.14.114 -> 4.14.115
(cherry picked from commit 5d03bfd653)
2019-05-02 13:58:50 -04:00
Tim Steinbach
44c66417f4 linux: 4.19.37 -> 4.19.38
(cherry picked from commit e0bf73dbde)
2019-05-02 13:58:49 -04:00
Tim Steinbach
0d84ab811e linux: 4.9.171 -> 4.9.172
(cherry picked from commit 9d7638371f)
2019-05-02 13:58:48 -04:00
Renaud
41245517a9 Merge pull request #60673 from c0bw3b/backport/1809/thinprovtools
[18.09] thin-provisioning-tools: fix patch url
2019-05-02 00:18:20 +02:00
Mario Rodas
19b90303a0 thin-provisioning-tools: fix patch url
Void Linux changed its github organization from "voidlinux" to "void-linux"
See: https://voidlinux.org/news/2018/06/GitHub-Organisation-is-moving.html

(cherry picked from commit 898f34a059)
2019-05-01 23:18:34 +02:00
Samuel Dionne-Riel
ca6a1a1caf Merge pull request #60342 from andir/18.09/bind
[18.09] bind: 9.12.3-P4 -> 9.12.4-P1
2019-04-27 17:31:13 -04:00
Andreas Rammhold
6a8325bcb0 bind: apply atomics to refcount patch
Upstream added a commit [1] right after the release that fixes the
aarch64 atomic operation linker issue we have been seeing [2].

[1] d72f436b7d
[2] https://github.com/NixOS/nixpkgs/issues/60301#issue-437896459

(cherry picked from commit 37dd347cd3)
2019-04-27 21:12:40 +02:00
Will Dietz
872e1ced45 bind: 9.12.3-P4 -> 9.12.4-P1
https://www.openwall.com/lists/oss-security/2019/04/25/1

CVE-2018-5743, CVE-2019-6467, and CVE-2019-6468

(cherry picked from commit f0f081d3b4)
2019-04-27 21:11:50 +02:00
Tim Steinbach
28c541dc9a linux: Remove i2c-oops patch
(cherry picked from commit c08aa32c90)
2019-04-27 08:27:37 -04:00
Tim Steinbach
d328bd14b8 linux: 4.9.170 -> 4.9.171
(cherry picked from commit 8d98033d99)
2019-04-27 08:27:28 -04:00
Tim Steinbach
d002a2baa5 linux: 4.4.178 -> 4.4.179
(cherry picked from commit 3d829058a1)
2019-04-27 08:27:27 -04:00
Tim Steinbach
d352b2d42e linux: 4.19.36 -> 4.19.37
(cherry picked from commit d43faab5ef)
2019-04-27 08:27:26 -04:00
Tim Steinbach
70d8e4aa35 linux: 4.14.113 -> 4.14.114
(cherry picked from commit ae7baea76f)
2019-04-27 08:27:05 -04:00
Ambroz Bizjak
196979ee53 Fix kernel oops on boot due to bug in i2c driver.
https://github.com/NixOS/nixpkgs/issues/60126
https://lkml.org/lkml/2019/4/24/1123

The patch should be removed in the next round of stable releases because the fix should be included.

(cherry picked from commit 1e8a080589)
(cherry picked from commit a9c40eef1f)
2019-04-25 20:25:14 -04:00
Florian Klink
571b40d3f5 Merge pull request #60074 from flokli/18.09/gitlab-11.9.8
[18.09] gitlab: 11.9.1 -> 11.9.8
2019-04-23 11:24:45 +02:00
Florian Klink
c6d78acb79 gitlab-ce: 11.9.1 -> 11.9.8
(cherry picked from commit 04b5eb10c0)
2019-04-23 09:47:47 +02:00
Florian Klink
aaa5ecf5a3 gitlab-ee: 11.9.1 -> 11.9.8
(cherry picked from commit 33423e52c6)
2019-04-23 09:47:47 +02:00
Florian Klink
ee048f20b4 gitlab-workhorse: 8.3.1 -> 8.3.3
(cherry picked from commit 74eb807f83)
2019-04-23 09:47:47 +02:00
Silvan Mosberger
accbbc51a7 Merge pull request #59839 from dotlambda/dovecot-CVE-2019-10691
[18.09] dovecot: fix CVE-2019-10691
2019-04-22 22:45:07 +02:00
Tim Steinbach
ce0ec21d6c linux: 4.9.169 -> 4.9.170
(cherry picked from commit 24867c60e4)
2019-04-20 08:41:44 -04:00
Tim Steinbach
f2f5341f32 linux: 4.19.35 -> 4.19.36
(cherry picked from commit d5bbae8308)
2019-04-20 08:41:43 -04:00
Tim Steinbach
f9ba96d59a linux: 4.14.112 -> 4.14.113
(cherry picked from commit ab17efc087)
2019-04-20 08:41:42 -04:00
Robert Schütz
af0efb3d80 dovecot: fix CVE-2019-10691
https://dovecot.org/pipermail/dovecot-news/2019-April/000406.html
2019-04-18 16:51:18 +02:00
Tim Steinbach
373c8c385e openjdk: 8u202 -> 8u212
(cherry picked from commit 0540650f22)
2019-04-17 10:08:21 -04:00
Tim Steinbach
f2f5bd31ae linux: 4.9.168 -> 4.9.169
(cherry picked from commit 41336064ab)
2019-04-17 10:07:31 -04:00
Tim Steinbach
88f001bc41 linux: 4.19.34 -> 4.19.35
(cherry picked from commit f9c38693da)
2019-04-17 10:07:30 -04:00
Tim Steinbach
ce2e6dc265 linux: 4.14.111 -> 4.14.112
(cherry picked from commit dd3964e885)
2019-04-17 10:07:29 -04:00
strager
2aa505b77c boost: fix 1.55 build on macOS (#59508)
darwin-no-system-python.patch does not apply cleany on Boost 1.55's
sources. Fix this patch file for Boost 1.55, making it build
successfully on macOS.

(cherry picked from commit 153e7fca32)
2019-04-16 03:17:31 -04:00
Andreas Rammhold
05ef70a46f Merge pull request #59394 from andir/18.09/firefox
[18.09] firefox: 66.0.2 -> 66.0.3, firefox-bin: 66.0.2 -> 66.0.3
2019-04-13 16:30:47 +02:00
Florian Klink
47bc2faaf3 Merge pull request #59392 from flokli/18.09/gitea-1.7.6
[18.09] gitea 1.7.6
2019-04-13 13:22:41 +02:00
Florian Klink
c06c93b3ef gitea: 1.7.5 -> 1.7.6
From [release notes](https://github.com/go-gitea/gitea/releases/tag/v1.7.6):

SECURITY: Prevent remote code execution vulnerability with mirror repo URL settings
(cherry picked from commit 7578ec44dc)
2019-04-13 13:12:18 +02:00
Elis Hirwing
b43d1d87f1 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-04-13 13:12:00 +02:00
Milan Pässler
20590e25aa gitea: 1.7.1 -> 1.7.3
(cherry picked from commit 1246a736b1)
2019-04-13 13:03:09 +02:00
Pierre Bourdon
4224ef9166 nixos/tests/gitea: fix eval warnings
trace: warning: config.services.gitea.database.password will be stored as plaintext
        in the Nix store. Use database.passwordFile instead.

(Arguably, this shouldn't be a warning at all. But making it happy is
easier than having a debate on the value of this warning.)

(cherry picked from commit c0829a0859)
2019-04-13 13:03:09 +02:00
Elis Hirwing
1e1dab03e5 gitea: 1.7.0 -> 1.7.1
Changelog: https://github.com/go-gitea/gitea/releases/tag/v1.7.1
(cherry picked from commit ae0c47b4b7)
2019-04-13 13:03:09 +02:00
Victor SENE
768756a5d0 gitea: 1.6.4 -> 1.7.0
(cherry picked from commit f5d69f88b7)
2019-04-13 13:03:09 +02:00
taku0
ee2bc58105 firefox-bin: 66.0.2 -> 66.0.3
(cherry picked from commit 7b49c78dad)
2019-04-13 12:28:36 +02:00
taku0
81e3286063 firefox: 66.0.2 -> 66.0.3
(cherry picked from commit 3412a2cfcc)
2019-04-13 12:28:34 +02:00
Andreas Rammhold
28c14967a6 Merge pull request #58352 from andir/18.09/thunderbird
[18.09] thunderbird: 60.5.1 -> 60.6.0
2019-04-12 16:05:22 +02:00
Vladyslav M
46d3867a08 Merge pull request #59282 from booxter/flash
[18.09] flashplayer: 32.0.0.142 -> 32.0.0.171
2019-04-11 01:41:16 +03:00
taku0
2e20179a47 flashplayer: 32.0.0.156 -> 32.0.0.171
(cherry picked from commit 3eb4e958b4)
2019-04-10 14:46:00 -07:00
taku0
5dabd04d4c flashplayer: 32.0.0.142 -> 32.0.0.156 (#57571)
(cherry picked from commit e933c7875b)
2019-04-10 14:45:56 -07:00
Sarah Brofeldt
ed436a6923 Merge pull request #59062 from aanderse/redmine-18.09-backport
redmine: 3.4.9 -> 3.4.10 (18.09 backport)
2019-04-10 17:45:31 +02:00
Tor Hedin Brønner
9484ea47d0 Merge pull request #59229 from hedning/flatpak-fixes
flatpak: 1.0.5 -> 1.0.8
2019-04-10 12:55:19 +02:00
xeji
22a606e20d Merge pull request #59224 from vdemeester/18.09-update-containerd
[18.09] containerd: 1.1.2 -> 1.1.7
2019-04-09 22:25:45 +02:00
Vincent Demeester
816ee7e6df containerd: 1.1.2 -> 1.1.7
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2019-04-09 21:20:49 +02:00
Tor Hedin Brønner
65606e1565 flatpak: 1.0.5 -> 1.0.8
security fixes
2019-04-09 20:43:21 +02:00
Will Dietz
a5ed21434d 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
Co-authored-by: Linus Heckemann <git@sphalerite.org>
2019-04-08 08:37:18 +02:00
Dmitry Kalinkin
feaf8ac463 qt511.qtwebengine: fix eval 2019-04-07 23:04:42 -04:00
Dmitry Kalinkin
f2082ef1da qt5.qtwebengine: fail properly
QtWebEngine's build system is setup to perform certain platform checks
(see mkspecs/features/platform.prf). But a failed check will not cause
configuration phase to fail, but instead it configures no build targets.
So in such case the build will successfully perform build and install
phases. An empty output directories will are produced and the build
succeeds.

This patches qtwebengine qmake files to properly fail during
configuration phase.

This doesn't touch qt56 as it doesn't have this mechanism.

(cherry picked from commit 3e3e3918f2)
2019-04-07 23:03:32 -04:00
Dmitry Kalinkin
1b61f959be 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-04-07 22:55:19 -04:00
Dmitry Kalinkin
f72758d968 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-04-07 22:54:16 -04:00
Dmitry Kalinkin
17ef55fa36 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.

(cherry picked from commit 1809832958)
2019-04-07 21:31:16 -04:00
Dmitry Kalinkin
490a7c42b9 qt5.qtwebengine: refactor to use lib.versionOlder
(cherry picked from commit 56dcf6e1f6)
2019-04-07 21:25:23 -04:00
Dmitry Kalinkin
8afd782257 qt5.qtwebengine: don't propagate cups dependency
(cherry picked from commit ecbb9d3639)
2019-04-07 21:23:29 -04:00
Dmitry Kalinkin
1de00e3eec qt511.qtwebengine: fix build on darwin
Co-Authored-By: Josef Kemetmüller <josef.kemetmueller@gmail.com>
(cherry picked from commit 45ab55e6e2)
2019-04-07 21:23:14 -04:00
Dmitry Kalinkin
890e1b1d09 xcbuild: provide migcom in toolchain
This is needed to facilitate build of qt5.qtwebengine on darwin

(cherry picked from commit 7a6d18cac5)
2019-04-07 21:21:29 -04:00
Vladimír Čunát
cd1b649e11 Merge #57952: qemu: apply CVE-2019-3812 patch (release-18.09)
master: a6dd84a
2019-04-07 11:24:13 +02:00
Vladimír Čunát
98b7db5160 Merge #57959: subversion security updates (into release-18.09)
CVE-2018-11803
2019-04-07 10:47:55 +02:00
Wael Nasreddine
a58fe6ef86 Merge #57711: go: 1.11.5 -> 1.11.6
(cherry picked from commit c465292832)
Fixes #58264 CVE-2019-9741
2019-04-07 10:16:45 +02:00
Vladimír Čunát
8afd997b0c Merge #59036: wget: 1.20.1 -> 1.20.3 (SECURITY)
(cherry picked from commit ca494bf6c3)
2019-04-07 10:00:35 +02:00
Will Dietz
f9576d0cce youtube-dl: 2019.04.01 -> 2019.04.07
(cherry picked from commit 0f620ef43a)
2019-04-07 02:32:02 -04:00
Tim Steinbach
680b155975 linux: 4.9.167 -> 4.9.168
(cherry picked from commit 21373e9c6f)
2019-04-06 12:59:28 -04:00
Tim Steinbach
bff31dd80d linux: 4.19.33 -> 4.19.34
(cherry picked from commit c45589b0bb)
2019-04-06 12:59:27 -04:00
Tim Steinbach
46b460ef2a linux: 4.14.110 -> 4.14.111
(cherry picked from commit b60ce2e638)
2019-04-06 12:59:26 -04:00
Aaron Andersen
5ce1b11105 redmine: 3.4.9 -> 3.4.10
(cherry picked from commit b6b3287897)
2019-04-06 09:08:20 -04:00
Robert Schütz
222950952f postfix: 3.3.3 -> 3.3.4 (#58680)
http://www.postfix.org/announcements/postfix-3.4.5.html
2019-04-05 10:07:50 +02:00
Silvan Mosberger
58efb6980f Merge pull request #58967 from aanderse/apacheHttpd-2.4.39
apacheHttpd: 2.4.35 -> 2.4.39
2019-04-04 17:42:57 +02:00
R. RyanTM
f2b553e810 apacheHttpd: 2.4.35 -> 2.4.39
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/apache-httpd/versions

(cherry picked from commit c3d1012f02)
2019-04-04 11:12:41 -04:00
Tim Steinbach
6ae427dee0 linux: 4.19.32 -> 4.19.33
(cherry picked from commit 4a91a6e05f)
2019-04-03 19:38:31 -04:00
Tim Steinbach
f3543d07f0 linux: 4.14.109 -> 4.14.110
(cherry picked from commit c0d537c780)
2019-04-03 19:38:29 -04:00
Tim Steinbach
0c2cc7f921 linux: 4.9.166 -> 4.9.167
(cherry picked from commit e731feae7f)
2019-04-03 19:38:28 -04:00
Tim Steinbach
02ab2b8772 linux: 4.4.177 -> 4.4.178
(cherry picked from commit 84fc0fb8d1)
2019-04-03 19:38:27 -04:00
Will Dietz
1d36ad6d16 youtube-dl: 2019.03.18 -> 2019.04.01
(cherry picked from commit 5ed1d8ea03)
2019-04-03 02:13:49 -04:00
John Ericson
884b0a4417 Merge pull request #58828 from obsidiansystems/km-fix-androidndk-cc-wrapper-flags
androidndk-pkgs: Fix cc-wrapper flags
2019-04-02 14:46:51 -04:00
Ken Micklas
7afd5e3e7a Remove unrecognized "float" settings for Android aarch32 systems 2019-04-02 13:24:52 -04:00
Ken Micklas
5f4bf240f5 androidndk-pkgs: Fix cc-wrapper flags 2019-04-02 12:45:37 -04:00
Silvan Mosberger
58fbebc4ea browserpass: Fix evaluation
When I backported https://github.com/NixOS/nixpkgs/pull/58639 to 18.09,
I didn't realize that buildGoPackage still required the `name`
attribute. Thanks to @primeos for notifying me of this.
2019-04-02 13:22:27 +02:00
Michael Weiss
e2a1fd1172 Merge pull request #58770 from primeos/security-backports-for-18.09
[18.09] Security backports for html-proofer and gollum
2019-04-02 13:11:16 +02:00
Michael Weiss
216f062a61 gollum: Update the dependencies (security)
See #58709.

(cherry picked from commit a92c7bb0cc)
2019-04-02 12:34:02 +02:00
Alyssa Ross
02aceb65cc gollum: rack: 1.6.10 -> 1.6.11
CVE-2018-16470: https://seclists.org/oss-sec/2018/q4/128
CVE-2018-16471: https://seclists.org/oss-sec/2018/q4/129
(cherry picked from commit 5b2da1ab19)
2019-04-02 12:33:48 +02:00
Michael Weiss
70d8066e56 html-proofer: 3.8.0 -> 3.10.2 (security)
See #58709.

(cherry picked from commit 20b9e18891)
2019-04-02 12:32:29 +02:00
Silvan Mosberger
b7910443a7 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:36:47 +02:00
Silvan Mosberger
d22d43ac19 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:36:24 +02:00
Vladimír Čunát
43ba99fa03 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:04:44 +02:00
Vladimír Čunát
3eed6d4573 Merge branch 'staging-18.09' into release-18.09
Hydra's output seems good.
2019-03-31 14:58:53 +02:00
Vladimír Čunát
fccf2a62fb dnsperf: fixup build with new bind version
(cherry picked from commit c327693407)
2019-03-31 14:57:04 +02:00
Florian Klink
2b8a526c5a Merge pull request #58535 from andir/18.09/firefox
[18.09] firefox: 66.0.1 -> 66.0.2, firefox-bin: 66.0.1 -> 66.0.2
2019-03-29 23:57:32 +01:00
Ben Gamari
399e3f3bc1 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:42:25 +01:00
Vladimír Čunát
4aebf787b8 Merge branch 'release-18.09' into staging-18.09 2019-03-29 14:07:17 +01:00
Andreas Rammhold
673179ddc3 firefox: 66.0.1 -> 66.0.2
(cherry picked from commit c8186ad7b3)
2019-03-29 12:21:32 +01:00
Andreas Rammhold
21eb4c4651 firefox-bin: 66.0.1 -> 66.0.2
(cherry picked from commit 6977980927)
2019-03-29 12:19:59 +01:00
Domen Kožar
395a543f36 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 15:21:49 +07:00
Florian Klink
22483857a1 Merge pull request #58355 from andir/18.09/ghostscript-CVE-2019-6116
[18.09] ghostscript: add patch for CVE-2019-6116
2019-03-28 23:37:38 +01:00
Pierre Bourdon
29ed7c827f 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-28 23:35:02 +01:00
Florian Klink
7fcf299938 matomo: 3.9.0 -> 3.9.1
(cherry picked from commit 26f19430eb)
2019-03-28 22:58:43 +01:00
Florian Klink
c9364bf046 matomo: update url
(cherry picked from commit 4ffd3ad4fd)
2019-03-28 22:58:43 +01:00
R. RyanTM
bbded8f232 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:58:42 +01:00
Florian Jacob
1998611779 nixos/matomo: 3.8.0 introduces matomo.{php,js} files
(cherry picked from commit faac33bc77)
2019-03-28 22:58:33 +01:00
Florian Jacob
c569b15e42 matomo: 3.7.0 -> 3.8.1
security update

(cherry picked from commit 2f059806ef)
2019-03-28 22:58:33 +01:00
Peter Simons
29069cd291 Merge pull request #58485 from dotlambda/dovecot-CVE-2019-7524
[18.09] dovecot: add patch for CVE-2019-7524
2019-03-28 21:29:01 +01:00
Ben Gamari
2ec3dca6af 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:25:02 +01:00
Robert Schütz
69cc728e2b dovecot: add patch for CVE-2019-7524
This applies commits
578cf77e84
696320b0f3
2019-03-28 15:18:23 +01:00
Will Dietz
f5900a9969 gnutls: 3.6.5 -> 3.6.7, security!
https://lists.gnupg.org/pipermail/gnutls-help/2019-March/004497.html
Close #58437.

(cherry picked from commit 225b164cc3)
The gnutls minor updates tend to have high level of compatibility,
and we're fixing some security problems.
2019-03-28 12:21:13 +01:00
Vladimír Čunát
69985a7e27 gnutls: 3.6.2 -> 3.6.5
No security problems have been published about 3.6.x so far,
but I'd certainly count the almost-transparent TLS 1.3 support
as a security improvement.

(cherry picked from commit 2ff530ec53)
2019-03-28 12:20:23 +01:00
Pascal Wittmann
033984c0b7 Merge pull request #58465 from rnhmjoj/monero-18.09
[18.09] monero: 0.13 -> 0.14
2019-03-28 08:20:25 +01:00
rnhmjoj
4f8e6ef622 monero-gui: fix missing qml imports
(cherry picked from commit bbefa951e7)
2019-03-28 01:50:45 +01:00
David Meister
78046ccf1b monero-gui: 0.13.0.4 -> 0.14.0.0
(cherry picked from commit b1d040b39b)
2019-03-28 01:50:34 +01:00
David Meister
b330796a37 monero: 0.13.0.4 -> 0.14.0.2
(cherry picked from commit a0a1dc0a55)
2019-03-28 01:50:24 +01:00
Graham Christensen
dc15b7f854 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:54 -04:00
Tim Steinbach
5a03c6872c linux: 4.19.31 -> 4.19.32
(cherry picked from commit ec83ff060e)
2019-03-27 10:14:11 -04:00
Tim Steinbach
f78bcc6c90 linux: 4.14.108 -> 4.14.109
(cherry picked from commit e3bee73c18)
2019-03-27 10:13:52 -04:00
Tim Steinbach
82a2b182bc linux: 4.9.165 -> 4.9.166
(cherry picked from commit ebd253309e)
2019-03-27 10:13:51 -04:00
Michael Weiss
51bab7011d Merge pull request #58430 from primeos/signal-desktop-backport
[18.09] signal-desktop backport
2019-03-27 12:20:33 +01:00
Michael Weiss
c2b4316819 signal-desktop: 1.21.2 -> 1.22.0
(cherry picked from commit e66b8d5fb1)
2019-03-27 11:27:49 +01:00
Michael Weiss
2db9668922 signal-desktop: 1.21.1 -> 1.21.2
(cherry picked from commit c498b7004d)
2019-03-27 11:27:49 +01:00
Michael Weiss
8dd725151f signal-desktop: 1.21.0 -> 1.21.1
(cherry picked from commit fcbcd327e5)
2019-03-27 11:27:49 +01:00
Michael Weiss
6ab2a54ccc signal-desktop: 1.20.0 -> 1.21.0
(cherry picked from commit e4156fb421)
2019-03-27 11:27:48 +01:00
Florian Klink
776fb73866 Merge pull request #58349 from andir/18.09/tzdata
[18.09] tzdata: 2018g -> 2019a
2019-03-27 09:30:32 +01:00
Andreas Rammhold
10207c23b3 tzdata: 2018g -> 2019a
(cherry picked from commit 32538ff51f15c2a416949a6f75ef41a505d530f8)
2019-03-27 09:09:35 +01:00
Tom F
c664b21337 adoptopenjdk: Remove libfreetype.so from adoptopenjdk's derivation. (#58411)
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:02:10 -04:00
Silvan Mosberger
efc8c2cd55 Merge pull request #58386 from booxter/release-18.09-turses-fix
turses: fix crash when starting with existing config file
2019-03-27 03:38:24 +01:00
ajs124
2c54e2d785 performous: fix build by using boost 166 (#58418)
(cherry picked from commit 910c1d05b7)
2019-03-26 22:08:49 -04:00
Alex Guzman
38e0576c31 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:52 +01:00
Florian Klink
7e05cfabe1 Merge pull request #58407 from andir/18.09/avahi
[18.09] avahi: apply patches for CVE-2017-6519 & CVE-2018-1000845
2019-03-27 00:03:32 +01:00
Florian Klink
69c6f289f7 Merge pull request #58410 from flokli/18.09-gitlab-11.9.1
[18.09] gitlab 11.7.5 -> 11.9.1, backport of more fixes and test improvements
2019-03-26 23:59:55 +01:00
Florian Klink
68eaf07a7b gitlab: 11.9.0 -> 11.9.1
(cherry picked from commit dcac21bb15f8188f1e7ae87d57207308f86dd5f8)
2019-03-26 22:54:20 +01:00
Johan Thomsen
8b190da626 nixos/gitlab: added gzip and bzip2 as dependencies for gitaly
(cherry picked from commit 292c1ce7ff)
2019-03-26 22:52:18 +01:00
Jeff Slight
c4042a85ab gitlab: add openssh dependency to gitaly
(cherry picked from commit 059e5e0ba0)
2019-03-26 22:52:18 +01:00
Johan Thomsen
fcf257a4e9 nixos/gitlab: improved test to check download of repository archives
(cherry picked from commit 968d3c9c05)
2019-03-26 22:52:18 +01:00
Wael M. Nasreddine
caa3c17245 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 22:52:17 +01:00
Ben Gamari
3a6c2a4bae nixos/gitlab: Introduce database pool size option
As well as a extraDatabaseConfig option.

(cherry picked from commit bd5ba09b79)
2019-03-26 22:52:17 +01:00
Andreas Rammhold
a6ddc35522 avahi: apply patches for CVE-2017-6519 & CVE-2018-1000845
(cherry picked from commit 87a762269f)
2019-03-26 21:42:21 +01:00
Ben Gamari
6522d74e5d gitlab: 11.8.2 -> 11.9.0
(cherry picked from commit d8c16f11a6)
2019-03-26 21:01:24 +01:00
Ben Gamari
f58bb3f191 gitlab: 11.7.5 -> 11.8.2
(cherry picked from commit 0ba98bb64c)
2019-03-26 21:01:20 +01:00
Ihar Hrachyshka
9751d10301 turses: fix crash when starting with existing config file
Fixes #57460

(cherry picked from commit 6f525a52d0)

Conflicts:
	pkgs/applications/networking/instant-messengers/turses/default.nix
2019-03-26 10:51:30 -07:00
Ihar Hrachyshka
ead962126c Switch homepage for turses to louipc fork
The original repo is gone.

(cherry picked from commit c59d2d3419)
2019-03-26 10:50:42 -07:00
taku0
9b6eddbd4d thunderbird: 60.5.2 -> 60.6.0
(cherry picked from commit 3c83eb43a5)
2019-03-26 11:19:43 +01:00
taku0
38063aab8d thunderbird: 60.5.1 -> 60.5.2
(cherry picked from commit 202f713153)
2019-03-26 11:19:39 +01:00
Will Dietz
2d656a9729 youtube-dl: 2019.03.01 -> 2019.03.18
(cherry picked from commit 0fa6ebe0a5)
2019-03-25 11:03:04 -04:00
Franz Pletz
90850bbf98 youtubeDL: 2019.02.18 -> 2019.03.01
(cherry picked from commit 86199e047c)
2019-03-25 11:03:01 -04:00
Franz Pletz
6ea3c4fa99 youtubeDL: 2019.01.30.1 -> 2019.02.18
(cherry picked from commit 7694c5149a)
2019-03-25 11:02:57 -04:00
Will Dietz
918bc44280 tor-browser-bundle-bin: 8.0.6 -> 8.0.8
(cherry picked from commit f114ab593e)
2019-03-25 10:43:05 +01:00
Samuel Dionne-Riel
40e716b92a ghc: Fixes backport (missing ghc822Binary) 2019-03-24 15:22:36 -04:00
Tim Steinbach
0ec4bb8658 linux: 4.19.30 -> 4.19.31
(cherry picked from commit 0e25209c33)
2019-03-24 12:20:13 -04:00
Philipp Volguine
3551de0ff8 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:55:26 -04:00
Andreas Rammhold
dcbe1b62b5 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 19:18:40 +01:00
Tim Steinbach
7e11e51ba8 linux: 4.14.107 -> 4.14.108
(cherry picked from commit eca0d0ad62)
2019-03-23 11:27:02 -04:00
Tim Steinbach
da0a76fcef linux: 4.9.164 -> 4.9.165
(cherry picked from commit d10015ea4f)
2019-03-23 11:27:00 -04:00
Tim Steinbach
f5ecc18af1 linux: 4.4.176 -> 4.4.177
(cherry picked from commit ece2d7d6a0)
2019-03-23 11:26:59 -04:00
Pascal Wittmann
51ba0286ac japser: 2.0.14 -> 2.0.16
(cherry picked from commit 96e93d6fa0)
2019-03-23 14:20:52 +01:00
Frederik Rietdijk
60acee5223 python35: 3.5.6 -> 3.5.7 2019-03-23 09:17:09 +01:00
Frederik Rietdijk
7dc8a0a20a python34: 3.4.9 -> 3.4.10 2019-03-23 09:17:09 +01:00
Andreas Rammhold
7270f27a5f Merge pull request #58156 from andir/18.09/firefox
[18.09] firefox: 66.0 -> 66.0.1, firefox-esr-60: 60.6.0esr -> 60.6.1esr
2019-03-23 09:01:52 +01:00
Peter Simons
dd28ae5c63 ghc: add new 8.6.4 version 2019-03-23 11:04:32 +07:00
Andreas Rammhold
d8251d760d firefox-esr-60: 60.6.0esr -> 60.6.1esr 2019-03-23 01:45:19 +01:00
Andreas Rammhold
c12ff07901 firefox: 66.0 -> 66.0.1 2019-03-23 01:45:04 +01:00
Andreas Rammhold
ed95b12264 firefox-bin: 66.0 -> 66.0.1 2019-03-23 01:44:55 +01:00
Herwig Hochleitner
43efac61c0 chromium: 73.0.3683.75 -> 73.0.3683.86
(cherry picked from commit ea34ad0e43)
2019-03-22 19:35:54 +01:00
Andreas Rammhold
680f9d7ea9 Merge pull request #57962 from andir/18.09/samba
[18.09] samba/ldb: fix CVE-2019-3824
2019-03-22 13:18:04 +01:00
Gabriel Ebner
f4b2ae96cc elan: 0.7.4 -> 0.7.5
(cherry picked from commit 11318d1ba2)
2019-03-22 11:17:09 +01:00
Jörg Thalheim
ed41adcde6 nix-review: 1.0.5 -> 2.0.0
(cherry picked from commit eb5afaf06b)
2019-03-22 07:09:14 +00:00
Jörg Thalheim
11b3807041 nix-review: 1.0.4 -> 1.0.5
(cherry picked from commit d4957cc98e)
2019-03-22 07:09:13 +00:00
Jörg Thalheim
0664a06388 nix-review: 1.0.2 -> 1.0.4
- also accept the full url of pull request i.e.
  https://github.com/NixOS/nixpkgs/pull/54323
- stream-parse nix-env's eval output
- fix logs for failed builds issued by remote builders
- prepare code for overlays like: https://github.com/NixOS/nixpkgs/pull/53934

(cherry picked from commit f6d6e5dcb5)
2019-03-22 07:09:12 +00:00
Jörg Thalheim
467c393495 nix-review: 1.0.1 -> 1.0.2
(cherry picked from commit 32f4166c67)
2019-03-22 07:09:11 +00:00
Simon Lackerbauer
15f0899451 atlassian-confluence: 6.11.1 -> 6.14.2
CVE-2019-3395, CVE-2019-3396

(cherry picked from commit 5ef5bbcd46)
2019-03-21 14:08:27 +00:00
Andreas Rammhold
8288fbd7ec samba4: apply patch for CVE-2019-3824 2019-03-20 14:13:56 +01:00
Andreas Rammhold
5a3d8d79ec ldb: apply patch for CVE-2019-3824 2019-03-20 14:13:56 +01:00
Gabriel Ebner
45456fecc7 elan: 0.5.0 -> 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:49:16 +01:00
Andreas Rammhold
00242aa4da subversion_1_10: 1.10.3 -> 1.10.4
bugfix release CVE-2018-11803 [0]

[0] https://subversion.apache.org/security/CVE-2018-11803-advisory.txt
2019-03-20 13:40:00 +01:00
R. RyanTM
9121e79b6d subversionClient: 1.10.2 -> 1.10.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/subversion-client/versions

(cherry picked from commit c5e2470b2e)
2019-03-20 13:14:08 +01:00
R. RyanTM
2c8a98a523 subversionClient: 1.11.0 -> 1.11.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/subversion-client/versions

(cherry picked from commit cd055b2f58)
2019-03-20 13:12:17 +01:00
Andreas Rammhold
d68f824426 qemu: apply CVE-2019-3812 patch
(cherry picked from commit c7d7c6fc41)
2019-03-20 11:41:41 +01:00
Tim Steinbach
3aa6408a8c linux: 4.19.29 -> 4.19.30
(cherry picked from commit b1c72326ce)
2019-03-19 08:58:43 -04:00
Tim Steinbach
a2bc79d0a7 linux: 4.14.106 -> 4.14.107
(cherry picked from commit 08414dd72e)
2019-03-19 08:58:42 -04:00
Tim Steinbach
5751489583 linux: 4.9.163 -> 4.9.164
(cherry picked from commit 9e2adb4e36)
2019-03-19 08:58:42 -04:00
Robert Hensing
b6050c5f43 Merge branch 'ngrok-update-backport' into release-18.09 2019-03-19 11:24:24 +01:00
Robert Hensing
6a67886b79 ngrok-2: Fix URLs and automate 2019-03-19 11:22:04 +01:00
Andreas Rammhold
8751edf7b8 Merge pull request #57861 from andir/18.09/firefox66
[18.09] firefox 65.0.2 -> 66, 60.5.2esr -> 60.6.0esr, firefox-bin: 65.0.2 -> 66.0
2019-03-19 08:21:07 +01:00
Léo Gaspard
e408cd4390 Merge branch 'pr-57863' into release-18.09
* pr-57863:
  PuTTY: 0.70 -> 0.71
2019-03-18 19:04:59 +01:00
Andreas Rammhold
7984e36986 Merge pull request #57569 from andir/18.09/nodejs
[18.09] nodejs_{6,8,10,11}_x: update, security fixes
2019-03-18 18:52:47 +01:00
Daniel Frank
07b8c657b8 PuTTY: 0.70 -> 0.71
(cherry picked from commit 9d95c9d78f)
2019-03-18 18:28:27 +01:00
Andreas Rammhold
0021ea861f firefox-esr-60: 60.5.2esr -> 60.6.0.esr
(cherry picked from commit 94d9400b4d)
2019-03-18 18:01:16 +01:00
Andreas Rammhold
d0f3ac2958 firefox-bin: 65.0.2 -> 66.0
(cherry picked from commit a1cd934ba3)
2019-03-18 17:58:15 +01:00
Andreas Rammhold
d4734ffe86 firefox: 65.0.2 -> 66.0
(cherry picked from commit dafe9c3cb0)
2019-03-18 17:54:45 +01:00
Andreas Rammhold
5d17a76f15 firefox: support building firefox 66 (and 60.6+)
(cherry picked from commit d64d42f12d)
2019-03-18 17:51:41 +01:00
Andreas Rammhold
122a66de9e rust-cbindgen_0_8_0: init at 0.8.0
This is a requirement for Firefox66. To retain compatibility with users
of rust-cbindgen I leave the others around since it usually breaks some
kind of compatibility.
2019-03-18 17:44:31 +01:00
Andreas Rammhold
a8e8de9e71 rustPlatform_1_31: init rustPlatform_1_31 attribute
rust_1_31 did exist already but the rustPlatform attrset was still
missing.
2019-03-18 17:43:34 +01:00
Michael Raskin
a95da2cd01 Merge pull request #57847 from tomfitzhenry/backport-llvm-big-parallel
llvm: mark as big-parallel
2019-03-18 13:00:03 +00:00
Graham Christensen
edd976dfbe llvm: mark as big-parallel
Big parallel jobs get many more (45) aarch64 cores than standard builds.
2019-03-18 18:46:23 +11:00
Michael Raskin
fdb5b68d15 Merge pull request #57668 from booxter/release-18.09-xscreensaver-perl
xscreensaver: Enable perl modules needed for RSS image fetch (#57629)
2019-03-15 08:09:21 +00:00
Ihar Hrachyshka
5bcb2d21c6 xscreensaver: Enable perl modules needed for RSS image fetch (#57629)
(cherry picked from commit 4730466366)
2019-03-14 14:23:22 -07:00
xeji
8252eaee34 Merge pull request #57651 from etu/release-18.09-php-updates
Release 18.09 php updates
2019-03-14 21:45:39 +01:00
Izorkin
1849e963d6 php72: 7.2.15 -> 7.2.16
(cherry picked from commit c6290e381f)
2019-03-14 19:23:16 +01:00
Izorkin
6cdf642d03 php71: 7.1.26 -> 7.1.27
(cherry picked from commit 627275399c)
2019-03-14 19:23:12 +01:00
Tim Steinbach
228271fe04 linux: 4.19.28 -> 4.19.29
(cherry picked from commit 82d6e57943)
2019-03-14 09:13:59 -04:00
Tim Steinbach
b98a69d968 linux: 4.14.105 -> 4.14.106
(cherry picked from commit 85924d84fc)
2019-03-14 09:13:58 -04:00
Tim Steinbach
132a24fa28 linux: 4.9.162 -> 4.9.163
(cherry picked from commit c130cb7374)
2019-03-14 09:13:57 -04:00
Edmund Wu
40f9098114 vscode: 1.32.1 -> 1.32.2
(cherry picked from commit ecc6ee8f1d)
2019-03-13 21:13:55 -04:00
Herwig Hochleitner
0c53b75ea6 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:23:16 +01:00
Will Dietz
3efcb4a4a3 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:44:49 +01:00
Will Dietz
5050c86e1a 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:44:39 +01:00
Will Dietz
467e1c0cc9 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:44:08 +01:00
Aria Edmonds
5d972dd2c9 discord: 0.0.8 -> 0.0.9
(cherry picked from commit 24c02a0f5d)
2019-03-12 17:10:00 -04:00
Bjørn Forsman
3c037fea9b 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 13:04:42 +01:00
Tim Steinbach
60e2056e47 linux: 4.19.27 -> 4.19.28
(cherry picked from commit 810401284f)
2019-03-10 14:20:07 -04:00
Vladimír Čunát
a64f22b9fe Merge bind: 9.12.2 -> 9.12.3-P4 (into release-18.09)
Fixes #56358 CVE-2018-5741.
BIND maintenance releases seem quite conservative.
2019-03-10 10:24:23 +01:00
R. RyanTM
6a4742d210 bind: 9.12.3-P1 -> 9.12.3-P4
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/bind/versions

(cherry picked from commit e08f01f4e7)
2019-03-10 10:21:10 +01:00
R. RyanTM
f92f1a68e7 bind: 9.12.3 -> 9.12.3-P1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/bind/versions

(cherry picked from commit f884c6c1de)
2019-03-10 10:21:08 +01:00
R. RyanTM
8e24938583 bind: 9.12.2-P2 -> 9.12.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/bind/versions

(cherry picked from commit 21fbc6140e)
2019-03-10 10:21:05 +01:00
R. RyanTM
26ef5306fc bind: 9.12.2 -> 9.12.2-P2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/bind/versions

(cherry picked from commit d1c1fbb61b)
2019-03-10 10:20:36 +01:00
Vladimír Čunát
3f49dd956e libarchive: apply upstream CVE patches
Fixes #57150.

(cherry picked from commit 5767c18d99)
2019-03-10 09:54:49 +01:00
Vladimír Čunát
3b8fc18111 pango: 1.42.1 → 1.42.4 (security)
Fixes #57183 CVE-2018-15120
It's a minimalistic version of commit f9943cd28a.
2019-03-10 09:34:17 +01:00
Herwig Hochleitner
37694c8cc0 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 23:20:03 +01:00
Will Dietz
2be82fd06e 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:11:29 +01:00
Edmund Wu
7b6408a06a vscode: 1.32.0 -> 1.32.1 (#57089)
(cherry picked from commit 128f691b87)
2019-03-08 16:44:29 -05:00
kyren
28e30399a9 stepmania: switch to clangStdenv
Stepmania appears to be miscompiled with gcc, fixes #54227

(cherry picked from commit ff6e4b44dc)
2019-03-08 18:30:25 +01:00
Edmund Wu
fef0aaaaab vscode: 1.31.1 -> 1.32.0
(cherry picked from commit 2a0d01f076)
2019-03-07 17:59:39 -05:00
Dmitry Kalinkin
31e932c0d4 pythonPackages.sqlalchemy_migrate: disable tests 2019-03-07 13:13:02 -05:00
Frederik Rietdijk
8abca4bc7b python: Django: 2.1.5 -> 2.1.7
(cherry picked from commit b67226fab2)
2019-03-07 09:54:51 +01:00
Lancelot SIX
aceb50ed82 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:52:42 +01:00
Ivan Kozik
7e34b17aef 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:30:32 +01:00
Dmitry Kalinkin
4c089d328f pythonPackages.sqlalchemy_migrate: a dummy change to trigger hydra build
Package failed on release-18.09 after version bump backport. Can't
reproduce locally. This is to check if the test is flaky.
2019-03-06 13:29:55 -05:00
Tim Steinbach
18fec2687c vivaldi: 2.3.1440.57-1 -> 2.3.1440.60-1
(cherry picked from commit 9d20f2214b)
2019-03-06 10:32:22 -05:00
José Romildo Malaquias
64fafd5e1f vivaldi: 2.3.1440.48-1 -> 2.3.1440.57-1
(cherry picked from commit fa99afa809)
2019-03-06 10:32:22 -05:00
José Romildo Malaquias
650a16d83f vivaldi: 2.3.1440.41-1 -> 2.3.1440.48-1
(cherry picked from commit a1ba6ab9bd)
2019-03-06 10:32:21 -05:00
Tim Steinbach
f13559a375 vivaldi-ffmpeg-codecs: 72.0.3626.121 -> 72.0.3626.122
(cherry picked from commit 07fdb3b102)
2019-03-06 10:32:20 -05:00
José Romildo Malaquias
e99e94e0fb vivaldi-ffmpeg-codecs: 72.0.3626.109 -> 72.0.3626.121
(cherry picked from commit 38b8f49b87)
2019-03-06 10:32:20 -05:00
José Romildo Malaquias
2bc25ec0aa vivaldi-ffmpeg-codecs: 72.0.3626.96 -> 72.0.3626.109
(cherry picked from commit ab93817c7e)
2019-03-06 10:32:19 -05:00
Shea Levy
796b760e2e Merge pull request #56919 from grahamc/closure-graph-memory-18.09
Closure graph memory (18.09)
2019-03-06 08:31:48 -05:00
Lancelot SIX
89a636b807 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:27:33 +01:00
Lancelot SIX
01cc1585ea 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:26:43 +01:00
Lancelot SIX
460ee71a0e 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:26:10 +01:00
Lancelot SIX
811327035d 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:25:27 +01:00
Graham Christensen
e32d9524ef 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:34:31 -05:00
Graham Christensen
86fafb030e references-by-popularity: create debug output
(cherry picked from commit 54826e7471)
2019-03-05 17:34:27 -05:00
Tim Steinbach
343abf7730 linux: 4.19.26 -> 4.19.27
(cherry picked from commit 5e67bc19c8)
2019-03-05 15:07:50 -05:00
Tim Steinbach
8fa7a364e7 linux: 4.14.104 -> 4.14.105
(cherry picked from commit 535600be55)
2019-03-05 15:07:50 -05:00
Tim Steinbach
95ad0f6c87 linux: 4.9.161 -> 4.9.162
(cherry picked from commit cfc1110dc8)
2019-03-05 15:07:50 -05:00
Robert Schütz
ed8c74e857 python.pkgs.bpython: correct Exec in bpython.desktop
(cherry picked from commit b0a9ac798a)
2019-03-05 19:24:30 +01:00
Andreas Wiese
95fed28ac3 gogs: 0.11.53 -> 0.11.86 (#56838)
This release especially addresses CVE-2018-20303.
2019-03-05 10:47:43 +01:00
Matthew Bauer
3e02e7f49b ghc843: dont add -liconv to flags
Don’t add -liconv to LDFLAGS automatically so that GHC will add it
itself.

This was previously done in other compilers but this one is missing it.
2019-03-04 13:28:04 -05:00
Matthew Bauer
906d432591 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:26:33 -05:00
Peter Hoeg
e542fc2c94 Merge pull request #56572 from peterhoeg/u/mqtt_stable
mosquitto: 1.5.4 -> 1.5.8
2019-03-04 12:23:13 +08:00
Dmitry Kalinkin
770d3ca491 Merge pull request #56447 from veprbl/pr/buldbot_fix_18.09
[18.09] fix buildbot
2019-03-03 11:02:35 -05:00
Vladimír Čunát
e2e84cc1f0 Merge branch 'staging-18.09' into release-18.09 2019-03-03 08:32:37 +01:00
Matthew Bauer
c42f391c0c 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:49:56 -05:00
Michael Raskin
4c0be40815 Merge pull request #56558 from aanderse/redmine-18.09
redmine: 3.4.8 -> 3.4.9 [18.09 backport]
2019-03-02 20:00:09 +00:00
Wael Nasreddine
07ead02f6b Merge pull request #55429 from worldofpeace/keybase-updates-backport
[18.09] Keybase updates
2019-03-02 11:54:22 -08:00
Vladimír Čunát
64bc63d868 Merge branch 'release-18.09' into staging-18.09 2019-03-02 16:43:42 +01:00
Vladimír Čunát
feb49b0643 Merge #56223: gcc: 8.2.0 -> 8.3.0
(cherry picked from commit 3dda94df65)
2019-03-02 16:43:18 +01:00
Andreas Rammhold
80754f5cfd 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 12:04:26 +01:00
taku0
f5b5d483d1 firefox-esr: 60.5.1esr -> 60.5.2esr
(cherry picked from commit 692a763f60)
2019-03-02 11:01:39 +01:00
taku0
820fc820bd firefox: 65.0.1 -> 65.0.2
(cherry picked from commit d59a40c3b0)
2019-03-02 11:01:38 +01:00
taku0
a1e65f86f4 firefox-bin: 65.0 -> 65.0.2
(cherry picked from commit 03bbab8540)
2019-03-02 10:58:57 +01:00
Herwig Hochleitner
bf9cd87b3b chromium: 72.0.3626.119 -> 72.0.3626.121
CVE-2019-5786

(cherry picked from commit 9a6e64691c)
2019-03-02 05:27:05 +01:00
worldofpeace
c0a99a5418 keybase-gui: drop gnome2.GConf
(cherry picked from commit ce8c243699)
2019-03-01 13:38:04 -05:00
worldofpeace
2d997e7a67 keybase-gui: 2.13.1 -> 3.0.0
(cherry picked from commit 6d9c5259cf)
2019-03-01 13:38:04 -05:00
Emmanuel Rosa
f659d701d8 keybase-gui: 2.13.0 -> 2.13.1
(cherry picked from commit 66d844ba59)
2019-03-01 13:38:04 -05:00
Roman Volosatovs
ee3986387f keybase-gui: 2.11.0 -> 2.13.0
(cherry picked from commit 3bc3772677)
2019-03-01 13:38:04 -05:00
worldofpeace
1e00feaa4a keybase: 2.13.1 -> 3.0.0
(cherry picked from commit 1f332e7b54)
2019-03-01 13:38:04 -05:00
Wael M. Nasreddine
e730b1b557 keybase: switch to fetchurl for sha256 consistency on Darwin
fetchFromGitHub and thus fetchzip hashes the contents of the archive and
not the archive itself. Unicode file names lead to different checksums
on HFS+ vs. other file systems because of Unicode normalisation

(cherry picked from commit f466c9f961)
2019-03-01 13:38:04 -05:00
Emmanuel Rosa
10defba529 keybase: 2.11.0 -> 2.13.1
(cherry picked from commit 239dc141bd)
2019-03-01 13:38:04 -05:00
Roman Volosatovs
980ae050bf keybase: 2.10.1 -> 2.11.0
(cherry picked from commit 563d4e2a77)
2019-03-01 13:38:04 -05:00
Roman Volosatovs
697aed9d3b kbfs: 2.10.1 -> 2.11.0
(cherry picked from commit a3a0742919)
2019-03-01 13:38:04 -05:00
Will Dietz
2325b5fed2 Merge #56494: file: 5.34 -> 5.36 (staging-18.09)
(cherry picked from commit 63e68e5bb9)
Minimal changes, .36 fixes some CVEs.
2019-03-01 12:39:55 +01:00
Peter Hoeg
0ab7392781 mosquitto: 1.5.5 -> 1.5.8
(cherry picked from commit 5638a1c717)
2019-03-01 19:04:13 +08:00
R. RyanTM
64ebd78a06 mosquitto: 1.5.4 -> 1.5.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/mosquitto/versions

(cherry picked from commit 9496a0e3af)
2019-03-01 19:03:19 +08:00
Aaron Andersen
5b1b46fff8 redmine: 3.4.8 -> 3.4.9 2019-02-28 21:03:17 -05:00
Robert Schütz
060bcd6df5 postfix: 3.3.2 -> 3.3.3 (#56538)
http://www.postfix.org/announcements/postfix-3.3.3.html
2019-02-28 21:42:23 +01:00
Vladimír Čunát
dc4823f603 zeroc_ice: disable problematic parallel make
(cherry picked from commit f1ed4b50fc)
https://hydra.nixos.org/build/89580134
2019-02-28 07:27:46 +01:00
Tim Steinbach
1374ba6080 linux: 4.19.25 -> 4.19.26
(cherry picked from commit 9a65fde170)
2019-02-27 13:35:54 -05:00
Tim Steinbach
4528bd5430 linux: 4.14.103 -> 4.14.104
(cherry picked from commit 4580d6ca9e)
2019-02-27 13:35:54 -05:00
Tim Steinbach
58b34ab32f linux: 4.9.160 -> 4.9.161
(cherry picked from commit 4eff65e514)
2019-02-27 13:35:53 -05:00
Vladimír Čunát
2fa7fc4155 Merge #56375: wget: 1.19.5 -> 1.20.1 (into release-18.09) 2019-02-27 18:44:48 +01:00
Ben Wolsieffer
6e2ba9174e pythonPackages.sqlalchemy_migrate: 0.11.0 -> 0.12.0
(cherry picked from commit 52307dff25)
2019-02-27 12:36:33 -05:00
Alyssa Ross
8c2447fdee openssl: 1.0.2q -> 1.0.2r
(cherry picked from commit 9c94d74836)
Security fix; from PR #56414.
2019-02-27 09:34:45 +01:00
Ben Wolsieffer
ada3bf9e91 buildbot: 1.2.0 -> 1.4.0
buildbot was always broken on release-18.09 due to failing tests

One of the failures is:

[ERROR]
Traceback (most recent call last):
  File "/build/buildbot-1.2.0/buildbot/process/properties.py", line 459, in getRenderingFor
    rv = yield build.render(value[index])
  File "/nix/store/sqr3s9cva7r3z12hqb6rxw3w8kiqzmhd-python2.7-Twisted-18.7.0/lib/python2.7/site-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
    result = g.send(result)
  File "/build/buildbot-1.2.0/buildbot/process/properties.py", line 495, in getRenderingFor
    raise KeyError(error_message)
exceptions.KeyError: "secrets service not started, need to configure SecretManager in c['services'] to use 'secrets'in Interpolate"

buildbot.test.unit.test_master.StartupAndReconfig.test_reconfigService_db_url_changed

There is a mention of this at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907687
Because buildbot was never working before, we can just bump the version
to the one which passes the test.

(cherry picked from commit 71c42462ab)
2019-02-26 21:55:53 -05:00
Pierre Bourdon
022a6f7c2b wget: 1.20 -> 1.20.1 (CVE-2018-20483)
(cherry picked from commit d132c08aa1)
2019-02-25 19:13:41 +01:00
Will Dietz
b2dc0bbafa wget: 1.19.5 -> 1.20
https://lists.gnu.org/archive/html/info-gnu/2018-11/msg00011.html
(cherry picked from commit c6db972e8b)
2019-02-25 19:13:40 +01:00
Herwig Hochleitner
aabc61049c chromium: 72.0.3626.109 -> 72.0.3626.119
(cherry picked from commit 338dc47d5f)
2019-02-25 02:02:44 +01:00
Michael Raskin
8e70d4bd7d Merge pull request #56313 from srhb/flashplayer-backport
Backport: flashplayer: 32.0.0.114 -> 32.0.0.142
2019-02-24 23:19:16 +00:00
Averell Dalton
8164dc3461 flashplayer: 32.0.0.114 -> 32.0.0.142
(cherry picked from commit 856a238e20)
2019-02-24 20:18:33 +01:00
Tim Steinbach
42daebc983 linux: 4.19.24 -> 4.19.25
(cherry picked from commit 298550b5bb)
2019-02-24 11:39:45 -05:00
Tim Steinbach
6dcc19a02d linux: 4.14.102 -> 4.14.103
(cherry picked from commit 77dde1a4a2)
2019-02-24 11:39:44 -05:00
Tim Steinbach
d4543be857 linux: 4.9.159 -> 4.9.160
(cherry picked from commit b939be8c23)
2019-02-24 11:39:43 -05:00
Tim Steinbach
5fe251c993 linux: 4.4.175 -> 4.4.176
(cherry picked from commit dec53994eb)
2019-02-24 11:39:42 -05:00
Vladimír Čunát
494f3ca688 Merge #55893: samba: 4.7.10 -> 4.7.12
... into release-18.09.  Contains security fixes.
2019-02-24 11:36:55 +01:00
Emmanuel Rosa
235487585e luakit: add HTTPS support (#52865)
Co-Authored-By: emmanuelrosa <emmanuelrosa@users.noreply.github.com>
(cherry picked from commit 421dd51ffd)
Fixes #56266.  I briefly re-tested that on 18.09.
2019-02-24 11:36:26 +01:00
Vladimír Čunát
76811bf69c Merge #52833: netatalk: 3.1.11 -> 3.1.12 (security)
(cherry picked from commit 0cf158006b)
2019-02-24 11:36:26 +01:00
Andrew Dunham
3a244e8e38 samba: 4.7.10 -> 4.7.12
Version 4.7.12 is a security release.

This fixes a couple of security related issues:
 - https://www.samba.org/samba/security/CVE-2018-14629.html
 - https://www.samba.org/samba/security/CVE-2018-16841.html
 - https://www.samba.org/samba/security/CVE-2018-16851.html
 - https://www.samba.org/samba/security/CVE-2018-16853.html

(cherry picked from commit 2acd0004c1)
2019-02-24 02:46:25 -05:00
Florian Klink
48b4e1c6bf Merge pull request #56242 from Lassulus/18.09-nextcloud
[18.09] nextcloud: 15.0.2 -> 15.0.4
2019-02-23 18:52:43 +01:00
R. RyanTM
af75060ff5 nextcloud: 15.0.2 -> 15.0.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/nextcloud/versions

(cherry picked from commit a45b2032ff)
2019-02-23 14:42:05 +01:00
Robert Schütz
753f58d9a4 nixos/home-assistant: use availableComponents of configured package
fixes #55958

(cherry picked from commit e211f55d87)
2019-02-23 13:37:54 +01:00
worldofpeace
8ee1cdde22 wire-desktop: 3.5.2881 -> 3.6.2885
(cherry picked from commit 8ba66c2ee1)
2019-02-22 19:51:51 -05:00
Mikhail Klementev
5432f7f806 wire-desktop: 3.3.2872 -> 3.5.2881
(cherry picked from commit 7475db089b)
2019-02-22 19:51:51 -05:00
worldofpeace
41b31cdc5f wire-desktop: don't explicitly set phases
part of #28910

(cherry picked from commit 48a3ea0f81)
2019-02-22 19:51:50 -05:00
worldofpeace
69f7e37c37 wire-desktop: 3.2.2840 -> 3.3.2872 (#47941)
(cherry picked from commit fa3ec9c836)
2019-02-22 19:51:50 -05:00
Vladimír Čunát
23453d2d8c busybox: patch CVE-2018-20679
Fixes #54798.
2019-02-22 10:23:35 +01:00
worldofpeace
3276e04a39 Merge pull request #56127 from thefloweringash/fix-es6
[18.09] elasticsearch: Add zlib to buildInputs for unfree
2019-02-21 13:47:33 -05:00
Vladimír Čunát
1b621b83f0 Merge branch 'staging-18.09' into release-18.09
Just a systemd security patch.
2019-02-21 07:49:28 +01:00
aszlig
b36e2877f1 elasticsearch: Add zlib to buildInputs for unfree
The unfree variant of elasticsearch uses autoPatchelfHook and since we
removed the dependency on file for the hook itself in
58a97dfb49 we no longer have zlib
propagated.

So we need to explicitly state that dependency here.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @apeschar, @basvandijk
(cherry picked from commit 8df68a93e6)
2019-02-21 13:44:03 +09:00
Tim Steinbach
63a09881b6 linux: 4.19.23 -> 4.19.24
(cherry picked from commit a1cf586d72)
2019-02-20 10:34:26 -05:00
Tim Steinbach
7536ce975c linux: 4.14.101 -> 4.14.102
(cherry picked from commit 70643f0882)
2019-02-20 10:34:25 -05:00
Tim Steinbach
a17011c6b4 linux: 4.9.158 -> 4.9.159
(cherry picked from commit 85733d1f9c)
2019-02-20 10:34:24 -05:00
Tim Steinbach
0dcd0ff64e linux: 4.4.174 -> 4.4.175
(cherry picked from commit 9deab03a27)
2019-02-20 10:34:21 -05:00
Vladimír Čunát
4277563ac9 openscad: enableParallelBuilding = false;
Discussion: https://github.com/NixOS/nixpkgs/commit/c68dc2212e22
(cherry picked from commit 28d983fe25)
2019-02-20 10:18:50 +01:00
Bernard Fortz
3cd9396523 autojump: autoload when programs.autojump.enable is set.
(cherry picked from commit cd8ffef01b)
Signed-off-by: Domen Kožar <domen@dev.si>
2019-02-20 15:14:51 +07:00
Bernard Fortz
8e4e54b25b autodump: pulling package when programs.autojump.enable is true
(cherry picked from commit 0bca738513)
Signed-off-by: Domen Kožar <domen@dev.si>
2019-02-20 15:14:46 +07:00
Bernard Fortz
1e9c144576 autojump: creates links required by oh-my-zsh for autojump.
The autojump plugin in oh-my-zsh assumes autojump.zsh resides in
/run/current-system/sw/share/autojump/ but these links are not created
by default.

The new programs.autojump.enable option forces the creation of these
links.

(cherry picked from commit 0d749e58f7)
Signed-off-by: Domen Kožar <domen@dev.si>
2019-02-20 15:14:40 +07:00
Florian Klink
185ab27b8a gitlab-ee: 11.7.4 -> 11.7.5
(cherry picked from commit f4a7c16bd9)
2019-02-20 00:25:56 +01:00
Florian Klink
5db036173d gitlab: 11.7.4 -> 11.7.5
(cherry picked from commit 7f6351a21d)
2019-02-20 00:25:52 +01:00
Florian Klink
ba65001b7a gitlab-workhorse: 8.0.1 -> 8.0.2
(cherry picked from commit 75f66b19dd)
2019-02-20 00:25:47 +01:00
Franz Pletz
90f99f4a9b systemd: 239.20190110 -> 239.20190219
Fix CVE-2019-6454.

(cherry picked from commit e94914560b)
2019-02-20 00:01:22 +01:00
Vladimír Čunát
28f9452a77 Merge branch 'staging-18.09' into release-18.09
unzip CVE fix.
2019-02-19 08:30:12 +01:00
Herwig Hochleitner
7e5b59974a chromium: 72.0.3626.96 -> 72.0.3626.109
(cherry picked from commit c414e5bd08)
2019-02-19 04:46:46 +01:00
Shea Levy
c007ecfb5d postgresql: Don't move libs unnecessarily out of $lib.
In particular, when static linking pkgconfig expects libpq.a in $lib

(cherry picked from commit bb52ff3df8)
2019-02-18 20:31:34 -05:00
Vladimír Čunát
fd65170d66 Merge branch 'release-18.09' into staging-18.09 2019-02-18 08:22:07 +01:00
worldofpeace
ea0820818a Merge pull request #55949 from eadwu/backports/20190217
[18.09] vscode backports - 2019-02-17
2019-02-17 15:23:14 +00:00
Edmund Wu
347bcccadc vscode: 1.31.0 -> 1.31.1
(cherry picked from commit 8d5bce4053)
2019-02-17 09:46:09 -05:00
Vladimír Čunát
ef02c63ba1 Merge #54576: adoptopenjdk-bin: 11.0.1 -> 11.0.2
Includes security fixes.

(cherry picked from commit 94b518f855)
2019-02-17 09:59:36 +01:00
Vladimír Čunát
a332973a7f adoptopenjdk: pick expression structure from master
They seem to be uninteresting changes just hindering
backports of version bumps.
2019-02-17 09:58:57 +01:00
Pierre Bourdon
8d226d8ec8 unzip: patch CVE-2018-18384 (PR #55927)
Patch from https://sourceforge.net/p/infozip/bugs/53/

(cherry picked from commit 705167a5dc)
2019-02-17 08:07:43 +01:00
Vladimír Čunát
f4ddc31c4a Merge branch 'staging-18.09' into release-18.09
Security updates for qt5* and openssl.
We can't afford to wait for darwin rebuild - it would take far too long.
2019-02-17 07:39:34 +01:00
0x4A6F
19a0543c62 unifi: 5.9.29 -> 5.10.17
(cherry picked from commit 04a1f848a3)
2019-02-16 16:03:36 +01:00
Vladimír Čunát
af6b20c0fa Merge #55089: qt5*: bugfixes + security
... into staging-18.09.
2019-02-16 13:51:33 +01:00
Vladimír Čunát
7892372044 Merge #55832: thunderbird*: 60.5.0 -> 60.5.1
... into release-18.09
2019-02-16 10:34:28 +01:00
Vladimír Čunát
fe00e773d1 Merge #55885: openssl: 1.0.2p -> 1.0.2q
... into staging-18.09.
2019-02-16 10:13:53 +01:00
Vladimír Čunát
d7225e0856 Merge branch 'release-18.09' into staging-18.09 2019-02-16 10:13:00 +01:00
Alyssa Ross
9c75f208f3 openssl: 1.0.2p -> 1.0.2q
CVE-2018-0734: https://www.openssl.org/news/vulnerabilities.html#2018-0734
CVE-2018-5407: https://www.openssl.org/news/vulnerabilities.html#2018-5407

No patches can any longer be shared between 1.0.2 and 1.1, so reorganize
patches into subdirectories (and remove an unused one).

(cherry picked from commit ae29a9e688)
2019-02-16 00:56:30 -08:00
Matthew Bauer
82434e77d5 qt511: add patch for macOS sdk
Unfortunately we don’t have access to NSWindowStyleMask. These patches
should go away once we switch to a newer SDK.

(cherry picked from commit 81531046e8)
2019-02-16 09:38:25 +01:00
Samuel Dionne-Riel
526b34a18e linux: Drop the interpreter truncation patch
All usage has been removed from the stable branche; upstream having
updated with a revert.
2019-02-15 19:34:20 -05:00
Ben Wolsieffer
e181504731 linux_hardkernel_4_14: don't apply interpreter-trunc patch
The only 4.14.y versions that need the patch are 4.14.99 and 4.14.100.

(cherry picked from commit 60b5347fb5)
2019-02-15 19:31:38 -05:00
Tim Steinbach
14ce17862c kernel: Remove 4.18.x
4.18 series is EOL

(cherry picked from commit ff4bf6067e)
2019-02-15 23:41:19 +01:00
Vladimír Čunát
72aaa06feb Merge #55852: elfutils: 0.175 -> 0.176
Fixes six security CVE issues.

(cherry picked from commit 1ca67d201f)
2019-02-15 23:32:49 +01:00
Matthew Bauer
9bd45dddf8 haskell.buildStackProject: use setup hook
This makes things easier and hopefully fixes the arg too long issue.

Resolves #55548

(cherry picked from 0dabacae00)
2019-02-15 12:11:24 -05:00
Tim Steinbach
0ba800c4b4 linux: Remove truncation patch from 4.19 2019-02-15 10:04:48 -05:00
Tim Steinbach
6da8b83c5e linux: 4.19.21 -> 4.19.23
(cherry picked from commit 8c14948343)
2019-02-15 10:03:10 -05:00
Tim Steinbach
6e90746334 linux: 4.14.99 -> 4.14.101
(cherry picked from commit 7954ec0ffd)
2019-02-15 10:03:10 -05:00
Tim Steinbach
f0ce0f3149 linux: 4.9.156 -> 4.9.158
(cherry picked from commit 50f518c93f)
2019-02-15 10:03:09 -05:00
Andreas Rammhold
cd88dcb25c thunderbird-bin: 60.5.0 -> 60.5.1
(cherry picked from commit 3c35745731)
2019-02-15 15:18:23 +01:00
Andreas Rammhold
657d92e6d1 firefox: 60.5.0 -> 60.5.1
(cherry picked from commit 0f2226adc5)
2019-02-15 15:18:03 +01:00
Vladimír Čunát
735ab7a700 linux 4.9, 4.19: also apply interpreter-trunc
4.4.174 doesn't need this (possibly after a future bump).
I think this covers all the affected kernels ATM.  Builds tested.
2019-02-15 09:16:23 +01:00
Graham Christensen
a1156b996a Revert "shellFor: Don't suck in src to compare to deps. [Fixes #51079]"
This reverts commit b40b39b1bc.

tarball job failed:

    error: while evaluating anonymous function at /build/source/maintainers/scripts/find-tarballs.nix:6:1, called from undefined position:
    while evaluating 'operator' at /build/source/maintainers/scripts/find-tarballs.nix:27:16, called from undefined position:
    while evaluating 'immediateDependenciesOf' at /build/source/maintainers/scripts/find-tarballs.nix:39:29, called from /build/source/maintainers/scripts/find-tarballs.nix:27:44:
    while evaluating anonymous function at /build/source/lib/attrsets.nix:225:10, called from undefined position:
    while evaluating anonymous function at /build/source/maintainers/scripts/find-tarballs.nix:40:37, called from /build/source/lib/attrsets.nix:225:16:
    while evaluating 'derivationsIn' at /build/source/maintainers/scripts/find-tarballs.nix:42:19, called from /build/source/maintainers/scripts/find-tarballs.nix:40:40:
    while evaluating 'optional' at /build/source/lib/lists.nix:241:20, called from /build/source/maintainers/scripts/find-tarballs.nix:44:33:
    while evaluating 'canEval' at /build/source/maintainers/scripts/find-tarballs.nix:48:13, called from /build/source/maintainers/scripts/find-tarballs.nix:44:43:
    while evaluating the attribute 'drvPath' at /build/source/lib/customisation.nix:149:7:
    while evaluating the derivation attribute 'name' at /build/source/pkgs/stdenv/generic/make-derivation.nix:177:11:
    while evaluating 'nullSrc' at /build/source/pkgs/development/haskell-modules/make-package-set.nix:263:19, called from undefined position:
    while evaluating 'overrideCabal' at /build/source/pkgs/development/haskell-modules/lib.nix:37:24, called from /build/source/pkgs/development/haskell-modules/make-package-set.nix:263:22:
    attribute 'override' missing, at /build/source/pkgs/development/haskell-modules/lib.nix:37:28
2019-02-14 22:56:57 -05:00
Tim Steinbach
bf7d4a34e6 Revert "Revert "linux: 4.9.155 -> 4.9.156""
This reverts commit dd9b7aebae.
2019-02-14 21:21:50 -05:00
Tim Steinbach
6e94ffb79f Revert "Revert "linux: 4.19.20 -> 4.19.21""
This reverts commit e9468ff7b6.
2019-02-14 21:19:05 -05:00
Edmund Wu
c4b10f8347 linux: allow for interpreter to be truncated
via https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cb5b020a8d38f77209d0472a0fea755299a8ec78
see https://github.com/NixOS/nixpkgs/issues/53672

(cherry picked from commit f0b8a113dd)
2019-02-14 21:15:56 -05:00
Edmund Wu
9c78f68e28 Revert "Revert "linux: 4.14.98 -> 4.14.99""
This reverts commit 01d8894c4d.

(cherry picked from commit 13d1ba3439)
2019-02-14 21:02:48 -05:00
Silvan Mosberger
31d55726af Merge pull request #54901 from ElvishJerricco/haskell-shellfor-null-src-18.09
Backport #54900
2019-02-15 00:40:17 +01:00
Will Dietz
2745c15270 tor-browser-bundle-bin: 8.0.5 -> 8.0.6
https://blog.torproject.org/new-release-tor-browser-806
(cherry picked from commit 12984854c6)
2019-02-14 20:37:49 +01:00
Eelco Dolstra
dd9b7aebae Revert "linux: 4.9.155 -> 4.9.156"
This reverts commit eeda4d78da. The new
kernel breaks long shebang paths: https://lkml.org/lkml/2019/2/13/853
2019-02-14 14:58:08 +01:00
Eelco Dolstra
e9468ff7b6 Revert "linux: 4.19.20 -> 4.19.21"
This reverts commit a0ba6c2182. The new
kernel breaks long shebang paths: https://lkml.org/lkml/2019/2/13/853
2019-02-14 14:54:55 +01:00
Andreas Rammhold
68c0a16d43 Merge pull request #55759 from andir/18.09/firefox
[18.09] firefox: 65.0 -> 65.0.1, firefox-esr-60: 60.5.0esr -> 60.5.1esr
2019-02-14 13:50:22 +01:00
Andreas Rammhold
da8c0cbee8 firefox: add andir (myself) as maintainer
I have been working on this for some time now so it probably makes
sense...

(cherry picked from commit 826611bef9)
2019-02-14 11:35:48 +01:00
Andreas Rammhold
48e158db9b firefox-esr-60: 60.5.0esr -> 60.5.1esr
Release notes: https://www.mozilla.org/en-US/firefox/60.5.1/releasenotes/

(cherry picked from commit 2f4c7f3f92)
2019-02-14 11:35:38 +01:00
Andreas Rammhold
8108615193 firefox: 65.0 -> 65.0.1
Release notes: https://www.mozilla.org/en-US/firefox/65.0.1/releasenotes/

(cherry picked from commit aa2acd0123)
2019-02-14 11:34:59 +01:00
worldofpeace
7801872271 Merge pull request #55535 from eadwu/backports/20190210
[18.09] vscode backports - 20190210
2019-02-13 22:53:59 +00:00
Vladimír Čunát
3d99234ce7 Revert "linux: 4.14.98 -> 4.14.99"
This reverts commit 0e1eb30a1d.
It broke the installer tests, e.g. https://hydra.nixos.org/build/88704861

(cherry picked from commit 01d8894c4d)
2019-02-13 23:21:57 +01:00
Averell Dalton
c4cf19fe20 nextcloud-client: fix crash
(cherry picked from commit cfc7cdac45)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-02-13 21:17:41 +01:00
Michael Raskin
bb748b4f28 libreoffice-still: replace with libreoffice-fresh which has actually reached the Still stage 2019-02-13 16:33:49 +01:00
Michael Raskin
73568e8e0f libreoffice-fresh: 6.0.5.2 -> 6.0.7.3 2019-02-13 16:33:49 +01:00
John Ericson
e1deb56b10 Merge pull request #55538 from worldofpeace/autopatchelf-backport
backport changes to autoPatchelfHook
2019-02-13 09:57:59 -05:00
José Romildo Malaquias
c86fd3ed13 vivaldi-ffmpeg-codecs: 71.0.3578.98 -> 72.0.3626.96
(cherry picked from commit c00b84adfc)
2019-02-13 09:11:50 -05:00
José Romildo Malaquias
f6e84ff918 vivaldi: 2.2.1388.37-1 -> 2.3.1440.41-1
(cherry picked from commit 24c966545a)
2019-02-13 09:11:29 -05:00
Ivan Kozik
e23980ea7d chromium: 72.0.3626.81 -> 72.0.3626.96
CVE-2019-5784

(cherry picked from commit 0811bbcaa4)
2019-02-13 12:28:26 +01:00
Vladimír Čunát
f4f2525cfc Merge branch 'staging-18.09' into release-18.09
Most x86_64-linux packages do have binaries,
so let's not keep 18.09-small waiting anymore.
2019-02-13 12:24:40 +01:00
Domen Kožar
89bf7472a1 fix #52118
(cherry picked from commit 28293fb169)
Signed-off-by: Domen Kožar <domen@dev.si>
2019-02-13 15:59:32 +07:00
Vladimír Čunát
63a36696f9 Merge branch 'release-18.09' into staging-18.09 2019-02-13 08:56:34 +01:00
Will Dietz
e5c1e6821c Merge #55334: curl: 7.63.0 -> 7.64.0
(cherry picked from commit 42446b15a7)
Contains security fixes.
2019-02-13 08:55:33 +01:00
Will Dietz
c979f23b9f curl: 7.62.0 -> 7.63.0
https://curl.haxx.se/mail/lib-2018-12/0036.html
https://curl.haxx.se/changes.html
(cherry picked from commit 5a8660bd29)
2019-02-13 08:55:06 +01:00
Austin Seipp
1669f07c75 foundationdb60: 6.0.15 -> 6.0.18
Signed-off-by: Austin Seipp <aseipp@pobox.com>
(cherry picked from commit c19807e25d,
without dependent patches, to bump version directly from 6.0.15)
2019-02-12 23:07:39 -06:00
Tim Steinbach
a0ba6c2182 linux: 4.19.20 -> 4.19.21
(cherry picked from commit c7e17fa49c)
2019-02-12 18:46:56 -05:00
Tim Steinbach
a260b5dbd5 linux: 4.14.98 -> 4.14.99
(cherry picked from commit 0e1eb30a1d)
2019-02-12 18:46:55 -05:00
Tim Steinbach
eeda4d78da linux: 4.9.155 -> 4.9.156
(cherry picked from commit a629651af2)
2019-02-12 18:46:54 -05:00
Peter Simons
8611e758a5 opentracing: fix Nixpkgs evaluation errors
(cherry picked from commit d46291dda5)
2019-02-12 15:14:35 +01:00
Bjørn Forsman
edbd55fa9a Unbreak eval with nix-1.x
Remove the last use of the "placeholder" primop on release-18.09 branch.

Fixes: a57d03fcc3 ("teeworlds: 0.6.4 -> 0.6.5"), which was backported
from master with the "placeholder" primop.
2019-02-12 15:14:20 +01:00
Tim Steinbach
fb51a58888 flashplayer: 32.0.0.114 -> 32.0.0.142
(cherry picked from commit 2fcb8c3ac7)
2019-02-12 08:22:33 -05:00
Sarah Brofeldt
eab0f4630b docker: 18.09.1 -> 18.09.2
(cherry picked from commit 9f3cad2ee3)
2019-02-12 13:14:43 +00:00
Will Dietz
8b3f09242d docker: 18.09.0 -> 18.09.1
https://github.com/docker/docker-ce/releases/tag/v18.09.1
(cherry picked from commit 487a43324e)
2019-02-12 13:14:43 +00:00
adisbladis
0a3561a969 Merge pull request #53375 from adisbladis/nodejs-backports
Backport nodejs from #53270
2019-02-12 12:07:19 +00:00
Robert Schütz
168cbb3969 Merge pull request #55562 from Moredread/tor-browser-backport
tor-browser-bundle-bin: 8.0.4 -> 8.0.5 (Backport)
2019-02-12 00:54:14 +01:00
Robert Schütz
ccd53a9cb1 borgbackup: 1.1.8 -> 1.1.9
Changelog: https://borgbackup.readthedocs.io/en/stable/changes.html#version-1-1-9-2019-02-10
(cherry picked from commit 9c5ca86247)
2019-02-12 00:39:33 +01:00
Robert Schütz
16340b902c borgbackup: 1.1.7 -> 1.1.8
(cherry picked from commit 3adf8427d2)
2019-02-12 00:39:33 +01:00
Pierre Bourdon
d770864744 libu2f-host: 1.1.6 -> 1.1.7 (CVE-2018-20340)
(cherry picked from commit da9fdcb1f0)
2019-02-11 21:58:24 +01:00
Will Dietz
d064b22415 tor-browser-bundle-bin: 8.0.4 -> 8.0.5
https://blog.torproject.org/new-release-tor-browser-805

* demote github URL, it doesn't have newest
  (including 8.0.4 which this upgrades from)

(cherry picked from commit 791a6c4937)
2019-02-11 13:01:57 +01:00
Peter Simons
109a28ab95 Merge pull request #55346 from dotlambda/dovecot-CVE-2019-3814
[18.09] dovecot: fix CVE-2019-3814
2019-02-11 11:17:35 +01:00
Robert Schütz
9e431cec25 dovecot: 2.3.4 -> 2.3.4.1
fixes CVE-2019-3814:
https://dovecot.org/list/dovecot-news/2019-February/000394.html

(cherry picked from commit d49ffaac8a)
2019-02-11 10:30:26 +01:00
Robert Schütz
72e1819062 dovecot: 2.3.3 -> 2.3.4, dovecot_pigeonhole: 0.5.3 -> 0.5.4
(cherry picked from commit b6c96c6419)
2019-02-11 10:30:09 +01:00
R. RyanTM
3b276cfcd0 dovecot_pigeonhole: 0.5.2 -> 0.5.3 (#47820)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/dovecot-pigeonhole/versions

(cherry picked from commit e00bfcd798)
2019-02-11 10:30:00 +01:00
R. RyanTM
f594245ae5 dovecot: 2.3.2.1 -> 2.3.3 (#47814)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/dovecot/versions

(cherry picked from commit 5a6c4d39fb)
2019-02-11 10:29:42 +01:00
aszlig
10ffd6f112 autoPatchelfHook: Skip on missing segment headers
If the file in question is not a shared object file but an ELF, we
really want to skip the file, because we won't have anything to patch
there.

For example if the file is created via "gcc -c -o foo.o foo.c", we don't
get a segment header and so far autoPatchelf was trying to patch such a
file.

By checking for missing segment headers, we're now no longer going to
attempt patching such a file.

Signed-off-by: aszlig <aszlig@nix.build>
Reported-by: Sander van der Burg <svanderburg@gmail.com>
(cherry picked from commit 4a6e3e4185)
2019-02-10 17:02:02 -05:00
aszlig
66de7c7939 autoPatchelfHook: Fix type of norecurse variable
While declaring it as an array doesn't do any harm in our usage, it
might be a bit confusing when reading the code.

Signed-off-by: aszlig <aszlig@nix.build>
(cherry picked from commit 9f23a63f79)
2019-02-10 17:01:57 -05:00
aszlig
2586da9d0e autoPatchelfHook: Add addAutoPatchelfSearchPath
This function is useful if autoPatchelf is invoked during some of the
phases of a build and allows to add arbitrary shared objects to the
search path.

So far the same functionality was in autoPatchelf itself, but not
available as a separate function, so when adding shared objects to the
dependency cache one would have to do so manually.

The function also has the --no-recurse flag, which prevents recursing
into subdirectories.

Signed-off-by: aszlig <aszlig@nix.build>
(cherry picked from commit 2faf905f98)
2019-02-10 17:01:51 -05:00
aszlig
83b7d5813a autoPatchelfHook: Add --no-recurse flag
This is to be used with the autoPatchelf command and allows to only
patch a specific file or directory without recursing into
subdirectories.

Apart from being able to run the command in a standalone way, as
detailled in the previous commit this is also needed for the Android SDK
emulator, because according to @svanderburg there are subdirectories we
don't want to patch.

The reason why I didn't use GNU getopt is that it might not be available
on all operating systems and the getopts bash builtin doesn't support
long arguments. Apart from that, the implementation for recognizing the
flag is pretty trivial and it's also using bash builtins only, so if we
want to do something really fancy someday, we can still change it.

Signed-off-by: aszlig <aszlig@nix.build>
(cherry picked from commit 3ca35ce0b2)
2019-02-10 17:01:46 -05:00
aszlig
f4eb9c5993 autoPatchelfHook: Allow to prevent automatic run
If you want to only run autoPatchelf on a specific path and leave
everything else alone, we now have a $dontAutoPatchelf environment
variable, which causes the postFixup hook to not run at all.

The name "dontAutoPatchelf" probably is a bit weird in conjunction with
putting "autoPatchelfHook" in nativeBuildInputs, but unless someone
comes up with a better name I keep it that way because it's consistent
with all the other dontStrip, dontPatchShebangs, dontPatchELF and
whatnot.

A specific example where this is needed is when building the Android SDK
emulator, which contains a few ARM binaries in subdirectories that
should not be patched. If we were to run autoPatchelf on all outputs
unconditionally we'd run into errors because some ARM libraries couldn't
be found.

Signed-off-by: aszlig <aszlig@nix.build>
(cherry picked from commit e4fbb244ee)
2019-02-10 17:01:40 -05:00
aszlig
c6fbed235a autoPatchelfHook: Make easier to run autoPatchelf
The autoPatchelf main function which is run against all of the outputs
was pretty much tailored towards this specific setup-hook and was
relying on $prefix to be set globally.

So if you wanted to run autoPatchelf manually - let's say during
buildPhase - you would have needed to run it like this:

  prefix=/some/directory autoPatchelf

This is now more intuitive and all you need to do is run the following:

  autoPatchelf /some/directory

Signed-off-by: aszlig <aszlig@nix.build>
(cherry picked from commit d03e4ffdbf)
2019-02-10 17:01:34 -05:00
aszlig
d3c7d37806 autoPatchelfHook: Correctly detect PIE binaries
I originally thought it would just be enough to just check for an INTERP
section in isExecutable, however this would mean that we don't detect
statically linked ELF files, which would break our recent improvement to
gracefully handle those.

In theory, we are only interested in ELF files that have an INTERP
section, so checking for INTERP would be enough. Unfortunately the
isExecutable function is already used outside of autoPatchelfHook, so we
can't easily get rid of it now, so let's actually strive for more
correctness and make isExecutable actually match ELF files that are
executable.

So what we're doing instead now is to check whether either the ELF type
is EXEC *or* we have an INTERP section and if one of them is true we
should have an ELF executable, even if it's statically linked.

Along the way I also set LANG=C for the invocations of readelf, just to
be sure we don't get locale-dependent output.

Tested this with the following command (which contains almost[1] all the
packages using autoPatchelfHook), checking whether we run into any
library-related errors:

  nix-build -E 'with import ./. { config.allowUnfree = true; };
    runCommand "test-executables" {
      drvs = [
        anydesk cups-kyodialog3 elasticsearch franz gurobi
        masterpdfeditor oracle-instantclient powershell reaper
        sourcetrail teamviewer unixODBCDrivers.msodbcsql17 virtlyst
        vk-messenger wavebox zoom-us
      ];
    } ("for i in $drvs; do for b in $i/bin/*; do " +
       "[ -x \"$b\" ] && timeout 10 \"$b\" || :; done; done")
  '

Apart from testing against library-related errors I also compared the
resulting store paths against the ones prior to this commit. Only
anydesk and virtlyst had the same as they didn't have self-references,
everything else differed only because of self-references, except
elasticsearch, which had the following PIE binaries:

  * modules/x-pack/x-pack-ml/platform/linux-x86_64/bin/autoconfig
  * modules/x-pack/x-pack-ml/platform/linux-x86_64/bin/autodetect
  * modules/x-pack/x-pack-ml/platform/linux-x86_64/bin/categorize
  * modules/x-pack/x-pack-ml/platform/linux-x86_64/bin/controller
  * modules/x-pack/x-pack-ml/platform/linux-x86_64/bin/normalize

These binaries were now patched, which is what this commit is all about.

[1]: I didn't include the "maxx" package (MaXX Interactive Desktop)
     because the upstream URLs are no longer existing and I couldn't
     find them elsewhere on the web.

Signed-off-by: aszlig <aszlig@nix.build>
Fixes: https://github.com/NixOS/nixpkgs/issues/48330
Cc: @gnidorah (for MaXX Interactive Desktop)
(cherry picked from commit c64624b843)
2019-02-10 17:01:25 -05:00
aszlig
f4136c19b5 autoPatchelfHook: Silence errors in isExecutable
The "maxx" package recursively runs isExecutable on a bunch of files and
since the change to use "readelf" instead of "file" a lot of errors like
this one are printed during build:

  readelf: Error: Not an ELF file - it has the wrong magic bytes at the
  start

While the isExecutable was never meant to be used outside of the
autoPatchelfHook, it's still a good idea to silence the errors because
whenever readelf fails, it clearly indicates that the file in question
is not a valid ELF file.

Signed-off-by: aszlig <aszlig@nix.build>
(cherry picked from commit b4526040a2)
2019-02-10 17:01:16 -05:00
aszlig
7b0e45e482 autoPatchelfHook: Only check PT_INTERP on execs
If the ELF file is not an executable, we do not get a PT_INTERP section,
because after all, it's a *shared* library.

So instead of checking for PT_INTERP (to avoid statically linked
executables) for all ELF files, we add another check to see if it's an
executable and *only* skip it when it is and there's no PT_INTERP.

Signed-off-by: aszlig <aszlig@nix.build>
(cherry picked from commit 9920215d00)
2019-02-10 17:00:38 -05:00
Jörg Thalheim
cb929ba3d3 autoPatchelfHook: do not patch statically linked files
Also speed up quite significantly due less forking.

(cherry picked from commit 58a97dfb49)
2019-02-10 16:59:26 -05:00
Edmund Wu
2475906e4a vscode: 1.30.2 -> 1.31.0
(cherry picked from commit ea679302a5)
2019-02-10 15:54:49 -05:00
worldofpeace
23689934dc vscode: minor cleanup, produce one wrapper on linux
I removed the hack for libsecret, introduced in[0] and
I didn't encounter any problems at runtime.

[0]: https://github.com/NixOS/nixpkgs/pull/29127

(cherry picked from commit d9b14864a5)
2019-02-10 15:51:17 -05:00
Edmund Wu
4af87382a5 vscode: fix rpath for native modules
(cherry picked from commit 919a5f6963)
2019-02-10 15:51:09 -05:00
Edmund Wu
a4a2964f7d vscode-extensions.ms-vscode.cpptools: 0.20.1 -> 0.21.0
(cherry picked from commit baf6ba553f)
2019-02-10 15:50:58 -05:00
markuskowa
5225d4bf01 Merge pull request #55459 from fadenb/mysql_module_dbname_quoting_backport
[18.09] nixos/mysql: fix option `ensureDatabases`
2019-02-09 19:02:55 +01:00
Vladimír Čunát
3acebb0395 Merge branch 'staging-18.09' into release-18.09
polkit security
2019-02-09 09:49:11 +01:00
Robin Stumm
6792ad7f1e nixos/mysql: fix option ensureDatabases
The database name needs to be quoted
in case it contains special characters
so the MySQL service does not fail to start.

(cherry picked from commit 429c0bf60c)
2019-02-08 22:28:07 +01:00
Pascal Wittmann
13050bedc4 nagstamon: 2.0.1 -> 3.2.1 2019-02-08 20:02:12 +01:00
Aaron Andersen
b0e4127a70 cron: fix error when running crontab as sudo (issue #54827)
(cherry picked from commit c8547081cb)

Fixes https://github.com/NixOS/nixpkgs/issues/54827.
2019-02-08 17:43:01 +00:00
Elis Hirwing
e50e323a2c php72: 7.2.14 -> 7.2.15
Changelog: https://secure.php.net/ChangeLog-7.php#7.2.15
(cherry picked from commit 89dec63005)
2019-02-08 14:26:58 +00:00
Elis Hirwing
83f7febfd2 php72: 7.2.13 -> 7.2.14
Changelog: http://php.net/ChangeLog-7.php#7.2.14
(cherry picked from commit ab341a18ad)
2019-02-08 14:26:58 +00:00
Elis Hirwing
8618619dfd php71: 7.1.25 -> 7.1.26
Changelog: http://php.net/ChangeLog-7.php#7.1.26
(cherry picked from commit 49538f6b3a)
2019-02-08 13:20:56 +00:00
Tim Steinbach
fe753dd2f9 linux: 4.4.173 -> 4.4.174
(cherry picked from commit b5108ee64686960667ed70c8f2ddf11a8d169238)
2019-02-08 08:19:32 -05:00
Jorge Acereda
ce211e6839 ffmpeg-full: nvenc doesn't imply nonfree licensing 2019-02-08 10:50:43 +00:00
Andreas Rammhold
b01a89d58f Revert "linux: Adds patch for fixing wifi on raspberry pi"
Upstream 4.19.20 contains this patch already.

This reverts commit 43f4fb3c52.
2019-02-08 10:50:49 +01:00
worldofpeace
a859ce551b polkit: fix CVE-2019-6133
Jann Horn of Google found that Polkit doesn't properly check
if a process is already authenticated, which can lead to an
authentication reuse by a different user[0]. See also [1]

Closes #55391

[0]: https://bugs.chromium.org/p/project-zero/issues/detail?id=1692
[1]: https://gitlab.freedesktop.org/polkit/polkit/issues/75

(cherry picked from commit 7da64c9fbe)
2019-02-08 08:07:09 +00:00
Jörg Thalheim
8c492fee00 Merge pull request #55430 from Lassulus/steam-stable
[18.09] Steam: run update_runtimes.py
2019-02-08 06:11:33 +00:00
christoph
2c3418277a run update_runtimes.py
(cherry picked from commit 6833eabe59)
2019-02-08 05:13:17 +01:00
taku0
e6ad2c30aa thunderbird, thunderbird-bin: 60.4.0 -> 60.5.0 (#54935)
* thunderbird-bin: 60.3.3 -> 60.5.0

* thunderbird: 60.4.0 -> 60.5.0

(cherry picked from commit 3106cbe8c3)
2019-02-07 23:32:15 +01:00
Wout Mertens
160e2f7dd4 Merge branch 'staging-18.09' into nodejs-backports 2019-02-07 15:41:59 +01:00
Daniel Barlow
987d4b9cb4 make-closure needs build system mkdir and jq
Make make-closure work when cross-compiling

(cherry picked from commit f9f6ddc083)
2019-02-06 23:08:33 -05:00
Tim Steinbach
919c37786c linux: 4.4.172 -> 4.4.173
(cherry picked from commit a957cc42cfd072019120b8b2eae680625c7d844e)
2019-02-06 14:40:48 -05:00
Tim Steinbach
642499faef linux: 4.19.19 -> 4.19.20
(cherry picked from commit 7870ada549)
2019-02-06 13:29:16 -05:00
Tim Steinbach
0ae99e827a linux: 4.14.97 -> 4.14.98
(cherry picked from commit bd7e5b51b5)
2019-02-06 13:29:15 -05:00
Tim Steinbach
9b3d1ecb15 linux: 4.9.154 -> 4.9.155
(cherry picked from commit 117551ce2a)
2019-02-06 13:29:14 -05:00
Dmitry Kalinkin
8008d0bbc6 Merge pull request #55257 from MatrixAI/release-18.09
Backport fixes to tensorflow to release-18.09
2019-02-06 00:30:54 -05:00
Jeff Slight
12b1462924 gitlab: 11.6.3 -> 11.7.4
(cherry picked from commit 8c043d3c7b)
2019-02-06 01:01:06 +01:00
Pascal Bach
2578fa2c96 gitlab-runner: 11.6.0 -> 11.7.0
(cherry picked from commit 30c40858bd)
2019-02-06 00:54:43 +01:00
Florian Klink
addb7f23eb minio-client: 2018-12-27T00-37-49Z -> 2019-01-30T19-57-22Z
(cherry picked from commit d60c38ad9b)
2019-02-05 18:41:43 +01:00
Florian Klink
9e7dfa983e minio: 2019-01-23T23-18-58Z -> 2019-01-31T00-31-19Z
(cherry picked from commit 16994118ba)
2019-02-05 18:41:41 +01:00
Herman Fries
a8511a6f86 tensorflow: Add contrib/tensor_forest to rpath
(cherry picked from commit 69af83b202)
2019-02-05 18:25:35 +11:00
Maximilian Bosch
38a99219f3 nixos/ndppd: register test 2019-02-04 23:22:20 +01:00
Franz Pletz
961794963b ndppd: don't use weird upstream systemd service unit
(cherry picked from commit 2746973061)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-02-04 23:21:20 +01:00
elseym
b9d797fb44 ndppd module: refactor
(cherry picked from commit 4ce1c59389)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-02-04 23:21:19 +01:00
Franz Pletz
43d2810d73 nixos/tests: add ndppd test
(cherry picked from commit f1b91b5726)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-02-04 23:21:16 +01:00
Lancelot SIX
d4a1e8975a qgis: 2.18.22 -> 2.18.28
(cherry picked from commit 76b1610a35)
2019-02-04 21:36:48 +01:00
Dmitry Kalinkin
dbb9f8818a buildbot: fix CVE-2019-7313 2019-02-04 00:59:42 -05:00
Dmitry Kalinkin
1e2c3bedbb Revert "qt59-qtbase: fix darwin build with clang-5"
The fix is already included in Qt 5.9.7

This reverts commit 0bf153f9c0.

(cherry picked from commit fd75bbccb9)
2019-02-02 21:33:52 +01:00
Andreas Rammhold
89049f3bb3 qt511: 5.11.1 -> 5.11.3
This fixes

 * CVE-2018-15518, Qt Base: “double free or corruption” in QXmlStreamReader
 * CVE-2018-19873, Qt Base: QBmpHandler segfault on malformed BMP file
 * CVE-2018-19870, Qt Base: Check for QImage allocation failure in qgifhandler
 * CVE-2018-19871, Qt Imageformats: QImage: QTgaFile CPU exhaustion
 * CVE-2018-19865, Qt Virtual Keyboard: Qt Virtual Keyboard logs all key presses
 * CVE-2018-19869, Qt Svg: Fix crash when parsing malformed url reference

More details can be obtained from the Qt annoucement [1].

[1] https://blog.qt.io/blog/2018/12/04/qt-5-11-3-released-important-security-updates/

(cherry picked from commit 2f5d37b77b)
2019-02-02 17:56:45 +01:00
Andreas Rammhold
0948f87182 qt56: fix CVE-2018-{15518,19873,19870,19871,19865,19869}
* CVE-2018-15518, Qt Base: “double free or corruption” in QXmlStreamReader
 * CVE-2018-19873, Qt Base: QBmpHandler segfault on malformed BMP file
 * CVE-2018-19870, Qt Base: Check for QImage allocation failure in qgifhandler
 * CVE-2018-19871, Qt Imageformats: QImage: QTgaFile CPU exhaustion
 * CVE-2018-19865, Qt Virtual Keyboard: Qt Virtual Keyboard logs all key presses
 * CVE-2018-19869, Qt Svg: Fix crash when parsing malformed url reference

More details can be obtained from the Qt annoucement [1].

[1] https://blog.qt.io/blog/2018/12/04/qt-5-11-3-released-important-security-updates/

(cherry picked from commit 066be85d9d)
2019-02-02 17:56:45 +01:00
Andreas Rammhold
a3c82b97af qt56.qtvirtualkeyboard: init at 5.6.3
This adds the "missing" qtvirtualkeyboard module of qt56. I just add
this so I can apply (& test) the patches for a CVE in the next commit.
This might seem strange but in case anyone decided to add / use this in
the future we are on the safe(r) side.

(cherry picked from commit 295a210a23)
2019-02-02 17:52:38 +01:00
Roosemberth Palacios
2ff7ef373e youtube-dl: 2019.01.17 -> 2019.01.30.1 (#55076)
Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
2019-02-02 16:13:27 +01:00
worldofpeace
7e15417e42 typora: 0.9.53 -> 0.9.64, remove electron blob
Also dropped the i386 archive.

(cherry picked from commit 3b61faf52b)
The archive for 0.9.53 was removed resulting in a broken build.
2019-02-01 23:01:58 -05:00
Robert Schütz
2481296277 Merge pull request #54974 from MatrixAI/release-18.09
Backport fixes to Dask and Distributed to release-18.09
2019-02-01 14:20:39 +01:00
Léo Gaspard
b3a2215178 Merge branch 'pr-55022' into release-18.09
* pr-55022:
  redmine: 3.4.6 -> 3.4.8
2019-02-01 14:01:20 +01:00
Domen Kožar
10dbdd30d1 nixops: 1.6 -> 1.6.1
(cherry picked from commit 8b85a86023)
Signed-off-by: Domen Kožar <domen@dev.si>
2019-02-01 11:40:42 +07:00
Herwig Hochleitner
77e29cd5fa i2p: 0.9.35 -> 0.9.38
(cherry picked from commit f7165b2ad6)
2019-02-01 03:58:18 +01:00
Frederik Rietdijk
5272775da6 python: distributed: 1.23.1 -> 1.23.3
(cherry picked from commit e8783b8284)
2019-02-01 12:53:11 +11:00
Chris Ostrouchov
283985b5b8 pythonPackages.distributed: refactor move to fetchPypi
There is a bug when using git repo in that the package does not get a
version (shows up as `0+unknown`). Using pypi fixes this issue allows
allows for auto upgrades.

(cherry picked from commit e5cd420e73)
2019-02-01 12:52:47 +11:00
Chris Ostrouchov
802e8d2676 fixup! merge: fixing changes with nixpkgs since pull-request
(cherry picked from commit 027b9beb58)
2019-02-01 12:42:06 +11:00
Chris Ostrouchov
19a3d55dc7 pythonPackages.distributed: 1.15.1 -> 1.22.1
The github repository was downloaded instead of the pypi repository
for testing (needed `conftest.py`). Major work was done on the
underlying dependencies to make distributed work on python 2.7,
3+. Note that the test **do** take a significant amount of time (10-15
minutes).

 - moved to `python-modules`
 - compatible with 2.7, 3+
 - all tests pass (previously tests were not run)

(cherry picked from commit 4f70170f8a)
2019-02-01 12:42:04 +11:00
Chris Ostrouchov
fcd7df5ea8 pythonPackages.pytest-repeat: init at 0.6.0
- compatible with 2.7, 3+
 - all tests pass and running

(cherry picked from commit 7b920172db)
2019-02-01 12:41:37 +11:00
Chris Ostrouchov
ff5a9b975b pythonPackages.pytest-faulthandler: init at 1.5.0
- compatible with 2.7 and 3+
 - all test pass.

(cherry picked from commit 5704642a3f)
2019-02-01 12:41:37 +11:00
Aaron Andersen
a349f52d83 redmine: 3.4.6 -> 3.4.8
(cherry picked from commit 0f3ecc630c)
2019-01-31 20:00:29 -05:00
Ivan Kozik
e1271ae1f5 chromium: make the new audio sandbox NixOS-compatible
Deal with f2fc90bb74
which landed https://github.com/chromium/chromium/blob/master/services/audio/audio_sandbox_hook_linux.cc
containing /usr/share and /usr/lib/x86_64-linux-gnu paths.

closes https://github.com/NixOS/nixpkgs/pull/54960

(cherry picked from commit 03960a323d)
2019-01-31 20:07:22 +01:00
Rob Vermaas
22a34b26fe julia: add 1.1.0
(cherry picked from commit bfc3789f38)
2019-01-31 15:01:04 +01:00
Tim Steinbach
76fc5f47b3 linux: 4.19.18 -> 4.19.19
(cherry picked from commit e4c1ce97c3)
2019-01-31 07:21:46 -05:00
Tim Steinbach
4bb7f3408c linux: 4.14.96 -> 4.14.97
(cherry picked from commit f623daca21)
2019-01-31 07:21:46 -05:00
Tim Steinbach
d2c9ee8dbb linux: 4.9.153 -> 4.9.154
(cherry picked from commit 468b6cea72)
2019-01-31 07:21:45 -05:00
Michael Weiss
54e78e87b0 Merge pull request #54987 from primeos/signal-desktop-backport
[18.09] Signal-Desktop backport
2019-01-31 12:37:08 +01:00
Michael Weiss
f9514c91fe signal-desktop: 1.19.0 -> 1.20.0
(cherry picked from commit 3efab179a5)
2019-01-31 12:15:27 +01:00
Michael Weiss
44fc32dca9 signal-desktop: 1.18.1 -> 1.19.0
A new dependency (at-spi2-atk) is required for libatk-bridge-2.0.so.

Also libstdc++.so.6 is now required from stdenv.cc.cc.lib (stdenv.cc.cc
doesn't offer it). The binary will only find libstdc++.so.6 via
$LD_LIBRARY_PATH (i.e. not via rpath, the run-time search path).

(cherry picked from commit e01209f2c7)
2019-01-31 12:15:26 +01:00
Robert Schütz
5769ebc21a Merge pull request #54941 from dotlambda/CVE-2019-3498-backport
django: [18.09] CVE-2019-3498
2019-01-31 10:26:05 +01:00
Andreas Rammhold
cdf9d7ce34 Merge pull request #54944 from andir/18.09/dockerTools
[18.09] dockerTools: unpin go version
2019-01-31 09:40:22 +01:00
Izorkin
47be5473a2 datadog-agent: 6.8.3 -> 6.9.0
(cherry picked from commit 73b317d923)
Signed-off-by: Domen Kožar <domen@dev.si>
2019-01-31 13:05:09 +07:00
Izorkin
f54482f59a datadog-agent: 6.4.2 -> 6.8.3
(cherry picked from commit 47a8b13efa)
Signed-off-by: Domen Kožar <domen@dev.si>
2019-01-31 13:04:56 +07:00
Herwig Hochleitner
7f3df85f44 chromium: 71.0.3578.98 -> 72.0.3626.81
CVE-2019-5754 CVE-2019-5782 CVE-2019-5755 CVE-2019-5756 CVE-2019-5757
CVE-2019-5758 CVE-2019-5759 CVE-2019-5760 CVE-2019-5761 CVE-2019-5762
CVE-2019-5763 CVE-2019-5764 CVE-2019-5765 CVE-2019-5766 CVE-2019-5767
CVE-2019-5768 CVE-2019-5769 CVE-2019-5770 CVE-2019-5771 CVE-2019-5772
CVE-2019-5773 CVE-2019-5774 CVE-2019-5775 CVE-2019-5776 CVE-2019-5777
CVE-2019-5778 CVE-2019-5779 CVE-2019-5780 CVE-2019-5781

(cherry picked from commit 6b27008fb5)
2019-01-31 01:22:05 +01:00
worldofpeace
d19eea7334 pythonPackages.txaio: disable tests
See discussion in https://github.com/NixOS/nixpkgs/pull/53479

Fixes #53474
2019-01-30 18:53:17 -05:00
Robert Schütz
f944ffecb9 python.pkgs.django_1_8: mark as insecure (#54937)
Since CVE-2018-14574 and CVE-2019-3498 affect 1.11, it is very likely
they also apply to 1.8. However, Django 1.8 has reached EOL in April
2018 and the patches were not backported.

(cherry picked from commit c6e08579c5)
2019-01-30 23:58:13 +01:00
Andreas Rammhold
0d6c4a88e2 qt59.qtvirtualkeyboard: fix CVE-2018-19865
CVE-2018-19865 tracks the issue of qtvirtualkeyboard where it logs all
user input. With this commit we are applying the recommended patches
form the upstream project.

More details can be obtained from the Qt annoucement [1].

[1] https://blog.qt.io/blog/2018/12/04/qt-5-11-3-released-important-security-updates/

(cherry picked from commit 66601282cc)
2019-01-30 23:56:50 +01:00
Florian Franzen
fc0c9a25ab qt59: 5.9.3 -> 5.9.7
(cherry picked from commit 776c96272c)
2019-01-30 23:46:59 +01:00
Andreas Rammhold
bc739d01cc Merge pull request #54910 from andir/18.09/prometheus-node-exporter
[18.09] prometheus-node-exporter: remove go 1.9 pinning
2019-01-30 15:53:41 +01:00
Benjamin Hipple
f39fb7b419 dockerTools: unpin go version
The linked PR has been merged, and in fact dockerTools has upgraded to the
latest `go1.11` compiler:

https://github.com/moby/moby/pull/35739
https://github.com/moby/moby/pull/37358
(cherry picked from commit 4d8bb9a34a)
2019-01-30 15:43:21 +01:00
R. RyanTM
e9a99dd6cc python37Packages.django_2_1: 2.1.4 -> 2.1.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/python3.7-django/versions

(cherry picked from commit 0f5b4ecbea)
2019-01-30 14:53:20 +01:00
R. RyanTM
a38319be05 python37Packages.django_2_1: 2.1.3 -> 2.1.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/python3.7-django/versions

(cherry picked from commit 375f2c23dd)
2019-01-30 14:53:13 +01:00
R. RyanTM
425238f065 python36Packages.django_2_1: 2.1.2 -> 2.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/python3.6-django/versions

(cherry picked from commit 1330965fa5)
2019-01-30 14:53:07 +01:00
Robert Schütz
67f7b70c10 python.pkgs.django_2_0: 2.0.9 -> 2.0.10
fixes CVE-2019-3498

(cherry picked from commit 682b551864)
2019-01-30 14:51:40 +01:00
Robert Schütz
ec76d88c15 python.pkgs.django_1_11: 1.11.17 -> 1.11.18
fixes CVE-2019-3498

(cherry picked from commit e79d165d42)
2019-01-30 14:51:20 +01:00
Mario Rodas
8f9bbbe1cb pythonPackages.django_1_11: 1.11.16 -> 1.11.17 (#52636)
(cherry picked from commit ddd91fcfab)
2019-01-30 14:51:13 +01:00
Andreas Rammhold
23806968da gitAndTools.grv: use buildGoPackage instead of buildGo19Package
(cherry picked from commit 4fbce625ed)
2019-01-30 11:52:16 +01:00
Andreas Rammhold
bba8c22223 Merge staging-18.09 into release-18.09 2019-01-30 11:30:52 +01:00
Andreas Rammhold
2fddd79df6 Merge pull request #54912 from andir/18.09/firefox65
[18.09] nss 3.41 -> 3.42, firefox 64 -> 65
2019-01-30 03:12:38 +01:00
Andreas Rammhold
4bc8537905 firefoxPackages.firefox-esr-60: 60.4.0esr -> 60.5.0esr
(cherry picked from commit 10024f2ad1)
2019-01-30 02:16:45 +01:00
Andreas Rammhold
4f6152afc8 prometheus-node-exporter: remove go 1.9 pinning
With Go1.11 the daemon seems to work just fine. I was unable to observe
any crashes (due to the wifi module being loaded).
2019-01-30 01:35:40 +01:00
Andreas Rammhold
5e90a0f1da firefox-bin: 64.0 -> 65.0 2019-01-30 00:01:33 +01:00
Andreas Rammhold
d85692d289 firefox: 64.0 -> 65.0
There have been some more changes to the source tree which broke the
buildconfig patch. This commit adds another patch that can be used for
the future versions. Once all the flavors are based off a new(ish)
firefox release we can remove the old patch.
2019-01-29 23:58:37 +01:00
Andreas Rammhold
36e8e5db3a nss: 3.41 -> 3.42 2019-01-29 23:56:58 +01:00
Andreas Rammhold
19b3dae9f8 Merge 'release-18.09' into staging-18.09 2019-01-29 23:52:19 +01:00
Vladimír Čunát
5a3e195bcb go_1_9: mark as insecure (see the parent commit)
Upstream only supports two latest releases.
https://github.com/golang/go/issues/29903#issuecomment-457307356

(cherry picked from commit a687ef9739)
2019-01-29 21:34:25 +00:00
Vladimír Čunát
374f74c139 go_1_10: 1.10.7 -> 1.10.8 (security)
https://groups.google.com/forum/#!topic/golang-announce/mVeX35iXuSw
https://github.com/NixOS/nixpkgs/pull/54658
(cherry picked from commit d32e779ae8)
2019-01-29 21:34:17 +00:00
allowthere
ef8659b7ed go: 1.11.4 -> 1.11.5
https://groups.google.com/forum/#!msg/golang-announce/mVeX35iXuSw/Flp8FX7QEAAJ

We have just released Go 1.11.5 and Go 1.10.8 to address a recently reported security issue. We recommend that all users update to one of these releases (if you’re not sure which, choose Go 1.11.5).

This DoS vulnerability in the crypto/elliptic implementations of the P-521 and P-384 elliptic curves may let an attacker craft inputs that consume excessive amounts of CPU.

These inputs might be delivered via TLS handshakes, X.509 certificates, JWT tokens, ECDH shares or ECDSA signatures. In some cases, if an ECDH private key is reused more than once, the attack can also lead to key recovery.

The issue is CVE-2019-6486 and Go issue golang.org/issue/29903. See the Go issue for more details.

(cherry picked from commit d803da845f)
2019-01-29 21:34:07 +00:00
Will Fancher
b40b39b1bc shellFor: Don't suck in src to compare to deps. [Fixes #51079] 2019-01-29 16:26:29 -05:00
zimbatm
e39e43a349 nixos/google-compute-image: don't use <nixpkgs> (#54539)
Avoid loading code from the NIX_PATH as it prevents pinning
2019-01-28 17:31:58 +00:00
Tim Steinbach
0576b02369 linux: 4.19.17 -> 4.19.18
(cherry picked from commit 4ab5604c85)
2019-01-27 16:20:15 -05:00
Tim Steinbach
eb2a4f493b linux: 4.14.95 -> 4.14.96
(cherry picked from commit 19505bb8d1)
2019-01-27 16:20:14 -05:00
Tim Steinbach
7dfa5be27c linux: 4.9.152 -> 4.9.153
(cherry picked from commit 4606793349)
2019-01-27 16:20:13 -05:00
Tim Steinbach
047a9dc080 linux: 4.4.171 -> 4.4.172
(cherry picked from commit 6df6bb42b5)
2019-01-27 16:20:12 -05:00
Maximilian Bosch
68c0e95383 nextcloud-client: fix qt error at startup
The QT_PLUGIN_PATH couldn't find the needed xcb plugin.

See also #51044

(cherry picked from commit b525493253)
2019-01-27 11:37:43 +01:00
Andreas Rammhold
73c0c699eb Merge pull request #54505 from andir/18.09/firefox65
[18.09] firefox 65
2019-01-26 17:18:58 +01:00
Vladimír Čunát
09218fe5de systemd-cryptsetup-generator: fixup linkage
It got broken by a6fc462b5 #53483.
But IMO it's *this* expression that was written in a too fragile way.

(cherry picked from commit 2c226107cb)
2019-01-26 14:18:16 +01:00
Vladimír Čunát
e481112024 Revert "nix: point at curl 7.59.0 (#41452)"
This reverts commit 5574df3549.
I also can't reproduce the problem anymore; discussion: #41312.
Fixes #53569, fixes #53948.  (Vulnerabilities in old curl.)

(cherry picked from commit 51ac3db79c)
I've noticed no complaints about this change on unstable/master.
2019-01-26 14:02:01 +01:00
Jörg Thalheim
06808d4a14 Merge pull request #54565 from ivan/18.09-runScript
[18.09] buildFHSUserEnv: use runScript in env
2019-01-26 09:34:14 +00:00
Kristoffer Søholm
a4ee02f835 buildFHSUserEnv: use runScript in env (#49077)
This makes its behaviour conform to what is implied in the
documentation.

(cherry picked from commit 6f05dea390)
2019-01-26 09:32:41 +00:00
Stig Palmquist
119a93190a pythonPackages.python-gnupg: 0.4.3 -> 0.4.4
Fixes CVE-2019-6690:
https://blog.hackeriet.no/cve-2019-6690-python-gnupg-vulnerability/

(cherry picked from commit 464cbda386)
2019-01-25 08:01:14 +01:00
Kristoffer Søholm
6f05dea390 buildFHSUserEnv: use runScript in env (#49077)
This makes its behaviour conform to what is implied in the
documentation.
2019-01-25 01:41:25 +00:00
Ingolf Wagner
b7088935d6 rustc: mark compileprocess as timeconsuming
(cherry picked from commit c5f0dbb660)
2019-01-24 19:44:36 -05:00
Pascal Wittmann
ea58d40cfd autossh: 1.4f -> 1.5.g 2019-01-24 22:04:48 +01:00
Eelco Dolstra
261251b29d Fix copy-tarballs.pl
(cherry picked from commit 11cf7d6e1f)
2019-01-24 16:16:12 +01:00
Frederik Rietdijk
a35ecf0973 ncurses: use github mirror
Development releases of ncurses are uploaded but often also removed
again. This is causing a lot of trouble, so let's instead use a
GitHub mirror.

(cherry picked from commit 43e867a226)
2019-01-24 10:36:49 +01:00
Voob of Doom
3f69c99c2e ncurses: 6.1-20181027 -> 6.1-20190112
v6.1-20181027 url is 404.

(cherry picked from commit 138720f2f1)
2019-01-24 10:36:41 +01:00
Silvan Mosberger
9f88b3cbea Merge pull request #54410 from worldofpeace/mate-downgrade-backport
[18.09] mate updates and downgrades
2019-01-24 00:24:53 +01:00
Andreas Rammhold
aeba227fe0 Merge release-18.09 into staging-18.09 2019-01-23 18:45:22 +01:00
Member Betty
c595242ca9 aws-google-auth: use python3 (#52445)
(cherry picked from commit d268e3b2c0)
2019-01-23 18:04:19 +01:00
Tim Steinbach
749a3a0d00 linux: 4.19.16 -> 4.19.17
(cherry picked from commit 1b8beae40b)
2019-01-23 07:13:01 -05:00
Tim Steinbach
9239b3e9ba linux: 4.14.94 -> 4.14.95
(cherry picked from commit 5f0a4ee69f)
2019-01-23 07:12:54 -05:00
Tim Steinbach
7ab024129d linux: 4.9.151 -> 4.9.152
(cherry picked from commit 8ee43e01fa)
2019-01-23 07:12:45 -05:00
Peter Simons
276e509673 Merge pull request #53939 from rnhmjoj/pandoc-crossref-backport
haskellPackages.pandoc-crossref: refactor disable tests for 0.3.2.1 [backport]
2019-01-23 12:51:57 +01:00
Vladimir Mosienko
c7ae9a29ff teamviewer: 13.1.3026 -> 14.1.3399
(cherry picked from commit 2a858b3f76)
2019-01-23 09:46:27 +00:00
Andreas Rammhold
e76e8909c6 firefoxPackages: support building with firefox 65
Firefox >=65 will depend on icu >=63. All the older firefox versions
(and derived packages) seem to work fine with this change.

Also the system path environment patch will fail to apply since there
was a trivial whitespace change in the source file. By adding `-l` to
patch we can avoid having to track two patches that do basically the
same. Having patchFlags per file without resorting to pre-/postPatch
would be nicer but there doesn't seem to be a facility for that right
now.

(cherry picked from commit e37b765e7897c015153552d4e33a8571ab9c5457)
2019-01-23 09:05:41 +01:00
Symphorien Gibol
5a0116e4c3 rustc: fix build with unbundled jemalloc and llvm on darwin
jemalloc with stripped prefix would cause segfaults in free:
https://github.com/NixOS/nixpkgs/pull/49557#issuecomment-436734677

This commit has been adjusted from the one on master to only carry the
relevant changes (the new optional `stripPrefix`) flag while still
keeping the other flags that were removed on master since they are no
loner supported by the version used there.

(cherry picked from commit 973eca740b)
2019-01-23 09:05:41 +01:00
Andreas Rammhold
ae835664b2 rust_1_31: init at 1.31
This removes the 1.29 backport and replaces it with the 1.31 version
from master.
2019-01-23 09:05:40 +01:00
Alyssa Ross
577aa817e6 nss: 3.40.1 -> 3.41
(cherry picked from commit fdc6caf144)
2019-01-23 09:05:40 +01:00
Alyssa Ross
335f87f88c icu63: init at 63.1
(cherry picked from commit 70b8ab6e72)
2019-01-23 01:13:30 +01:00
Matthew Bauer
88157a2a48 ghc: don’t add libiconv automatically
ghc needs it to fail to correctly detect it for later.
2019-01-22 17:47:21 -05:00
worldofpeace
a21dad5e57 Merge pull request #54364 from etu/stable-upgrade-gitea
Backport gitea: 1.6.3 -> 1.6.4
2019-01-21 18:06:20 +00:00
Tim Steinbach
dc7a3651b5 openjdk: 8u192 -> 8u202
(cherry picked from commit fad6b012bd)
2019-01-21 13:04:59 -05:00
Milan Svoboda
f3b123e574 DMD to provide libphobos2.so.x.y
(cherry picked from commit 3f634dd88c)
2019-01-21 16:30:04 +00:00
Mario Rodas
c2b2843d39 aws-google-auth: init at 0.0.29
(cherry picked from commit f15aecd1bb)
2019-01-21 14:26:29 +01:00
worldofpeace
e7ac65c8b1 mate.mate.polkit: move gobjectIntrospection to nativeBuildInputs
(cherry picked from commit e26d22c091)
2019-01-21 02:52:25 -05:00
worldofpeace
a6be464584 mate.mate-panel: add gobjectIntrospection
(cherry picked from commit 1101ebb4fe)
2019-01-21 02:52:25 -05:00
worldofpeace
edb086c46c mate.mate-menus: move gobjectIntropection to nativeBuildInputs
(cherry picked from commit 1fa78d2fce)
2019-01-21 02:52:25 -05:00
worldofpeace
cf60db5f7e mate.mozo: switch to using buildPythonApplication, cleanup
(cherry picked from commit ff22ad20e7)
2019-01-21 02:52:24 -05:00
worldofpeace
b49c670e64 mate.atril: workaround undeclared dependence on gio-unix-2.0
(cherry picked from commit f9b8f2cf4f)
2019-01-21 02:52:24 -05:00
worldofpeace
ba0b9683e0 mate.python-caja: 1.20.0 -> 1.20.2
(cherry picked from commit 6ce1348158)
2019-01-21 02:52:24 -05:00
worldofpeace
a05f04b997 mate.pluma: 1.21.1 -> 1.20.4
(cherry picked from commit 4e6b97784f)
2019-01-21 02:52:23 -05:00
worldofpeace
fbdcbfbeed mate.mozo: 1.20.1 -> 1.20.2
(cherry picked from commit bdf5b3dd1b)
2019-01-21 02:52:23 -05:00
worldofpeace
5c8370c66d mate.mate-utils: 1.21.0 -> 1.20.2
(cherry picked from commit e3c2e51e0e)
2019-01-21 02:52:22 -05:00
worldofpeace
4572f2fee1 mate.mate-user-guide: 1.21.0 -> 1.20.2
(cherry picked from commit 548e26ea45)
2019-01-21 02:52:22 -05:00
worldofpeace
a3a4fa7953 mate.mate-terminal: 1.21.0 -> 1.20.2
(cherry picked from commit 98ce15cf3f)
2019-01-21 02:52:22 -05:00
worldofpeace
3fbbdaef52 mate.mate-system-monitor: 1.21.0 -> 1.20.2
(cherry picked from commit 16ea947914)
2019-01-21 02:52:21 -05:00
worldofpeace
3cbac072fd mate.mate-settings-daemon: 1.21.0 -> 1.20.4
(cherry picked from commit c92039e5b6)
2019-01-21 02:52:21 -05:00
worldofpeace
5399b90410 mate.mate-session-manager: 1.21.0 -> 1.20.2
(cherry picked from commit 3a0bd5c367)
2019-01-21 02:52:21 -05:00
worldofpeace
9e362c1922 mate.mate-sensors-applet: 1.21.0 -> 1.20.3
(cherry picked from commit 254ed88cb7)
2019-01-21 02:52:20 -05:00
worldofpeace
7cc3ee5615 mate.mate-screensaver: 1.21.0 -> 1.20.3
(cherry picked from commit 2eadf35958)
2019-01-21 02:52:20 -05:00
worldofpeace
5995b1b3fc mate.mate-power-manager: 1.21.0 -> 1.20.3
(cherry picked from commit 0be0c710c2)
2019-01-21 02:52:20 -05:00
worldofpeace
980c1d50a2 mate.mate-polkit: 1.20.1 -> 1.20.2
(cherry picked from commit 9f79190976)
2019-01-21 02:52:19 -05:00
worldofpeace
1a3b4abb16 mate.mate-panel: 1.21.1 -> 1.20.4
(cherry picked from commit 276da98ded)
2019-01-21 02:52:19 -05:00
worldofpeace
0f8ec286c4 mate.mate-notification-daemon: 1.20.1 -> 1.20.2
(cherry picked from commit bd3e25849b)
2019-01-21 02:52:19 -05:00
worldofpeace
063d09f3e7 mate.mate-menus: 1.21.0 -> 1.20.2
(cherry picked from commit 8ef194d7da)
2019-01-21 02:52:18 -05:00
worldofpeace
9e7f3e6836 mate.mate-media: 1.21.0 -> 1.20.2
(cherry picked from commit ff86182e9a)
2019-01-21 02:52:18 -05:00
worldofpeace
d1a77f7b90 mate.mate-icon-theme: 1.21.0 -> 1.20.3
(cherry picked from commit 0065df21f4)
2019-01-21 02:52:18 -05:00
worldofpeace
842bc89419 mate.mate-desktop: 1.21.0 -> 1.20.4
(cherry picked from commit 5701547d34)
2019-01-21 02:52:17 -05:00
worldofpeace
f3c19a1cf8 mate.mate-control-center: 1.21.0 -> 1.20.4
(cherry picked from commit 365e164fe4)
2019-01-21 02:52:17 -05:00
worldofpeace
2e3955ee39 mate.mate-calc: 1.21.0 -> 1.20.3
(cherry picked from commit 4f495775b6)
2019-01-21 02:52:16 -05:00
worldofpeace
282dc010eb mate.mate-applets: 1.21.0 -> 1.20.3
(cherry picked from commit f344cccea6)
2019-01-21 02:52:16 -05:00
worldofpeace
fa59104cea mate.macro: 1.21.0 -> 1.20.3
(cherry picked from commit 5c8db56468)
2019-01-21 02:52:16 -05:00
worldofpeace
3e240c6ccb mate.libmateweather: 1.21.0 -> 1.20.2
(cherry picked from commit d5cdfc942d)
2019-01-21 02:52:15 -05:00
worldofpeace
bd3463ba88 mate.libmatemixer: 1.21.0 -> 1.20.1
(cherry picked from commit e9cf5dee86)
2019-01-21 02:52:15 -05:00
worldofpeace
8155484ac3 mate.libmatekbd: 1.21.0 -> 1.20.2
(cherry picked from commit 6ee7bf05f9)
2019-01-21 02:52:15 -05:00
worldofpeace
df04ea0061 mate.eom: 1.21.2 -> 1.20.2
(cherry picked from commit df577121f6)
2019-01-21 02:52:14 -05:00
worldofpeace
65e87d7609 mate.engrampa: 1.21.0 -> 1.20.2
(cherry picked from commit 26e351e39d)
2019-01-21 02:52:13 -05:00
worldofpeace
06dd214214 mate.caja-extensions: 1.20.1 -> 1.20.2
(cherry picked from commit 2f6424a4ff)
2019-01-21 02:52:13 -05:00
worldofpeace
deaecbbc2f mate.caja: 1.21.2 -> 1.20.3
(cherry picked from commit da66a0be1f)
2019-01-21 02:52:12 -05:00
worldofpeace
448da4b092 mate.atril: 1.20.0 -> 1.20.3
(cherry picked from commit 19281027e9)
2019-01-21 02:52:12 -05:00
Samuel Dionne-Riel
50f41ea2fc Revert "Add ssh backdoor to VM tests infrastructure."
This reverts commit d6e3db44cf.

See #53935 for explanations. In short, it may be causing issues with
tests on the build infrastructure.

(cherry picked from commit 3aab228d09)
2019-01-20 15:50:29 -05:00
taku0
c983626f12 oraclejdk: 8u191 -> 8u201, 8u202
(cherry picked from commit 11fbd8299d)
2019-01-20 11:41:26 +00:00
Elis Hirwing
9fcd2b1f6d gitea: 1.6.3 -> 1.6.4
Release notes: https://github.com/go-gitea/gitea/releases/tag/v1.6.4
2019-01-20 09:04:21 +01:00
Alexey Shmalko
5d9024da9b Merge pull request #54293 from witkamp/fix/gcc-arm-embedded/MANPATH
gcc-arm-embedded: fix MANPATH
2019-01-20 03:37:56 +02:00
Vladimír Čunát
a16476a935 Merge branch 'staging-18.09' into release-18.09 2019-01-19 17:23:04 +01:00
Theodore Witkamp
08e2492a58 gcc-arm-embedded: fix MANPATH 2019-01-18 16:05:56 -08:00
Robert Schütz
69c050c60b Merge pull request #54276 from timokau/youtube-dl-fix-18.09
[18.09] youtube-dl: 2019.01.16 -> 2019.01.17
2019-01-18 16:28:19 +01:00
Timo Kaufmann
8da20836c6 youtube-dl: 2019.01.16 -> 2019.01.17
Fixes an issue with youtube, see
https://github.com/rg3/youtube-dl/issues/18891

(cherry picked from commit a1169afded)
2019-01-18 16:07:42 +01:00
Joachim F
da32b557cb Merge pull request #54253 from Moredread/electrum-18.09
Backport: electrum: 3.2.3 -> 3.2.4 (security)
2019-01-18 10:21:20 +00:00
Jörg Thalheim
b3f403bd1c Merge pull request #54228 from schmittlauch/exfat-nofuse/update
exfat-nofuse: backport unbreak for 4.18 and 4.20
2019-01-18 08:14:49 +00:00
Jörg Thalheim
fee3c22f30 racket: fix drracket crashes on file dialogs
(cherry picked from commit 4f9e46af5d)
2019-01-18 08:13:19 +00:00
André-Patrick Bubel
20f17484af electrum: 3.2.3 -> 3.2.4 (security)
Backports anti-phishing measures from master

(cherry picked from commit cfcce55e1c)
2019-01-18 05:08:34 +01:00
makefu
44ec48f768 exfat-nofuse: unbreak for 4.18 and 4.20
(cherry picked from commit eac6725843)
2019-01-17 23:54:54 +01:00
Franz Pletz
fa3dd53be8 tengine: 2.2.2 -> 2.2.3 (security)
Fixes CVE-2018-16843, CVE-2018-16844 and CVE-2018-16845.

(cherry picked from commit 3a6cd12a47)
2019-01-17 13:27:39 +01:00
Tim Steinbach
c94837dd40 linux: 4.19.15 -> 4.19.16
(cherry picked from commit b4ab6ffb7f)
2019-01-17 06:57:14 -05:00
Tim Steinbach
520c2cbab8 linux: 4.14.93 -> 4.14.94
(cherry picked from commit 6ad56550e4)
2019-01-17 06:57:06 -05:00
Tim Steinbach
a87f6a6f4f linux: 4.9.150 -> 4.9.151
(cherry picked from commit 1e62588421)
2019-01-17 06:56:56 -05:00
Tim Steinbach
db4c3746c0 linux: 4.4.170 -> 4.4.171
(cherry picked from commit 2833865206)
2019-01-17 06:56:48 -05:00
Jörg Thalheim
8139daa10e Merge pull request #54018 from MP2E/discord_stable_bump
discord: 0.0.5 -> 0.0.8 [backport to release-18.09]
2019-01-17 09:03:45 +00:00
Jörg Thalheim
5907c1741b oraclejdk: 8.191 -> 8.201
also no longer use requireFile and accept the license via nixpkgs option

(cherry picked from commit 1dc706f060)
2019-01-17 07:31:21 +00:00
Cray Elliott
8a00a453ce discord: fix gsettings crash when selecting file
(cherry picked from commit ff2341afc9)
2019-01-16 17:35:09 -08:00
Cray Elliott
c2eb7d73c1 discord: remove line referencing paxmark 2019-01-16 17:34:58 -08:00
Cray Elliott
01f54e8fd8 discord: 0.0.7 -> 0.0.8
also fixes evaluation on release-18.09

(cherry picked from commit d5d5453684)
2019-01-16 17:34:58 -08:00
Cray Elliott
a76438ccab discord: 0.0.5 -> 0.0.7
discord now depends on gtk3 instead of gtk2, unfortunately
there is no public changelog, so other changes are unknown

(cherry picked from commit 4e4a9babd7)
2019-01-16 17:34:58 -08:00
Jörg Thalheim
55aaf71e07 Merge pull request #53887 from schmittlauch/ktouch-backport
ktouch backport: init at 18.08.0
2019-01-16 20:50:28 +00:00
Herman Fries
a8e638a1e4 jetbrains.webstorm: 2018.3.2 -> 2018.3.3
(cherry picked from commit 0931e88251)
2019-01-16 17:32:19 +00:00
Herman Fries
419c4b4d37 jetbrains.rider: 2018.2.3 -> 2018.3.1
(cherry picked from commit 86219e2512)
2019-01-16 17:32:16 +00:00
Herman Fries
bc58f8806f jetbrains.pycharm-professional: 2018.3.2 -> 2018.3.3
(cherry picked from commit 126220c72f)
2019-01-16 17:32:12 +00:00
Herman Fries
6f2f81ec35 jetbrains.pycharm-community: 2018.3.2 -> 2018.3.3
(cherry picked from commit 8af348a4c0)
2019-01-16 17:32:08 +00:00
Herman Fries
390b79a0db jetbrains.idea-ultimate: 2018.3.2 -> 2018.3.3
(cherry picked from commit 623af95530)
2019-01-16 17:32:05 +00:00
Herman Fries
56bfbd1114 jetbrains.idea-community: 2018.3.2 -> 2018.3.3
(cherry picked from commit 443f806762)
2019-01-16 17:31:56 +00:00
Herman Fries
c8d2fe6457 jetbrains.clion: 2018.3.2 -> 2018.3.3
(cherry picked from commit 878a1a3f71)
2019-01-16 17:31:51 +00:00
Bjørn Forsman
21f693ef8e gitolite: 3.6.10 -> 3.6.11
From https://github.com/sitaramc/gitolite/blob/master/CHANGELOG:

2019-01-08  v3.6.11 fix security issue in 'rsync' (bundle helper); see commit
                    5df2b81 for more

(cherry picked from commit 3dee561c34)
2019-01-16 13:44:39 +01:00
Lassulus
65db4e0871 gitolite 3.6.7 -> 3.6.10 (#48562)
(cherry picked from commit b7632217ab)
2019-01-16 13:44:31 +01:00
Bjørn Forsman
aa2b8cc964 gitolite: change patchPhase to postPatch
Overriding patchPhase is bad practice, it prevents customizing the
package with "patches = []".

(cherry picked from commit 9e1b5f1115)
2019-01-16 12:55:38 +01:00
Michael Raskin
af669204f7 Merge pull request #54005 from domenkozar/geoclue2-downgrade
Geoclue2 downgrade
2019-01-16 11:47:04 +00:00
Vladimír Čunát
de519bc6b9 Merge #54039: wireshark: 2.6.4 -> 2.6.6
(cherry picked from commit 2aa190bae0)

A few security problems were fixed in both of the bumps,
mostly crashes with specific packets:
https://www.wireshark.org/docs/relnotes/wireshark-2.6.5.html
https://www.wireshark.org/docs/relnotes/wireshark-2.6.6.html
2019-01-16 11:17:19 +01:00
Jörg Thalheim
d64b173fdf Merge pull request #54001 from jb55/clightning-backports
clightning: 0.6.1 -> 0.6.3 (security, 18.09 backport)
2019-01-16 06:42:04 +00:00
Orivej Desh
7b8eb4948b libjpeg-turbo: fix CVE-2018-20330 (#53950)
(cherry picked from commit b0757da432)
2019-01-16 01:24:58 +00:00
/u/leo60228
28b3fa6eb4 youtube-dl: 2019.01.10 -> 2019.01.16
See #54010

(cherry picked from commit 977fd31463)
2019-01-16 00:26:07 +01:00
Dmitry Kalinkin
5b0d714aad Merge pull request #53940 from ThomasMader/fixDub
[18.09] dub: Fix package build
2019-01-15 16:27:00 -05:00
William Casarin
d0b16e5926 clightning: 0.6.1 -> 0.6.3
Versions before 0.6.3 have a potential coin-stealing DoS vulnerability.

Please upgrade!

backported from commits:

ca67e65182 0.6.2 -> 0.6.3
b0fbc9ed40738176b1539009bcae88f5f63b8eab split native build inputs
3c1d7118e6 0.6.1 -> 0.6.2

Signed-off-by: William Casarin <jb55@jb55.com>
2019-01-15 12:56:49 -08:00
Tad Fisher
d6eccb3a74 jetbrains: 2018.3.1 -> 2018.3.2 2019-01-15 17:01:51 +00:00
Tad Fisher
7bfb238066 jetbrains: 2018.3 -> 2018.3.1 2019-01-15 17:01:46 +00:00
Jason "Don" O'Conal
ec4829afe5 jetbrains-editors: 2018.2 -> 2018.3 2019-01-15 17:01:42 +00:00
Vladimír Čunát
97e0d53d66 Merge branch 'staging-18.09' into release-18.09
Mainly CVE fixes for systemd and openssh
2019-01-15 00:11:44 +01:00
elseym
0b471f71fa sonarr service: add more options to module
(cherry picked from commit 31ad79f432)
2019-01-14 20:37:39 +01:00
elseym
7436c65827 nzbget service: fix preStart script and add more options to module
(cherry picked from commit 44e1aabd02)
2019-01-14 20:37:23 +01:00
Thomas Mader
4b08662e74 dub: Fix package build 2019-01-14 13:48:47 +01:00
Chris Ostrouchov
a46594aeb4 haskellPackages.pandoc-crossref: refactor disable tests for 0.3.2.1
Author acknowleges test failing (change when no longer 0.3.2.1).
https://github.com/lierdakil/pandoc-crossref/issues/199

(cherry picked from commit e1ed5b26c9)
2019-01-14 13:44:27 +01:00
Domen Kožar
e99d03715a Revert "geoclue2 service: add option to run demo agent"
This reverts commit 316669327c.
2019-01-14 11:37:53 +01:00
Domen Kožar
053e0061dc Revert "geoclue2: 2.4.8 → 2.4.10"
This reverts commit a6dab86ada.
2019-01-14 11:36:30 +01:00
Domen Kožar
d37e90a3dd Revert "geoclue: 2.4.10 -> 2.4.12"
This reverts commit 284fc9b449.
2019-01-14 11:36:18 +01:00
worldofpeace
3ee297b992 Revert "geoclue2: add patch to whitelist elementary's agent"
This reverts commit ac61b96d1c.
2019-01-14 11:36:05 +01:00
elseym
e02b9d79f8 nixos/containers: explicitly set link up on host for extraVeths
(cherry picked from commit 8a8bf886b5)
2019-01-14 05:01:54 +01:00
Vladimír Čunát
5c79b4b512 Merge branch 'release-18.09' into staging-18.09 2019-01-13 23:28:35 +01:00
Samuel Dionne-Riel
0352694373 Merge pull request #53877 from tomfitzhenry/cherry-pick-alertmanager-extra-flags
Alertmanager: Allow the definition of extra options on commandline
2019-01-13 16:56:44 -05:00
Andreas Rammhold
fb83c49e04 openssh: apply CVE-2018-20685 patch
And modified to remove the CVS headers

(cherry picked from commit 6d3a653f10)
2019-01-13 22:53:20 +01:00
Jörg Thalheim
015541ea6a Merge pull request #53648 from Mic92/udev-settle
[backport] nixos/systemd-udev-settle: don't restart on upgrades
2019-01-13 21:06:19 +00:00
taku0
ab476f6377 flashplayer-standalone: mark broken
(cherry picked from commit a019087ef4)
crashes, see #53742
2019-01-13 21:54:30 +01:00
taku0
873a87706f flashplayer: 32.0.0.101 -> 32.0.0.114
(cherry picked from commit 9f1ff9976f)
security update, 404 on previous source tarball
2019-01-13 21:54:30 +01:00
Tim Steinbach
2f3144d1f9 linux: 4.19.14 -> 4.19.15
(cherry picked from commit e8d79486ef6bba14c799aab7e33b67b144d9830c)
2019-01-13 15:50:58 -05:00
Tim Steinbach
f10eb33323 linux: 4.14.92 -> 4.14.93
(cherry picked from commit 40920807b65eb9194b2a0b00a273935fcdcd2ad8)
2019-01-13 15:50:57 -05:00
Tim Steinbach
ea5e0ed6d8 linux: 4.9.149 -> 4.9.150
(cherry picked from commit e2455e52fb7e50c4390cca7a54f4607271a9f819)
2019-01-13 15:50:56 -05:00
Tim Steinbach
08619eabcc linux: 4.4.169 -> 4.4.170
(cherry picked from commit 7f0aba4cbdc441eadaa70b989f14412e4cabd55b)
2019-01-13 15:50:55 -05:00
R. RyanTM
f99d014197 duplicity: 0.7.18.1 -> 0.7.18.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/duplicity/versions

(cherry picked from commit a481218df3)
2019-01-13 14:08:22 -05:00
R. RyanTM
3cd286c681 duplicity: 0.7.18 -> 0.7.18.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/duplicity/versions

(cherry picked from commit a12c1aebb7)
2019-01-13 14:08:22 -05:00
Trolli Schmittlauch
8ccb60b9ea Merge branch 'release-18.09' into ktouch-backport 2019-01-13 19:52:58 +01:00
Alberto Berti
ef7c9c4edb Allow the definition of extra options on commandline
I stumbled upon an issue with the Alertmanager that required
an additional comand line option. See https://groups.google.com/forum/#!msg/prometheus-users/-5wd-P13xCI/lGLBHHgnBgAJ

(cherry picked from commit 69e4e4934d)

Without this, Nixos machines on 18.09 that have no private IP addresses cannot start Alertmanager.
https://github.com/NixOS/nixpkgs/pull/46068
https://github.com/NixOS/nixpkgs/pull/45302
2019-01-13 13:33:34 +00:00
Trolli Schmittlauch
61f0e7fddf ktouch: init at 18.08.0
packaging the `ktouch` touch typing tutor. Due to Qt impurities, it
needs to be installed in a profile to find it runtime dependencies.

(cherry picked from commit e93bd1d445)
2019-01-13 14:23:20 +01:00
Trolli Schmittlauch
efbf00b210 qt511.qtdeclarative: fix CMake qmlcachegen path
This package contains several CMake files used for setting up its
provided tools for use in other projects build with CMake.
While packaging *ktouch* I found out that the ${_qt5Core_install_prefix}
variable doesn't expand at all, rendering the path to the `qmlcachegen`
binary useless. As a fix, the command itself is used instead of the path
to the binary.

(cherry picked from commit 4b76c4605e)
2019-01-13 14:21:23 +01:00
Pascal Bach
919e0ada69 youtube-dl: 2019.01.02 -> 2019.01.10
(cherry picked from commit 395dbf0d9a)
2019-01-13 12:42:57 +01:00
Pascal Bach
ab838cfffd youtube-dl: 2018.12.17 -> 2019.01.02
(cherry picked from commit c74054f1d1)
2019-01-13 12:42:48 +01:00
Franz Pletz
a6fc462b59 systemd: 239 -> 239.20190110
Fixes CVE-2018-16864 & CVE-2018-16865 (journald stack clash). Fixes #53755.

Also updates the debian patches to fix CVE-2018-15686. Fixes #52250.

(cherry picked from commit 74a64a8a61)
2019-01-13 10:46:17 +01:00
Florian Klink
001b34abcb Merge pull request #53824 from eadwu/backports/vscode-1.30.2
vscode backport: 1.30.1 -> 1.30.2
2019-01-12 23:41:29 +01:00
Florian Klink
3b7c070663 nextcloud: 15.0.0 -> 15.0.2
(cherry picked from commit 58af931a57)
2019-01-12 23:04:49 +01:00
Samuel Dionne-Riel
4d5935de62 tests: Wait for shell for twice as long (10m)
See #49441 for an earlier attempt, which was subsequently reverted. I am
assuming that doubling the time will be sufficient if the machine is
overloaded since so many of the tests already pass at 5 minutes, while
still not holding back failures for needlessly long.

(cherry picked from commit b28b37eb00)
2019-01-12 12:13:17 -05:00
Will Dietz
2427f19b91 tor: 0.3.4.9 -> 0.3.4.10
https://lists.torproject.org/pipermail/tor-announce/2019-January/000171.html

FWIW, in the ChangeLog (in the source, sorry) it mentions:

  As a reminder, the Tor 0.3.4 series will be supported until 10 June
  2019. Some time between now and then, users should switch to the Tor
  0.3.5 series, which will receive long-term support until at least 1
  Feb 2022.

So we should consider moving to 0.3.5 "soon" :).

(cherry picked from commit 91859c0504)
2019-01-12 14:43:22 +01:00
Edmund Wu
cffe29fcc7 vscode: 1.30.1 -> 1.30.2
(cherry picked from commit 6b80db3f5f)
2019-01-12 08:36:45 -05:00
Thomas Tuegel
ddea42ee1e Merge pull request #53461 from schmittlauch/kcharselect-backport
Kcharselect backport: init at 18.08.0
2019-01-12 06:35:25 -06:00
Andreas Rammhold
80dc91a621 Merge pull request #53838 from andir/18.09/irssi
[18.09] irssi: 1.1.1 -> 1.1.2
2019-01-12 13:31:25 +01:00
Andreas Rammhold
1e4a763013 irssi: 1.1.1 -> 1.1.2
Fixes CVE-2019-5882 [1] and a few minor changes [2].

[1] https://irssi.org/security/html/irssi_sa_2019_01/
[2] https://irssi.org/2019/01/09/irssi-1.1.2-released/

(cherry picked from commit 41ee7073df)
2019-01-12 12:54:17 +01:00
Orivej Desh
48db49741e libjpeg-turbo: specify djpeg rgb-islow-icc-cmp test dependencies
Hydra failure: https://hydra.nixos.org/build/87096374/nixlog/1

Upstream issue: https://github.com/libjpeg-turbo/libjpeg-turbo/pull/321

(cherry picked from commit c55a42359a)
2019-01-12 11:02:10 +01:00
Vladimír Čunát
634191a27e Merge branch 'release-18.09' into staging-18.09 2019-01-12 11:02:04 +01:00
Vladimír Čunát
b3a2846516 boehmgc: avoid mass rebuild due to the parent commit
(cherry picked from commit 414e66f222)
2019-01-11 20:16:08 +01:00
Dmitry Kalinkin
d669a7c634 boehmgc: fix patch url
Fixes: 587467a18e ('github-gentoo-compromized_can...')

(cherry picked from commit ac7f4c0478)
2019-01-11 13:36:51 -05:00
Dmitry Kalinkin
695d517153 adv_cmds: switch url to use https
warning: unable to download 'http://opensource.apple.com/tarballs/adv_cmds/adv_cmds-158.tar.gz': HTTP error 302 (curl error: Couldn't connect to server); retrying in 298 ms
(cherry picked from commit 1a7e65e146)
2019-01-11 13:33:49 -05:00
Vladimír Čunát
2fbd049f1b dns-root-data: the old KSK is dead!
Long live... eh, I hope the new KSK won't live as long as the old one.
Anyway, it doesn't really matter how fast people update this.
https://www.ietf.org/mail-archive/web/dnsop/current/msg24989.html
See RFC 5011 for details of the protocol.

I re-tested validation with both of these files, to be sure.

(cherry picked from commit c4a5565e7a)
2019-01-11 16:48:15 +01:00
Notkea
76cebbcf08 matrix-synapse: 0.34.0 -> 0.34.0.1 (CVE-2019-5885)
(cherry picked from commit 0be693a8df)
2019-01-10 21:06:15 +01:00
Jörg Thalheim
4d22e46dc8 Merge pull request #53747 from bkchr/raspberry_pi_wifi_fix_backport
linux: Adds patch for fixing wifi on raspberry pi
2019-01-10 14:17:01 +00:00
Bastian Köcher
43f4fb3c52 linux: Adds patch for fixing wifi on raspberry pi 2019-01-10 13:51:45 +01:00
Mario Rodas
3bd7f31e85 nodejs-10_x: 10.12.0 -> 10.15.0
(cherry picked from commit 4c917c6961)
2019-01-10 11:36:10 +00:00
Mario Rodas
eeb3ca3aa5 nodejs-8_x: 8.11.4 -> 8.15.0
(cherry picked from commit bf847226ca)
2019-01-10 11:36:09 +00:00
Mario Rodas
9ebc5f6fb5 nodejs-6_x: 6.14.4 -> 6.16.0
(cherry picked from commit 39bec3990e)
2019-01-10 11:35:59 +00:00
R. RyanTM
35a07f6b58 http-parser: 2.8.1 -> 2.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/http-parser/versions

(cherry picked from commit 5b9ad12e7b)
2019-01-10 11:33:20 +00:00
R. RyanTM
692c5df6b2 libuv: 1.23.1 -> 1.23.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/libuv/versions

(cherry picked from commit 1699401625)
2019-01-10 11:33:19 +00:00
R. RyanTM
1515377c2f libuv: 1.23.0 -> 1.23.1 (#47763)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/libuv/versions

(cherry picked from commit ef93155f60)
2019-01-10 11:33:18 +00:00
R. RyanTM
0baa330759 libuv: 1.21.0 -> 1.23.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/libuv/versions.

(cherry picked from commit 5a95b0b440)
2019-01-10 11:33:17 +00:00
Jörg Thalheim
d26f11d389 qemu-afl: various cleanups 2019-01-09 19:28:38 -06:00
Robert Scott
abf9ac73cc afl-qemu: update to qemu 2.10.0, as specified by afl 2.52b
refresh patches & configure options directly from afl 2.52b to make
installation as vanilla as possible
2019-01-09 19:28:38 -06:00
Tim Steinbach
7d6a506754 linux: 4.19.13 -> 4.19.14
(cherry picked from commit 20f9b5d10a)
2019-01-09 12:10:20 -05:00
Tim Steinbach
70af21236d linux: 4.14.91 -> 4.14.92
(cherry picked from commit d55b3c9bf0)
2019-01-09 11:24:51 -05:00
Tim Steinbach
39e3248141 linux: 4.9.148 -> 4.9.149
(cherry picked from commit ec3e81beaf)
2019-01-09 11:03:32 -05:00
Florian Klink
3cec2249aa minio-client: 2018-12-05T22-59-07Z -> 2018-12-27T00-37-49Z
(cherry picked from commit fd90297960)
2019-01-09 12:59:03 +01:00
Florian Klink
762e7c1ebf minio: 2018-12-06T01-27-43Z -> 2018-12-27T18-33-08Z
(cherry picked from commit 6c6a899f32)
2019-01-09 12:59:03 +01:00
tilpner
b690ab173b minio-client: 2018-07-31T02-28-53Z -> 2018-12-05T22-59-07Z
(cherry picked from commit 380fce5bc3)
2019-01-09 12:59:02 +01:00
tilpner
ac184eea4a minio: 2018-07-31T02-11-47Z -> 2018-12-06T01-27-43Z
(cherry picked from commit d08187edce)
2019-01-09 12:59:02 +01:00
Jörg Thalheim
23b9f34bc8 Merge pull request #53692 from Mic92/rambox-electron
[backport] rambox: update electron to 3.x
2019-01-09 10:40:14 +00:00
Jörg Thalheim
5838574af8 electron_3: also update arm hashes
(cherry picked from commit 60703db86c)
2019-01-09 09:34:28 +00:00
Jörg Thalheim
6ccdd1607e rambox: downgrade electron to 3.x
(cherry picked from commit fdb87a0fee)
2019-01-09 07:53:55 +00:00
Jörg Thalheim
f9f584c067 electron_3: init at 3.1.0
electron 4 had many breaking changes in their API,
breaking rambox. Since the 3.x version is still maintained,
we can add an older variant.

(cherry picked from commit 66c1f82631)
2019-01-09 07:51:43 +00:00
Frederik Rietdijk
836d1d7c1c lapp: change postgresql version, fixes metrics
(cherry picked from commit a06b90a7dc)
Let's have working metrics on 18.09 as well, again.
2019-01-08 15:24:32 +01:00
Jörg Thalheim
34a1278b81 nixos/systemd-udev-settle: don't restart on upgrades
The idea is that we only need this target during boot,
however there is no point on restarting it on every upgrade.

This hopefully fixes #21954

(cherry picked from commit 0a2c8cc1db)
2019-01-08 12:08:31 +00:00
Silvan Mosberger
876a2c759b Merge pull request #53187 from cdepillabout/add-cpufreq-opts-to-18.09
backport cpufreq opts to 18.09
2019-01-08 05:02:32 +01:00
Dylan Simon
929b7846da stdenv: allow custom stdenv to take crossOverlays
(cherry picked from commit 04beae0979)
2019-01-07 20:55:06 -06:00
Robin Gloster
3582fa3f51 gitlab: 11.6.0 -> 11.6.3
(cherry picked from commit 8fac37db00)
2019-01-07 21:50:22 +01:00
Florian Klink
0a6dac0de9 gitlab-workhorse: 7.1.3 -> 7.6.0
(cherry picked from commit 134a6decae)
2019-01-07 21:50:22 +01:00
Florian Klink
57405cd6c0 gitlab-shell: 8.4.1 -> 8.4.3
(cherry picked from commit ca69c9c2d0)
2019-01-07 21:50:21 +01:00
Florian Klink
46d70e0128 gitaly: 0.129.0 -> 1.7.1
(cherry picked from commit 97e7cf75fa)
2019-01-07 21:50:21 +01:00
Florian Klink
e9ec08f2d0 gitlab-ee: 11.5.5 -> 11.6.0
(cherry picked from commit 4d7ce7a605)
2019-01-07 21:50:20 +01:00
Florian Klink
ebf1a4cf09 gitlab-ce: 11.5.5 -> 11.6.0
(cherry picked from commit 7ea6bde0ae)
2019-01-07 21:50:20 +01:00
Will Dietz
1e3969dfee Merge #52584: llvm7: 7.0.0 -> 7.0.1
(cherry picked from commit 0e393d0da1)
2019-01-07 17:29:56 +01:00
rnhmjoj
37de10b869 searx: fix build error 2019-01-07 13:22:15 +00:00
rnhmjoj
e4576ec7ac searx: 0.14.0 -> 0.15.0
(cherry picked from commit 985bc6ca5a)
2019-01-07 13:22:15 +00:00
rnhmjoj
fc5c11cdab python.pkgs.plone-testing: fix build
(cherry picked from commit bb9edd458e)
2019-01-07 13:22:15 +00:00
Bas van Dijk
cca1e3720f Merge pull request #53561 from LumiGuide/release-18.09-wordpress-plugin-copy
nixos/apache-httpd/wordpress: copy plugins and themes instead of syml…
2019-01-07 13:56:39 +01:00
Falco Peijnenburg
820bb86340 nixos/apache-httpd/wordpress: copy plugins and themes instead of symlinking
Symlinking works for most plugins and themes, but Avada, for instance, fails to
understand the symlink, causing its file path stripping to fail. This results in
requests that look like:

https://example.com/wp-content//nix/store/...plugin/path/some-file.js

Since hard linking directories is not allowed, copying is the next best thing.

(cherry picked from commit 9d2c9157d7)
2019-01-07 13:46:48 +01:00
Andrew Dunham
c2950341d0 uriparser: 0.9.0 -> 0.9.1
(cherry picked from commit 83ba7beb1a)
2019-01-06 19:09:56 -05:00
(cdep)illabout
0232f5cb2d cpufreq: add option for setting the cpu max and min frequencies
This adds a NixOS option for setting the CPU max and min frequencies
with `cpufreq`.  The two options that have been added are:

- `powerManagement.cpufreq.max`
- `powerManagement.cpufreq.min`

(cherry picked from commit b0f10d2d53)
(cherry picked from commit 46ecec8239)
2019-01-06 21:12:48 +09:00
Luke Sandell
591da7cb84 wsjtx: 1.9.1 -> 2.0.0
Old version of FT8 protocol was obsoleted on 2019-01-01.

(cherry picked from commit fada7041a0)
2019-01-06 13:12:24 +01:00
Bas van Dijk
64e1f4b50b Merge pull request #53431 from obsidiansystems/callCaball2nixWithOption-18.09
[18.09] backport haskell-modules: add callCabal2nixWithOptions
2019-01-06 11:54:49 +01:00
Vladimír Čunát
3c832ac5dd obs-studio: restrict meta.platforms
Hydra has been trying to build it on aarch64-linux, but never succeeded:
https://hydra.nixos.org/job/nixos/release-18.09-aarch64/nixpkgs.obs-studio.aarch64-linux/all
(It tries to feed compiler x86-specific options.)
I didn't test i686-linux, due to a transitive dependency not building
(libupnp), but there it might likely work.

(cherry picked from commit a68ae2c205)
2019-01-05 22:57:57 +01:00
Trolli Schmittlauch
7abe13c207 kcharselect: init at 18.08.0
Packaging `kcharselect` because a KDE tool for inserting special
characters is very useful.

(cherry picked from commit ec0eaca0f4)
2019-01-05 20:43:14 +01:00
Trolli Schmittlauch
9836a245c7 add myself to maintainers list
(cherry picked from commit 4fb9712a83)
2019-01-05 20:38:41 +01:00
Elis Hirwing
0a124ba93d gitea: 1.6.2 -> 1.6.3
Changelog: https://github.com/go-gitea/gitea/releases/tag/v1.6.3
(cherry picked from commit eeb35be95d)
2019-01-05 14:58:14 +01:00
R. RyanTM
cfbf9f0664 sysstat: 12.1.1 -> 12.1.2 (#52675)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/sysstat/versions

(cherry picked from commit df834ee56d and
fixed conflict)
2019-01-05 14:49:42 +01:00
Drew Hess
326104ee5c haskell-modules: add callCabal2nixWithOptions.
Fixes #44377.

(cherry picked from commit 4abb8be7ab)
2019-01-04 21:55:44 -05:00
Matthew Bauer
cadb6ca5f6 Merge pull request #53028 from Ericson2314/old-gcc-fix
gcc-4.8: fixup cross compilation after merging #15867 for 18.09
2019-01-04 10:33:54 -06:00
José Romildo Malaquias
50debdf133 vivaldi-ffmpeg-codecs: 70.0.3538.77 -> 71.0.3578.98
(cherry picked from commit 3e00845cf0)
2019-01-03 16:11:43 -05:00
José Romildo Malaquias
a839028e50 vivaldi: 2.1.1337.51-1 -> 2.2.1388.37-1
(cherry picked from commit cb1e93b2c0)
2019-01-03 16:11:43 -05:00
Rob Vermaas
995c78064a julia: fix hash for 1.0.3 2019-01-03 19:55:31 +01:00
Jörg Thalheim
7cd6335c96 Merge pull request #53310 from das-g/davmail-homepage
davmail: fix homepage domain name
2019-01-03 14:22:54 +01:00
Raphael Borun Das Gupta
7731621c81 davmail: fix homepage domain name
sourcefor**c**e.net is for sale. This project's website resides on a sourcefor**g**e.net subdomain.
2019-01-03 13:38:55 +01:00
Bas van Dijk
0043d907ae Merge pull request #53290 from LumiGuide/release-18.09-wordpress
Wordpress: 4.9.1 -> 5.0.2
2019-01-03 11:14:51 +01:00
Falco Peijnenburg
70114c606e Wordpress: 4.9.1 -> 5.0.2
(cherry picked from commit 4dc18cb059)
2019-01-03 10:49:54 +01:00
Rob Vermaas
438b6df1b1 julia: update to 1.0.3 2019-01-03 09:50:01 +01:00
Andrew Dunham
eb0480ad6c stdenv/native: add missing argument
(cherry picked from commit 8efe3df795)
2019-01-02 15:18:12 -06:00
ajs124
8757b2c2f7 sshd: Add restartTrigger for sshd_config
Co-Authored-By: Franz Pletz <fpletz@fnordicwalking.de>
(cherry picked from commit 325e314aae)
2019-01-02 20:37:20 +01:00
Franz Pletz
9d608a6f59 shairport-sync service: fix default arguments
(cherry picked from commit 0ea65cd96c)
2019-01-02 19:18:23 +01:00
Vladimír Čunát
95ca9c8b28 libjpeg(-turbo): patch CVE-2018-19664
Fixes #52972.

(cherry picked from commit f603c1c52c)
2019-01-02 09:53:24 +01:00
Tal Walter
ce5bbb97db dropbox: 55.4.171 -> 63.4.107 (#53062)
Dropbox version 55.4.171 is too old which results in an error when doing
the initial account linking.

(cherry picked from commit d5dbfad91a)
Reason: To have a usable dropbox package for the next release.
2019-01-02 02:02:25 -05:00
Tim Steinbach
d4146e8c9d sbt: 1.2.7 -> 1.2.8
(cherry picked from commit 711a74c65a)
2019-01-01 12:39:59 -05:00
CrazedProgrammer
42f4123b59 urn: 0.7.1 -> 0.7.2
(cherry picked from commit cc2573028b)
Reason: Bugfix update.
2018-12-31 17:19:58 -05:00
Mario Rodas
0396345b79 nodejs-8_x: 8.12.0 -> 8.14.1
(cherry picked from commit f27ee10a9e)
2018-12-30 21:22:33 -05:00
adisbladis
5a056ea90c nodejs-8_x: 8.11.4 -> 8.12.0
(cherry picked from commit 2e94003c9c)
2018-12-30 21:22:32 -05:00
Mario Rodas
266f1138eb nodejs-6_x: 6.14.4 -> 6.15.1
(cherry picked from commit 75b894af0f)
2018-12-30 21:22:32 -05:00
Tim Steinbach
30a2654e74 linux: 4.19.12 -> 4.19.13
(cherry picked from commit b3492bd25e8c62264f09f3db37224cf75855d11e)
2018-12-30 09:58:27 -05:00
Tim Steinbach
92986c6f78 linux: 4.14.90 -> 4.14.91
(cherry picked from commit 871d5bd0adc8a8bfa6f31a5d00e6b20d3734991a)
2018-12-30 09:58:17 -05:00
Tim Steinbach
ee66ecd48c linux: 4.9.147 -> 4.9.148
(cherry picked from commit 57a3e2621ce51ed3549b0d1fdb0b6fd25717776f)
2018-12-30 09:58:05 -05:00
Vladimír Čunát
e8a72dc747 exiv2: 0.26.2018.06.09 -> 0.26.2018.12.30 (security)
The bump includes all the patches we had and adds some more,
e.g. for CVE-2017-1000127.  I don't think all CVEs get fixed by that,
but 0.27 would currently break too many packages; /cc #50496.

(cherry picked from commit bf7d1b538d)
2018-12-30 11:58:34 +01:00
Domen Kožar
0a8f35c998 add elm2nix
(cherry picked from commit 324f018fb5)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-12-29 19:00:38 +00:00
John Q Crosscompiler
e2279f8b14 gcc-4.8: fixup cross compilation after merging #15867
Taken from https://pastebin.com/my8gcybx given to me on IRC.
2018-12-29 03:04:25 -05:00
R. RyanTM
2df6b5825f matomo: 3.6.1 -> 3.7.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 687567efd0)
2018-12-28 15:10:29 -05:00
Timo Kaufmann
7dae9a4ddd fflas-ffpack: add patch to fix flaky test (#53006)
(cherry picked from commit ee1f54dbdb)
2018-12-28 13:48:57 +01:00
Frederik Rietdijk
76aafbf4bf python.pkgs.pytest_xdist: pytest-forked is needed during runtime, fixes #45060
(cherry picked from commit 364c59dd94)
2018-12-27 15:34:05 +01:00
Mario Rodas
32326f5de3 python37: fix darwin build
Remove issue24658 patch because is already fixed and backported to
Python 3.7 178d1c0777

(cherry picked from commit 1764870813)
2018-12-27 14:11:35 +01:00
Mario Rodas
838f18e1fd python36: fix darwin build
Remove issue24658 patch because is already fixed and backported to
Python 3.6 a5ebc205be

(cherry picked from commit 31680c54e1)
2018-12-27 14:11:34 +01:00
Timo Kaufmann
d4e1d3dbe4 nauty: 26r10 -> 26r11 (#52960)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/nauty/versions

(cherry picked from commit 98092f7a67)
2018-12-27 11:54:06 +01:00
Vincent Ambo
5c48901a72 nixos/journaldriver: import module in top-level module list
Imports the `journaldriver` module into the top-level NixOS module
list to make it usable without extra work.

This went unnoticed in #42134 (mostly because my setup imports modules
explicitly from pinned versions).

Fixes #50390

(cherry picked from commit d5ea09758d)
2018-12-27 11:48:44 +01:00
Vladimír Čunát
33000fe7ca Merge branch 'staging-18.09' into release-18.09
Let's lump this rebuild together with the python updates.
2018-12-26 18:21:39 +01:00
Frederik Rietdijk
52571d750d python36: 3.6.7 -> 3.6.8
(cherry picked from commit 741e00fd10)
2018-12-26 09:44:13 +01:00
Frederik Rietdijk
0312ef11d6 python37: 3.7.1 -> 3.7.2
(cherry picked from commit 552d8a70d4)
2018-12-26 09:44:13 +01:00
Alexandre Peyroux
c840631fe2 masterpdfeditor: 5.1.60 -> 5.2.20
(cherry picked from commit c1e10bd258)
2018-12-26 00:13:15 +01:00
Pascal Bach
81d1a315f7 gitlab-runner: 11.5.0 -> 11.6.0
(cherry picked from commit 5b61578924)
2018-12-25 15:34:03 +01:00
Florian Klink
337687ff3e gitlab-ee: 11.5.4 -> 11.5.5
CVE-2018-20229, https://about.gitlab.com/2018/12/20/critical-security-release-gitlab-11-dot-5-dot-5-released/

(cherry picked from commit 236cb26954)
2018-12-25 15:29:09 +01:00
Florian Klink
6869be452d gitlab-ce: 11.5.4 -> 11.5.5
CVE-2018-20229, https://about.gitlab.com/2018/12/20/critical-security-release-gitlab-11-dot-5-dot-5-released/

(cherry picked from commit 6397fd3e71)
2018-12-25 15:29:09 +01:00
Meghea Iulian
928ff62213 brightnessctl: fix udev, cleanup & meta update 2018-12-25 15:01:19 +01:00
R. RyanTM
9b2e89775e brightnessctl: 0.3.2 -> 0.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/brightnessctl/versions
2018-12-25 15:01:12 +01:00
Alexandre Peyroux
0267a5a33e masterpdfeditor: 5.1.36 -> 5.1.60
(cherry picked from commit 27298d378f)
2018-12-25 14:31:46 +01:00
Alexandre Peyroux
79c8e369bb masterpdfeditor: use qtbase.qtPluginPrefix #44047
(cherry picked from commit 63b897a473)
2018-12-25 14:31:46 +01:00
Alexandre Peyroux
c5dee01627 masterpdfeditor: 5.1.12 -> 5.1.36
(cherry picked from commit 899b7663b0)
2018-12-25 14:31:46 +01:00
Robert Schütz
16d85e5a1d python.pkgs.django_1_8: 1.8.18 -> 1.8.19
This fixes CVE-2018-7536 and CVE-2018-7537:
https://www.djangoproject.com/weblog/2018/mar/06/security-releases/

cc https://github.com/NixOS/nixpkgs/issues/52679

(cherry picked from commit 461552526b)
2018-12-24 11:27:25 +01:00
Chris Ostrouchov
7f03676341 pythonPackages.django_1_8: refactor move to python-modules
(cherry picked from commit 4906ff50a9)
2018-12-24 11:25:29 +01:00
taku0
b9fa31cea0 licenses: add GPLv2.0 only + classpath exception
(cherry picked from commit 66124646ee)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-12-22 15:37:52 +00:00
Domen Kožar
7e0744c594 jre: use adoptopenjdk-jre-bin on aarch
(cherry picked from commit 2088ae10a3)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-12-22 15:37:52 +00:00
Benno Fünfstück
352bb0c0d9 adoptopenjdk-bin: disable openj9 jre for mac due to missing upstream
(cherry picked from commit 6972c433ab)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-12-22 15:37:52 +00:00
Robert Schütz
f90a5979ee adoptopenjdk-bin: use python-withPackages for shebang
Co-Authored-By: bennofs <benno.fuenfstueck@gmail.com>
(cherry picked from commit 682d1befd9)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-12-22 15:37:52 +00:00
Benno Fünfstück
c3e15f7da3 adoptopenjdk: autogenerate sources + add support for aarch64
(cherry picked from commit 5bbfc0cc37)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-12-22 15:37:52 +00:00
taku0
5af9e75983 adoptopenjdk-openj9-bin: 11 -> 11.0.1
(cherry picked from commit 3cfa035a99)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-12-22 15:37:52 +00:00
taku0
b75b9f528e adoptopenjdk-bin: support darwin platform
(cherry picked from commit 7c3dd045ce)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-12-22 15:37:52 +00:00
taku0
51bc964cbf adoptopenjdk-bin: init at 11
(cherry picked from commit 8faebb17ac)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-12-22 15:37:52 +00:00
Jörg Thalheim
fffd24d758 Merge pull request #52678 from risicle/ris-cf-cli-platforms-r18.09
[r18.09 backport] cloudfoundry-cli: fix build on multiple platforms, notably darwin, to produce correct binary for target…
2018-12-22 14:56:31 +01:00
Robert Scott
e67f3aeb3a cloudfoundry-cli: fix build on multiple platforms, notably darwin, to produce correct binary for target
cherry-picked from commit 61fad2cdce
2018-12-22 12:38:34 +00:00
Tim Steinbach
11c9922a7d kernel-config: CIFS_POSIX no longer exists
(cherry picked from commit 98ac5710bd)
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6e785302dad
2018-12-22 09:10:24 +01:00
Franz Pletz
93468b34f3 gitea: fix version in app
(cherry picked from commit 12e57cbb61)
2018-12-22 04:34:06 +01:00
Justin Humm
50021740bc qutebrowser: fix pdfjs
Pdfjs was downloaded in two derivations, where one is sufficient.

Also there was allegedly a typo in the download URL.

(cherry picked from commit 0be7bfe1bf)
2018-12-21 22:21:25 -05:00
Elis Hirwing
b29f64a70f gitea: 1.6.0 -> 1.6.2
Changelog: https://github.com/go-gitea/gitea/releases/tag/v1.6.1
Changelog: https://github.com/go-gitea/gitea/releases/tag/v1.6.2
(cherry picked from commit a87fd222c8)
2018-12-22 03:24:30 +01:00
Henry
8b34b68806 gitea: 1.5.3 -> 1.6.0
Changelog: https://github.com/go-gitea/gitea/releases/tag/v1.6.0
(cherry picked from commit 595c1e0a36)
2018-12-22 03:15:32 +01:00
Vladimír Čunát
e55e8ad8b2 Merge #52598: firefox: 63.0.3 -> 64.0 2018-12-21 21:44:38 +01:00
Vladimír Čunát
bdf88aa7e1 Merge #50249: libjpeg-turbo: 1.5.3 -> 2.0.1
(cherry picked from commit 834e7c4f0b)
Fixes CVE-2018-11813.
I see no issues with this reported for staging/master.
2018-12-21 16:25:49 +01:00
Tim Steinbach
679f6bb115 linux: 4.19.11 -> 4.19.12
(cherry picked from commit af6c117fac)
2018-12-21 09:13:19 -05:00
Tim Steinbach
e2b01088dc linux: 4.14.89 -> 4.14.90
(cherry picked from commit dea57f15e9)
2018-12-21 09:13:18 -05:00
Tim Steinbach
cc9ae38c55 linux: 4.9.146 -> 4.9.147
(cherry picked from commit a5f447e16a)
2018-12-21 09:13:18 -05:00
Tim Steinbach
6b45437aee linux: 4.4.168 -> 4.4.169
(cherry picked from commit 54ce2e016b)
2018-12-21 09:13:18 -05:00
Bjørn Forsman
8c6ab3c72f nixos/jenkins-job-builder: add accessTokenFile option
The new option allows storing the secret access token outside the world
readable Nix store.

(cherry picked from commit bb94d419fb)
2018-12-21 09:31:57 +01:00
Bjørn Forsman
7e621a2118 nixos/jenkins-job-builder: stop reloadScript on error
Currently there are two calls to curl in the reloadScript, neither which
check for errors. If something is misconfigured (like wrong authToken),
the only trace that something wrong happened is this log message:

  Asking Jenkins to reload config
  <h1>Bad Message 400</h1><pre>reason: Illegal character VCHAR='<'</pre>

The service isn't marked as failed, so it's easy to miss.

Fix it by passing --fail to curl.

While at it:
* Add $curl_opts and $jenkins_url variables to keep the curl command
  lines DRY.
* Add --show-error to curl to show short error message explanation when
  things go wrong (like HTTP 401 error).
* Lower-case the $CRUMB variable as upper case is for exported environment
  variables.

The new behaviour, when having wrong accessToken:

  Asking Jenkins to reload config
  curl: (22) The requested URL returned error: 401

And the service is clearly marked as failed in `systemctl --failed`.

(cherry picked from commit 8ebfd5c45c)
2018-12-21 09:31:46 +01:00
Philipp Middendorf
948c9f4b3c liquibase: fix missing dependencies
(cherry picked from commit 7d270d993b)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2018-12-21 02:21:06 +01:00
Andreas Rammhold
232f20d503 firefox: 63.0.3 -> 64.0
(cherry picked from commit d8cde6882c)
2018-12-20 20:52:32 -01:00
Andreas Rammhold
9a9a7cc1c3 firefox: updated common.nix to support ffx64
(cherry picked from commit 93a9e626d0)
2018-12-20 20:52:32 -01:00
Herwig Hochleitner
b7cfe953e8 chromium: 71.0.3578.80 -> 71.0.3578.98
CVE-2018-17481

(cherry picked from commit 327f7da260)
2018-12-20 21:31:33 +01:00
Herwig Hochleitner
aa89b5fd56 chromium/plugins: specify gcc instead of stdenv.cc
(cherry picked from commit 7eea24db5d)
2018-12-20 21:27:15 +01:00
volth
3852c84087 chromium: build with clang
(cherry picked from commit d2daf0dd6f)
2018-12-20 21:27:15 +01:00
Jörg Thalheim
345c088139 Merge pull request #52565 from ackien/git-secret-gawk-backport
[18.09] git-secret: Backport gawk fix
2018-12-20 18:45:02 +01:00
John Ericson
97940bf6c5 Merge pull request #52559 from Ericson2314/openspades-darwin
openspades: Fix Darwin build, for 18.09
2018-12-20 12:18:17 -05:00
John Ericson
d5fe466566 openspades: Fix Darwin build 2018-12-20 12:17:27 -05:00
Tim Steinbach
be9872621c linux: 4.19.10 -> 4.19.11
(cherry picked from commit 1b84b9f725)
2018-12-20 10:47:41 -05:00
Sarah Brofeldt
6a7dea9330 Merge pull request #52530 from johanot/kubernetes-1.11.6
kubernetes: 1.11.5 -> 1.11.6
2018-12-20 13:15:30 +01:00
Aiken Cairncross
7c9bd9692d git-secret: Add gawk to wrapper
Cherry-picked from 0fc60df
2018-12-20 11:07:30 +00:00
Peter Simons
34a637ca92 ghc: add new compiler version 8.6.3
(cherry picked from commit c37ae1dcf6)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-12-20 10:28:30 +00:00
Lengyel Balazs
fbb7dbdb95 firmware-linux-nonfree: 20181017 -> 20181213
(cherry picked from commit 374a672424)

Fixes #52430.
2018-12-20 04:40:10 +01:00
Will Dietz
7cf770ca93 linux-firmware: 2018-08-25 -> 2018-10-17
(cherry picked from commit 788d324205)
2018-12-20 04:37:39 +01:00
Johan Thomsen
efdc3d51bc kubernetes: 1.11.5 -> 1.11.6 2018-12-19 17:07:29 +01:00
Amine Chikhaoui
9bacb8289b networkmanagerapplet: 1.8.16 -> 1.8.18
(#50338)

(cherry picked from commit e1ad1a0aa2)
2018-12-19 13:55:16 +01:00
Symphorien Gibol
de20e95222 brlaser: fix install dir
Fixes #49092

(cherry picked from commit 26ee8d6479)
2018-12-19 11:02:38 +01:00
Edmund Wu
a3eba49f7f vscode: 1.30.0 -> 1.30.1
(cherry picked from commit 4b0e96f3b7)
2018-12-18 20:45:18 -05:00
Edmund Wu
b273957530 vscode-extensions.WakaTime.vscode-wakatime: 1.2.4 -> 1.2.5
(cherry picked from commit 59b30d9aa7)
2018-12-18 20:45:18 -05:00
Edmund Wu
82ae6ee36f vscode-extensions.ms-python.python: 2018.11.0 -> 2018.12.1
(cherry picked from commit 8ac14eb0bb)
2018-12-18 20:45:18 -05:00
Edmund Wu
a5bedfb3df vscode-with-extensions: only add flag if extensions > 0
(cherry picked from commit df8dccfdcf)
2018-12-18 20:45:18 -05:00
John Ericson
02f47920b5 Merge pull request #52500 from obsidiansystems/haskell-servant-cross
servant: Sphinx is a build-time dependency for 18.09
2018-12-18 17:44:52 -05:00
Pablo Delgado Krämer
5fe7934ce5 nixos/oh-my-zsh: fix wrong manual information
Manual still refers to 'programs.ohMyZsh' although it should be 'programs.zsh.ohMyZsh'.

(cherry picked from commit 685c4f5608)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2018-12-18 23:22:26 +01:00
Vaibhav Sagar
b513231dc6 servant: Sphinx is a build-time dependency 2018-12-18 21:58:30 +00:00
Renaud
e9a1274f3a Merge pull request #51849 from srhb/backport-zoom-2.6
Backport: zoom-us: 2.5.146186.1130 -> 2.6.146750.1204
2018-12-18 16:28:21 +01:00
Tim Steinbach
0e84e7dfd7 linux: 4.4.167 -> 4.4.168
(cherry picked from commit e29ebd9e51d20f132c41fb8f641aaf6a5bbc5cd5)
2018-12-18 09:13:07 -05:00
Linus Heckemann
33a0a37a11 Merge pull request #52482 from mayflower/fswatch-backport
[18.09] Fswatch backports
2018-12-18 14:38:52 +01:00
Linus Heckemann
d6104293d7 Merge pull request #52474 from mayflower/gopass-backport
gopass: 1.8.2 -> 1.8.3
2018-12-18 14:04:18 +01:00
Linus Heckemann
b3b01efca2 Merge pull request #52473 from mayflower/hwloc-bump
[18.09] hwloc: 1.11.10 -> 1.11.12
2018-12-18 14:03:27 +01:00
R. RyanTM
7cf11fc0f7 fswatch: 1.13.0 -> 1.14.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/fswatch/versions

(cherry picked from commit 2cbaaa55d5)
2018-12-18 13:55:02 +01:00
R. RyanTM
aceb0f90d3 fswatch: 1.12.0 -> 1.13.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/fswatch/versions

(cherry picked from commit e7c2c5784f)
2018-12-18 13:55:02 +01:00
Linus Heckemann
185a2851a2 Merge pull request #52478 from mayflower/haproxy-backport
[18.09] Haproxy backports
2018-12-18 13:27:08 +01:00
R. RyanTM
ce6719d3e6 haproxy: 1.8.14 -> 1.8.15
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/haproxy/versions

(cherry picked from commit 44482c54ff)
2018-12-18 13:22:24 +01:00
R. RyanTM
49aabfa88d haproxy: 1.8.13 -> 1.8.14
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/haproxy/versions

(cherry picked from commit 365dad81f8)
2018-12-18 13:22:24 +01:00
Mario Rodas
d3f7773f43 gopass: 1.8.2 -> 1.8.3
(cherry picked from commit c32752fb12)
2018-12-18 12:56:31 +01:00
Linus Heckemann
d34d2b1958 hwloc: 1.11.10 -> 1.11.12
additionally, refactor version string and download link to make it
comatible with automatic updates as in
ac85a1ec47 (thanks @markuskowa)
2018-12-18 12:45:39 +01:00
Matthew Bauer
2a0f4d2d50 Merge pull request #52252 from Ericson2314/fix-darwin-bootstrap-cmds-for-18.09
treewide: Use "buildPackages" darwin for bootstrap_cmd for 18.09
2018-12-17 22:53:18 -06:00
Pavel Goran
19fb949471 nixos/mysql: support package=mysql57
(cherry picked from commit 21e9c35f5f)

Fixes #25418.
2018-12-18 00:50:56 +01:00
Pascal Bach
4f69b3ced6 youtube-dl: 2018.11.18 -> 2018.12.17
(cherry picked from commit 28e9a1eef1)
2018-12-18 00:10:15 +01:00
Franz Pletz
fa3dabe232 youtubeDL: 2018.11.07 -> 2018.11.18
(cherry picked from commit c826315257)
2018-12-18 00:10:14 +01:00
Jörg Thalheim
76ac1b6f30 go_1_11: update outdated meta.branch
(cherry picked from commit a4f37346e7)
2018-12-17 19:31:11 +01:00
Benjamin Herr
3e10c5bf26 go: 1.11.2 -> 1.11.4
(cherry picked from commit ce2d980be8)
2018-12-17 19:30:26 +01:00
Jaka Hudoklin
41f74251b9 go_1_11: 1.11 -> 1.11.2f
fixes #50180

(cherry picked from commit 734bd4ca54)
2018-12-17 19:30:19 +01:00
Benjamin Herr
d0c3afbf50 go_1_10: 1.10.3 -> 1.10.7
(cherry picked from commit 3cb3a24ce9)
2018-12-17 19:29:30 +01:00
Franz Pletz
8eaff5a744 postgresql: branch 9.3 is not maintained anymore
See https://www.postgresql.org/support/versioning/.

(cherry picked from commit 61bd0e851e)
2018-12-17 16:38:41 +01:00
R. RyanTM
eeb072c21e graphicsmagick: 1.3.30 -> 1.3.31
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/graphicsmagick/versions

(cherry picked from commit 6d7e94aa1e)
2018-12-17 16:37:25 +01:00
taku0
f9954722c6 thunderbird-bin: 60.3.2 -> 60.3.3
(cherry picked from commit f9d6dcecd7)
2018-12-17 16:37:25 +01:00
taku0
2eae458684 thunderbird: 60.3.2 -> 60.3.3
(cherry picked from commit 5698d7888e)
2018-12-17 16:37:25 +01:00
Shea Levy
a580755f64 haskell generic builder: Add flag to allow inconsistent dependencies.
(cherry picked from commit 30fb5b0dcf)
2018-12-17 09:26:48 -05:00
Tim Steinbach
82d26ac69b linux: 4.19.9 -> 4.19.10
(cherry picked from commit ed5920e6ad35d86d0bed03749b90af3d67092602)
2018-12-17 09:19:58 -05:00
Tim Steinbach
5bfaa294ea linux: 4.14.88 -> 4.14.89
(cherry picked from commit 56fcbb2f7882445d77bd5ba60bd11f22f743c540)
2018-12-17 09:19:58 -05:00
Tim Steinbach
3758dc9f3d linux: 4.9.145 -> 4.9.146
(cherry picked from commit 2e749ccd868d3cf38e61aa6e98a2641cf8dad432)
2018-12-17 09:19:57 -05:00
Linus Heckemann
c106bb5092 Merge pull request #52435 from primeos/signal-desktop-backport
[18.09] signal-desktop backport
2018-12-17 15:16:43 +01:00
Michael Weiss
a136eba3de signal-desktop: 1.18.0 -> 1.18.1
(cherry picked from commit b3fb2d5c1c)
2018-12-17 14:58:23 +01:00
Michael Weiss
613042f247 signal-desktop: 1.17.3 -> 1.18.0
(cherry picked from commit a6167c3311)
2018-12-17 14:58:23 +01:00
Michael Weiss
a3317be35f signal-desktop: 1.17.2 -> 1.17.3
(cherry picked from commit e075748769)
2018-12-17 14:58:22 +01:00
Franz Pletz
b9d7b24d2c libssh: 0.7.6 -> 0.7.7
Bugfix release for the 0.7 branch to fix regressions from the security
fixes.

See https://www.libssh.org/2018/10/29/libssh-0-8-5-and-libssh-0-7-7/.
2018-12-17 02:19:07 +01:00
Mario Rodas
600c6c66ec libvncserver: add CVE-2018-7225 patch
(cherry picked from commit 03fddb139e)
2018-12-17 02:04:59 +01:00
Franz Pletz
1b0da4da0f prosody: 0.10.2 -> 0.10.3 2018-12-17 01:15:42 +01:00
Florian Klink
bb0a7fc892 Merge pull request #52410 from flokli/18.09-gitlab-11.5.4
[18.09] gitlab: 11.5.1 -> 11.5.4
2018-12-17 00:42:24 +01:00
Florian Klink
3adcfd4199 gitlab: run test with 4096 bits if on 64bit, else the the maximum for 32bit
(cherry picked from commit c788367eda)
2018-12-16 23:57:30 +01:00
Florian Klink
2a91e6b1a1 gitlab-ee: 11.5.1 -> 11.5.4
(cherry picked from commit 0a87bdecd5)
2018-12-16 23:57:30 +01:00
Florian Klink
d40c6b224e gitlab-ce: 11.5.1 -> 11.5.4
(cherry picked from commit 88fc01b0e6)
2018-12-16 23:57:29 +01:00
Jörg Thalheim
f0b6661d19 Merge pull request #52043 from worldofpeace/vscode/backport
vscode backports
2018-12-16 22:15:08 +00:00
R. RyanTM
2b0b12223f nsd: 4.1.25 -> 4.1.26
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/nsd/versions
2018-12-16 20:01:08 +01:00
R. RyanTM
81dfe93af2 nsd: 4.1.24 -> 4.1.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/nsd/versions
2018-12-16 20:00:54 +01:00
R. RyanTM
de9cec4809 cryptsetup: 2.0.5 -> 2.0.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/cryptsetup/versions

(cherry picked from commit 7f61a7814e)
2018-12-16 18:44:48 +01:00
R. RyanTM
aa6d82d9f5 cryptsetup: 2.0.4 -> 2.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/cryptsetup/versions

(cherry picked from commit f3545ef3c8)
2018-12-16 18:44:48 +01:00
Maximilian Bosch
7a01e146cb nixos/nextcloud: add basic module documentation and warn about current upgrading issues
Part of #49783. NextCloud tracks in its `config.php` the application's
state which makes it hard for the module to modify configurations during
upgrades.

It will take time until the issue is properly fixed, therefore we
decided to warn about this in the manual.

This PR addresses two things:

* Adding a basic example for nextcloud. I figured it to be helpful to
  add some basic usage instructions when adding a new manual entry.
  Advanced documentation may follow later.

  For now this document actively links to the service options, so users
  are guided to the remaining options that can be helpful in certain
  cases.

* Add a warning about upgrades and manual changes in
  `/var/lib/nextcloud`. This will be fixed in the future, but it's
  definetely helpful to document the current issues in the manual (as
  proposed in https://github.com/NixOS/nixpkgs/issues/49783#issuecomment-439691127).

(cherry picked from commit 216a954540)
2018-12-16 16:00:45 +01:00
Florian Klink
bf91596709 nextcloud: 14.0.4 -> 15.0.0
(cherry picked from commit 66060d3bb0)
2018-12-16 15:01:58 +01:00
Maximilian Bosch
e32ea11241 Merge pull request #52355 from flokli/18.09-nextcloud-client-2.5.1
[18.09] nextcloud-client: 2.3.3 -> 2.5.1
2018-12-16 14:32:03 +01:00
Florian Klink
893cf309d1 nextcloud-client: 2.5.0 -> 2.5.1
(cherry picked from commit f5c9ceaf43)
2018-12-16 13:38:18 +01:00
Maximilian Bosch
1fb886d9cf nextcloud-client: 2.3.3 -> 2.5.0 (#50463)
Updates to the latest version of the desktop client available. Tested
the config migration from `nextcloud-client` 2.3.3 with a Nextcloud
14.0.3 instance (hosted using `services.nextcloud`).

Additionally the derivation required the following changes:

* Dropped `Qt5Sql` patch: this has been fixed upstream and isn't needed
  anymore (furthermore their CMake structure has changed and the patch
  wouldn't apply anymore on 2.5.0).

* Moved to a new upstream repository (nextcloud/desktop), kept
  `fetchgit` to properly fetch submodules.

* Added OpenSSL 1.1 integration: `libsync` (the syncing provided by this
  package) requires 1.1, furthermore the linking flags had to be fixed
  manually by passing `NIX_LDFLAGS` to the derivation.

Furthermore I moved the support for a Gnome3 keyring into its own
wrapper to avoid a full rebuild of the package whenever you alter
`withGnomeKeyring` in an override expressions.

It's still possible to enable keyring (now without recompile) like this:

```
nextcloud-client.override { withGnomeKeyring = true; }
```

To override the derivation itself you now have to use
`nextcloud-client-unwrapped`:

```
nextcloud-client-unwrapped.overrideAttrs (old: {
   src = yoursrc;
})
```

(cherry picked from commit e75f922e91)
2018-12-16 13:38:18 +01:00
Will Dietz
d683610bda sqlite: 3.25.3 -> 3.26.0
(cherry picked from commit 2d7c6d088e)
2018-12-15 22:12:11 +00:00
John Ericson
1211edbbc9 Merge remote-tracking branch 'upstream/release-18.09' into fix-darwin-bootstrap-cmds-for-18.09 2018-12-15 12:48:31 -05:00
Matthew Bauer
dd78e629aa treewide: use "buildPackages" darwin for bootstrap_cmds
These are almost always from buildPackages. Another issue where
splicing doesn’t seem to pick them up correctly.

(cherry picked from commit 9ab67898f7)
2018-12-15 12:44:12 -05:00
Vladimír Čunát
e48c8832ed Merge branch 'staging-18.09' into release-18.09 2018-12-15 11:26:29 +01:00
Rickard Nilsson
345993c57c mosquitto: 1.5.3 -> 1.5.4
Remove patch that has been merged upstrem.

(cherry picked from commit 2473754ad2)
2018-12-15 08:51:12 +01:00
Rickard Nilsson
61d76f8881 nixos/nm-setup-hostsdir: RemainAfterExist -> RemainAfterExit
(cherry picked from commit b20fcce195)
2018-12-15 08:34:30 +01:00
Edmund Wu
f227f13119 vscode-extensions.WakaTime.vscode-wakatime: 1.2.3 -> 1.2.4
(cherry picked from commit 70092febc4)
2018-12-14 08:08:43 -05:00
Edmund Wu
18333ba716 vscode-extensions.ms-python.python: 2018.10.1 -> 2018.11.0
(cherry picked from commit 7369c3a06d)
2018-12-14 08:08:32 -05:00
Edmund Wu
9c853c7121 vscode-extensions.WakaTime.vscode-wakatime: init at 1.2.3
(cherry picked from commit f7b05cafff)
2018-12-14 08:05:57 -05:00
Edmund Wu
7b6192b047 vscode-extensions.ms-vscode.cpptools: 0.19.0 -> 0.20.1
(cherry picked from commit 728d2a2ac7)
2018-12-14 08:05:26 -05:00
Edmund Wu
d31a5dae7a vscode-extensions.ms-python.python: 2018.9.1 -> 2018.10.1
(cherry picked from commit c4cb982772)
2018-12-14 08:05:15 -05:00
Edmund Wu
b02c1772de vscode-extensions.ms-vscode.cpptools: use mono 5 (#49489)
(cherry picked from commit f8ef8bf469)
2018-12-14 08:05:04 -05:00
Edmund Wu
eb3f66a987 vscode-extensions.ms-python.python: 2018.8.0 -> 2018.9.1 (#48849)
(cherry picked from commit a53a3bf1ee)
2018-12-14 08:01:16 -05:00
Edmund Wu
3fb0d35e96 vscode-extensions.ms-vscode.cpptools: 0.17.6 -> 0.19.0 (#47573)
(cherry picked from commit 4c95508641)
2018-12-14 08:01:07 -05:00
Edmund Wu
c58f8c000b vscode-extensions.ms-python.python: 2018.7.0 -> 2018.8.0 (#47572)
(cherry picked from commit 285800d537)
2018-12-14 08:00:54 -05:00
Moritz Ulrich
63e94feb23 vscode: 1.29.1 -> 1.30.0
(cherry picked from commit 38d4c09096)
2018-12-14 07:57:52 -05:00
Edmund Wu
8999332778 vscode,vscode-extensions: fix insiders build
(cherry picked from commit d41e868e02)
2018-12-14 07:57:39 -05:00
Patrick Hilhorst
eaa89f1f72 vscode: 1.29.0 -> 1.29.1 (#50462)
(cherry picked from commit 874b017564)
2018-12-14 07:56:43 -05:00
Edmund Wu
ca10a0e943 vscode: 1.28.2 -> 1.29.0
(cherry picked from commit a23e3b0505)
2018-12-14 07:55:25 -05:00
Joachim Fasting
7e88992a8c tor-browser-bundle-bin: 8.0.3 -> 8.0.4
(cherry picked from commit 1ba77eeb22)
2018-12-14 12:54:27 +01:00
Samuel Dionne-Riel
ea863cd334 Revert "pkgsStatic: Add warning saying this is a provisional backport"
This reverts commit 3c1049fbef.

This broke tarball on release-18.09

  * https://hydra.nixos.org/build/85858044/
  * https://hydra.nixos.org/build/85858044/nixlog/1
2018-12-13 22:34:58 -05:00
R. RyanTM
d6d3a1299f davfs2: 1.5.3 -> 1.5.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/davfs2/versions

(cherry picked from commit c5f7204aff)
2018-12-13 21:01:34 -05:00
John Ericson
340c0c4361 Merge pull request #51969 from vaibhavsagar/fix-static-lz4
lz4: Fix pkgsStatic build for 18.09
2018-12-13 18:28:01 -05:00
Vaibhav Sagar
cb5a7bdc3a lz4: fix pkgsStatic build 2018-12-13 18:00:26 -05:00
John Ericson
91865b213f Merge branch 'fix-portable-libsystem-for-18.09' into release-18.09 2018-12-13 17:49:46 -05:00
Matthew Bauer
af2cebe78f stdenv/darwin: fix portable libsystem hook
Some packages don’t have /bin directories. We should only run
install_name_tool if that directory exists.

(cherry picked from commit 0b8574540b)
2018-12-13 17:49:18 -05:00
John Ericson
62c609930c Merge pull request #51957 from obsidiansystems/crossOverlays-for-18.09
pkgsStatic for 18.09
2018-12-13 17:31:42 -05:00
Elis Hirwing
7a37ddc0d8 nixos/lightdm: Fix spelling of option in docs
(cherry picked from commit 6fa51fe5cf)
2018-12-13 21:45:25 +00:00
Elis Hirwing
5c5607f9c2 nixos/sddm: Fix spelling of option in docs
(cherry picked from commit c974813b92)
2018-12-13 21:45:25 +00:00
Guillaume Bouchard
fbfe10f0a1 Fix english in stdenv.xml
(cherry picked from commit d5c931992d)
2018-12-13 21:34:10 +00:00
John Ericson
3c1049fbef pkgsStatic: Add warning saying this is a provisional backport 2018-12-13 19:17:55 +00:00
Matthew Bauer
3c36dccd7c top-level/stage.nix: add static overlay
Adds the static overlay that can be used to build Nixpkgs statically.
Can be used like:

  nix build pkgsStatic.hello

Not all packages build, as some rely on dynamic linking.

(cherry picked from commit 6d90a8b894)
2018-12-13 14:04:34 -05:00
Matthew Bauer
3170d617ef ncurses: make shared linking optinoal
when enableShared = false, we set --without-shared flag.

(cherry picked from commit 53a67891ab)
2018-12-13 14:04:34 -05:00
Matthew Bauer
a8e0694993 zlib: clean up static/shared distincion
This is kind of a mess, but basically:

- static=true, shared=true means to build statically but move it to
  the static output
- static=true, shared=false means to build statically and leave it in
  the main output
- static=false, shared=true means to not build static at all

Confusingly, the old default was static=true, shared=true even though
static=false? Still can’t figure out what was meant by that.

(cherry picked from commit e999def159)
2018-12-13 14:04:34 -05:00
Matthew Bauer
f11d5341aa darwin/libiconv: fix static/shared logic
The conditional was incorrect - postInstall script should only hsppen
when enableShared = true.

(cherry picked from commit 5e06294276)
2018-12-13 14:04:33 -05:00
Matthew Bauer
7fcbc52d7d stdenv/adapters.nix: fixup makeStaticBinaries
- makeStaticBinaries don’t work on Darwin (no stable ABI!)
- Need to make sure NIX_CFLAGS_LINK appends
- isStatic is not used anymore

(cherry picked from commit 8726f6a558)
2018-12-13 14:04:33 -05:00
Matthew Bauer
e84255296f stdenv: implement crossOverlays
crossOverlays only apply to the packages being built, not the build
packages. It is useful when you don’t care what is used to build your
packages, just what is being built. The idea relies heavily on the
cross compiling infrastructure. Using this implies that we need to
create a cross stdenv.

(cherry picked from commit a3a6ad7a01)
2018-12-13 14:04:33 -05:00
Tim Steinbach
5e425e22a7 linux: 4.19.8 -> 4.19.9
(cherry picked from commit 5a15ab7b5d)
2018-12-13 07:01:25 -05:00
Tim Steinbach
99315692f6 linux: 4.14.87 -> 4.14.88
(cherry picked from commit f335fa6d74)
2018-12-13 07:01:25 -05:00
Tim Steinbach
de113e0352 linux: 4.9.144 -> 4.9.145
(cherry picked from commit 1f92bdcd94)
2018-12-13 07:01:25 -05:00
Tim Steinbach
b01a9058cc linux: 4.4.166 -> 4.4.167
(cherry picked from commit adf8cdd67d)
2018-12-13 07:01:24 -05:00
Eelco Dolstra
25d0880528 Revert "resolvconf.conf: Remove forced NSCD service restart"
This reverts commit d8c16bc54a. It
breaks nscd invalidation when the network configuration changes.

(cherry picked from commit 09cbfea2ed)
2018-12-12 23:16:50 +00:00
Andreas Rammhold
d15b9bd990 firefox-esr-60: 60.3.0esr -> 60.4.0esr
See #51863.

(cherry picked from commit d16d0b3762)
2018-12-12 20:35:29 +01:00
Will Dietz
ea9cfed73b Merge #51365: nss: 3.40 -> 3.40.1 (security)
(cherry picked from commit fb137c1bcc)
This is a patch release to fix CVE-2018-12404.
2018-12-12 13:16:04 +01:00
Andreas Rammhold
3d606b06d1 firefox-bin: 63.0.3 -> 64.0
See #51863.

(cherry picked from commit 536d0cc3a7)
2018-12-12 11:10:00 +01:00
Vladimír Čunát
4f3446f299 nixos/nvidia: improve the assertion again
/cc 13938acd0 #51836.

(cherry picked from commit ad3e9191d1)
2018-12-12 00:35:21 +01:00
Andreas Rammhold
824b311961 rust-cbindgen_0_6_7: init at 0.6.7
after feedback from @veprbl in #51805 I added this as another package
which can be used for the 18.09 firefox builds.

(cherry picked from commit f1ee26bc4b)
2018-12-11 17:24:52 -05:00
Jörg Thalheim
da88e93f95 dropbox: fix evaluation
fixes #51883
2018-12-11 21:36:13 +00:00
Graham Christensen
99875d5cca Revert "modules: add mxisd with test"
Wasn't the commit which was in master, and this version
did not work due to evaluation errors on a missing option.

This reverts commit d9758833c5.
2018-12-11 16:34:55 -05:00
Vladimír Čunát
13938acd03 Merge #51836: nixos/nvidia: fix inverted assertion
(cherry picked from commit ac19d5e34f)
2018-12-11 21:42:35 +01:00
Izorkin
6e0efb350d php72: 7.2.12 -> 7.2.13
(cherry picked from commit f80e7df143)
2018-12-11 20:39:33 +01:00
Izorkin
043a2be17e php71: 7.1.24 -> 7.1.25
(cherry picked from commit 374be65924)
2018-12-11 20:39:27 +01:00
Maximilian Güntner
d9758833c5 modules: add mxisd with test
(cherry picked from commit 44bb1c30b4ecfbe60bac1205a7f2af2e1323f2df)
2018-12-11 20:39:14 +01:00
Maximilian Güntner
5f75865e49 mxisd: init at 1.2.0
(cherry picked from commit e40eb38dd4)
2018-12-11 20:39:13 +01:00
Vladimír Čunát
ffc28dd05c Merge branch 'release-18.09' into staging-18.09 2018-12-11 15:01:05 +01:00
Alyssa Ross
f55c7cfa94 Merge pull request #51835 from alyssais/geckodriver-backport
Backport "geckodriver: unstable-2018-02-24 -> 0.22.0" to 18.09
2018-12-11 12:05:20 +00:00
Markus Hauck
1d83bd047b dropbox: add mesa, libxshmfence and libpthreadstubs 2018-12-11 11:55:16 +00:00
Sarah Brofeldt
87ee6c4fe4 Merge pull request #51856 from samueldr/auto/dbeaver/nixos-18.09/5.3.0
dbeaver: 5.2.5 -> 5.3.0 (18.09)
2018-12-11 12:49:17 +01:00
Jappie Klooster
32d7eb3c0a doc: Fix insecure nginx docs (#51840)
(cherry picked from commit e576c3b385)
2018-12-11 11:03:42 +00:00
Samuel Dionne-Riel
30e538bd47 dbeaver: 5.2.5 -> 5.3.0
(cherry picked from commit 1c3079fce3)
2018-12-10 17:48:58 -05:00
Sarah Brofeldt
80a92d2290 zoom-us: 2.5.146186.1130 -> 2.6.146750.1204
(cherry picked from commit 8b3949d989)
Backport of #51662
2018-12-10 22:46:29 +01:00
Renaud
b144dfa3b2 Merge pull request #51828 from andir/18.09/steam
[18.09] steam: ran update-runtime.py
2018-12-10 22:29:04 +01:00
Robert Schütz
7b7d14045c python.pkgs.pylint: disable broken test
fixes https://github.com/NixOS/nixpkgs/issues/51394
2018-12-10 17:23:09 +01:00
Raphael Borun Das Gupta
03c552a37b geckodriver: unstable-2018-02-24 -> 0.22.0
Motivation: unstable-2018-02-24 (which reports to be
0.19.1, but probably doesn't correspond to any actual
geckodriver release) isn't compatible with the currently
shipped Firefox version 63.0

closes NixOS/nixpkgs#50380
2018-12-10 16:01:33 +00:00
Cole Mickens
4921bf4698 google-chrome-dev: add at-spi2-core dependency
(cherry picked from commit 45fd44c66d)
2018-12-10 15:19:21 +01:00
Renaud
dc7548237b Merge pull request #51826 from markuskowa/fix-gnss-sdr-18.09
[18.09] gnss-sdr: turn off unit tests explicitly
2018-12-10 14:59:40 +01:00
Andreas Rammhold
a67d27eacd steam: ran update-runtime.py
(cherry picked from commit 1de88c36cc)
2018-12-10 13:50:37 +01:00
Markus Kowalewski
67de9c4617 gnss-sdr: turn off unit tests explicitly
(cherry picked from commit 0528001141)
2018-12-10 13:42:22 +01:00
Vladimír Čunát
4b374061a6 nixos tests: disable kafka for now
They consistently fail since openjdk bump with some out-of-space errors.
That's not a problem by itself, but each test instance ties a build slot
for many hours and consequently they also delay channels as those wait
for all builds to finish.

Feel free to re-enable when fixed, of course.

(cherry picked from commit 3946d83a3c)
2018-12-10 13:25:49 +01:00
Florian Klink
6a7b2a4aa5 Merge pull request #51799 from flokli/18.09-ghostscript-9.26
ghostscript: 9.25 -> 9.26
2018-12-09 23:02:26 +01:00
Tor Hedin Brønner
2549e2e977 ghostscript: 9.25 -> 9.26
(cherry picked from commit 0ed7d3c62a)
2018-12-09 22:29:05 +01:00
Andreas Rammhold
1a5d5a570b Merge pull request #51795 from andir/18.09/smartmontools
[18.09] smartmontools: drivedb 4548 -> 4852
2018-12-09 21:53:31 +01:00
Andreas Rammhold
510946b241 smartmontools: drivedb 4548 -> 4852 2018-12-09 21:39:13 +01:00
Simon Lackerbauer
b352d47e42 nextcloud: 14.0.3 -> 14.0.4
(cherry picked from commit ee1613aea6)
2018-12-09 18:02:00 +01:00
Vladimír Čunát
99e3efe7ff Merge staging-18.09 into release-18.09
It's older version of the branch that's almost finished on Hydra.
2018-12-09 17:47:29 +01:00
Herwig Hochleitner
d56ec49ae4 llvm-7: init in release-18.09 (#51771)
chromium builds best with llvm 7 and instead of taking the hit of
hunting for gcc patches until release-18.09 is phased out, we just
backport it

see https://github.com/NixOS/nixpkgs/issues/51602

cc @dtzWill could you have a look at any commits, i might have missed?

this merged branch was built as follows:

```
± git merge-base release-18.09 master
2a1c0dde8f

± git checkout -b release-18.09-llvm-7 2a1c0dde8f
Switched to a new branch 'release-18.09-llvm-7'

± git cherry-pick -x $(git log master --format=oneline -- pkgs/development/compilers/llvm/7 | cut -f1 -d' ' | tac )
[release-18.09-llvm-7 0120cd8826f] llvm7: init at 7.0.0rc3
 Author: Will Dietz <w@wdtz.org>
 Date: Tue Sep 18 14:19:58 2018 -0500
 15 files changed, 1260 insertions(+)
 create mode 100644 pkgs/development/compilers/llvm/7/clang/default.nix
 create mode 100644 pkgs/development/compilers/llvm/7/clang/purity.patch
 create mode 100644 pkgs/development/compilers/llvm/7/compiler-rt-codesign.patch
 create mode 100644 pkgs/development/compilers/llvm/7/compiler-rt.nix
 create mode 100644 pkgs/development/compilers/llvm/7/default.nix
 create mode 100644 pkgs/development/compilers/llvm/7/libc++/default.nix
 create mode 100644 pkgs/development/compilers/llvm/7/libc++/setup-hook.sh
 create mode 100644 pkgs/development/compilers/llvm/7/libc++abi.nix
 create mode 100644 pkgs/development/compilers/llvm/7/lld.nix
 create mode 100644 pkgs/development/compilers/llvm/7/lldb.nix
 create mode 100644 pkgs/development/compilers/llvm/7/llvm-outputs.patch
 create mode 100644 pkgs/development/compilers/llvm/7/llvm.nix
 create mode 100644 pkgs/development/compilers/llvm/7/openmp.nix
 create mode 100644 pkgs/development/compilers/llvm/7/sanitizers-nongnu.patch
[release-18.09-llvm-7 efc3c480d86] llvm7: patch test shebang (otherwise test fails)
 Author: Will Dietz <w@wdtz.org>
 Date: Tue Sep 18 14:35:21 2018 -0500
 1 file changed, 2 insertions(+)
[release-18.09-llvm-7 30d468d7f47] llvm-manpages: fix build by removing references to $lib output
 Author: Will Dietz <w@wdtz.org>
 Date: Tue Sep 18 14:45:39 2018 -0500
 1 file changed, 3 insertions(+)
[release-18.09-llvm-7 64b459e5ae3] comment
 Author: Will Dietz <w@wdtz.org>
 Date: Tue Sep 18 14:52:17 2018 -0500
 1 file changed, 1 insertion(+), 1 deletion(-)
[release-18.09-llvm-7 ad2705efb6e] compiler-rt: quickfix codesign patch by dropping hunks 'already applied'
 Author: Will Dietz <w@wdtz.org>
 Date: Tue Sep 18 15:00:39 2018 -0500
 1 file changed, 33 insertions(+), 155 deletions(-)
 rewrite pkgs/development/compilers/llvm/7/compiler-rt-codesign.patch (78%)
[release-18.09-llvm-7 f51bf899719] llvm7: use final release tarballs now that they're available
 Author: Will Dietz <w@wdtz.org>
 Date: Wed Sep 19 07:43:33 2018 -0500
 1 file changed, 2 insertions(+), 2 deletions(-)
[release-18.09-llvm-7 93244a2dc24] llvm7: update hashes, they did change after all.
 Author: Will Dietz <w@wdtz.org>
 Date: Wed Sep 19 08:00:23 2018 -0500
 9 files changed, 9 insertions(+), 10 deletions(-)
[release-18.09-llvm-7 1e9d9d2e4ff] llvm*: http -> https, prefer releases.llvm.org
 Author: Will Dietz <w@wdtz.org>
 Date: Wed Sep 19 08:02:21 2018 -0500
 7 files changed, 7 insertions(+), 7 deletions(-)
[release-18.09-llvm-7 f5e526ba11a] libc++7: prefer 'optional' as suggested by comment
 Author: Will Dietz <w@wdtz.org>
 Date: Wed Sep 19 08:36:40 2018 -0500
 1 file changed, 1 insertion(+), 5 deletions(-)
[release-18.09-llvm-7 f254fb70666] llvm7: only use 1 number in version suffix, upstream changed
 Author: Will Dietz <w@wdtz.org>
 Date: Thu Sep 20 19:42:44 2018 -0500
 1 file changed, 1 insertion(+), 1 deletion(-)
[release-18.09-llvm-7 fa6fed6230d] llvm7: optionally use libpfm (exegesis), default off w/darwin
 Author: Will Dietz <w@wdtz.org>
 Date: Thu Sep 20 19:53:59 2018 -0500
 1 file changed, 4 insertions(+), 1 deletion(-)
[release-18.09-llvm-7 21959244dc4] llvm7: update musl patch for sanitizers
 Author: Will Dietz <w@wdtz.org>
 Date: Mon Sep 24 10:43:07 2018 -0500
 1 file changed, 75 insertions(+), 76 deletions(-)
```
2018-12-09 15:06:31 +01:00
Vladimír Čunát
ee3de676a6 Merge #51451: perl security updates (into staging-18.09) 2018-12-09 14:28:58 +01:00
Vladimír Čunát
1970a4cd13 fbreader: fixup build with curl-7.62
This was easy to patch; submitted upstream.

(cherry picked from commit 17acf57f9d)
2018-12-09 10:29:59 +01:00
Will Dietz
b324990b20 llvm7: update musl patch for sanitizers
(cherry picked from commit 5b2de5126d)
2018-12-09 05:27:03 +01:00
Will Dietz
9932296ed8 llvm7: optionally use libpfm (exegesis), default off w/darwin
(cherry picked from commit 9fe245d7e0)
2018-12-09 05:27:03 +01:00
Will Dietz
ffa9366411 llvm7: only use 1 number in version suffix, upstream changed
See llvm 2a6cf85828509e89e18739e5f4b9a958820d66d4

(cherry picked from commit b3645d74d1)
2018-12-09 05:27:03 +01:00
Will Dietz
ddccbf531d libc++7: prefer 'optional' as suggested by comment
(cherry picked from commit e3030a2908)
2018-12-09 05:27:03 +01:00
Will Dietz
df92d262a8 llvm*: http -> https, prefer releases.llvm.org
(cherry picked from commit 167e799d81)
2018-12-09 05:27:03 +01:00
Will Dietz
3683dade86 llvm7: update hashes, they did change after all.
Pretty sure they did last time too :).

(cherry picked from commit 0920652c5c)
2018-12-09 05:27:03 +01:00
Will Dietz
253a584046 llvm7: use final release tarballs now that they're available
(cherry picked from commit fca31e1a68)
2018-12-09 05:27:02 +01:00
Will Dietz
b2e5f6581a compiler-rt: quickfix codesign patch by dropping hunks 'already applied'
Quite possibly this is not right.

(cherry picked from commit 621fd23cb5)
2018-12-09 05:27:02 +01:00
Will Dietz
3d95f8a221 comment
(cherry picked from commit ba701ef329)
2018-12-09 05:27:02 +01:00
Will Dietz
a379d9a656 llvm-manpages: fix build by removing references to $lib output
(cherry picked from commit 38699890d6)
2018-12-09 05:27:02 +01:00
Will Dietz
c0bc50f825 llvm7: patch test shebang (otherwise test fails)
(cherry picked from commit b7692f5be5)
2018-12-09 05:27:02 +01:00
Will Dietz
5b5381f0c1 llvm7: init at 7.0.0rc3
Copy of 6 + updated hashes

(cherry picked from commit bb110d80fc)
2018-12-09 05:27:02 +01:00
Herwig Hochleitner
1a4498d132 chromium: 70.0.3538.110 -> 71.0.3578.80
CVE-2018-17480 CVE-2018-17481 CVE-2018-18335 CVE-2018-18336
CVE-2018-18337 CVE-2018-18338 CVE-2018-18339 CVE-2018-18340
CVE-2018-18341 CVE-2018-18342 CVE-2018-18343 CVE-2018-18344
CVE-2018-18345 CVE-2018-18346 CVE-2018-18347 CVE-2018-18348
CVE-2018-18349 CVE-2018-18350 CVE-2018-18351 CVE-2018-18352
CVE-2018-18353 CVE-2018-18354 CVE-2018-18355 CVE-2018-18356
CVE-2018-18357 CVE-2018-18358 CVE-2018-18359

see https://github.com/NixOS/nixpkgs/issues/51602

(cherry picked from commit 8942a3e00c)

chromium: update conditionals and gcc patches for min version 71

(cherry picked from commit ccb93eb6b0)
2018-12-09 04:52:36 +01:00
Vladimír Čunát
2e7699531a Merge #51688: nettle: 3.4 -> 3.4.1 (security)
(cherry picked from commit b9d22d3fe8)
2018-12-08 23:38:20 +01:00
Renaud
f1a942b441 Merge pull request #51675 from c0bw3b/sec/1809/polkit
[18.09] polkit: add patch for CVE-2018-19788
2018-12-08 23:20:17 +01:00
Renaud
f006e8448b Merge pull request #51243 from vaibhavsagar/update-developPackage
Update developPackage
2018-12-08 18:15:44 +01:00
Tim Steinbach
b4360cadfd linux: 4.19.7 -> 4.19.8
(cherry picked from commit 6de9095a12f9ec834933217840ba3df716738a77)
2018-12-08 10:26:34 -05:00
Tim Steinbach
8e67eb47d3 linux: 4.14.86 -> 4.14.87
(cherry picked from commit 5fa8435719a1ad5b7ac8f57ce3c6e47cebafbdeb)
2018-12-08 10:26:33 -05:00
Tim Steinbach
04b8900a51 linux: 4.9.143 -> 4.9.144
(cherry picked from commit 1567d09a49613f1bc21d6d5905fe339a26d82ed0)
2018-12-08 10:26:32 -05:00
Renaud
695391fd84 Merge pull request #51734 from c0bw3b/sec/1809/sssd
[18.09] sssd: 1.16.2 -> 1.16.3
2018-12-08 16:05:55 +01:00
Will Dietz
0ec2084017 sssd: 1.16.2 -> 1.16.3 (security!)
https://docs.pagure.org/SSSD.sssd/users/relnotes/notes_1_16_3.html
(cherry picked from commit 01fab8778f)
2018-12-08 15:47:03 +01:00
Renaud
e9a2c5328f nixos/systemd-nspawn: accept all Exec and Files options
See: https://www.freedesktop.org/software/systemd/man/systemd.nspawn.html
Closes #49712
2018-12-08 14:43:51 +01:00
Florian Klink
7538184722 Merge pull request #51711 from worldofpeace/vivaldi/18.09-backport
backport vivaldi updates from unstable
2018-12-08 13:30:25 +01:00
Periklis Tsirakidis
b3aff3a040 openjpeg: fix for CVE-2018-18088
(cherry picked from commit a4700aa526)
2018-12-08 21:01:57 +09:00
worldofpeace
dfe1c9670b vivaldi: correct hash
Fixes #51635

(cherry picked from commit 5256cfd006)
2018-12-07 21:54:26 -05:00
José Romildo Malaquias
eac3842765 vivaldi: 2.1.1337.47-1 -> 2.1.1337.51-1
(cherry picked from commit 94c342348b)
2018-12-07 21:52:30 -05:00
José Romildo Malaquias
1ca86b41c4 vivaldi: 2.1.1337.36-1 -> 2.1.1337.47-1
(cherry picked from commit b14d1167c9)
2018-12-07 21:52:16 -05:00
José Romildo Malaquias
9a5586dbf0 vivaldi: 2.0.1309.29-2 -> 2.1.1337.36-1
(cherry picked from commit 3cd8c2240b)
2018-12-07 21:52:04 -05:00
Patrick Hilhorst
f15255aead vivaldi: 1.15.1147.64-1 -> 2.0.1309.29-2
(cherry picked from commit 71eb7adfb2)
2018-12-07 21:51:51 -05:00
Lukas Werling
12bd585969 vivaldi: 1.15.1147.42-1 -> 1.15.1147.64-1
(cherry picked from commit eb275c96f2)
2018-12-07 21:51:19 -05:00
José Romildo Malaquias
3e69d11580 vivaldi-ffmpeg-codecs: 69.0.3497.73 -> 70.0.3538.77
(cherry picked from commit 34964d6f3b)
2018-12-07 21:48:00 -05:00
Lukas Werling
d078ba9b5d vivaldi-ffmpeg-codecs: 61.0.3163.91 -> 69.0.3497.73
(cherry picked from commit 478e1fe369)
2018-12-07 21:47:56 -05:00
c0bw3b
c1e49a34a4 polkit: add patch for CVE-2018-19788
unprivileged users with UID > INT_MAX can successfully execute any systemctl command
Original issue: https://gitlab.freedesktop.org/polkit/polkit/issues/74

(cherry picked from commit a14af16cfc)
2018-12-07 19:45:11 +01:00
Will Dietz
135a7f9604 tor: 0.3.4.8 -> 0.3.4.9
https://gitweb.torproject.org/tor.git/plain/ChangeLog?h=tor-0.3.4.9

Please confirm the sha256 is correct for a verified tarball,
I'm not setup (or know how offhand but docs look promising)
to do this myself.

(cherry picked from commit c78761b5bd)
2018-12-07 13:15:16 +01:00
taku0
4b4c24c341 flashplayer: 31.0.0.153 -> 32.0.0.101
(cherry picked from commit f7a266d44a)
Backport of #51623
2018-12-07 12:14:39 +01:00
Jörg Thalheim
59ae1fd285 nix-review: 0.6.1 -> 1.0.1
- use nix build instead of nix-build
- writes per-build log in the current working directory
- symlinks the builds in the current working directory
- detects & deduplicates build aliases
- markdown reports
- filter builds by regex
- generate nix expression files that can be build by the user

(cherry picked from commit 53f1ffa4d3)
2018-12-07 11:12:57 +00:00
Samuel Dionne-Riel
7795a7ad5f sd-image: Slims the ext4 filesystem even more.
This is to try and squeeze more lost space from the image, so that hydra
starts building it again.

The fsck previous to the resize2fs is required so resize2fs works.

The one afterwards is a sanity check.

Using `-M` from resize2fs will not give much saved space due to a known
(in the manual) issue.

```
[samueldr@aarch64:~/nixpkgs]$ ls -lh result-*/*/*.img
-r--r--r-- 1 root root 2.2G Jan  1  1970 result-original/sd-image/nixos-sd-image-18.09.git.a7fd431-aarch64-linux.img
-r--r--r-- 1 root root 2.1G Jan  1  1970 result-M/sd-image/nixos-sd-image-18.09.git.a7fd431-aarch64-linux.img
-r--r--r-- 1 root root 1.9G Jan  1  1970 result-slimmed/sd-image/nixos-sd-image-18.09.git.a7fd431-aarch64-linux.img
```

```
[samueldr@aarch64:~/nixpkgs]$ nix path-info -S ./result-original
/nix/store/c8k9n78gylx293rjh762fr05a069kxp2-nixos-sd-image-18.09.git.a7fd431-aarch64-linux.img   3844125000

[samueldr@aarch64:~/nixpkgs]$ nix path-info -S ./result-slimmed
/nix/store/962238skj5mnzhrsmjy23dyzmxk77sp4-nixos-sd-image-18.09.git.a7fd431-aarch64-linux.img   3447473208
```

(cherry picked from commit 61bdaad9a9)
2018-12-06 18:35:59 -05:00
Anatolii Prylutskyi
a7924afc9f rambox: 0.6.2 -> 0.6.3
(cherry picked from commit 7ff4f5be26)
2018-12-06 10:55:43 +00:00
Jörg Thalheim
29eb612952 rambox: 0.6.1 -> 0.6.2
(cherry picked from commit fb7abdaea1)
2018-12-06 10:55:43 +00:00
Renaud
d54a4accc7 Merge pull request #51591 from c0bw3b/data/1809/tzdata
[18.09] tzdata: 2018e -> 2018g
2018-12-05 23:43:11 +01:00
Tim Steinbach
2dc559868c linux: 4.19.6 -> 4.19.7
(cherry picked from commit 808d52ee05)
2018-12-05 17:36:38 -05:00
Tim Steinbach
df3e859d10 linux: 4.14.85 -> 4.14.86
(cherry picked from commit e945771e4c)
2018-12-05 17:36:37 -05:00
Tim Steinbach
dd9018dfdc linux: 4.9.142 -> 4.9.143
(cherry picked from commit 1f7266cbbb)
2018-12-05 17:36:37 -05:00
Franz Pletz
b57b9b7a49 tzdata: 2018e -> 2018g
Notable changes:
  - Morocco switched to permanent +01 on 2018-10-27
  - Volgograd moved from +03 to +04 on 2018-10-28
  - Fiji ends DST 2019-01-13, not 2019-01-20
  - Most of Chile changes DST dates, effective 2019-04-06

tzdata: fetch over https
(cherry picked from commit 7c25174154)
2018-12-05 22:29:57 +01:00
Renaud
261bf90fb9 Merge pull request #51181 from guaraqe/ncurses
ncurses: upgrade from 6.1 -> 6.1-20181027
2018-12-05 12:18:38 +01:00
Trolli Schmittlauch
dd039326f0 dino: 2018-11-27 -> 2018-11-29 (#51557)
(cherry picked from commit 99231a36bb)
2018-12-05 11:16:02 +00:00
Jörg Thalheim
30ab8686bf dino: enable parallel building
(cherry picked from commit a995836356)
2018-12-05 11:15:55 +00:00
Jörg Thalheim
3faf28ae41 dino: 2018-09-21 -> 2018-11-27
(cherry picked from commit 3b44ccd991)
2018-12-05 11:15:49 +00:00
Jörg Thalheim
22f639d78d dino: 2018-09-05 -> 2018-09-21
(cherry picked from commit 3dec3de2d3)
2018-12-05 11:15:43 +00:00
Jörg Thalheim
0c4650db8f dino: 2018-07-08 -> 2018-09-05
(cherry picked from commit de825a4eaa)
2018-12-05 11:15:34 +00:00
Pierre Bourdon
b260b7c2af prometheus/exporters: fix regression in DynamicUser behavior
Instead of setting User/Group only when DynamicUser is disabled, the
previous version of the code set it only when it was enabled. This
caused services with DynamicUser enabled to actually run as nobody, and
services without DynamicUser enabled to run as root.

Regression from fbb7e0c82f.

(cherry picked from commit 3873f43fc3)
2018-12-05 11:40:32 +01:00
Florian Klink
40e7d55262 pkgsi686Linux.nixosTests.gitlab: fix 32 bit tests
GitLab 11.5.1 dropped the dependency to posix_spawn, which is broken on
32bit. (See https://gitlab.com/gitlab-org/gitlab-ce/issues/53525)

The only part missing is decreasing virtualisation.memorySize to
something that a 32 bit qemu still executes.

The maximum seems to be 2047, and tests passed with that value for me.

(cherry picked from commit 5c82aa8854)
2018-12-05 10:47:55 +01:00
Andrew Dunham
0b2757de07 ncurses: upgrade from 6.1 -> 6.1-20181027
This includes fixes for CVE-2018-10754.

While we're changing things, also set the `--with-manpage-format=normal`
configure flag, which prevents the `configure` script from looking in
/usr to determine whether to compress manpages. This was already the
format on NixOS (where these directories don't exist), but making this
explicit makes the build more reproducible on other distros.

(cherry picked from commit f485b2e71f)
2018-12-05 10:25:27 +01:00
Robin Gloster
7b3336baf3 gitlab-shell: fix hard-coded path
(cherry picked from commit c2b54dcee5)
2018-12-05 10:16:55 +01:00
Robin Gloster
b9ba657642 gitlab: 11.5.0 -> 11.5.1
(cherry picked from commit 88b63b2505)
2018-12-05 10:16:53 +01:00
Samuel Dionne-Riel
d25517ab51 Merge pull request #51511 from hedning/nix-completions-bump
[18.09] backport nix-{zsh,bash}-completions
2018-12-05 04:22:12 +00:00
Samuel Dionne-Riel
885811d932 Merge pull request #51486 from johanot/kubernetes-1.11.5
kubernetes: 1.11.4 -> 1.11.5
2018-12-05 04:20:07 +00:00
John Ericson
3fd87ad007 Merge pull request #51286 from obsidiansystems/bump-android-sdk-backport
Bump android sdk backport in 18.09
2018-12-04 15:11:58 -05:00
Renaud
aae21170ee Merge pull request #51395 from c0bw3b/sec/1809/postfix
[18.09]  postfix: 3.3.1 -> 3.3.2
2018-12-04 20:57:46 +01:00
c0bw3b
29f01a82f9 postfix: 3.3.1 -> 3.3.2
Changelog:
http://www.postfix.org/announcements/postfix-3.3.2.html
2018-12-04 20:37:32 +01:00
Tor Hedin Brønner
bf19f01b6d nix-zsh-completions: 0.4.1 -> 0.4.2
(cherry picked from commit 5bc0270211)
2018-12-04 16:53:16 +01:00
Maximilian Bosch
1d027e2fdd nix-zsh-completions: 0.4.0 -> 0.4.1
Contains several bugfixes that improve the ZSH completion for nix*
commands.

For further reference: https://github.com/spwhitt/nix-zsh-completions/releases/tag/0.4.1

(cherry picked from commit e446261e51)
2018-12-04 16:53:04 +01:00
Tor Hedin Brønner
36e8c6b71f nix-bash-completions: 0.6.6 -> 0.6.7
(cherry picked from commit ad8f5ca2bb)
2018-12-04 16:52:06 +01:00
Timo Kaufmann
8992f529d7 python.pkgs.pygraphviz: add graphviz path (#51502)
(cherry picked from commit 21de751e74)
2018-12-04 12:32:13 +01:00
Mario Rodas
cc0831b0e2 docs: Remove nix-repl references
nix-repl has been deprecated
2018-12-04 10:53:38 +00:00
Alexey Lebedeff
27b3ca8e46 nvidia_legacy_340: Remove unneeded/failing patch
The patch is not applying and no longer needed after upgrade in
045575e744. Now the same result is
achieved by the following lines in the driver package itself:

    #if defined(NV_DRM_LEGACY_PCI_INIT_PRESENT)
    #define nv_drm_pci_init drm_legacy_pci_init
    #define nv_drm_pci_exit drm_legacy_pci_exit
    #else
    #define nv_drm_pci_init drm_pci_init
    #define nv_drm_pci_exit drm_pci_exit
    #endif
2018-12-04 10:43:50 +00:00
Renaud
7ebed57d7b Merge pull request #51491 from flokli/18.09-zoom-us-2.5.146186.1130
[18.09] zoom-us: 2.4.129780.0915 -> 2.5.146186.1130 (CVE-2018-15715)
2018-12-04 08:25:12 +01:00
Florian Klink
8b52f7db8d zoom-us: 2.4.129780.0915 -> 2.5.146186.1130
fixes [CVE-2018-15715](https://nvd.nist.gov/vuln/detail/CVE-2018-15715)

(cherry picked from commit c4177f4e5b)
2018-12-04 02:14:20 +01:00
R. RyanTM
8c853e6682 elfutils: 0.174 -> 0.175
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/elfutils/versions

Fixes CVE-2018-18310, CVE-2018-18520 and CVE-2018-18521.

CC #51458

(cherry picked from commit 5beb37d258)
2018-12-04 00:54:38 +01:00
R. RyanTM
5ce279105f elfutils: 0.173 -> 0.174
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/elfutils/versions

Fixes CVE-2018-16062, CVE-2018-16402 and CVE-2018-16403.

(cherry picked from commit f52e50c60f)
2018-12-04 00:54:12 +01:00
Robin Gloster
3e238c552d strongswan: fix patch's CVE number
The patch above this one is the one fixing the previous CVEs.

fixes #51461
2018-12-04 00:25:34 +01:00
Renaud
b09e113035 Merge pull request #51479 from c0bw3b/sec/1809/udisks
[18.09] udisks: 2.8.0 -> 2.8.1
2018-12-04 00:15:05 +01:00
Johan Thomsen
27a7e1f6f5 kubernetes: 1.11.4 -> 1.11.5 2018-12-03 23:40:13 +01:00
Will Dietz
4bb9ffd1c4 udisks: 2.8.0 -> 2.8.1
https://github.com/storaged-project/udisks/blob/udisks-2.8.1/NEWS
(cherry picked from commit 9a74fd0b0f)
2018-12-03 23:18:17 +01:00
Domen Kožar
9bdbd595db chrome-token-signing: fix path to opensc-pkcs11
(cherry picked from commit 4cf1d88d12)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-12-03 17:19:01 +00:00
Bjørn Forsman
d45a0d7a4f jpeginfo: init at 1.6.1
jpeginfo prints information and tests integrity of JPEG/JFIF files.

(cherry picked from commit 84a2463499)
2018-12-03 17:09:54 +01:00
Vladimír Čunát
395a526fc6 Merge branch 'release-18.09' into staging-18.09
I mainly want the kernel updates, to avoid useless builds.
2018-12-03 15:47:08 +01:00
volth
62141daa1f perl: 5.28.0 -> 5.28.1, 5.26.2 -> 5.26.3 2018-12-03 13:53:50 +00:00
Pierre Bourdon
b7162eb5c4 nixos.tests.keymap: use new name of the colemak/en-latin9 keymap
Commit df6d40feb6 renamed colemak/en-latin9 to
colemak/colemak, but the keymap test wasn't adjusted to refer to the new path.

(cherry picked from commit 74598ca8d3)
2018-12-03 13:09:08 +01:00
Vladimír Čunát
4f5651d4ed Merge #50963: nss, libpng & sqlite backports (staging-18.09)
Planned date of FF 64 is in about a week.
2018-12-03 11:36:50 +01:00
Vladimír Čunát
c395d62507 Merge branch 'staging-18.09' into release-18.09
On x86_64-linux this looks good, only R fails tests on Hydra,
but I've been unable to reproduce that failure locally,
so let me not delay the CVE fixes.
2018-12-03 11:05:15 +01:00
Jörg Thalheim
b7c795d588 Merge pull request #51407 from M-Gregoire/fix/networkmanagerservice
Fix NetworkManager-wait-online.service
2018-12-03 08:55:05 +00:00
Austin Seipp
173852b936 nixos/chrony: fix misplaced ConditionCapability= directive
Signed-off-by: Austin Seipp <aseipp@pobox.com>
(cherry picked from commit 4594b18070)
2018-12-02 20:33:30 -06:00
R. RyanTM
58f61cfcdd kdeconnect: 1.3.1 -> 1.3.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/kdeconnect/versions

(cherry picked from commit efbc6f4648)
This version is needed to use the Android companion application.
Fixes #51396
2018-12-02 20:19:38 -05:00
Jörg Thalheim
6c6aef86be Merge pull request #51361 from davidak/fix-mumble
Backport mumble fix
2018-12-02 22:44:51 +00:00
worldofpeace
205bbc3365 kbfs: 2.6.0 -> 2.10.1
(cherry picked from commit b49ed49c68)
2018-12-02 12:01:43 -08:00
Jon Banafato
0cad7d413a kbfs: 2.5.0 -> 2.6.0
(cherry picked from commit 254c5a0100)
2018-12-02 12:01:43 -08:00
worldofpeace
5abdefdf38 keybase: 2.7.3 -> 2.10.1
(cherry picked from commit 3fdbd985d9)
2018-12-02 12:01:43 -08:00
Daiderd Jordan
80c749e29c keybase: add cf-private on darwin
Undefined symbols for architecture x86_64:
      "_OBJC_CLASS_$_NSData", referenced from:
          objc-class-ref in _x002.o
      "_OBJC_CLASS_$_NSDictionary", referenced from:
          objc-class-ref in _x002.o
      "_OBJC_CLASS_$_NSURL", referenced from:
          objc-class-ref in _x002.o
    ld: symbol(s) not found for architecture x86_64

(cherry picked from commit be9fc0d669)
2018-12-02 12:01:43 -08:00
Jon Banafato
9d3b4dd757 keybase: 2.5.0 -> 2.7.3
(cherry picked from commit 468d41db46)
2018-12-02 12:01:43 -08:00
worldofpeace
930c69803b keybase-gui: 2.7.0 -> 2.11.0
- Use `autoPatchelfHook`
- Don't explicitly set phases - Part of #28910
- Correct `version` by hoisting out the suffix

(cherry picked from commit 02e9d06e5e)
2018-12-02 12:01:43 -08:00
Jon Banafato
0980c9385d keybase-gui: 2.5.0 -> 2.7.0
(cherry picked from commit 68ad1f8774)
2018-12-02 12:01:43 -08:00
MGregoire
022eb6afaf Fix NetworkManager-wait-online.service 2018-12-02 20:34:33 +01:00
Vladimír Čunát
e1aacc81b7 Merge #51390: thunderbird(-bin): 60.3.0 -> 60.3.2 2018-12-02 18:32:34 +01:00
Jörg Thalheim
e8dd26fc30 Revert "nixos/luksroot: Check whether the device already exists"
This reverts commit 14b0a4f1ad.

Apparently this can break peoples setup: https://github.com/NixOS/nixpkgs/pull/50281#issuecomment-443516289
2018-12-02 17:08:36 +00:00
Jörg Thalheim
4c22ad7bf7 Merge pull request #51354 from dasJ/luks-checkexist-backport
nixos/luksroot: Backport #50281
2018-12-02 16:51:04 +00:00
Bas van Dijk
24ff4d87bc elasticsearch: make sure to patchelf the x-pack-ml binaries
(cherry picked from commit b560dd9047)
2018-12-02 15:57:57 +01:00
Bas van Dijk
35b40f4f7a elk: 6.3.2 -> 6.5.1
(cherry picked from commit fbf0efc6a7)
2018-12-02 15:34:36 +01:00
Vladimír Čunát
fd3e3c727f Merge #51378: linuxPackages.nvidia_x11_legacy304: broken on 4.18+
(cherry picked from commit 70f507ae56)
2018-12-02 14:33:40 +01:00
Janne Heß
14b0a4f1ad nixos/luksroot: Check whether the device already exists
The new reuse behaviour is cool and really useful but it breaks one of
my use cases. When using kexec, I have a script which will unlock the
disks in my initrd. However, do_open_passphrase will fail if the disk is
already unlocked.

(cherry picked from commit 9cd4ce98bf)
Reason: The new behaviour breaks my existing setup and I'd like to have
it fixed before March.
2018-12-02 14:05:48 +01:00
taku0
416eb4bc1c thunderbird: 60.3.0 -> 60.3.2
(cherry picked from commit 61c83b3975)
2018-12-02 13:59:52 +01:00
taku0
b8ae370815 thunderbird-bin: 60.3.0 -> 60.3.2
(cherry picked from commit d37976c508)
2018-12-02 13:59:45 +01:00
taku0
373bf6abcd thunderbird: 60.3.0 -> 60.3.1
(cherry picked from commit 1e8694d3d7)
2018-12-02 13:59:22 +01:00
taku0
83ed12481a thunderbird-bin: 60.3.0 -> 60.3.1
(cherry picked from commit 52fc63e37b)
2018-12-02 13:59:18 +01:00
Jörg Thalheim
49be1fad9b networkmanager-applet: set default icon theme 2018-12-02 11:50:33 +00:00
Silvan Mosberger
b3e718378d Merge pull request #51374 from Infinisil/backport/fix/minecraft
[18.09] minecraft: Fix versions <1.13
2018-12-02 08:20:48 +01:00
Silvan Mosberger
8fc7a2d975 minecraft: Fix versions <1.13
(cherry picked from commit 0d2355d7e3)
2018-12-02 07:56:07 +01:00
Andrew Childs
65b2552a46 mumble: fix hang on reconfiguring audio
(cherry picked from commit 773c8807c9)

Reason: Backport fix to 18.09
2018-12-02 06:37:26 +01:00
Tim Steinbach
d004311ba3 kernel: 4.19.5 -> 4.19.6
(cherry picked from commit 0bc0a6ed25ce840d15c924cde841ed243c06237e)
2018-12-01 11:22:25 -05:00
Tim Steinbach
aaeedad66f kernel: 4.14.84 -> 4.14.85
(cherry picked from commit c29204b85278648279a6ed78db0dc4e4a85d4cfe)
2018-12-01 11:22:24 -05:00
Tim Steinbach
c1bca408c3 kernel: 4.9.141 -> 4.9.142
(cherry picked from commit 4440f74ae57fd83f875f2f340eeed95c015a1b45)
2018-12-01 11:22:23 -05:00
Tim Steinbach
8597515996 kernel: 4.4.165 -> 4.4.166
(cherry picked from commit 2a533a71e36a41bfdde0e4dd880604a7141a985e)
2018-12-01 11:22:23 -05:00
Tim Steinbach
b69279c5f3 sbt: 1.2.6 -> 1.2.7
(cherry picked from commit 9ee9387b472a71e5250f1b131ce3b1a7bdc9c763)
2018-12-01 11:22:22 -05:00
Léo Gaspard
b47741cdd8 Merge branch 'pr-51299' into release-18.09
* pr-51299:
  nixos/urxvtd: remove socket activation
2018-12-01 16:02:32 +09:00
Samuel Dionne-Riel
2e19ed4e83 Merge pull request #51273 from herrwiese/nixos-postgres-unknown-var
postgresql: Fix variable spelling in NixOS module
2018-12-01 03:14:28 +00:00
fishyfriend
31efd1f3a5 nixos/urxvtd: remove socket activation
This fixes #23193. urxvtd is not presently compatible with socket activation.

(cherry picked from commit b34b39cab4)
2018-11-30 18:51:40 -05:00
worldofpeace
de81882a82 Merge pull request #51289 from 1000101/backport-release-18.09
[18.09] trezord: 2.0.24 -> 2.0.25
2018-11-30 16:13:09 -05:00
Jörg Thalheim
9b71a920a4 Merge pull request #51292 from Mic92/mlx5-core-en
[WIP][backport-18.09]: kernel: enable MLX5_CORE_EN when possible
2018-11-30 19:00:07 +00:00
Vladimír Čunát
420db065cf Re-revert "Merge staging-18.09 into release-18.09"
This reverts commit 3d63c05ddf.
This should fix #51281 (after merged to release-18.09),
but we would better re-check for similar problems.
2018-11-30 19:14:44 +01:00
Vladimír Čunát
57081c2bc0 Merge branch 'release-18.09' into staging-18.09 2018-11-30 19:14:22 +01:00
Graham Christensen
4934f82f43 kernel: enable MLX5_CORE_EN when possible
Hydra's builders from Packet.net use this option a lot, causing
lots of slow deploys.

(cherry picked from commit d65b39a805)
2018-11-30 17:56:46 +00:00
Ján Hrnko
46f7707f08 trezord: 2.0.24 -> 2.0.25
(cherry picked from commit e3768c8063)
2018-11-30 18:04:29 +01:00
Clemens Fruhwirth
854e94d262 androidsdk: Re-add emulator that was broken out of the sdk-tools package.
(cherry picked from commit b4d9f6ddca)
2018-11-30 10:58:27 -05:00
David McFarland
73ee651740 androidsdk: fix monitor interpreter path
(cherry picked from commit c43abffb9c)
2018-11-30 10:58:27 -05:00
Nick Novitski
6d9532887b androidenv: version buildTools and add buildToolsVersions sdk argument
(cherry picked from commit d861da151f)
2018-11-30 10:58:27 -05:00
Nick Novitski
48223815a1 androidsdk: 25.2.5 -> 26.1.1, license agreement
(cherry picked from commit 950608bae0)
2018-11-30 10:58:27 -05:00
Florian Klink
43e3285cf5 Merge pull request #51072 from flokli/gitlab-11.5.0-18.09
[18.09] Gitlab 11.5.0
2018-11-30 15:06:58 +01:00
Robert Schütz
7d166c6941 Merge pull request #51257 from schmittlauch/seafile-backport
seafile-shared: backport newer minor version to fix build failures
2018-11-30 11:52:48 +01:00
Andreas Wiese
2ae7b7082b postgresql: Fix variable spelling in NixOS module
Current build of nixos-18.09-small (nixos-18.09.1473.c1acb5ce6d8) fails
with

error: undefined variable 'postgresqlPackage' at […]/nixos/modules/services/databases/postgresql.nix:251:38

The right variable name should be cfg.package; fix.
2018-11-30 10:58:59 +01:00
Renaud
c1acb5ce6d Merge pull request #51169 from nyanloutre/jackett-update-18.09
[18.09] jackett: 0.10.434 -> 0.10.471
2018-11-29 22:33:17 +01:00
Doug Beardsley
7b54e50c08 Update developPackage documentation
(cherry picked from commit c3c82aa675)
2018-11-29 14:06:41 -05:00
Doug Beardsley
fca28547b5 Add name parameter to developPackage
(cherry picked from commit d36c55a530)
2018-11-29 14:06:13 -05:00
Robert Schütz
f135007e8c seafile-client: 6.2.5 -> 6.2.7
(cherry picked from commit 377e0e9b0f)

reason: built-error of seafile-shared-6.2.4 (see #51238)
2018-11-29 18:08:30 +01:00
Robert Schütz
2d3cf40a2d seafile-shared: 6.2.5 -> 6.2.7
(cherry picked from commit 3dccf7dca7)

reason: built-error of seafile-shared-6.2.4 (see #51238)
2018-11-29 18:04:34 +01:00
Graham Christensen
a0c7949780 Revert "zfs cannot be distributed. Disabling it in the isos."
ZFS's popularity is growing, and not including it by default is a
bit frustrating. On top of that, the base iso includes ZFS
_anyway_ due to other packages depending upon it.

I think we're in the clear to do this on the basis that Oracle
probably doesn't care, it is probably fine (the SFLC agrees) and
we're a small fish. If a copyright holder asks us to, we can
definitely revert it again.

This reverts commit 33d07c7ea9.

(cherry picked from commit 6db866cbd2)
2018-11-29 08:38:19 -05:00
Samuel Dionne-Riel
09c74d944d sd-image: Do not use batch operation for mcopy.
```
       b      Batch mode. Optimized for huge recursive copies, but less secure if a crash happens during the copy.
```

It seems the "less secure if a crash happens" does not need a crash to
happen.

With batch mode:

```
/[...]/.
  Start (0) does not point to parent (___)
```

For pretty much everything copied in.

Without batch mode, everything passes `fsck`.

See #51150

(cherry picked from commit 1b6a4d3979)
2018-11-28 19:25:34 -05:00
Samuel Dionne-Riel
19f0f4758e sd-image: Verifies the FAT partition before copying it.
This is to ensure `mtools`-based operations don't wreck the FS.

(cherry picked from commit 2e5eb135aa)
2018-11-28 19:25:26 -05:00
Timo Kaufmann
b7747ce27e sage: don't test the downgraded R (#51192)
Fails transiently. See https://github.com/NixOS/nixpkgs/pull/49249. The
failures look harmless and are fixed with R 3.5 which will be used in
sage 8.5.

(cherry picked from commit d6376bca6d)
2018-11-28 23:17:09 +01:00
Kristoffer Thømt Ravneberg
bb287f821f gitlab-shell: don't hardcode gitlab-shell paths in authorized_keys
(cherry picked from commit a3ec5dce2b)
2018-11-28 23:11:19 +01:00
Austin Seipp
4169ce094c postgresql: enable systemd service notification on 9.6+
This results in a marginal closure size increase of ~137mb -> ~141mb.
This only affects the 'out' output, not the 'lib' output, so
libpq-dependent expressions should not bloat as a result of this.

The type of the systemd service is changed to 'notify' on 9.6+, which
will help identify when Postgres is starting/shutting down.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
(cherry picked from commit 1e83cf3174)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-11-28 16:42:28 +00:00
Matt McHenry
d7e3a072ec elm: extract makeDotElm and fetchElmDeps
(cherry picked from commit 206a1c00ba)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-11-28 16:35:35 +00:00
Peter Simons
2c848ea92d Merge pull request #51177 from peti/add-pandoc-manpage
pandoc: adapt postInstall hook to embedded-data-files build
2018-11-28 15:09:52 +01:00
Peter Simons
965b8ecccb pandoc: adapt postInstall hook to embedded-data-files build
(cherry picked from commit b38bfe18c7)
2018-11-28 13:33:18 +01:00
Léo Gaspard
aacc016422 Merge branch 'pr-51156' into release-18.09
* pr-51156:
  haskellPackages: default to ghc 8.4.4 as per Stackage LTS 12.16
2018-11-28 20:50:43 +09:00
nyanloutre
fd41dd53f1 jackett: 0.10.446 -> 0.10.471
(cherry picked from commit 6c06017137)
2018-11-28 09:58:18 +01:00
R. RyanTM
db73ad3ecd jackett: 0.10.434 -> 0.10.446
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/jackett/versions

(cherry picked from commit 91796d1020)
2018-11-28 09:58:18 +01:00
Samuel Dionne-Riel
9deeaa225b Merge pull request #51159 from samueldr/18.09/mtools-4.0.21
[18.09] mtools 4.0.18 -> 4.0.21
2018-11-28 03:30:28 +00:00
Will Dietz
84f7a5ed07 mtools: 4.0.20 -> 4.0.21
* mtools: 4.0.20 -> 4.0.21 (#50993)

https://lists.gnu.org/archive/html/info-mtools/2018-11/msg00009.html

* mtools: homepage is https-capable

(cherry picked from commit 51b526d86e)
2018-11-27 22:07:04 -05:00
Jörg Thalheim
20cdb37294 mtools: fix darwin build
(cherry picked from commit 47a239a240)
2018-11-27 22:07:00 -05:00
R. RyanTM
a58cdb9edd mtools: 4.0.19 -> 4.0.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/mtools/versions

(cherry picked from commit 4f99f26f9b)
2018-11-27 22:06:55 -05:00
R. RyanTM
75c1a76c6c mtools: 4.0.18 -> 4.0.19
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mtools/versions

(cherry picked from commit aee3689349)
2018-11-27 22:06:21 -05:00
Markus Kowalewski
9be0cb168b mtools: add license
(cherry picked from commit 4f83467ba4)
2018-11-27 22:06:16 -05:00
Peter Simons
1afc9c9e56 haskellPackages: default to ghc 8.4.4 as per Stackage LTS 12.16 2018-11-27 21:07:33 -05:00
Andrew Dunham
6ea49f6f86 libtiff: 2018-11-04 -> 4.0.10
(cherry picked from commit ac3b358a8c)
2018-11-28 10:54:13 +09:00
Andrew Dunham
76fc36f75d libtiff: 4.0.9 -> 2018-11-04
This includes a bunch of security fixes (#49786), and mimics what Debian
has done in moving to a git snapshot instead of a released version +
backported security patches.

(cherry picked from commit 3137c609a4)
2018-11-28 10:54:09 +09:00
Léo Gaspard
92e700d297 Merge branch 'pr-51092' into release-18.09
* pr-51092:
  php72: 7.2.11 -> 7.2.12
  php71: 7.1.23 -> 7.1.24
  php: align Darwin and Linux versions again
  php72: 7.2.10 -> 7.2.11
  php71: 7.1.22 -> 7.1.23
2018-11-28 10:05:28 +09:00
Renaud
db561c90ef Merge pull request #51148 from c0bw3b/sec/1809/pdnsrec
pdns-recursor: 4.1.7 -> 4.1.8 (security)
2018-11-27 23:19:36 +01:00
Will Dietz
6a0c135870 pdns-recursor: 4.1.7 -> 4.1.8 (security)
https://docs.powerdns.com/recursor/changelog/4.1.html#change-4.1.8
(cherry picked from commit 14342e8c6d)
2018-11-27 22:59:00 +01:00
Pavel Goran
5c1cf68a94 gitea: include "options" directory in "data" output
This directory contains template files needed for initializing new repositories.

Fixes #49404.

(cherry picked from commit 5f3054ef70)
2018-11-27 22:38:09 +01:00
Tim Steinbach
0551730dae linux: 4.19.4 -> 4.19.5
(cherry picked from commit 08292ab3da0f4df2d1560403e0e48b289f740457)
2018-11-27 16:20:30 -05:00
Tim Steinbach
0375fe783f linux: 4.14.83 -> 4.14.84
(cherry picked from commit d435ad65664ea762b58df28fd6bda4a08bebe86b)
2018-11-27 16:20:30 -05:00
Tim Steinbach
9aff7df93e linux: 4.9.140 -> 4.9.141
(cherry picked from commit 94906bfefed6cb7c1fe53fceb81038ddc8ee8ebc)
2018-11-27 16:20:29 -05:00
Tim Steinbach
1e1faecaeb linux: 4.4.164 -> 4.4.165
(cherry picked from commit 2c3325ecf9af6f1d5a237190028d28a44ba210b3)
2018-11-27 16:20:29 -05:00
Peter Simons
86d1ba34b4 gnome3.gnome-keyring: disable test suite on i686 to fix the build
https://github.com/NixOS/nixpkgs/issues/51121
2018-11-27 17:43:09 +01:00
Pascal Bach
aa4599bef0 gitlab-runner: 11.2.0 -> 11.5.0
(cherry picked from commit c3c57c798f)
2018-11-27 13:48:59 +01:00
Vladimír Čunát
56aac496ff sssd: fix build with updated curl-7.62
Fixes #51106.

(cherry picked from commit 439bf86ca9)
The patch seems very safe to pick.
2018-11-27 12:58:10 +01:00
Jörg Thalheim
f3fbb8543d nixopsUnstable: 1.6.1pre2622_f10999a -> 1.6.1pre2706_d5ad09c
This fixes evaluation with the latest master.

(cherry picked from commit cbea2201db)
2018-11-27 11:29:49 +00:00
Pierre Bourdon
a281d8dcac php72: 7.2.11 -> 7.2.12
(cherry picked from commit ec3d829257)
2018-11-27 02:57:35 +01:00
Pierre Bourdon
574e5af5c2 php71: 7.1.23 -> 7.1.24
(cherry picked from commit 8221da343e)
2018-11-27 02:57:34 +01:00
Pierre Bourdon
df57073860 php: align Darwin and Linux versions again
Instead of pinning Darwin to older versions, add small patches to
configure.in (7.1) / configure.ac (7.2) to fix the build of the intl
extension on recent PHP versions on Darwin.

fix-paths-php7.patch also required changes -- since we now run autoconf
at build time (through ./buildconf), it needs to patch the input .m4
files instead of ./configure directly.

(cherry picked from commit ea10173045)
2018-11-27 02:57:34 +01:00
Elis Hirwing
a294c126de php72: 7.2.10 -> 7.2.11
Changelog: https://secure.php.net/ChangeLog-7.php#7.2.11
(cherry picked from commit b9773bd12e)
2018-11-27 02:41:06 +01:00
Elis Hirwing
96d56c8635 php71: 7.1.22 -> 7.1.23
Changelog: https://secure.php.net/ChangeLog-7.php#7.1.23
(cherry picked from commit 36e3fdd9b6)
2018-11-27 02:40:56 +01:00
Florian Klink
86e84c6d15 gitlab tests: enable recommendedProxySettings, test redirection works as it should
The nixos test is a bit misleading, as the given nginx configuration
would always cause gitlab to redirect to localhost, which is clearly not
what you want in a production setup.

Instead we now enable services.nginx.recommendedProxySettings,
curl against http://gitlab, and assure we get redirected to that same
hostname, too.

(cherry picked from commit 6870eafe72)
2018-11-26 18:53:20 +01:00
Florian Klink
3e65e8d949 gitaly: 0.125.1 -> 0.129.0
(cherry picked from commit 63f25471cb)
2018-11-26 18:53:13 +01:00
Florian Klink
a8b34b1f0b gitlab-workhorse: 7.0.0 -> 7.1.0
(cherry picked from commit a33622e4d4)
2018-11-26 18:53:04 +01:00
Florian Klink
808219bd72 gitlab-shell: 8.3.3 -> 8.4.1
(cherry picked from commit 293a631081)
2018-11-26 18:52:57 +01:00
Florian Klink
3d05f49362 gitlab: 11.4.4 -> 11.5.0, add data.json, make default.nix use it
(cherry picked from commit 625e66d879)
2018-11-26 18:52:49 +01:00
Florian Klink
3905118d6d gitlab-workhorse: rename srcs attribute to src
(cherry picked from commit 3233efb33b)
2018-11-26 18:52:24 +01:00
Florian Klink
c3b6aab73c gitlab-workhorse: drop deterministic-build.patch
we already set VERSION in makeFlags below.

(cherry picked from commit 8b51e837b9)
2018-11-26 18:52:14 +01:00
Florian Klink
bfc48c7774 gitlab-workhorse: move to pkgs/applications/version-management/gitlab
(cherry picked from commit d768e3967f)
2018-11-26 18:52:06 +01:00
Florian Klink
c430d13132 gitaly: move to pkgs/applications/version-management/gitlab
(cherry picked from commit cb79c1e60b)
2018-11-26 18:51:59 +01:00
Florian Klink
df9c1df139 gitlab-shell: move to pkgs/applications/version-management/gitlab
(cherry picked from commit 8e8f692e22)
2018-11-26 18:51:54 +01:00
Pierre Bourdon
a7fd4310c0 curl: cherry-pick upstream patch for ipv6 url parsing
Upstream bug: curl/curl#3218.

This causes nixos/tests/ipv6.nix to fix since the last staging merge.

(cherry picked from commit 90720d0139)
In the end I decided to pick it directly without staging,
so that the various security fixes get to stable* channels fast.
2018-11-25 14:01:31 +01:00
Joachim F
3559a6430e Merge #48084: steam: add libxcb to steamrt overrides
(cherry picked from commit 30008a1cda)

Fixes #47932.  On 18.09 we still have libxcb 1.12, but I expect the
change will help with mixing versions, and it seems safe anyway.
2018-11-25 10:46:22 +01:00
Renaud
f3cc68c505 Merge pull request #51014 from c0bw3b/pkg/1809/nvidia-legacy
[18.09] nvidia_legacy_340: 340.104 -> 340.107
2018-11-25 09:02:49 +01:00
Florian Jacob
70cf0cba42 nvidia_legacy_340: 340.104 -> 340.107
(cherry picked from commit 045575e744)
2018-11-25 08:40:43 +01:00
Renaud
5340848b61 Merge pull request #50988 from timor/release-18.09
libmtp: 1.1.15 -> 1.1.16
2018-11-24 20:26:33 +01:00
timor
5be73b4b1d libmtp: 1.1.15 -> 1.1.16
This fixes the problem of connecting android phones via MTP in kde/dolphin.

Original Bug description: https://bugs.kde.org/show_bug.cgi?id=387454

(cherry picked from commit 79f148c2e0)
2018-11-24 19:00:52 +01:00
Vladimír Čunát
87d114352c Merge branch 'staging-18.09' into release-18.09
Multiple CVE fixes.
2018-11-24 10:20:24 +01:00
Unknown
5d4a1a3897 marble: Fix include install to dev output
(cherry picked from commit 956a4b2bb6)

Fixes #50938
2018-11-24 00:40:22 -05:00
Franz Pletz
b2030e8240 browserpass: 2.0.18 -> 2.0.22
(cherry picked from commit 5ea22c49f1)
2018-11-24 01:37:01 +01:00
Franz Pletz
96550b30d1 matrix-synapse: 0.33.8 -> 0.33.9
(cherry picked from commit 2bf16cbbc3)
2018-11-23 21:13:15 +01:00
Peter Hoeg
247fea906a matrix-synapse: prepare for python3 switch
With this commit, we *can* swap python2 for python3 to run synapse using python3
instead.

The reason for not making the switch is that a number of CLI tools provided with
synapse do not yet work under py3 despite synapse running fine.

So this doesn't actually do anything on its own except to prepare for the
upcoming py3 switch.

(cherry picked from commit dc74c44e67)
2018-11-23 21:13:14 +01:00
Will Dietz
aa3f523dd5 pythonPackages.sqlalchemy: 1.2.11 -> 1.2.13
(cherry picked from commit b8229dd2dc)
2018-11-23 19:32:29 +01:00
Will Dietz
06a935b7ee sqlite: 3.25.2 -> 3.25.3
https://sqlite.org/releaselog/3_25_3.html
(cherry picked from commit 6f0c65ee3f)
2018-11-23 19:32:29 +01:00
Will Dietz
6b5273508b sqlite: 3.25.1 -> 3.25.2
(cherry picked from commit 2e2740165a)
2018-11-23 19:32:29 +01:00
Will Dietz
631572e453 sqlite: 3.25.0 -> 3.25.1
(cherry picked from commit daf738f55d)
2018-11-23 19:32:29 +01:00
Will Dietz
628ea26c63 sqlite: 3.24.0 -> 3.25.0
https://sqlite.org/releaselog/3_25_0.html
(cherry picked from commit 0c7b1576dd)
2018-11-23 19:32:29 +01:00
Andreas Rammhold
43ca58ebed libpng: 1.6.34 -> 1.6.35
(cherry picked from commit e5deb04fed)
2018-11-23 19:32:29 +01:00
Andreas Rammhold
7146449bf4 nss: 3.39 -> 3.40
(cherry picked from commit 376f4b9f05)
2018-11-23 19:32:29 +01:00
Franz Pletz
1fd295ff0d minetest: 0.4.17 -> 0.4.17.1
(cherry picked from commit f88543769e)
2018-11-23 17:54:22 +01:00
Edward Tjörnhammar
3960912a49 minetest: 0.4.16 -> 0.4.17
(cherry picked from commit 8ff9e78dc1)
2018-11-23 17:54:21 +01:00
Franz Pletz
991beddf1a riot-web: 0.17.3 -> 0.17.6
(cherry picked from commit 64da5fcfac)
2018-11-23 17:53:29 +01:00
R. RyanTM
7f2243a396 riot-web: 0.17.0 -> 0.17.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/riot-web/versions

(cherry picked from commit f091b32b16)
2018-11-23 17:53:28 +01:00
R. RyanTM
4acd14a9a4 riot-web: 0.16.5 -> 0.17.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/riot-web/versions

(cherry picked from commit 5d88d542e3)
2018-11-23 17:53:28 +01:00
Franz Pletz
3d64330807 batman_adv: 2018.2 -> 2018.4
(cherry picked from commit b62a18b0c2)
2018-11-23 17:53:28 +01:00
R. RyanTM
95137ab11b batctl: 2018.3 -> 2018.4 (#50826)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/batctl/versions

(cherry picked from commit 119e4e30c8)
2018-11-23 17:53:27 +01:00
R. RyanTM
68c6f0c399 alfred: 2018.2 -> 2018.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/alfred/versions

(cherry picked from commit 40ea9c7143)
2018-11-23 17:53:27 +01:00
R. RyanTM
d869774152 batctl: 2018.2 -> 2018.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/batctl/versions

(cherry picked from commit 6d8f22a58b)
2018-11-23 17:53:27 +01:00
Vladimír Čunát
9f5c1566d2 Merge branch 'release-18.09' into staging-18.09 2018-11-23 16:39:52 +01:00
Tim Steinbach
932e0f30c4 linux: 4.19.3 -> 4.19.4
(cherry picked from commit 13e38d8180)
2018-11-23 08:34:55 -05:00
Tim Steinbach
9fba76c579 linux: 4.14.82 -> 4.14.83
(cherry picked from commit 86f9ac22e2)
2018-11-23 08:34:55 -05:00
Tim Steinbach
67800921ed linux: 4.9.138 -> 4.9.140
(cherry picked from commit 5879586e01)
2018-11-23 08:34:54 -05:00
Bas van Dijk
a85aacc806 Merge pull request #50880 from ElvishJerricco/18.09-bump-ghcjs-2018-11-21
Backport #50879
2018-11-23 12:17:38 +01:00
Ingolf Wagner
172eb14358 bitwig-studio1: fix dependency to libxkbcommon_7
(cherry picked from commit 6fcc67e189)
2018-11-23 03:40:58 -05:00
Ingolf Wagner
fabf2dd765 libxkbcommon: split version (for bitwig)
(cherry picked from commit b499f924da)
2018-11-23 03:39:52 -05:00
Robert Schütz
636b2b2da9 linuxPackages.{spl,zfs}: 0.7.11 -> 0.7.12
(cherry picked from commit d9cd9acc24)
2018-11-22 20:54:29 +01:00
Linus Heckemann
51076ed20c lib/licenses: remove bsl10
Licence isn't used anywhere and nonfree.

(cherry picked from commit 4ef0760808)
2018-11-22 16:02:50 +01:00
Linus Heckemann
c7519bd468 lib/licenses: mark some as unfree
AMD license agreement (currently unavailable at the given URL, but
included in tarball) disallows reverse-engineering, modification,
redistribution etc;

BSL licenses limit commercial production use.

(cherry picked from commit 8fb1e5e166)
2018-11-22 16:02:46 +01:00
Jörg Thalheim
21517c60d9 netdata: create missing /etc/netdata
Since netdata 1.11.0 updated in https://github.com/NixOS/nixpkgs/pull/50459
it needs to have a /etc/netdata directory, which we did not create by default.
fixes #50893
2018-11-21 23:12:54 +00:00
Thomas Tuegel
012b9e6c21 Merge pull request #50877 from ttuegel/backport/50472
nixos/fontconfig: fix enable option of penultimate
2018-11-21 14:02:53 -06:00
Tim Steinbach
dfd23be5a3 linux: 4.19.2 -> 4.19.3
(cherry picked from commit 8f11b37a95)
2018-11-21 09:54:30 -05:00
Tim Steinbach
d0193db8af linux: 4.18.19 -> 4.18.20
(cherry picked from commit ff82d7c786)
2018-11-21 09:54:30 -05:00
Tim Steinbach
42151716eb linux: 4.14.81 -> 4.14.82
(cherry picked from commit 3667a91b78)
2018-11-21 09:54:30 -05:00
Tim Steinbach
c90a18b60b linux: 4.9.137 -> 4.9.138
(cherry picked from commit 0e7dafe8c0)
2018-11-21 09:54:29 -05:00
Tim Steinbach
bb10644e6f linux: 4.4.163 -> 4.4.164
(cherry picked from commit e822b9680b)
2018-11-21 09:54:29 -05:00
Orivej Desh
29842ed37d movit: 1.5.1 -> 1.6.2, fix build after #49310
Fixes #49883

(cherry picked from commit 6daa1938b6)
2018-11-21 14:59:02 +01:00
Will Fancher
716bacecbf Bump GHCJS 8.4 2018-11-21 08:08:30 -05:00
Johannes Frankenau
bfb89a3d12 nixos/fontconfig: fix enable option of penultimate
(cherry picked from commit eea86c9e71)
2018-11-21 06:42:33 -06:00
Peter Simons
03dc6471c1 Merge pull request #50806 from twhitehead/release-18.09
haskellPackages.generic-lens: apply patch to fix tests
2018-11-20 20:50:28 +01:00
Nathan van Doorn
869d900dca haskellPackages.generic-lens: apply patch to fix tests
(cherry picked from commit 550fe159f0)
2018-11-20 13:21:36 -05:00
Michael Raskin
f7da99c4b9 Merge pull request #50839 from taku0/flashplayer-31.0.0.153
flashplayer: 31.0.0.122 -> 31.0.0.153
(cherry picked from commit d3bdf3fe98)
2018-11-20 19:46:15 +03:00
Renaud
9feb8b74e0 Merge pull request #50698 from nyanloutre/makemkv-update-18.09
[18.09] makemkv: 1.12.3 -> 1.14.1
2018-11-20 10:33:45 +01:00
nyanloutre
e24bc96919 makemkv: using two URLs for src
This will prevent future failures due to the first URL being broken each
time a new version is released

See https://github.com/NixOS/nixpkgs/pull/50437#issuecomment-439329862
for details

(cherry picked from commit 05166dcce1)
2018-11-20 09:48:27 +01:00
Herwig Hochleitner
c1427bf45f chromium: add jdk.jre to build dependencies for versions >= 72
thanks for finding out @volth
see 6fba9250aa

(cherry picked from commit bac76e8a9e)
2018-11-20 01:03:23 +01:00
Herwig Hochleitner
7fd90514b3 chromium: 70.0.3538.102 -> 70.0.3538.110
CVE-2018-17479

(cherry picked from commit 7c79a0d4ac)
2018-11-19 23:53:30 +01:00
taku0
04005e5f71 firefox: 63.0.1 -> 63.0.3
(cherry picked from commit 917309fa62)
2018-11-19 20:34:25 +01:00
Vladyslav M
e980db62d3 Merge pull request #50660 from samueldr/auto/dbeaver/nixos-18.09/5.2.5
dbeaver: 5.2.4 -> 5.2.5 (18.09)
2018-11-19 21:22:48 +02:00
Tim Steinbach
df5ce5b5bb openjdk: 8u181 -> 8u192
(cherry picked from commit 7f7c4e423186fcd55f2f5fa6800707dd07d6b5b6)
2018-11-19 14:08:13 -05:00
Michael Raskin
d85622d616 Merge pull request #50755 from tokudan/ff6303
firefox-bin: 63.0.1 -> 63.0.3
2018-11-19 17:51:34 +00:00
taku0
01338788ac firefox-bin: 63.0.1 -> 63.0.3
(cherry picked from commit fa138b55a6)
2018-11-19 18:29:04 +01:00
nyanloutre
9071b93a71 makemkv: 1.14.0 -> 1.14.1
(cherry picked from commit 30bc36c64e)
2018-11-19 10:48:50 +01:00
Daniël de Kok
3aca7b859f makemkv: 1.12.3 -> 1.14.0
Changes: https://www.makemkv.com/download/history.html

Since this derivation only support Linux on x86_64, set the platform
meta data accordingly.

(cherry picked from commit f528731fe9)
2018-11-19 10:48:42 +01:00
Ivan Jager
50fb682075 zfsUnstable: 0.8.0-rc1 -> 0.8.0-rc2
(cherry picked from commit a995a81182)
2018-11-19 08:12:37 +01:00
Jörg Thalheim
4852b57781 zfs{Stable,Unstable}: mark as incompatible with 4.19
(cherry picked from commit 8609ff17ed)
2018-11-19 08:12:37 +01:00
Lenz Weber
2386f0982f zfs-unstable: 2018-09-02 -> 0.8.0-rc1 (#46543)
(cherry picked from commit 218ce4de50)
2018-11-19 08:12:06 +01:00
Lenz Weber
c97912743f zfs-unstable: 64e9696 -> c197a77
(cherry picked from commit 080a6385ff)
2018-11-19 08:11:48 +01:00
rnhmjoj
c2f36881f6 monero-gui: 0.13.0.3 -> 0.13.0.4
(cherry picked from commit 88a86f78a3)
2018-11-19 08:10:23 +01:00
fuwa
3d50d1bde1 monero: 0.13.0.3 -> 0.13.0.4
(cherry picked from commit 40d7e12685)
2018-11-19 08:10:20 +01:00
Samuel Dionne-Riel
58dd475e6c dbeaver: 5.2.4 -> 5.2.5
(cherry picked from commit 47d1bcc873)
2018-11-18 20:32:34 -05:00
Renaud
734cc38c75 Merge pull request #50613 from c0bw3b/sec/1809/live555
[18.09] live555: 2018.02.28 -> 2018.10.17
2018-11-18 20:14:40 +01:00
c0bw3b
d03b29fc55 live555: broken on aarch64
(cherry picked from commit 525e397f64)
2018-11-18 18:03:22 +01:00
Peter Hoeg
46d5ce21a9 live555: 2018.02.28 -> 2018.10.17
(cherry picked from commit fb81d629ac)
2018-11-18 18:03:08 +01:00
Gabriel Ebner
e1bd04a3f4 Revert "openjdk11: enable ZGC on x86_64-linux"
We don't have openjdk11 on 18.09, and this breaks openjdk10:
https://hydra.nixos.org/build/84099818/nixlog/1

This reverts commit 5d0ef3fd90.
2018-11-18 12:08:56 +01:00
Austin Seipp
b37872d426 foundationdb: set RELEASE=true for official builds
This ensures the proper version is reported in the server status
information; otherwise it has a '-PRERELEASE' suffix.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
(cherry picked from commit 47b3086bdf)
2018-11-17 22:13:49 -06:00
Jörg Thalheim
f0445db9b4 netdata: fix python plugins
(cherry picked from commit e08ee4971652b402888e2bc2ecec75a83ba661d8)
2018-11-17 20:34:34 +00:00
Jan Tojnar
656288f7bf Merge pull request #50507 from hedning/fix-nautilus-thumbnails
gnome3.gnome-desktop: fix path substitution
2018-11-17 19:12:06 +01:00
Tor Hedin Brønner
35c64e56c7 gnome3.gnome-desktop: fix path substitution
`substituteAll` intentionally doesn't work with all caps:
https://github.com/NixOS/nixpkgs/issues/28086
2018-11-17 16:09:24 +01:00
Jörg Thalheim
34ff87e288 nixos/netdata: own plugins must the looked up first
Otherwise netdata will not find python modules.
To make sure netdata still pick up our setuid version of apps.plugin
we rename the original executable.
2018-11-17 15:05:54 +00:00
Jörg Thalheim
aa31685d60 netdata: Disable files in /etc and /var 2018-11-17 15:05:54 +00:00
Mario Rodas
74592d67f4 netdata: 1.10.0 -> 1.11.0 2018-11-17 15:05:53 +00:00
Victor SENE
3078bca9ed fprintd: use correct path for configuration
(cherry picked from commit a70779458a)
2018-11-17 08:22:45 +01:00
Austin Seipp
0f7a562edd foundationdb60: 6.0.11pre2716 -> 6.0.15
Signed-off-by: Austin Seipp <aseipp@pobox.com>
(cherry picked from commit 8d4f8a6d26)
2018-11-16 20:38:47 -06:00
Austin Seipp
d359c39bb6 foundationdb: rework python bindings, build system
FoundationDB uses Python at build time for some code generation.
However, it also has the official python bindings inside the source code
too, and the code for the Python bindings has some of it auto-generated
at compile time.

This made building python packages unattractive: we want to use the
source code generated from the FoundationDB build, but we don't want to
rebuild it. Previously we would override the 'python' input to the
FoundationDB module, but this meant we would do a complete rebuild, as
it was a necessary build time dependency, even though the resulting
generated code itself would not change. Furthermore, FoundationDB
versions < 6.0 don't properly support Python 3 *for the build system*,
though the bindings supported it, so that caused build failures. But the
first effect is the worst: it meant building separate python2 and
python3 packages implied two complete rebuilds of a single FoundationDB
version. This meant rather than 3 FDB builds, we'd do 3*N where N = the
number of major Python versions we support.

Finally, because we did not use pip to generate a wheel that we install
with metadata recorded for the installation, the FoundationDB python
package couldn't be used as an input to other setup.py-based packages:
there would be no recorded metadata in the dist-info folder which would
say this is the foundationdb package. This greatly limits its utility.

To fix all this, we do a few things:

  - Apply some patches to fix the build system with Python 3.x for
    older FoundationDB versions. (This is nice if end-users have
    overridden the global Python version for some reason.)
  - Move python directly into nativeBuildInputs, so it is only a
    build time dependency.
  - Take the python source code from the ./bindings directory and
    tar it up use later after the build is done, so we get to keep
    the generated code. This is the new 'pythonsrc' output from the
    build. This code doesn't change based on whether or not the input
    or resulting package is using Python 2 or 3, it's totally
    deterministic.
  - The build system also patches up the python source code a little,
    so it can be installed directly with setup.py (it needs a little
    stuff that it normally expects the build system to do.)
  - Rework the python package to a separate file that uses
    buildPythonPackage directly. Because the source code is already
    prepared, it needs almost nothing else. Furthermore, this kills
    the override itself for the foundationdb package, meaning rebuilds
    are no longer needed.
  - This package is very simple and just uses foundationdb.pythonsrc
    as its source input. It also ensures a link to libfdb_c.so can
    be found by ctypes (using substituteInPlace)
  - python-packages.nix now just uses callPackage directly.

The net effect of this is, most importantly, that python packages do not
imply a full rebuild of the server source code: building python2 and
python3 packages from a version of FoundationDB now does not need to
override the foundationdb python input, reducing the number of needless
builds. They instead just run setup.py with the given version as input.

The second biggest effect is that wheel metadata is recorded correctly,
meaning dependent-python-packages that want to use the FoundationDB
bindings e.g. from PyPi should now work fine with buildPythonPackage.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
(cherry picked from commit 6054dabc11)
2018-11-16 20:38:41 -06:00
Austin Seipp
eec1fa5132 foundationdb: include fdb.options in .dev for binding generators
Signed-off-by: Austin Seipp <aseipp@pobox.com>
(cherry picked from commit 32948a6f3d)
2018-11-16 20:38:36 -06:00
Austin Seipp
1d3d52afe2 foundationdb60: 6.0.4pre2497_73d64cb2 -> 6.0.11pre2716_9e8c1941e
Signed-off-by: Austin Seipp <aseipp@pobox.com>
(cherry picked from commit f1737fa646)
2018-11-16 20:38:30 -06:00
Austin Seipp
5d0ef3fd90 openjdk11: enable ZGC on x86_64-linux
The Z Garbage Collector is a concurrent, scalable, low latency garbage
collector designed to meet extremely-low-pause-time requirements for
small-to-multi-TB heap sizes.

ZGC can be enabled with the magical incantation:

    $ java -XX:+UnlockExperimentalVMOptions -XX:+UseZGC ...

Currently, ZGC is only available for x86_64-linux (though a port for
aarch64-linux may become available at a future time.) There are also a
number of other features that currently aren't present, such as JVMCI
integration (meaning compiler tools like Graal which require JVMCI will
not work with ZGC enabled.)

Signed-off-by: Austin Seipp <aseipp@pobox.com>
(cherry picked from commit 1629147423)
2018-11-16 20:38:08 -06:00
Alexander V. Nikolaev
894a9994e8 glfw: hardwire path to libGL.so.1
(cherry picked from commit f664181ef2)
2018-11-17 01:38:55 +00:00
Will Dietz
5d07a3270e curl: 7.61.1 -> 7.62.0
See
https://github.com/NixOS/nixpkgs/issues/49463#issuecomment-434617623

(cherry picked from commit e9d6475e68)
2018-11-16 23:45:58 +01:00
Tim Steinbach
aff3b08b43 curl: 7.61.0 -> 7.61.1
(cherry picked from commit 16650af8c3)
2018-11-16 23:45:34 +01:00
Peter Hoeg
222fa75fde unifiStable: 5.8.30 -> 5.9.29
(cherry picked from commit ef927360e3)
2018-11-16 22:43:00 +01:00
Pascal Bach
6df7719e9e unifiStable: 5.8.28 -> 5.8.30
(cherry picked from commit 9cab954ab6)
2018-11-16 22:42:26 +01:00
Pascal Bach
4d13398cd9 unifiTesting: 5.9.22 -> 5.9.29
(cherry picked from commit 8fa7b89353)
2018-11-16 22:42:15 +01:00
Lancelot SIX
cff4cb689f gnupg22: 2.2.10 -> 2.2.11
See http://lists.gnu.org/archive/html/info-gnu/2018-11/msg00003.html for
release information

(cherry picked from commit ace631b616)
2018-11-16 13:01:16 +01:00
Rob Vermaas
e0eb712136 Update GCE image for 18.09 2018-11-16 11:42:43 +01:00
Lancelot SIX
c0f1a40da3 postgresql_10: 10.5 -> 10.6
See https://www.postgresql.org/about/news/1905/ for release information.
Fixes CVE-2018-16850

(cherry picked from commit 575151eb08)
2018-11-16 09:43:42 +01:00
Lancelot SIX
8d2a122b82 postgresql_9_6: 9.6.10 -> 9.6.11
See https://www.postgresql.org/about/news/1905/ for release information.
Fixes CVE-2018-16850

(cherry picked from commit 1670fd115d)
2018-11-16 09:42:24 +01:00
Lancelot SIX
16f5419791 postgresql_9_5: 9.5.14 -> 9.5.15
See https://www.postgresql.org/about/news/1905/ for release information.
Fixes CVE-2018-16850

(cherry picked from commit f703ea62a0)
2018-11-16 09:39:08 +01:00
Lancelot SIX
c022a69fd9 postgresql_9_4: 9.4.19 -> 9.4.20
See https://www.postgresql.org/about/news/1905/ for release information.
Fixes CVE-2018-16850

(cherry picked from commit 882c3b529c)
2018-11-16 09:37:41 +01:00
Lancelot SIX
2f3573359b postgresql_9_3: 9.3.24 -> 9.3.25
See https://www.postgresql.org/about/news/1905/ for release information.
Fixes CVE-2018-16850

(cherry picked from commit 5d37d63388)
2018-11-16 09:36:14 +01:00
Lancelot SIX
76a06b02ec gnupg22: 2.2.9 -> 2.2.11
See http://lists.gnu.org/archive/html/info-gnu/2018-11/msg00003.html for
release information

(cherry picked from commit ace631b616)
2018-11-16 09:32:42 +01:00
Tim Steinbach
a4d225c278 linux: 4.19.1 -> 4.19.2
(cherry picked from commit 248dfd2842)
2018-11-15 21:03:51 -05:00
Tim Steinbach
826e7b3bf0 linux: 4.19 -> 4.19.1
(cherry picked from commit 3e1ca4f176)
2018-11-15 21:03:50 -05:00
Tim Steinbach
21146197c3 linux: Add 4.19
(cherry picked from commit 2bb68c7017)
2018-11-15 21:03:44 -05:00
Edmund Wu
da81531c1d jetbrains.webstorm: 2018.2.5 -> 2018.2.6
(cherry picked from commit 07839a571b)
2018-11-15 23:50:24 +00:00
Edmund Wu
a3ce85af74 jetbrains.pycharm-professional: 2018.2.4 -> 2018.2.5
(cherry picked from commit 19fa47c150)
2018-11-15 23:50:23 +00:00
Edmund Wu
f2643c4498 jetbrains.pycharm-community: 2018.2.4 -> 2018.2.5
(cherry picked from commit 1a2a2aba02)
2018-11-15 23:50:23 +00:00
Edmund Wu
863f9933c1 jetbrains.idea-ultimate: 2018.2.5 -> 2018.2.6
(cherry picked from commit b48f467e1b)
2018-11-15 23:50:22 +00:00
Edmund Wu
010446f764 jetbrains.idea-community: 2018.2.5 -> 2018.2.6
(cherry picked from commit c2bbfa56ed)
2018-11-15 23:50:22 +00:00
Edmund Wu
0883f7fba3 jetbrains.goland: 2018.2.3 -> 2018.2.4
(cherry picked from commit 2787e2c75e)
2018-11-15 23:50:22 +00:00
Edmund Wu
a23ee32fc6 jetbrains.datagrip: 2018.2.4 -> 2018.2.5
(cherry picked from commit 4d20e9999b)
2018-11-15 23:50:21 +00:00
Edmund Wu
597c1abbc0 jetbrains.clion: 2018.2.5 -> 2018.2.6
(cherry picked from commit 9d1b22a909)
2018-11-15 23:50:21 +00:00
Edward Tjörnhammar
975fe6d830 jetbrains.webstorm: 2018.2.3 -> 2018.2.5
(cherry picked from commit 30422aa7d0)
2018-11-15 23:50:21 +00:00
Edward Tjörnhammar
1c16a9a551 jetbrains.ruby-mine: 2018.2.2 -> 2018.2.4
(cherry picked from commit e61f199470)
2018-11-15 23:50:20 +00:00
Edward Tjörnhammar
b3f7d81f46 jetbrains.phpstorm: 2018.2.3 -> 2018.2.5
(cherry picked from commit b8096a088e)
2018-11-15 23:50:20 +00:00
Edward Tjörnhammar
4eafa0f009 jetbrains.clion: 2018.2.4 -> 2018.2.5
(cherry picked from commit 8c084007d5)
2018-11-15 23:50:19 +00:00
Jörg Thalheim
8c898a91af Merge pull request #50436 from rafaelgg/fix-selfoss-port-backport
selfoss (service): fix port in service config (backport of #50411)
2018-11-15 23:12:32 +00:00
Rafael García Gallego
17293a833c selfoss (service): fix port in service config (#50411)
(cherry picked from commit 8bf4fe85f1)
2018-11-16 00:05:54 +01:00
Alyssa Ross
8fa2565a73 nginxMainline: 1.15.5 -> 1.15.6
CVE-2018-16843, CVE-2018-16844

https://nginx.org/en/security_advisories.html
(cherry picked from commit de9026de6e)
2018-11-15 21:11:49 +00:00
Alyssa Ross
850a8779f3 nginxStable: 1.14.0 -> 1.14.1
CVE-2018-16843, CVE-2018-16844

https://nginx.org/en/security_advisories.html
(cherry picked from commit 1908322d10)
2018-11-15 21:11:42 +00:00
Will Dietz
679ff5e5a1 flatpak: 1.0.4 -> 1.0.5
(cherry picked from commit 0e218ffc0c)
2018-11-15 21:02:00 +00:00
Oyren
533c5bcdeb write_stylus: fix loading libGL.so with libglvnd (#50395)
./Write: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

(cherry picked from commit 04b234e995)
2018-11-15 19:41:41 +00:00
Jean-Baptiste Giraudeau
2e790145d1 Fix help2man.postInstall syntax error under cygwin.
(cherry picked from commit 7fdb87a862)
2018-11-15 17:06:54 +00:00
Benjamin Hipple
dcb2e0068f docs: fix minor grammar issues in the manual 2018-11-15 15:48:49 +00:00
Peter Simons
012203f6e5 ghc: add new version 8.6.2
(cherry picked from commit 8d81cf6201)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-11-15 14:26:36 +00:00
taku0
24da975834 flashplayer: 31.0.0.122 -> 31.0.0.148
(cherry picked from commit 4c2d254a7f)
2018-11-15 14:20:11 +00:00
Periklis Tsirakidis
8ea0aa352e libarchive: 3.3.2 -> 3.3.3
Update includes patches for sec issues:
- CVE-2017-14166
- CVE-2017-14501
- CVE-2017-14502
- Upstream includes patch for libressl version check

fixes #49583

(cherry picked from commit 95fa7b6370)
2018-11-15 14:01:32 +00:00
Jörg Thalheim
abd0d521c3 nix-review: 0.6.0 -> 0.6.1
- blacklist for tests.nixos-functions.nixos-test
- nix-review rev HEAD: will now work as expected

(cherry picked from commit 695a157740)
2018-11-15 13:42:44 +00:00
Jörg Thalheim
95bc67101a nix-review: 0.5.3 -> 0.6.0
(cherry picked from commit 42f17d8f14)
2018-11-15 13:42:44 +00:00
Jörg Thalheim
825ecf0a0a nix-review: 0.5.2 -> 0.5.3
(cherry picked from commit 23a017fbca)
2018-11-15 13:42:43 +00:00
Robin Gloster
9bf8b0d06b gitlab: fix smtp setting
fixes #50163

(cherry picked from commit 74df0823f3)
2018-11-15 12:19:34 +01:00
John Ericson
edd03bed0f Merge pull request #50375 from obsidiansystems/haskell-bash-completion-18.09
haskellPackages: Add shell completion for 18.09
2018-11-14 19:06:07 -05:00
John Ericson
bb04322459 Merge remote-tracking branch 'upstream/release-18.09' into haskell-bash-completion-18.09 2018-11-14 18:49:25 -05:00
wucke13
bedbba6138 qgroundcontrol: fixes #49870
The `.desktop` referenced a non existent script to run `QGroundControl`. This commits adds a `sed` command, which replaces the non existent script by the name of the `QGroundControl` binary in the relevant `.desktop` file.

(cherry picked from commit c26b42be74)
2018-11-14 19:15:56 +00:00
Alexander V. Nikolaev
cf3ef93e04 openarena: fix loading libGL.so with libglvnd
(cherry picked from commit b0d470061f)
2018-11-14 17:50:31 +00:00
Daniel Peebles
435cfc8876 Merge pull request #50352 from DzmitrySudnik/release-18.09
exhibitor: fix paths for zookeeper shell scripts
2018-11-14 11:05:35 -05:00
Dzmitry Sudnik
1e3a4d644a exhibitor: fix paths for zookeeper shell scripts to point to local folders
(cherry picked from commit 5517661935)
2018-11-14 11:01:51 -05:00
Renaud
a74b08d71a Merge pull request #49549 from c0bw3b/sec/1809/openjpeg
[18.09] openjpeg: adding patch for CVE-2018-7648
2018-11-14 16:35:49 +01:00
Herwig Hochleitner
a964a33447 chromium: 70.0.3538.77 -> 70.0.3538.102
(cherry picked from commit 4b5ffcb964)
2018-11-14 03:06:19 +01:00
Herwig Hochleitner
09468e9f52 chromium: 70.0.3538.67 -> 70.0.3538.77
(cherry picked from commit 17585ff6d8)
2018-11-14 03:06:19 +01:00
Markus Kowalewski
4c72d0ce20 nixos/postgresqlBackup: set to umask to 0077
* Ensure that the backup file is only readable by the owner
* Add file permission test to tests

(cherry picked from commit a0371d4761)
2018-11-13 20:41:38 -05:00
Tim Steinbach
c293626323 linux: 4.18.18 -> 4.18.19
(cherry picked from commit aac632ce90b86d8734e2d0c5955a8f77259ff619)
2018-11-13 14:36:18 -05:00
Tim Steinbach
918e0e6fff linux: 4.14.80 -> 4.14.81
(cherry picked from commit 338d38e57b68e12a2f015e9eabe561accefcad4f)
2018-11-13 14:36:18 -05:00
Tim Steinbach
a2256b54dd linux: 4.9.136 -> 4.9.137
(cherry picked from commit 7395bd34f76e22abc4e4c79847fd978a713da932)
2018-11-13 14:36:18 -05:00
Timo Kaufmann
0f21a3e0f2 Merge pull request #50309 from nyanloutre/jackett-434-18-09
[18.09] jackett: 0.10.365 -> 0.10.434
2018-11-13 19:56:20 +01:00
Linus Heckemann
132b1d6a58 Merge pull request #50312 from WilliButz/grafana-backport
grafana: 5.3.2 -> 5.3.4 (backport)
2018-11-13 16:50:41 +01:00
WilliButz
559a34303f grafana: 5.3.2 -> 5.3.4
(cherry picked from commit ddd8f94051)
2018-11-13 14:38:50 +01:00
nyanloutre
a97fe124c6 jackett: 0.10.420 -> 0.10.434
(cherry picked from commit 2ae0b2e19d)
2018-11-13 14:17:18 +01:00
R. RyanTM
57809e32fc jackett: 0.10.365 -> 0.10.420
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/jackett/versions

(cherry picked from commit 2af7527bd1)
2018-11-13 14:17:09 +01:00
Samuel Dionne-Riel
09dfd188bd Merge pull request #50268 from tokudan/ff6301
firefox-bin: 63.0 -> 63.0.1
2018-11-12 23:30:17 +00:00
Joachim F
d9d932fdd4 Merge pull request #50260 from pacien/release-18.09-youtube-dl-2018.11.07
youtube-dl: 2018.10.29 -> 2018.11.07 (release-18.09 backport)
2018-11-12 11:43:31 +00:00
Michael Raskin
b988f3ef58 firefox-bin: 63.0 -> 63.0.1
(cherry picked from commit 213407d471)
2018-11-12 11:31:33 +01:00
Valentin Heidelberger
297149bacb youtube-dl: 2018.10.29 -> 2018.11.07 2018-11-12 09:34:18 +01:00
Elis Hirwing
ee7b0dbaef gitea: 1.5.2 -> 1.5.3 (#50229)
Changelog: https://github.com/go-gitea/gitea/releases/tag/v1.5.3
(cherry picked from commit 090bd931e1)
2018-11-11 15:28:09 +01:00
Chris Ostrouchov
8cc5d3a84a pythonPackages.pep8: refactor move to python-modules, disable tests
We need to disable tests because of a tokenize change in python 3.6.7.

(cherry picked from commit 9c36906e1a)
2018-11-11 09:38:10 +01:00
Frederik Rietdijk
f148e894b3 python.pkgs.pycodestyle: fix building with python37
(cherry picked from commit a263ab4e5c)
2018-11-11 09:31:01 +01:00
Frederik Rietdijk
3d63c05ddf Revert "Merge staging-18.09 into release-18.09"
This reverts commit 3b2944dbcb, reversing
changes made to 496a23896f.

I wasn't aware we had a Hydra job for this. Looking at it now, it seems we
have a lot more failures, so I am reverting this merge.
2018-11-11 09:17:50 +01:00
Frederik Rietdijk
3b2944dbcb Merge staging-18.09 into release-18.09 2018-11-11 09:01:21 +01:00
Franz Pletz
496a23896f python27: add patch to fix CVE-2018-1000802
(cherry picked from commit ae3e9b5a27)
2018-11-11 09:01:08 +01:00
Silvan Mosberger
272d854642 Merge pull request #50214 from samueldr/18.09/python36
doc: Fixes default python interpreter.
2018-11-11 02:07:58 +01:00
Samuel Dionne-Riel
e30dda6092 doc: Fixes default python interpreter.
This is equivalent to the change in
a649f1c0cd, which cannot apply cleanly as
cherry-picked. The stable (18.09) nixpkgs still has python34.
2018-11-10 19:28:06 -05:00
Tim Steinbach
f9820a0a4b docker: Fix binary names
(cherry picked from commit 68c3e5f38b)
2018-11-10 19:26:38 -05:00
Tim Steinbach
88babf6209 linux: 4.4.162 -> 4.4.163
(cherry picked from commit fb44ed79d22c88145132f49c0747def014528b68)
2018-11-10 16:12:57 -05:00
Tim Steinbach
abc2258c34 linux: 4.9.135 -> 4.9.136
(cherry picked from commit 98b6ecace1eea344987f6f942e88e550825f4aca)
2018-11-10 16:12:56 -05:00
Tim Steinbach
bb62b4987b linux: 4.14.79 -> 4.14.80
(cherry picked from commit e64068cdbfe0a5d6543da6986376763e3d588711)
2018-11-10 16:12:56 -05:00
Tim Steinbach
dfc0a358c4 linux: 4.18.17 -> 4.18.18
(cherry picked from commit a1cc1c89a9de5a3fe27d88558b279a48e0efb7cd)
2018-11-10 16:12:55 -05:00
Vladimír Čunát
9110d40d20 Merge branch 'release-18.09' into staging-18.09 2018-11-10 20:25:46 +01:00
Renaud
f99bab3e61 Merge pull request #50200 from c0bw3b/sec/1809/pdns
[18.09]  powerdns: 4.1.4 -> 4.1.5 /  pdns-recursor: 4.1.3 -> 4.1.7
2018-11-10 20:01:26 +01:00
Renaud
619efcc0e5 pdns-recursor: 4.1.4 -> 4.1.7
PowerDNS Security Advisory 2018-04 (CVE-2018-10851)
PowerDNS Security Advisory 2018-06 (CVE-2018-14626)
PowerDNS Security Advisory 2018-07 (CVE-2018-14644)

(cherry picked from commit 02693e327a)
2018-11-10 18:48:03 +01:00
Michele Guerini Rocco
ddb12efaa0 pdns-recursor: 4.1.3 -> 4.1.4 (#45984)
(cherry picked from commit ca850897c8)
2018-11-10 18:47:44 +01:00
R. RyanTM
166a3d5551 powerdns: 4.1.4 -> 4.1.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/powerdns/versions

(cherry picked from commit 08cd9b812b)
2018-11-10 18:42:57 +01:00
Robert Schütz
bb72473b5b home-assistant: mark as insecure 2018-11-10 14:08:28 +01:00
Samuel Dionne-Riel
aa8c4f38ea Merge pull request #48806 from bgamari/nixos-18.09-ghc-8.4.4
[18.09] ghc: add new 8.4.4 version
2018-11-10 02:34:47 +00:00
Samuel Dionne-Riel
141f63c29b Merge pull request #49387 from tazjin/chore/backport-doc-comments
Backport documentation comment changes to release-18.09
2018-11-10 02:33:51 +00:00
Samuel Dionne-Riel
06834f7262 Merge pull request #49491 from jokogr/u-18.09/lxd-3.0.2
[18.09] lxd 3.0.0 -> 3.0.2
2018-11-10 02:13:50 +00:00
Samuel Dionne-Riel
611808937a Merge pull request #49586 from periklis/backport-uriparser-18.09
uriparser: 0.9.0 backport to 18.09
2018-11-10 02:02:48 +00:00
Renaud
e97b663dba Merge pull request #49851 from samueldr/auto/dbeaver/nixos-18.09/5.2.4
dbeaver: 5.2.2 -> 5.2.4 (18.09)
2018-11-09 10:15:28 +01:00
Renaud
7438211aaa Merge pull request #49954 from c0bw3b/1809/nixos/gitea
[18.09] nixos/gitea: fix mysql issue, add mysql socket auth, and add a nixos test
2018-11-09 00:25:13 +01:00
Aaron Andersen
369df5d24a nixos/gitea: add a nixos test to ensure the initial database migration succeeds so the application can start
(cherry picked from commit 0dde47a58a)
2018-11-08 23:53:25 +01:00
Aaron Andersen
c66f5d2219 nixos/gitea: add mysql socket authentication as an option
(cherry picked from commit 3ed52c7804)
2018-11-08 23:53:06 +01:00
Aaron Andersen
4cfa83f556 nixos/gitea: fix systemd after target when mysql is the database of choice
(cherry picked from commit 0bbb6f4f2a)
2018-11-08 23:52:04 +01:00
Domen Kožar
7819700bad Add chrome-token-signing
(cherry picked from commit 068374c0ae)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-11-08 18:06:24 +00:00
Robert Hensing
2a1c0dde8f haskellPackages: Add shell completions + improve docs
This adds the remaining parts of #42657 on top of #49477, renames the
function to a better name, and improves the docs
2018-11-08 11:28:11 -05:00
Tim Steinbach
deedc8803e docker: 18.06.1 -> 18.09
(cherry picked from commit f15af0047a381dd272155cf35c451d9cc8c07c69)
2018-11-08 08:40:39 -05:00
Domen Kožar
094ff6cf6a qdigidoc: 3.13.6 -> 4.1.0
(cherry picked from commit e854a7a72f)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-11-08 11:43:05 +00:00
Domen Kožar
43a0cfbe05 libdigidocpp: 3.13.6 -> 3.13.7
(cherry picked from commit ad521a2757)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-11-08 11:42:55 +00:00
Timo Kaufmann
56090c4151 Merge pull request #49888 from timokau/numpy-high-cpu-fix
numpy: fix high cpu count bug
2018-11-08 12:00:12 +01:00
Robert Hensing
4fd4f5c80d acsccid: init at 1.1.6
(cherry picked from commit 9dd7fde27f)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-11-08 10:58:28 +00:00
Tim Steinbach
3715dd31d6 subversion: 1.9.7 -> 1.9.9
(cherry picked from commit 1cfc2427c8)
2018-11-07 20:26:50 -05:00
Tim Steinbach
8764ecc478 subversion: init 1.11.0
(cherry picked from commit 451126ea6e)
2018-11-07 20:26:50 -05:00
Tim Steinbach
a4c4cbb613 gradle: 4.10 -> 4.10.2
(cherry picked from commit c1d9f57dcc)
2018-11-07 20:13:53 -05:00
Tim Steinbach
be8258fdc2 kotlin: 1.2.71 -> 1.3.0
(cherry picked from commit 619c39e5c9)
2018-11-07 20:13:30 -05:00
R. RyanTM
27405f9b87 kotlin: 1.2.70 -> 1.2.71
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/kotlin/versions

(cherry picked from commit 9d8e0819aa)
2018-11-07 20:13:30 -05:00
R. RyanTM
dd6e06b54a kotlin: 1.2.61 -> 1.2.70
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/kotlin/versions

(cherry picked from commit 4eb077bed7)
2018-11-07 20:13:29 -05:00
Tim Steinbach
b20d58f9bb ammonite: 1.2.1 -> 1.4.2
(cherry picked from commit dd46b1adb6)
2018-11-07 20:12:47 -05:00
R. RyanTM
199d87e68d ammonite: 1.2.0 -> 1.2.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/ammonite/versions

(cherry picked from commit 8cf1f60fa3)
2018-11-07 20:12:46 -05:00
Oscar Vargas Torres
b5ceebb306 ammonite: 1.1.2 -> 1.2.0
(cherry picked from commit 08b8923774)
2018-11-07 20:12:46 -05:00
Tim Steinbach
e2cf9127aa oh-my-zsh: 2018-09-19 -> 2018-11-02
(cherry picked from commit 072b2b86b0)
2018-11-07 20:11:57 -05:00
lassulus
2eddede86f dwarf-fortress: fix theme override
(cherry picked from commit 0cd1e6732d)
2018-11-08 02:01:12 +01:00
Timo Kaufmann
0d2483f059 numpy: fix high cpu count bug 2018-11-07 22:28:41 +01:00
Matthew Bauer
a8ff261660 darwin-tested: remove firefox from blocking jobs
It’s broken in the latest run and I don’t think anyone needs it right
now. Hopefully can be fixed for 19.03.
2018-11-07 12:57:13 -06:00
R. RyanTM
7cf572d87a pcsclite: 1.8.23 -> 1.8.24
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pcsclite/versions

(cherry picked from commit f174ae0f4f)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-11-07 18:26:32 +00:00
Samuel Dionne-Riel
f8dc3f1416 Merge pull request #49832 from 1000101/backport-release-18.09
[18.09] backport trezord: 2.0.19 -> 2.0.24
2018-11-07 16:43:45 +00:00
Timo Kaufmann
bd151c9448 Merge pull request #49874 from rafaelgg/release-18.09
flashplayer: add libglvnd dep
2018-11-07 17:31:28 +01:00
Rafael García Gallego
e92a04197a flashplayer: add libglvnd dep
(cherry picked from commit ded5faa82e)
2018-11-07 17:02:33 +01:00
Florian Klink
1349894743 lark-parser: 2017-12-18 -> 0.6.5
This bumps lark-parser to a released version that doesn't loop forever
and consumes all memory on certain grammars.

erezsh/lark redirects now to lark-parser/lark, so also update homepage.

(cherry picked from commit becf8879f4)
2018-11-07 11:30:52 +01:00
Samuel Dionne-Riel
72ab1b44a1 dbeaver: 5.2.2 -> 5.2.4
(cherry picked from commit fada4e87b8)
2018-11-06 21:59:48 -05:00
Samuel Dionne-Riel
cf597f0926 Merge pull request #49820 from srhb/1809-backport-nix-213
18.09: backport nix 2.1.1 -> 2.1.2 -> 2.1.3
2018-11-07 02:23:26 +00:00
sveitser
6141829459 nixos/jupyter: wait for network.target
(cherry picked from commit 13892da3e7)
2018-11-06 20:46:07 +01:00
Russell O'Connor
e0be1f6c2e trezord: 2.0.19 -> 2.0.24
(cherry picked from commit 10c56c5cfb)
2018-11-06 16:11:26 +01:00
Eelco Dolstra
9f2e2ee638 nix: 2.1.2 -> 2.1.3
(cherry picked from commit 2c9265c950)
2018-11-06 12:15:27 +01:00
Eelco Dolstra
4a03292016 nix: 2.1.1 -> 2.1.2
(cherry picked from commit 869f615ff4)
2018-11-06 12:15:25 +01:00
Aaron Andersen
1c0d935fd0 filesystems: escape spaces in fstab with \040
(cherry picked from commit 36d695f696)
2018-11-06 11:09:47 +00:00
Robert Schütz
32958da2c3 radicale: 2.1.10 -> 2.1.11
(cherry picked from commit 28a6927637)
2018-11-06 11:12:32 +01:00
Samuel Dionne-Riel
6d6e4e6b55 Merge pull request #49328 from c0bw3b/nixos/gc-release
[18.09] installation-device: set GC initial heap size to 1MB
2018-11-06 00:53:46 +00:00
lassulus
0c774fa8c6 dwarf-fortress: fix most of customization options
see #49779
close #49803

(cherry picked from commit 290dd06d14)
2018-11-06 01:03:00 +01:00
John Ericson
4507926b80 Merge pull request #49800 from obsidiansystems/bump-all-cabal-hashes-18.09
all-cabal-hashes: Update all-cabal-hashes in 18.09 to match Nixpkgs master
2018-11-05 14:52:41 -05:00
Peter Simons
32124db7d2 all-cabal-hashes: update to Hackage at 2018-11-02T16:36:33Z
(cherry picked from commit f648605b4e)
2018-11-05 14:27:52 -05:00
Peter Simons
b5b3e8ca1f all-cabal-hashes: update snapshot to Hackage at 2018-10-22T08:31:54Z
(cherry picked from commit 8089b93697)
2018-11-05 14:27:52 -05:00
Peter Simons
26527be691 all-cabal-hashes: update to Hackage at 2018-10-08T09:07:42Z
(cherry picked from commit b5f43fa04e)
2018-11-05 14:27:51 -05:00
Peter Simons
314e480750 all-cabal-hashes: update to Hackage at 2018-09-27T00:15:48Z
(cherry picked from commit 0af54ac670)
2018-11-05 14:27:51 -05:00
Peter Simons
c20d3110aa all-cabal-hashes: update snapshot to Hackage at 2018-09-18T11:13:20Z
(cherry picked from commit 89972ff45f)
2018-11-05 14:27:51 -05:00
John Ericson
a13b603e5e Merge pull request #49796 from obsidiansystems/fix-pkgsFor
release-lib: Fix `pkgsFor` for 18.09
2018-11-05 14:18:32 -05:00
John Ericson
8d99a3455b release-lib: Fix pkgsFor 2018-11-05 11:27:50 -05:00
Falco Peijnenburg
bf7930d582 haskellPackages.*.env: Fixed shellHook being ignored
The problem was introduced in 2bafa93b75

(cherry picked from commit 0ff9a7a2cd)
2018-11-04 19:36:25 +01:00
Michael Raskin
6ea2f786b8 Merge pull request #49606 from Ekleog/synapse-0.33.8-b18.09
matrix-synapse: 0.33.6 -> 0.33.8
2018-11-04 17:29:35 +00:00
Tim Steinbach
84c2e99546 linux: 4.14.78 -> 4.14.79
(cherry picked from commit bd636c897724c4c26171a8486c153c37c2a38eac)
2018-11-04 11:45:57 -05:00
Tim Steinbach
8c8d0cdc65 linux: 4.18.16 -> 4.18.17
(cherry picked from commit 4eade6749d2777dd82fd6e279209a1d91482c490)
2018-11-04 11:45:57 -05:00
Léo Gaspard
139fd45a8e matrix-synapse: 0.33.6 -> 0.33.8
Also reworked dependencies:
 * blist and ujson are marked as no longer needed
 * pytz has no mention throughout `git log -p` on synapse's repository
 * systemd and affinity are optional (but turned on by default)

(cherry picked from commit bb86056575)
2018-11-04 23:40:16 +09:00
Vladimír Čunát
35151f695e Merge #49747: gnome3.mutter: fix crash on startup
... with nvidia drivers.
2018-11-04 15:09:28 +01:00
Austin Seipp
cc39474fd0 timescaledb: fix license (Apache 2.0, not PostgreSQL)
Signed-off-by: Austin Seipp <aseipp@pobox.com>
(cherry picked from commit b0f7c86094)
2018-11-04 07:31:31 -06:00
Andrew Childs
3845a4ce15 gnome3.mutter: fix crash on startup with nvidia drivers
(cherry picked from commit e2e23ddd89)
2018-11-04 21:51:24 +09:00
Andreas Rammhold
faa179da40 Merge pull request #49589 from schmittlauch/jedi-vim-18.09
vimPlugins: add jedi-vim plugin
2018-11-04 13:19:38 +01:00
Robin Gloster
9ea650bb5d gitlab module: fix config handling
There could be old *.rb files in the config directory that import
non-existant gems that would cause errors in the rake task.

(cherry picked from commit eadb998581)
2018-11-04 00:28:21 +01:00
Florian Klink
386ff58ba3 gitlab: 11.4.3 -> 11.4.4
SSRF in Kubernetes integration
The GitLab Kubernetes integration was vulnerable to a SSRF issue which could allow an attacker to make requests to access any internal URLs. The issue is now mitigated in the latest release and is assigned CVE-2018-18843.

(cherry picked from commit 9e491f732a)
2018-11-03 18:20:03 +01:00
Robin Gloster
91844280a5 gitlab: refactor and fix test
(cherry picked from commit ec7cb84bf0)
2018-11-03 18:20:03 +01:00
Renaud
fb9d531efe Merge pull request #49697 from c0bw3b/sec/ansible
[18.09] ansible: 2.5.2 -> 2.5.11 and 2.6.2 -> 2.6.7
2018-11-03 17:28:44 +01:00
Vladimír Čunát
98c1150f2c systemd: apply patches from Debian
There are some security fixes among those.
2018-11-03 17:11:01 +01:00
Vladimír Čunát
0744358a7e Revert "systemd: 239 -> 239.20181031"
This reverts commit d1de23b830.
The changes turned out to be too intrusive, so we'll patch instead.
2018-11-03 17:11:00 +01:00
Vladimír Čunát
5b94195d21 Merge #49677: thunderbird*: 60.2.1 -> 60.3.0
Critical security fixes.

(cherry picked from commit f3cca2f83c)
2018-11-03 17:10:44 +01:00
Thilo Uttendorfer
9eb6e66420 ansible_2_6: 2.6.2 -> 2.6.7
(cherry picked from commit e63509a651)
2018-11-03 16:58:49 +01:00
Thilo Uttendorfer
fba092f238 ansible_2_5: 2.5.2 -> 2.5.11
(cherry picked from commit de8a3e3125)
2018-11-03 16:57:53 +01:00
Sergei Khoma
0f4978267a fix typo
based on https://www.ec2instances.info/

(cherry picked from commit c4cad45082)
2018-11-03 16:05:59 +01:00
Michael Raskin
dbda176a4c Merge pull request #48827 from clefru/gvfs-fix
gvfs: Fix-up paths to gio binary
2018-11-02 14:24:01 +00:00
Rickard Nilsson
686151998e nixos/google-compute-image: Fix network service
The google-network-daemon service should have type `simple`. (type
`oneshot` makes the service hang in startup).

See d48fc3a5e2/google_compute_engine_init/systemd/google-network-daemon.service (L10)

(cherry picked from commit c010c7547c9926dc5a235ff733a43747d34899dd)
2018-11-02 14:38:41 +01:00
Domen Kožar
46effdb883 chromium: use jumbo builds to speedup compilation
On Hetzner machine with 1 core: 4h40m
On Hetzner machine with 8 cores: 1h20m

(cherry picked from commit 89ede978a0)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-11-02 10:15:31 +00:00
Peter Simons
1f54d5f166 ghc: add new 8.4.4 version
(cherry picked from commit 069bf7aee3)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-11-02 10:14:34 +00:00
aszlig
13cd588afa nixos/tests/chromium: Fix sandbox info matching
As reported by @andir, the regular expressions that match the sandbox
output are no longer matching in the recent Chromium bump as of
bb03fbc2c8.

Instead of a boolean field that determines whether namespace sandboxes
are on, the namespace sandbox is now an enum within "Layer 1 Sandbox".

I've modified the regular expressions accordingly and also ran the test
for the stable branch, which now succeeds.

Signed-off-by: aszlig <aszlig@nix.build>
Issue: https://github.com/NixOS/nixpkgs/issues/49442
Cc: @bendlas, @andir
(cherry picked from commit 73cdd5a476)
2018-11-02 10:25:01 +01:00
Michael Raskin
9660896ecd Merge pull request #49563 from zarelit/ntp_upstream_patch_bp
[18.09] ntp: fix ntpd shutdown by using upstream patch
2018-11-02 08:11:44 +00:00
Periklis Tsirakidis
4292214c0a uriparser: 0.8.6 -> 0.9.0
(cherry picked from commit 2783ca5de4)
Reason: Provides security fixes for the 0.8.x branch.
2018-11-02 08:22:15 +01:00
Periklis Tsirakidis
ff43959e75 gtest: Use native cmake/ninja builder
Clean up the expression and add pkgconfig support

(cherry picked from commit 9ac64e5bb6)
Reason: Pre-Requisite to backport uriparser 0.9.0, which patches
security issues of the 0.8.x branch.
2018-11-02 08:21:33 +01:00
R. RyanTM
d97645057f gmock: 1.8.0 -> 1.8.1 (#46273)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
gtest

(cherry picked from commit 9cfbcc28d0)
Reason: Pre-Requisite to backport uriparser 0.9.0, which patches
security issues of the 0.8.x branch.
2018-11-02 08:20:43 +01:00
Franz Pletz
f71cc5f744 strongswan: patch CVE-2018-16151 & CVE-2018-16152 2018-11-02 03:14:18 +01:00
R. RyanTM
a9c8e66bde wireshark: 2.6.3 -> 2.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/wireshark-qt/versions

(cherry picked from commit 77d29e5f06)

Security fixes: https://www.wireshark.org/docs/relnotes/wireshark-2.6.4.html
2018-11-02 03:00:53 +01:00
Will Dietz
a57d03fcc3 teeworlds: 0.6.4 -> 0.6.5
This release adds support for building with cmake!
So switch to that eagerly instead of fighting with bam.

(if nothing else cmake is the devil we know...)

Also:

* fixup 'DATA_DIR' so programs can find resources
  (without need for wrappers)
* install readme+license as previously done ("docs")
* don't install tools since not built or installed by default
  * esp since doesn't appear to have non-adhoc method for installation
  * other distros don't seem to include

(cherry picked from commit 18258bae34)

Fixes CVE-2018-18541.
2018-11-02 02:49:23 +01:00
Franz Pletz
16087d8836 tomcat_connectors: 1.2.41-dev-1613051 -> 1.2.46
Fixes CVE-2018-11759, CVE-2018-1323, CVE-2016-6808.

(cherry picked from commit 9fe0e57d9d)
2018-11-01 22:38:11 +01:00
Uli Baum
394ca68424 Revert "virtualgl-lib: fix broken startup script (#49185)"
This reverts commit c341f56928.

See #49611.
2018-11-01 22:08:13 +01:00
Franz Pletz
23218a80a3 icecast: 2.4.3 -> 2.4.4
Fixes CVE-2018-18820.

(cherry picked from commit 24d6c0dbde)
2018-11-01 21:49:58 +01:00
John Ericson
d9934979f0 Merge pull request #49566 from obsidiansystems/release-lib-cleanup
release-lib: Cache cross nixpkgs evals too, and other fixes, for 18.09
2018-11-01 16:46:22 -04:00
John Ericson
f2ed7c7af9 linux bootstrap tools: Use right system for some raw derivations
This allows cross builds to work. Evidentallyy this has been done wrong
since I combined the bootstrap tool creation files in
ab651d2c9b. Oops!
2018-11-01 16:22:00 -04:00
John Ericson
ffaffb36d1 linux bootstrap-tools: use stdenv.*Platform to avoid deprecation warning 2018-11-01 16:18:51 -04:00
John Ericson
984df7ca06 top-level: libcCrossChooser: More or fallback hack
This fixes some eval errors in release-cross.nix
2018-11-01 16:16:58 -04:00
John Ericson
24e2bc18b6 release-lib: Fallback on uncached rather than error for unknown crossSystem
The `ensureUnaffected` the tests purposefully use an absurd crossSystem.
Also sheevaplug and pogoplug share the same config.
2018-11-01 16:15:56 -04:00
John Ericson
79c713bc14 release-lib: Cache cross nixpkgs evals too
This will help with release-cross.nix eval time. It also allowed me to
share code between the cross and native helpers.
2018-11-01 15:35:08 -04:00
Trolli Schmittlauch
18d3332147 vim-plugins: add jedi-vim plugin
This plugin needs python3 support in vim, but no other addon seems to
care about verifying that vim is built accordingly, so I don't do that
as well.
2018-11-01 15:24:20 +01:00
Franz Pletz
d1de23b830 systemd: 239 -> 239.20181031
Fixes CVE-2018-15688 and updates latest upstream stable v239 branch.

See https://github.com/NixOS/systemd/pull/24 for details.

Co-authored-by: Andreas Rammhold <andreas@rammhold.de>
(cherry picked from commit a7912ecc85)
2018-11-01 11:25:59 +01:00
Tristan Helmich (omniIT)
b1e74c01f6 sc-controller: 0.4.4 -> 0.4.5
(cherry picked from commit 0459a8c8db)
Backport of #49543
2018-11-01 09:32:16 +01:00
John Ericson
89fb76c51c Merge pull request #49568 from obsidiansystems/arm-auto-detect
lib.systems.platforms: Add more ARM autodetection for 18.09
2018-10-31 21:21:30 -04:00
David Costa
3f06ebf426 ntp: fix ntpd shutdown by using upstream patch
After a series of amendments the seccomp.patch made ntpd work properly
but only on 32-bit systems.
This commit replaces that patch with the one submitted upstream by
cleverca22 and that fixes the issue also on 64-bit systems.

Close #38627, #45885

(cherry picked from commit 6759b7900e)
2018-10-31 23:13:15 +00:00
John Ericson
aa964c82d3 lib.systems.platforms: Add more ARM autodetection 2018-10-31 19:04:06 -04:00
Timon Stampfli
1f4c8583ea openjpeg: adding patch for CVE-2018-7648 2018-10-31 20:33:18 +01:00
R. RyanTM
c7dc8ec572 riot-web: 0.16.2 -> 0.16.5
(cherry picked from commit 34e8009dcb)
2018-10-31 16:49:08 +01:00
R. RyanTM
65e85c8e5b riot-web: 0.16.0 -> 0.16.2 (#46190)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
riot-web

(cherry picked from commit 57062f9072)
2018-10-31 16:49:08 +01:00
Thilo Uttendorfer
85ad2d0b02 nginxMainline: 1.15.3 -> 1.15.5 (#48127)
(cherry picked from commit 205b3d94e1)
2018-10-31 16:49:08 +01:00
Timo Kaufmann
47c4afa2a6 Merge pull request #49523 from timokau/youtube-dl-backport
youtube-dl: backports
2018-10-31 15:58:57 +01:00
Jörg Thalheim
ea30555a03 Revert "tinc: remove unnecessary networking.interfaces"
This reverts commit cde886e7c6.
This broke users using networking.interfaces since the interface
is not up when configuring addresses: https://github.com/NixOS/nixpkgs/issues/27070#issuecomment-434704624
2018-10-31 14:33:15 +00:00
Timo Kaufmann
3592ebe5f2 youtube-dl: 2018.10.05 -> 2018.10.29
(cherry picked from commit 6ff17834db)
2018-10-31 14:42:00 +01:00
Philip Nelson
9e41ec1fdb youtube-dl: 2018.09.26 -> 2018.10.05 (#47940)
(cherry picked from commit 3a0fbe3cbe)
2018-10-31 14:38:59 +01:00
nyanloutre
dbc3b8de4f youtube-dl: 2018.09.18 -> 2018.09.26
(cherry picked from commit 967baedc2a)
2018-10-31 14:38:51 +01:00
Valentin Heidelberger
ebd4599259 youtube-dl: 2018.09.10 -> 2018.09.18 (#47151)
(cherry picked from commit 4a68689bb4)
2018-10-31 14:38:39 +01:00
AndersonTorres
b4fc0d9118 youtube-dl: 2018.08.04 -> 2018.09.10
(cherry picked from commit 74047ea686)
2018-10-31 14:38:21 +01:00
Edmund Wu
bdfaa0a4d8 vscode-extensions.ms-vscode.cpptools: update build (#48850)
(cherry picked from commit e96d14d177)
2018-10-30 21:19:40 +00:00
Ioannis Koutras
1a4a9da49e lxd: 3.0.0 -> 3.0.2
(cherry picked from commit ab62fe9108)
2018-10-30 23:06:24 +02:00
Ioannis Koutras
94ffbb5a4a dqlite: initialize at 0.2.4
(cherry picked from commit 891277e6a9)
2018-10-30 23:06:23 +02:00
Ioannis Koutras
1bbe592f5b sqlite-replication: initialize at 3.24.0+replication3
(cherry picked from commit bf39304e53)
2018-10-30 23:06:23 +02:00
Michael Weiss
75836e72fd Merge pull request #49482 from primeos/signal-desktop-backport
[18.09] Backport signal-desktop

Reason: The current version (1.15.5) will expire soon (2018-11-14).
2018-10-30 20:46:39 +01:00
John Ericson
5fe3360114 Merge pull request #49479 from obsidiansystems/haskell-shell-completions
haskell-lib: Factor out shell completion scripts helper for 18.09
2018-10-30 15:25:06 -04:00
Michael Weiss
ffebc0bfd0 signal-desktop: 1.17.1 -> 1.17.2
(cherry picked from commit 46f5debb94)
2018-10-30 20:11:20 +01:00
Michael Weiss
f3d906c66b signal-desktop: 1.17.0 -> 1.17.1
(cherry picked from commit 6021a94062)
2018-10-30 20:11:20 +01:00
Michael Weiss
95a7e4912f signal-desktop: 1.16.3 -> 1.17.0
(cherry picked from commit f346289ea6)
2018-10-30 20:11:19 +01:00
Michael Weiss
18766e3fb2 signal-desktop: 1.16.2 -> 1.16.3
(cherry picked from commit 5edc1dd7a8)
2018-10-30 20:11:19 +01:00
tobiasBora
73a1b48f64 signal-desktop: enable notifications
(cherry picked from commit 820e1caf86)
2018-10-30 20:11:19 +01:00
Michael Weiss
2cbe9f990c signal-desktop: 1.16.1 -> 1.16.2
(cherry picked from commit a526719184)
2018-10-30 20:11:19 +01:00
Michael Weiss
21e9b2e499 signal-desktop: 1.16.0 -> 1.16.1
(cherry picked from commit 3410dcd90e)
2018-10-30 20:11:19 +01:00
Michael Weiss
8558acb575 signal-desktop: 1.15.5 -> 1.16.0
(cherry picked from commit 7c1b85cf6d)
2018-10-30 20:11:18 +01:00
John Ericson
c34f5176f1 haskell-lib: Factor out shell completion scripts helper 2018-10-30 14:49:58 -04:00
adisbladis
65852ff2f8 firefox-beta-bin: 62.0b20 -> 64.0b5 2018-10-30 18:37:03 +00:00
adisbladis
f724b7ab8b firefox-devedition-bin: 62.0b20 -> 64.0b5 2018-10-30 18:36:09 +00:00
markuskowa
c341f56928 virtualgl-lib: fix broken startup script (#49185)
Replace /bin/sh with bash in vglrun.
'exec' fails with /bin/sh

(cherry picked from commit efd3f8b57f)
2018-10-30 16:19:25 +01:00
Eelco Dolstra
47ae5861de nixUnstable: 2.2pre6520_18b4c53f -> 2.2pre6526_9f99d624
(cherry picked from commit 81b2bfaf36)
2018-10-30 16:17:42 +01:00
Shea Levy
cbffbb1bae nixUnstable: 2.1pre6377_954d1f4d -> 2.2pre6520_18b4c53f
(cherry picked from commit bd7e0aec71)
2018-10-30 16:17:38 +01:00
Lassulus
f4deae935d nixos/bitlbee: use purple-2 as purple_plugin_path (#49440)
(cherry picked from commit 334dd6f964)
2018-10-30 15:39:28 +01:00
volth
c42d8f770d [cpan2nix] perlPackages.NetAmazonS3: 0.84 -> 0.85
dependencies:
perlPackages.TestLoadAllModules: init at 0.022

(cherry picked from commit f32975e3fd)
2018-10-30 15:04:05 +01:00
Jörg Thalheim
1855a92cea SenchaCmd: 6.5.3.6 -> 6.6.0.13
This package is internally used by rambox

(cherry picked from commit 9d9f7d27a1)
2018-10-30 13:33:07 +00:00
Jörg Thalheim
0cfdeb3baf rambox: fix crash when native filesystem dialogs are created
(cherry picked from commit ac8acb283c)
2018-10-30 13:33:07 +00:00
Jaka Hudoklin
f62293e343 google-cloud-sdk: 215.0.0 -> 222.0.0
(cherry picked from commit 7df72ad928)
2018-10-30 10:38:14 +00:00
Moritz Ulrich
6e5f7e6c3a google-cloud-sdk: 206.0.0 -> 215.0.0
(cherry picked from commit d710765f52)
2018-10-30 10:38:14 +00:00
Eric Wolf
227cf39e0c nixos/release-notes for 18.09: fix missing entry
- the addition of the groups kvm and render breaks the configuration of
   users, which added them

(cherry picked from commit 30d2792091)
2018-10-30 10:23:44 +00:00
Stefan Siegl
960c147321 tomboy: build against mono 5, refs #49369
(cherry picked from commit 74cfbd63e1)
2018-10-30 10:17:12 +00:00
David Costa
af7d54e972 crystal: fix "play" subcommand (#49422)
(backport of commit 473c890034)
2018-10-30 00:36:48 +01:00
R. RyanTM
68cf714d23 matomo: 3.6.0 -> 3.6.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/matomo/versions

(cherry picked from commit d4029e7935)
2018-10-30 00:17:04 +01:00
Robin Gloster
bf392fec56 gitlab: 11.4.0 -> 11.4.3
(cherry picked from commit 3aec530964)
2018-10-29 20:42:50 +01:00
R. RyanTM
d5814e22dc clamav: 0.100.1 -> 0.100.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/clamav/versions

(cherry picked from commit b249bcc7b4)
2018-10-29 18:05:30 +01:00
Florian Klink
ec6af332b4 Merge pull request #49240 from flokli/layered-docker-images-18.09
[18.09] layered docker images
2018-10-29 14:25:08 +00:00
Vincent Ambo
acb1efb8d7 lib/options: Update documentation comments for docs generation
Documents functions in `lib.options` for docs generation with nixdoc.

The formatting change in the `mkOption` arguments is due to the way
`nixdoc` parses documentation comments on pattern arguments. It's not
ideal, but it works.
2018-10-29 12:38:30 +01:00
Vincent Ambo
a53c60db51 lib/debug: Update documentation comments for docs generation
Documents functions in `lib.debug` for docs generation with nixdoc.

Note that type signatures and clearer descriptions are still missing
on some of these functions, but this is good enough for a first run.
2018-10-29 12:32:35 +01:00
Vincent Ambo
20d8273eb7 lib/lists: Update documentation comments for doc generation
Updates documentation comments with extra information for nixdoc[1]
compatibility.

[1]: https://github.com/tazjin/nixdoc
2018-10-29 12:32:30 +01:00
Vincent Ambo
34cd613eaf lib/strings: Update documentation comments for doc generation
Updates documentation comments with extra information for nixdoc[1]
compatibility.

Some documentation strings have additionally been reworded for
clarity.

"Faux types" are added where applicable, but some functions do things
that are not trivially representable in the type notation used so they
were ignored for this purpose.

[1]: https://github.com/tazjin/nixdoc
2018-10-29 12:32:26 +01:00
Vincent Ambo
09772db18f lib/trivial: Update function comments for doc generation
Expands on some of the function comments and add some of the
special syntaxes recognised by nixdoc.
2018-10-29 12:32:22 +01:00
Alyssa Ross
74fe437075 bb: add Darwin compatibility
It even has working sound, unlike on Linux!

(cherry picked from commit c49aa0d0df)
2018-10-29 11:22:21 +00:00
Alyssa Ross
dc98e149d0 libmikmod: remove duplicate libpulseaudio dep
This is already included as a propagatedBuildInput, so no need to have
it also be a buildInput.

(cherry picked from commit 4807e04283)
2018-10-29 11:22:11 +00:00
Limbo Peng
32c258d1f7 httping: add libintl to buildInputs on Darwin (#48188)
* httping: add libintl to buildInputs on Darwin

Otherwise it won't compile.

* httping: fix URLs

(cherry picked from commit 9f8b40c2de)
2018-10-29 11:19:04 +00:00
Tobias Pflug
5e5252c5a8 bats: add missing grep dependency
(cherry picked from commit 8284f09dcd)
2018-10-29 11:17:01 +00:00
Daiderd Jordan
38e4922373 loc: enable darwin build
It works fine there and probably other unix platforms.

(cherry picked from commit 561fb30ac6)
2018-10-29 11:13:56 +00:00
Daiderd Jordan
6092f3e87e yarn: add platforms (#48912)
(cherry picked from commit d0544a355b)
2018-10-29 11:10:23 +00:00
Timo Kaufmann
8126ce7e45 Merge pull request #49249 from timokau/sage-fix-attrname-18.09
sage: fix attrname, add sagemath alias (18.09)
2018-10-29 10:08:04 +01:00
Jörg Thalheim
c05b365541 mono44: mark as insecure 2018-10-28 23:01:17 +00:00
aki-ks
186adedc6f jetbrains.idea-ultimate: 2018.2.4 -> 2018.2.5 2018-10-28 22:28:58 +00:00
aki-ks
b582c29032 jetbrains.idea-community: 2018.2.4 -> 2018.2.5 2018-10-28 22:28:52 +00:00
Edward Tjörnhammar
381a6a9bb9 jetbrains.pycharm-professional: 2018.2.3 -> 2018.2.4
(cherry picked from commit f9c4a74b73)
2018-10-28 22:27:37 +00:00
Edward Tjörnhammar
9200307e02 jetbrains.pycharm-community: 2018.2.3 -> 2018.2.4
(cherry picked from commit feb57bc9b9)
2018-10-28 22:27:32 +00:00
Edward Tjörnhammar
2852b60839 jetbrains.goland: 2018.2.2 -> 2018.2.3
(cherry picked from commit 546dfb51a6)
2018-10-28 22:27:28 +00:00
Edmund Wu
f237eaf83d jetbrains.webstorm: 2018.2.2 -> 2018.2.3
(cherry picked from commit 4b1e3376d1)
2018-10-28 22:27:23 +00:00
Edmund Wu
c144876ecb jetbrains.ruby-mine: 2018.2.1 -> 2018.2.2
(cherry picked from commit 9b69a2520a)
2018-10-28 22:27:17 +00:00
Edmund Wu
97ae532b92 jetbrains.rider: 2018.2 -> 2018.2.3
(cherry picked from commit 88692dd376)
2018-10-28 22:26:31 +00:00
Edmund Wu
a156a78af6 jetbrains.pycharm-professional: 2018.2.2 -> 2018.2.3
(cherry picked from commit 3bc77e5977)
2018-10-28 22:26:24 +00:00
Edmund Wu
56579fd8e9 jetbrains.pycharm-community: 2018.2.2 -> 2018.2.3
(cherry picked from commit b30e64bb8a)
2018-10-28 22:26:20 +00:00
Edmund Wu
3d950f0502 jetbrains.phpstorm: 2018.2.2 -> 2018.2.3
(cherry picked from commit 6f78c882da)
2018-10-28 22:26:16 +00:00
Edmund Wu
9c1347c08b jetbrains.idea-ultimate: 2018.2.2 -> 2018.2.4
(cherry picked from commit 7ce6836e95)
2018-10-28 22:26:12 +00:00
Edmund Wu
d291ab8993 jetbrains.idea-community: 2018.2.2 -> 2018.2.4
(cherry picked from commit e2ff1bceb3)
2018-10-28 22:26:08 +00:00
Edmund Wu
388622dcc5 jetbrains.goland: 2018.2.1 -> 2018.2.2
(cherry picked from commit 397215b8b6)
2018-10-28 22:26:04 +00:00
Edmund Wu
f3d84b108c jetbrains.datagrip: 2018.2.2 -> 2018.2.4
(cherry picked from commit 0174f259ac)
2018-10-28 22:25:58 +00:00
Edmund Wu
0e85365ae9 jetbrains.clion: 2018.2.2 -> 2018.2.4
(cherry picked from commit 98fe28e5ab)
2018-10-28 22:25:52 +00:00
Silvan Mosberger
b8fc97b9e4 Merge pull request #49363 from nyanloutre/steam-update-18-09
[18.09] Steam update
2018-10-28 22:12:11 +01:00
Patrick Hilhorst
21286962a7 steam: ran update-runtime.py
(cherry picked from commit 714b6e3d17)
2018-10-28 22:04:04 +01:00
Patrick Hilhorst
29247ba14f steam: made update-runtime.py nicer
(cherry picked from commit 7c2b6b0afe)
2018-10-28 22:04:03 +01:00
Jörg Thalheim
894dc671df Merge pull request #49357 from Mic92/plasma-backport
nixos/plasma5: disable ocr tests
2018-10-28 20:34:32 +00:00
Silvan Mosberger
a6d1dcfc34 Merge pull request #49335 from bjpbakker/release-18.09
[18.09] xorg.xf86videovmware: fix for GFX support
2018-10-28 21:05:38 +01:00
Jörg Thalheim
708bdc99e1 nixos/plasma5: disable ocr tests
This is brittle and breaks the test
2018-10-28 19:59:52 +00:00
Sarah Brofeldt
8fa0017d04 Merge pull request #49297 from johanot/kubernetes-1.11.4
kubernetes: 1.11.3 -> 1.11.4
2018-10-28 16:16:38 +01:00
Bart Bakker
1264470950 xorg.xf86videovmware: fix for GFX support
Fix the mesa dependency for `xorg.xf86videovmware`. Add `llvm_6` because
`mesa_noglu` has a runtime dependency on clang (see TODO in
`development/libraries/mesa`).
2018-10-28 12:29:17 +01:00
Renaud
09740d8404 installation-device: set GC initial heap size to 1MB
100000 (100kB) is too aggressive (too low) and gets ignored by the GC
Fixes #43339
2018-10-28 11:18:43 +01:00
Timo Kaufmann
d9e7a831f8 sage: add sagemath alias
Sage is commonly referred to as sagemath (probably to improve
searchability). Many other distors call their package sagemath.

(cherry picked from commit 80833d13fe)
2018-10-27 14:19:15 +02:00
Timo Kaufmann
66d8fd1fda sage: fix attrname
This is a minimal change mainly to make sure repology recognizes this
package as sage. I plan a bit more refactoring later, but this is
intentionally kept minimally invasive so that it won't break anything
and can be backported to 18.09.

(cherry picked from commit 2513747356)
2018-10-27 14:19:07 +02:00
Renaud
76ec0982ae Merge pull request #49117 from alexeymuranov/update-flatpak-in-18.09
[18.09] flatpak: 1.0.2 -> 1.0.4 (cherry-picked from master)
2018-10-27 13:54:08 +02:00
R. RyanTM
9d07f7f098 lighttpd: 1.4.50 -> 1.4.51 (#49238)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/lighttpd/versions

(cherry picked from commit 5bccc53a50)
2018-10-27 13:30:44 +02:00
Franz Pletz
f5fcdf5530 Merge pull request #49233 from ciil/jira-update-18.09
atlassian-jira: 7.12.1 -> 7.12.3 (18.09)
2018-10-27 11:13:42 +00:00
Graham Christensen
5a4f3306b8 dockerTools: test buildLayeredImage
(cherry picked from commit fb2d153dac)
2018-10-27 12:04:04 +01:00
Graham Christensen
fbb61c14a2 dockerTools.buildLayeredImage: init
Create a many-layered Docker Image.

Implements much less than buildImage:

 - Doesn't support specific uids/gids
 - Doesn't support runninng commands after building
 - Doesn't require qemu
 - Doesn't create mutable copies of the files in the path
 - Doesn't support parent images

If you want those feature, I recommend using buildLayeredImage as an
input to buildImage.

Notably, it does support:

 - Caching low level, common paths based on a graph traversial
   algorithm, see referencesByPopularity in
   0a80233487993256e811f566b1c80a40394c03d6
 - Configurable number of layers. If you're not using AUFS or not
   extending the image, you can specify a larger number of layers at
   build time:

       pkgs.dockerTools.buildLayeredImage {
         name = "hello";
         maxLayers = 128;
         config.Cmd = [ "${pkgs.gitFull}/bin/git" ];
       };

 - Parallelized creation of the layers, improving build speed.
 - The contents of the image includes the closure of the configuration,
   so you don't have to specify paths in contents and config.

   With buildImage, paths referred to by the config were not included
   automatically in the image. Thus, if you wanted to call Git, you
   had to specify it twice:

       pkgs.dockerTools.buildImage {
         name = "hello";
         contents = [ pkgs.gitFull ];
         config.Cmd = [ "${pkgs.gitFull}/bin/git" ];
       };

   buildLayeredImage on the other hand includes the runtime closure of
   the config when calculating the contents of the image:

       pkgs.dockerTools.buildImage {
         name = "hello";
         config.Cmd = [ "${pkgs.gitFull}/bin/git" ];
       };

Minor Problems

 - If any of the store paths change, every layer will be rebuilt in
   the nix-build. However, beacuse the layers are bit-for-bit
   reproducable, when these images are loaded in to Docker they will
   match existing layers and not be imported or uploaded twice.

Common Questions

 - Aren't Docker layers ordered?

   No. People who have used a Dockerfile before assume Docker's
   Layers are inherently ordered. However, this is not true -- Docker
   layers are content-addressable and are not explicitly layered until
   they are composed in to an Image.

 - What happens if I have more than maxLayers of store paths?

   The first (maxLayers-2) most "popular" paths will have their own
   individual layers, then layer #(maxLayers-1) will contain all the
   remaining "unpopular" paths, and finally layer #(maxLayers) will
   contain the Image configuration.

(cherry picked from commit 4fe9006190)
(cherry picked from commit d1e46df24b)
2018-10-27 12:03:38 +01:00
Graham Christensen
61b4fa9ad9 referencesByPopularity: init to sort packages by a cachability heuristic
Using a simple algorithm, convert the references to a path in to a
sorted list of dependent paths based on how often they're referenced
and how deep in the tree they live. Equally-"popular" paths are then
sorted by name.

The existing writeReferencesToFile prints the paths in a simple
ascii-based sorting of the paths.

Sorting the paths by graph improves the chances that the difference
between two builds appear near the end of the list, instead of near
the beginning. This makes a difference for Nix builds which export a
closure for another program to consume, if that program implements its
own level of binary diffing.

For an example, Docker Images. If each store path is a separate layer
then Docker Images can be very efficiently transfered between systems,
and we get very good cache reuse between images built with the same
version of Nixpkgs. However, since Docker only reliably supports a
small number of layers (42) it is important to pick the individual
layers carefully. By storing very popular store paths in the first 40
layers, we improve the chances that the next Docker image will share
many of those layers.*

Given the dependency tree:

    A - B - C - D -\
     \   \   \      \
      \   \   \      \
       \   \ - E ---- F
        \- G

Nodes which have multiple references are duplicated:

    A - B - C - D - F
     \   \   \
      \   \   \- E - F
       \   \
        \   \- E - F
         \
          \- G

Each leaf node is now replaced by a counter defaulted to 1:

    A - B - C - D - (F:1)
     \   \   \
      \   \   \- E - (F:1)
       \   \
        \   \- E - (F:1)
         \
          \- (G:1)

Then each leaf counter is merged with its parent node, replacing the
parent node with a counter of 1, and each existing counter being
incremented by 1. That is to say `- D - (F:1)` becomes `- (D:1, F:2)`:

    A - B - C - (D:1, F:2)
     \   \   \
      \   \   \- (E:1, F:2)
       \   \
        \   \- (E:1, F:2)
         \
          \- (G:1)

Then each leaf counter is merged with its parent node again, merging
any counters, then incrementing each:

    A - B - (C:1, D:2, E:2, F:5)
     \   \
      \   \- (E:1, F:2)
       \
        \- (G:1)

And again:

    A - (B:1, C:2, D:3, E:4, F:8)
     \
      \- (G:1)

And again:

    (A:1, B:2, C:3, D:4, E:5, F:9, G:2)

and then paths have the following "popularity":

    A     1
    B     2
    C     3
    D     4
    E     5
    F     9
    G     2

and the popularity contest would result in the paths being printed as:

    F
    E
    D
    C
    B
    G
    A

* Note: People who have used a Dockerfile before assume Docker's
Layers are inherently ordered. However, this is not true -- Docker
layers are content-addressable and are not explicitly layered until
they are composed in to an Image.

(cherry picked from commit fd045173ce)
2018-10-27 11:57:35 +01:00
Graham Christensen
607e6140cd dockertools: tarsum: turn in to a buildInput
(cherry picked from commit 2bf0ee3b2b)
2018-10-27 11:57:28 +01:00
Andreas Rammhold
73a4857dc0 Merge pull request #49186 from andir/18.09/mosquitto
[18.09] mosquitto: 1.4.15 -> 1.5.3
2018-10-27 12:17:25 +02:00
Simon Lackerbauer
5be1827afe atlassian-jira: 7.12.1 -> 7.12.3
(cherry picked from commit 50abe602b1)
2018-10-27 11:50:38 +02:00
Bas van Dijk
cbcd5aa085 Merge pull request #48155 from ElvishJerricco/fix/haskell/shellFor/18.09
Backport #46453
2018-10-27 10:03:47 +01:00
Dmitry Kalinkin
6b60c067e1 pythonPackages.pyarrow: fix running tests on hydra
This replaces standard checkPhase using setup.py that uses pytest-runner
with an explicit call to pytest. One reason to do that is because
setup.py triggers another rebuild when asked to do "test". Another
reason is that there seems to be a conflict between possible imports for
pyarrow: `pwd`/pyarrow vs $out/pyarrow. By some unknown reason this
triggers an import error on hydra and ofborg, but not on my machine. The
solution here is to remove `pwd`/pyarrow, keep the tests and use direct
call to pytest (setup.py needs `pwd`/pyarrow). The added benefit is that
we are now testing what is installed in $out.

(cherry picked from commit 6ae3cb4d36)
2018-10-27 10:32:43 +02:00
Silvan Mosberger
9551f011b7 Merge pull request #49156 from 1000101/backport-release-18.09
[18.09] nixos/trezord: revised and updated udev rules
2018-10-27 01:19:15 +02:00
Johan Thomsen
6129945d89 kubernetes: 1.11.3 -> 1.11.4 2018-10-26 17:13:04 +01:00
Ján Hrnko
3c1ca59be7 nixos/trezord: revised and updated udev rules
(cherry picked from commit a88e0ef9aa)
2018-10-26 16:05:42 +02:00
Peter Hoeg
3581f5bfd0 mosquitto: 1.4.15 -> 1.5.3
This backport to 18.09 fixes a serious of security related issues in
mosquitto when run as a server.

Use cmake on all platforms instead of only macos.

(cherry picked from commit a45fa35742)
2018-10-26 14:58:26 +02:00
Jörg Thalheim
c2ad4bfbc0 Merge pull request #49099 from Mic92/breakpoint-backport
Backport breakpointHook [18.09]
2018-10-26 12:22:20 +01:00
Jörg Thalheim
fcca8103db doc: extend breakpointHook documentation
(cherry picked from commit 7f80fb2db4)
2018-10-26 11:15:28 +01:00
Robin Gloster
ef1e83d47c gitlab: 11.3.4 -> 11.4.0
(cherry picked from commit 02afda3fd8)
2018-10-26 11:41:28 +02:00
Robin Gloster
551d22e287 gitlab-workhorse: 6.1.1 -> 7.0.0
(cherry picked from commit eb7f8e71ad)
2018-10-26 11:41:28 +02:00
Robin Gloster
c26c4cc166 gitaly: 0.125.0 -> 0.125.1
(cherry picked from commit 1a984ccc4e)
2018-10-26 11:41:27 +02:00
Raphael Borun Das Gupta
61aa2be8ad nixpkgs docs: add missing spaces between words
(cherry picked from commit aa77e3aa4f)
2018-10-26 09:14:15 +01:00
Raphael Borun Das Gupta
7008cd8acd nixpkgs docs: remove spurious ">"
(cherry picked from commit bea0b3021c)
2018-10-26 09:14:14 +01:00
Andreas Rammhold
755108176f Merge pull request #49044 from andir/18.09/firefox
[18.09] firefox{,-bin}: 62.0.3 -> 63.0 & nss: 3.38-> 3.39
2018-10-26 00:55:12 +02:00
Joachim F
7cb7d77830 Merge pull request #49122 from schmittlauch/backport-tbb803
backport tor-browser-bundle-bin: 8.0.2 -> 8.0.3
2018-10-25 21:26:33 +00:00
Will Dietz
9e10ff6216 tor-browser-bundle-bin: 8.0.2 -> 8.0.3
reason: minor security update

https://gitweb.torproject.org/builders/tor-browser-build.git/tree/projects/tor-browser/Bundle-Data/Docs/ChangeLog.txt?h=tbb-8.0.3-build1
(cherry picked from commit 8324a938e7)
2018-10-25 22:49:23 +02:00
R. RyanTM
4b180235db flatpak: 1.0.2 -> 1.0.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/flatpak/versions

(cherry picked from commit 825f6210be)
2018-10-25 21:07:15 +02:00
Andreas Rammhold
e428680fb8 Merge pull request #49111 from mayflower/grafana-backport
grafana: 5.2.4 -> 5.3.2
2018-10-25 18:56:11 +02:00
Trolli Schmittlauch
dbc3d6fdd9 clarifying name arg determines vim command name
The `name` arg of `vim_configurable.customize` does not only determine
the package name, but also the name of the command/ executable to be
called.
In my opinion this is not documented properly and finding that out took
me several hours.
2018-10-25 17:51:36 +01:00
Linus Heckemann
30068ec658 Merge pull request #49109 from mayflower/nix-index-backport
nix-index: backport version bump and build fix
2018-10-25 18:48:18 +02:00
Justin Humm
3cf85cfb55 mapmap: mark broken
the mapmap binary segfaults at the moment at master and nixos-18.09. I
will speak with upstream for a fix and mark this broken in the meantime.

(cherry picked from commit 5ab10923d6)
2018-10-25 17:40:21 +01:00
WilliButz
e89bfd37a6 grafana: 5.2.4 -> 5.3.2
(cherry picked from commit e3927861d6)
2018-10-25 17:34:51 +02:00
Daiderd Jordan
fadacd10ab nix-index: fix darwin build
(cherry picked from commit 5c14decaa3)
2018-10-25 17:05:17 +02:00
Moritz Kiefer
540c63691c nix-index: 0.1.1 -> 0.1.2
(cherry picked from commit bd4301a2ae)
2018-10-25 17:05:17 +02:00
Jörg Thalheim
21cf1c4f26 Merge pull request #48984 from timokau/r8168-backport
r8168 backport
2018-10-25 15:04:12 +01:00
Jörg Thalheim
ccd398f2e4 doc/breakpointHook: add documentation
(cherry picked from commit 325a5699cb)
2018-10-25 14:09:35 +01:00
Jörg Thalheim
c80620fc27 breakpointHook: add for debugging failing builds
Usuage: Add breakpointHook to your `buildInputs` like this:

  stdenv.mkDerivation rec {
    # ...
    buildInputs = [ breakpointHook ];
  });

When the build fails as show in this example:

  pkgs.hello.overrideAttrs (old: {
    buildInputs = [ breakpointHook ];
    postPatch = ''
      false
    '';
  });

It will halt execution printing the following message:

build failed in patchPhase with exit code 1
To attach to this build run the following command as root:

   cntr attach -t command cntr-/nix/store/ynyb4n82x2r7sldd58pbb405jdqh5f00-hello-2.10

Installing cntr and running the command will provide shell access to the
build sandbox of failed build:

sudo cntr attach -t command cntr-/nix/store/ynyb4n82x2r7sldd58pbb405jdqh5f00-hello-2.10
WARNING: bad ownership on /nix/var/nix/profiles/per-user/root, should be 1000
[nixbld@localhost:/var/lib/cntr]$

At /var/lib/cntr the sandbox filesystem is mounted. All commands and
files of the system are still accessible within the shell.
To execute commands from the sandbox use the `cntr exec` subcommand.

(cherry picked from commit f10b935f84)
2018-10-25 14:09:34 +01:00
Jörg Thalheim
54dd052e56 cntr: init at 1.2.0
(cherry picked from commit 84e915a779)
2018-10-25 14:09:26 +01:00
Andreas Rammhold
3b4c03a6de firefox-esr: 60.2.2esr -> 60.3.0esr
(cherry picked from commit 3db6ca50ef0ce27b4f9765b783dcc32c0a613a2d)
2018-10-25 14:54:38 +02:00
Andreas Rammhold
e80c1fa3b2 firefox-bin: 62.0.3 -> 63.0
(cherry picked from commit 5137c04770)
2018-10-25 11:12:05 +02:00
Andreas Rammhold
344e66a524 firefox: 62.0.3 -> 63.0
(cherry picked from commit 277da59e47)
2018-10-25 11:12:04 +02:00
Andreas Rammhold
8bdbb8c922 rust_1_29: backport for rust 1.29.1 from unstable
Based on commit aef6830d3e

(cherry picked from commit dc2becf42f)
2018-10-25 11:12:04 +02:00
Vincent Laporte
9d2ff83b03 ocamlPackages.vg: 0.9.0 -> 0.9.1
(cherry picked from commit c640f024dd)
2018-10-25 08:39:17 +02:00
Gabriel Ebner
f5689d5d6b abcde: 2.8.1 -> 2.9.2
Fixes #41789.

(cherry picked from commit 47fb4859a5)
2018-10-24 20:49:19 +02:00
Herwig Hochleitner
a8fe91de2e chromium: 69.0.3497.100 -> 70.0.3538.67
(cherry picked from commit bb03fbc2c8)
2018-10-24 19:44:08 +02:00
volth
2e960de3f4 chromium: propagate stdenv for "chromium.override{ stdenv=gcc8Stdenv; }" (#48615)
(cherry picked from commit 337d140953)
2018-10-24 19:44:08 +02:00
volth
56ea01bc52 chromium 71+: there is no more option 'use_gtk3' (#48595)
(cherry picked from commit d767ba9996)
2018-10-24 19:44:08 +02:00
volth
487192196c chromium 71+: add at-spi2-core dependency (#48594)
(cherry picked from commit d039722d0e)
2018-10-24 19:44:07 +02:00
volth
77ea7d7bd5 chromium: fix aarch64 build (#48586)
* chromium: fix aarch64 build

* chromium: use more stable urls

(cherry picked from commit 0c8cdb53f6)
2018-10-24 19:44:07 +02:00
volth
c09da54fc7 chromium plugins: add meta.platforms (#48495)
to prevent their installation on aarch64

(cherry picked from commit 2ad99a662d)
2018-10-24 19:44:07 +02:00
Andreas Rammhold
e167830504 nss: 3.38 -> 3.39
(cherry picked from commit 8a9b6bc607)
2018-10-24 18:15:29 +02:00
John Ericson
06fb0253af Merge pull request #48931 from obsidiansystems/darwin-to-linux-18.09
misc pkgs: Darwin -> Linux cross compilation for 18.09
2018-10-24 10:37:15 -04:00
Timo Kaufmann
8e9b654643 r8168: init at 8.046.00
(cherry picked from commit c8b5deae19)
2018-10-24 11:50:44 +02:00
John Ericson
0afc9ca7a8 Merge remote-tracking branch 'upstream/release-18.09' into darwin-to-linux-18.09 2018-10-23 23:27:29 -04:00
Daiderd Jordan
87dc3df433 linux-headers: Temporarily avoid mass rebuild
This is only needed for 18.09, not master
2018-10-23 23:27:20 -04:00
John Ericson
22df9423cd release-cross: Cross compile from all 3 supported platforms 2018-10-23 23:20:48 -04:00
Daiderd Jordan
ab6bbdd5cd linux-headers: Fix Darwin cross build
Carefully fake cc-version and cc-fullversion to avoid needing a compiler
for the kernel itself to build the headers.

For some reason, doing `make install_headers` twice, first without
INSTALL_HDR_PATH=$out then with, is neccessary to get this to work.
2018-10-23 23:20:42 -04:00
Rob Vermaas
df29219f51 opentracing-cpp: fix version in derivation 2018-10-23 18:15:05 +02:00
Rob Vermaas
9d6184f1bc nginx-opentracing: init at 0.7.0 2018-10-23 18:07:45 +02:00
Rob Vermaas
0b695b6682 opentracing-cpp: add meta 2018-10-23 18:01:34 +02:00
Rob Vermaas
f49df04c02 opentracing-cpp: init 1.5.0 2018-10-23 17:56:28 +02:00
Wael Nasreddine
c162a0af64 gocode: 2018-07-27 -> 2018-10-22 (#48832)
github.com/nsf/gocode has also been deprecated in favor of github.com/mdempsky/gocode

(cherry picked from commit cc4b9ef40f)
2018-10-23 12:21:25 +02:00
Jörg Thalheim
1b7e30c79f Merge pull request #48822 from nyanloutre/18-09-jackett-10-365
[18.09] jackett: 0.10.250 -> 0.10.365
2018-10-23 10:43:14 +01:00
Dmitry Kalinkin
694aff67f8 mu: fix build for withMug = true (#48830)
Fixes a following build error:

/nix/store/xxx-binutils-2.30/bin/ld: cannot find -lgstapp-1.0
/nix/store/xxx-binutils-2.30/bin/ld: cannot find -lgstaudio-1.0
/nix/store/xxx-binutils-2.30/bin/ld: cannot find -lgstfft-1.0
/nix/store/xxx-binutils-2.30/bin/ld: cannot find -lgstpbutils-1.0
/nix/store/xxx-binutils-2.30/bin/ld: cannot find -lgstvideo-1.0
/nix/store/xxx-binutils-2.30/bin/ld: cannot find -lgstbase-1.0
/nix/store/xxx-binutils-2.30/bin/ld: cannot find -lgstreamer-1.0

This workaround targets release-18.09 branch and is not needed at master (no
idea why).
2018-10-23 11:38:32 +02:00
nyanloutre
2b4f74612b jackett: update mono version to 5.14
See details here : https://github.com/NixOS/nixpkgs/pull/48821#issuecomment-431837095

(cherry picked from commit 7a44e6e365)
2018-10-23 11:01:38 +02:00
Linus Heckemann
f8d156f44f poezio: 0.11 -> 0.12 2018-10-23 09:33:44 +02:00
Linus Heckemann
af588df938 slixmpp: 1.2.4-post1 -> 1.4.0
(cherry picked from commit ec9d761628)
2018-10-23 09:33:38 +02:00
xeji
f80504e8fd Merge pull request #48150 from Vskilet/release-18.09
[18.09] nixos/emby: use the dataDir option
2018-10-23 00:45:37 +02:00
nyanloutre
25b2aeb9ca jackett: 0.10.304 -> 0.10.365
(cherry picked from commit 896ae4974e)
2018-10-22 23:56:23 +02:00
R. RyanTM
93a57b3d66 jackett: 0.10.258 -> 0.10.304
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/jackett/versions

(cherry picked from commit 7f5a809374)
2018-10-22 23:56:23 +02:00
Edward Tjörnhammar
c4cb419081 jackett: 0.10.250 -> 0.10.258
(cherry picked from commit 914c341c6f)
2018-10-22 23:56:22 +02:00
Jörg Thalheim
09bc130c1e Merge pull request #48831 from nyanloutre/18-09-slimserver-fix
[18.09] slimserver: Relax audio scan dependency (#47029)
2018-10-22 22:48:00 +01:00
Drew Hess
be9e927c95 dovecot: dovenull user should have its own group.
Quoting from https://wiki.dovecot.org/UserIds#dovenulluser:

"It should belong to its own private dovenull group where no one else
belongs to..."

(cherry picked from commit fa388534e4)
2018-10-22 22:47:00 +01:00
Philipp Hausmann
e15b5baaef slimserver: Relax audio scan dependency (#47029)
(cherry picked from commit 09df5da98f)
2018-10-22 23:45:18 +02:00
Daniël de Kok
a7325a613e samba4: 4.7.9 -> 4.7.10 (#48787)
Changes: https://www.samba.org/samba/history/samba-4.7.10.html
(cherry picked from commit d620d8fa67)
2018-10-22 15:46:01 +02:00
Clemens Fruhwirth
c00f5672d7 gvfs: Fix-up paths to gio binary 2018-10-22 15:08:04 +02:00
Peter Simons
e05517fb18 ghc: add new 8.4.4 version
(cherry picked from commit 069bf7aee3)
2018-10-21 23:33:26 -04:00
Piotr Bogdan
140867131c debootstrap: fix up paths to {chroot,unshare}, small clean up
Fixes #45915.

(cherry picked from commit be63e30563)
2018-10-21 18:45:31 +01:00
R. RyanTM
5b2a9767c5 debootstrap: 1.0.108 -> 1.0.109
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/debootstrap/versions

(cherry picked from commit 73dbb11a0d)
2018-10-21 18:45:31 +01:00
R. RyanTM
b76a8378ee debootstrap: 1.0.107 -> 1.0.108 (#46294)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/debootstrap/versions

(cherry picked from commit 8955ec6c73)
2018-10-21 18:45:30 +01:00
Jörg Thalheim
d4d4e58e33 Merge pull request #48779 from Ma27/backport-vim-clang-fix
vimPlugins.clang_complete: fix path to libclang.so (backport)
2018-10-21 17:00:35 +01:00
Leon Schuermann
08a0f3fefc nextcloud: 14.0.1 -> 14.0.3
(cherry picked from commit 6d3b54a1e9)
2018-10-21 15:40:40 +02:00
Victor SENE
2026505e5c nixos/nextcloud: add poolConfig option (#48094)
(cherry picked from commit 2dcd512e74)
2018-10-21 15:40:40 +02:00
Florian Klink
2822d45a4e nextcloud: fix sendmail path discovery
(cherry picked from commit 1fd6477b35)
2018-10-21 15:40:40 +02:00
Ruben Maher
dde8fafa69 nextcloud: 13.0.6 -> 14.0.1
(cherry picked from commit e5b3ea56e1)

Co-authored-by: Robin Gloster <mail@glob.in>
2018-10-21 15:40:40 +02:00
Franz Pletz
f1509d8b11 nixos/nextcloud: init
(cherry picked from commit ebd38185c8)

Co-authored-by: Franz Pletz <fpletz@fnordicwalking.de>
Co-authored-by: Robin Gloster <mail@glob.in>
Co-authored-by: Janne Heß <janne@hess.ooo>
Co-authored-by: Florian Klink <flokli@flokli.de>
2018-10-21 15:40:40 +02:00
Maximilian Bosch
5fa7d74d87 vimPlugins.clang_complete: fix path to libclang.so
Same fix as d301d5cb74.

A traditional backport with `git cherry-pick` is impossible as the
override approach for VIM plugins has significantly changed.
2018-10-21 15:12:20 +02:00
Vaskó László
4d9183342b kitty: fix locating libstartup-notification-1
Startup notification doesn't work in recent versions of Kitty:
> Traceback (most recent call last):
>   File "/nix/store/3a3b0xd952gp8jw70k5kh3a4zhgzf0p7-kitty-0.12.3/bin/../lib/kitty/kitty/utils.py", line 216, in init_startup_notification
>     return init_startup_notification_x11(window_handle, startup_id)
>   File "/nix/store/3a3b0xd952gp8jw70k5kh3a4zhgzf0p7-kitty-0.12.3/bin/../lib/kitty/kitty/utils.py", line 201, in init_startup_notification_x11
>     return init_x11_startup_notification(display, window_handle, sid)
> OSError: Failed to load libstartup-notification-1.so with error: libstartup-notification-1.so: cannot open shared object file: No such file or directory

Apparently dispatching of startup notification has been moved to a C
binding in kitty 0.6.0 [1] so the substituion had to be modified to reflect
that. Without this fix Kitty still works except that window managers
which depend on startup notifications to be fired (e.g. Awesome)
cannot apply special placement rules.

The substitution mechanism is also changed to use a patch file to detect
this kind of mistakes in the future.

[1]: b08f4ab593

(cherry picked from commit 1842c4aaa4)
2018-10-20 23:51:41 +01:00
Samuel Dionne-Riel
e76b112853 ruby: 2.5.2 -> 2.5.3
https://www.ruby-lang.org/en/news/2018/10/18/ruby-2-5-3-released/

This release is just for fixing the packaging issue. This release doesn’t
contain any additional bug fixes from 2.5.2.

(cherry picked from commit 87407bc7e8)
2018-10-20 21:25:20 +01:00
Frederik Rietdijk
50a6f2170d python37: 3.7.0 -> 3.7.1
(cherry picked from commit e4d84434a7)
2018-10-20 21:01:37 +02:00
Frederik Rietdijk
8a3e8bd64b python36: 3.6.6 -> 3.6.7
(cherry picked from commit 241bab3a5e)
2018-10-20 21:01:26 +02:00
Frederik Rietdijk
4a4e11f026 Merge staging into release 2018-10-20 21:00:53 +02:00
Ben Wolsieffer
0da77aaaf8 python2Packages.pylint: init at 1.9.2
Backport of pylint 1.9.2, required for older python2.7
(2.x versions of pylint work only with python 3.4+)

(cherry picked from commit 67ea56717a)
2018-10-20 20:49:59 +02:00
Ben Wolsieffer
b33fe1b101 python2Packages.astroid: init at 1.6.5
Older version backported from master, as requirement for pylint 1.9.2

(cherry picked from commit 4f09e05849)
2018-10-20 20:49:59 +02:00
John Ericson
2569506025 Merge pull request #48673 from Ericson2314/xorg-override-18.09
xorg: allow overriding via overrideScope' for 18.09
2018-10-20 13:16:45 -04:00
Jeff Slight
720af0f20f mattermost: 5.3.0 -> 5.4.0
(cherry picked from commit 321b3a224f)
2018-10-20 17:09:43 +01:00
Jeff Slight
bbc3f425e3 mattermost: 5.1.0 -> 5.3.0
(cherry picked from commit 06eeeed171)
2018-10-20 17:09:24 +01:00
Tim Steinbach
b62ae252fd linux: 4.18.15 -> 4.18.16
(cherry picked from commit 154f457bc3)
2018-10-20 11:18:45 -04:00
Tim Steinbach
617448e796 linux: 4.14.77 -> 4.14.78
(cherry picked from commit 719087fb8c)
2018-10-20 11:18:45 -04:00
Tim Steinbach
76408dd069 linux: 4.9.134 -> 4.9.135
(cherry picked from commit 560e61a3fd)
2018-10-20 11:18:44 -04:00
Tim Steinbach
9dec819286 linux: 4.4.161 -> 4.4.162
(cherry picked from commit 218bf14c3e)
2018-10-20 11:18:44 -04:00
Samuel Dionne-Riel
35421cfdf7 Merge pull request #48692 from samueldr/fix/disallow-aliases
Backports misc. fixes for the new ofborg eval time checks
2018-10-19 20:08:51 -04:00
Samuel Dionne-Riel
8713c07ca5 Merge pull request #48636 from samueldr/backport/PR48301
Update Monero for upcoming hard fork (backports #48301)
2018-10-19 20:06:30 -04:00
Tmplt
1b9888aaa0 nixos/compton: fix corrupt colours with Mesa 18 on AMD
On AMD hardware with Mesa 18, compton renders some colours incorrectly
when using the glx backend. This patch sets an environmental variable
for compton so colours are rendered correctly.

Topical bug: <https://bugs.freedesktop.org/show_bug.cgi?id=104597>
2018-10-19 15:42:11 -05:00
gnidorah
d75b725497 kvmgt module: add service restart on failure
(cherry picked from commit a6603fd8a8)
2018-10-19 10:45:31 +01:00
Edmund Wu
69a482f640 vscode: 1.28.0 -> 1.28.2
(cherry picked from commit 8861eca096)
2018-10-19 08:41:11 +01:00
Edmund Wu
a6d64776c0 vscode: 1.27.2 -> 1.28.0
(cherry picked from commit a3962299f1)
2018-10-19 08:40:58 +01:00
Bastian Köcher
d8649a8a68 vscode: 1.26.1 -> 1.27.2 (#47397)
(cherry picked from commit 0d810c5ac4)
2018-10-19 08:40:40 +01:00
Jörg Thalheim
cde886e7c6 tinc: remove unnecessary networking.interfaces
This breaks with networking backends enabled and
also creates large delays on boot when some services depends
on the network target. It is also not really required
because tinc does create those interfaces itself.

fixes #27070

(cherry picked from commit 5a1f0f9aa3)
2018-10-19 08:36:34 +01:00
John Ericson
e23b220a78 Merge remote-tracking branch 'upstream/release-18.09' into xorg-override-18.09 2018-10-19 00:59:22 -04:00
Ryan Mulligan
9dc7c3191a treewide: fix config.allowAliases = false evaluation
(cherry picked from commit f91a79ecc8)

 Conflicts:
	pkgs/misc/vim-plugins/default.nix

That file has NOT been touched in this cherry pick.
2018-10-18 21:10:02 -04:00
Ryan Mulligan
b02c65ab30 treewide: fix allowAliases = false evaluation problems
(cherry picked from commit 856fbc8dba)

 Conflicts:
	pkgs/os-specific/linux/roccat-tools/default.nix

File isn't in release-18.09
2018-10-18 21:06:21 -04:00
Milan Svoboda
9779809e05 wings: fix runtime failure. (#48681)
Erlang/OTP 18 [erts-7.3.1.4] [source] [64-bit] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V7.3.1.4  (abort with ^G)
1>
=ERROR REPORT==== 18-Oct-2018::21:29:53 ===
beam/beam_load.c(1189): Error loading module sdl:
  mandatory chunk of type 'Atom' not found

=ERROR REPORT==== 18-Oct-2018::21:29:53 ===
Loading of /nix/store/qalvdrzjqqm3a8nsavjbhfiv1pzhw82k-esdl-1.3.1/lib/erlang/lib/esdl-1.3.1/ebin/sdl.beam failed: badfile

=ERROR REPORT==== 18-Oct-2018::21:29:53 ===
Error in process <0.35.0> with exit value:
{undef,[{sdl,init,[1048608],[]},
        {wings_init,init,0,[{file,"wings_init.erl"},{line,28}]},
        {wings,init,1,[{file,"wings.erl"},{line,105}]}]}

Fatal internal error - log written to /home/milan/wings_crash.dump

(cherry picked from commit 43fc3bbb62)
2018-10-18 21:43:01 +01:00
Silvan Mosberger
ff2b5ea471 Merge pull request #48619 from Chiiruno/release-18.09
Update bcachefs (cherry pick for 18.09)
2018-10-18 21:21:13 +02:00
John Ericson
318e45d469 Merge remote-tracking branch 'upstream/release-18.09' into xorg-override-18.09 2018-10-18 12:22:44 -04:00
John Ericson
88cd633ea4 xorg: Don't use deprecated item 2018-10-18 11:54:20 -04:00
Michael Raitza
cb996fdb60 nixos/openafs: Add defaultText to avoid evaluating packages
(cherry picked from commit 290a7d2ee9)
2018-10-18 16:11:57 +01:00
Michael Raitza
a2927b8477 openafs: 1.6.22.2 -> 1.6.23
Add support for 4.18 kernels.

(cherry picked from commit f8b5b5dcb7)
2018-10-18 16:11:56 +01:00
Michael Raitza
39acfb0591 openafs_1_8: 1.8.0 -> 1.8.2
This release adds support for ARM64.

(cherry picked from commit d37bb7302f)
2018-10-18 16:11:56 +01:00
Michael Raitza
72603fb252 openafs: Align package name with kernel version based on modDirVersion
(cherry picked from commit bf7600d3b5)
2018-10-18 16:11:56 +01:00
zimbatm
2f82603dbd Merge pull request #48650 from marsam/feature/update-ruby
ruby: 2.3.7 -> 2.3.8, 2.4.4 -> 2.4.5, 2.5.1 -> 2.5.2
2018-10-18 16:01:19 +02:00
Tim Steinbach
412c69ea97 linux: 4.18.14 -> 4.18.15
(cherry picked from commit 42cfc436ce)
2018-10-18 08:28:28 -04:00
Tim Steinbach
56dfc9523f linux: 4.14.76 -> 4.14.77
(cherry picked from commit 7abe0e881e)
2018-10-18 08:28:28 -04:00
Tim Steinbach
a3e4021cda linux: 4.9.133 -> 4.9.134
(cherry picked from commit ab8ff7c07c)
2018-10-18 08:28:28 -04:00
Shreyansh Khajanchi
f8847fc824 hugo: apply upstream patch to call rst2html directly on Nix
Initially, rst2html was called via the python interpreter which would
fail if the script was wrapped in a launcher as on NixOS.

(cherry picked from commit d4f88f1d0c)
2018-10-18 12:51:44 +01:00
Mario Rodas
0919505711 pythonPackages.pytest: pathlib2 is only required for python<3.6
(cherry picked from commit 0f26db59ad)
2018-10-18 11:08:01 +02:00
Mario Rodas
50b8c23de8 pythonPackages.pathlib2: remove unnecessary python version check
(cherry picked from commit 0a08d69bf0)
2018-10-18 11:08:01 +02:00
rnhmjoj
499f1c7126 monero-gui: 0.13.0.2 -> 0.13.0.3
(cherry picked from commit e57438faf0)
2018-10-17 22:29:31 -04:00
rnhmjoj
636a47500a monero: 0.13.0.2 -> 0.13.0.3
(cherry picked from commit 8929e036ce)
2018-10-17 22:29:29 -04:00
rnhmjoj
fae2c59469 monero-gui: 0.12.3.0 -> 0.13.0.2
(cherry picked from commit 8e15e9c452)
2018-10-17 22:28:55 -04:00
rnhmjoj
b183e85a77 xmr-stak: 2.4.7 -> 2.5.0
(cherry picked from commit 6dc4ae5eb2)
2018-10-17 22:28:55 -04:00
rnhmjoj
6dda50f242 monero: 0.12.3.0 -> 0.13.0.2
(cherry picked from commit 028164ef05)
2018-10-17 22:28:55 -04:00
rnhmjoj
ea0853e4e0 monero-gui: 0.12.0.0 -> 0.12.3.0
(cherry picked from commit fd95d30609)
2018-10-17 22:28:51 -04:00
rnhmjoj
f430eaafcb monero: 0.12.0.0 -> 0.12.3.0
(cherry picked from commit 90ab6c8400)
2018-10-17 22:28:49 -04:00
Tim Steinbach
81f5c2698a sbt: 1.2.4 -> 1.2.6
(cherry picked from commit b2dabdc697)
2018-10-17 20:48:45 -04:00
Matt McHenry
41905d631f clementine: add gst_plugins to buildInputs so setup hooks work
when the build was refactored in ef5e212d, this was lost.  a4ba8c65
got most of it back, but missed the addition of gst_plugins to
buildInputs.

fixes #39960

(cherry picked from commit 6fcee4e1dd)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2018-10-18 01:48:35 +02:00
Maximilian Bosch
bfb61a7709 nixos/weechat: add setuid wrapper for `screen' to ensure true multiuser capabilities
Previously you either had to set the setuid bit yourself or workaround
`isSystemUser = true` (for a loginable shell) to access the weechat
screen.

`programs.screen` shouldn't do this by default to avoid taking too much
assumptions about the setup, however `services.weechat` explicitly
requires tihs.

See #45728

(cherry picked from commit 018573b757)
2018-10-17 23:43:46 +02:00
volth
971b5bea49 oraclejdk8: 8u181 -> 8u191 (#48624)
(cherry picked from commit 4035086baf)
Oracle download site provides 8u191 now.
2018-10-17 18:47:42 +02:00
Jörg Thalheim
56915a59ad Merge pull request #48632 from clefru/hostapd-fix-on-18.09
Fix hostapd's place in systemd dependency tree. (#45464)
2018-10-17 16:02:36 +01:00
clefru
20ebe73f91 Fix hostapd's place in systemd dependency tree. (#45464)
* nat/bind/dhcp.service:
  Remove. Those services have nothing to do with a link-level service.

* sys-subsystem-net-devices-${if}.device:
  Add as BindsTo dependency as this will make hostapd stop when the
  device is unplugged.

* network-link-${if}.service:
  Add hostapd as dependency for this service via requiredBy clause,
  so that the network link is only considered to be established
  only after hostapd has started.

* network.target:
  Remove this from wantedBy clause as this is already implied from
  dependencies stacked above hostapd. And if it's not implied than
  starting hostapd is not required for this particular network
  configuration.

(cherry picked from commit 725fcdef3f)
2018-10-17 16:53:49 +02:00
隠岐奈
5f4617cfea bcachefs-tools: 2018-08-22 -> 2018-10-12
(cherry picked from commit 0c4a7a86fd)
2018-10-17 07:03:47 -05:00
隠岐奈
67856c9259 linux_testing_bcachefs: 4.18.2018.09.21 -> 4.18.2018.10.12
(cherry picked from commit d8410167d1)
2018-10-17 07:03:47 -05:00
Anatolii Prylutskyi
ff7413b160 rambox: fix invalid sha256
(cherry picked from commit 4051fc901b)
2018-10-17 09:34:32 +01:00
Tim Steinbach
19ee57bdaf oh-my-zsh: 2018-09-03 -> 2018-09-14
(cherry picked from commit e0a98c5dc0)
2018-10-16 16:51:11 -04:00
Rob Vermaas
3b3a2d30df julia_10: update to 1.0.1 2018-10-16 22:14:16 +02:00
zimbatm
68c70cfe9e terraform-providers.libvirt: fix plugin output (#48577)
Terraform depends on this binary name format to detect the provider
version.

(cherry picked from commit 7786575c6c)
2018-10-16 19:36:35 +02:00
Linus Heckemann
4a748215d1 libssh: 0.7.5 -> 0.7.6
Fixes CVE-2018-10933:

libssh versions 0.6 and above have an authentication bypass
vulnerability in the server code. By presenting the server an
SSH2_MSG_USERAUTH_SUCCESS message in place of the
SSH2_MSG_USERAUTH_REQUEST message which the server would expect to
initiate authentication, the attacker could successfully authentciate
without any credentials.

Source:
https://www.libssh.org/2018/10/16/libssh-0-8-4-and-0-7-6-security-and-bugfix-release/
(cherry picked from commit eca462813d)
2018-10-16 19:09:51 +02:00
Rob Vermaas
71941853a1 nixpart0.blivet: fix reference to selinux python modules 2018-10-16 17:12:05 +02:00
Rob Vermaas
7ceea6f601 blivet: fix reference to selinux python modules 2018-10-16 17:04:43 +02:00
Uli Baum
b97e1dc662 Merge branch 'release-18.09' into staging-18.09 2018-10-16 09:08:25 +02:00
florianjacob
ab27d00f39 mariadb.connector-c: 2.3.6 -> 2.3.7 (#48078)
(cherry picked from commit 98e5a0f9f4)

contains security fix for CVE-2018-3081
2018-10-16 09:05:49 +02:00
José Romildo Malaquias
8fe63a0c1e greybird: remove license cc-by-nc-sa-30 (#46802)
Greybird is dual-licensed as GPLv2 or later and CC-BY-SA 3.0 or later.
The first is free, and the second is unfree in nixpkgs. Currently both
licenses are listed in the package derivation. And nix takes that it is
unfree. If one of the licenses in the list is unfree. nix consider
that the software is unfree. Remove the unfree one.

(cherry picked from commit 1944defa4c)
2018-10-16 08:36:34 +02:00
Sarah Brofeldt
24bab87520 Merge pull request #48486 from srhb/backport-48485
Backport 18.09: haskellPackages.cryptonite: fix for aarch64 and re-enable tests
2018-10-16 00:02:05 +02:00
Drew Hess
67a7354cd5 haskellPackages.cryptonite: fix for aarch64.
This is a cherry-pick from upstream (see
https://github.com/haskell-crypto/cryptonite/issues/234); there has
been no upstream release since the fix was committed.

(cherry picked from commit 321626d5ee)
Backport of #48485
2018-10-15 23:46:26 +02:00
Drew Hess
fbb068dcc4 haskellPackages.cryptonite: re-enable tests.
This has been fixed since cryptonite-0.7:

https://github.com/haskell-crypto/cryptonite/issues/28

cryptonite is also no longer listed in expected-test-failures in
Stackage.

(cherry picked from commit c8a59e8453)
Backport of #48485
2018-10-15 23:46:08 +02:00
Eelco Dolstra
b5380ae736 ec2-amis.nix: Add 18.09 images
(cherry picked from commit 47dfe25e1b)
2018-10-15 22:52:23 +02:00
Wael M. Nasreddine
f935d5ba86 easyrsa: add support for darwin
(cherry picked from commit 1828799f47)
2018-10-15 20:28:18 +02:00
Florian Jacob
38f5b076d7 gitea: 1.5.1 -> 1.5.2
(cherry picked from commit 0a5c7cf512)
2018-10-15 19:58:46 +02:00
Jörg Thalheim
c15e342304 Merge pull request #48469 from Lassulus/df-18.09
[18.09] fix dwarf fortress package
2018-10-15 18:20:41 +01:00
Graham Christensen
1f50fc2bc5 Merge pull request #48468 from Ekleog/release-notes-backport
release-notes/18-09: add licenses marked as unfree
2018-10-15 13:17:24 -04:00
lassulus
12847b9043 dwarf-fortress: fix build error
(cherry picked from commit 0d57159eca)
2018-10-15 17:28:22 +02:00
Morgan Jones
35beccebbf Inline JSON files
(cherry picked from commit 213b5457fc)
2018-10-15 17:28:18 +02:00
Morgan Jones
0f3b98a39c Update twbt to 6.54
(cherry picked from commit 2cd2571edd)
2018-10-15 17:28:14 +02:00
Morgan Jones
982080d18b Use stdenv.mkDerivation for Therapist wrapper
(cherry picked from commit 5f1013d875)
2018-10-15 17:28:11 +02:00
Morgan Jones
811d52713e Fix dangling DFHack "Git:" version text
(cherry picked from commit 870f05c975)
2018-10-15 17:28:07 +02:00
Morgan Jones
99b1a44ab3 Therapist needs to depend on the DF version, since it uses its MD5
(cherry picked from commit fe847fcc92)
2018-10-15 17:28:03 +02:00
Morgan Jones
aa12b85056 Let the user override dfVersion in dwarf-fortress-full
(cherry picked from commit 7a5521537a)
2018-10-15 17:27:59 +02:00
Morgan Jones
5f563479b2 Fix dfhack's Dwarf Fortress MD5 in the correct environment
(cherry picked from commit f14d3b4795)
2018-10-15 17:27:55 +02:00
Morgan Jones
d66a253aad dwarf-fortress: Support multiple unfuck/dfhack/TWBT versions
(cherry picked from commit 4ada74e293)
2018-10-15 17:27:51 +02:00
Aaron VonderHaar
13e6a3e41a elm-format: 0.8.0 -> 0.8.1
(cherry picked from commit 67f58eee5e)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-10-15 16:12:52 +01:00
Léo Gaspard
3b65a51174 release-notes/18-09: add licenses marked as unfree
(cherry picked from commit 2a2c99673b)
2018-10-16 00:07:45 +09:00
Lancelot SIX
c6494972c1 pythonPackages.django_2_1: 2.1.1 -> 2.1.2
See https://docs.djangoproject.com/en/2.1/releases/2.1.2/

(cherry picked from commit 50ad0f2cc7)
2018-10-15 15:09:13 +02:00
Lancelot SIX
145076a41f pythonPackages.django_2_1: 2.0.8 -> 2.0.9
See https://docs.djangoproject.com/en/2.0/releases/2.0.9/

(cherry picked from commit cd902644bf)
2018-10-15 15:08:10 +02:00
Lancelot SIX
7d19c136e9 pythonPackages.django: 1.11.15 -> 1.11.16
See https://docs.djangoproject.com/en/1.11/releases/1.11.16/

(cherry picked from commit 95a040f9b6)
2018-10-15 15:07:31 +02:00
Jörg Thalheim
ae16537bf8 Merge pull request #48437 from rnhmjoj/shell-conduit-backport
haskellPackages.shell-conduit: fix build
2018-10-15 11:02:28 +01:00
rnhmjoj
2334e37f5a haskellPackages.shell-conduit: fix build
(cherry picked from commit 096be6d941)
Reason: the package is broken in NixOS stable.
2018-10-15 11:24:56 +02:00
Samuel Dionne-Riel
c06f5302f6 dbeaver: 5.2.1 -> 5.2.2 (#48442)
(cherry picked from commit 22c12da8aa)
2018-10-15 08:09:55 +02:00
Ambroz Bizjak
195a573cc8 nixos/xserver: Implement configuration of NVIDIA Optimus via PRIME
This adds configuration options which automate the configuration of NVIDIA Optimus using PRIME. This allows using the NVIDIA proprietary driver on Optimus laptops, in order to render using the NVIDIA GPU while outputting to displays connected only to the integrated Intel GPU. It also adds an option for enabling kernel modesetting for the NVIDIA driver (via a kernel command line flag); this is particularly useful together with Optimus/PRIME because it fixes tearing on PRIME-connected screens.

The user still needs to enable the Optimus/PRIME feature and specify the bus IDs of the Intel and NVIDIA GPUs, but this is still much easier for users and more reliable. The implementation handles both the X configuration file as well as getting display managers to run certain necessary `xrandr` commands just after X has started.

Configuration of commands run after X startup is done using a new configuration option `services.xserver.displayManager.setupCommands`. Support for this option is implemented for LightDM, GDM and SDDM; all of these have been tested with this feature including logging into a Plasma session.

Note: support of `setupCommands` for GDM is implemented by making GDM run the session executable via a wrapper; the wrapper will run the `setupCommands` before execing. This seemed like the simplest and most reliable approach, and solves running these commands both for GDM's X server and user X servers (GDM starts separate X servers for itself and user sessions). An alternative approach would be with autostart files but that seems harder to set up and less reliable.

Note that some simple features for X configuration file generation (in `xserver.nix`) are added which are used in the implementation:
- `services.xserver.extraConfig`: Allows adding arbitrary new sections. This is used to add the Device section for the Intel GPU.
- `deviceSection` and `screenSection` within `services.xserver.drivers`. This allows the nvidia configuration module to add additional contents into the `Device` and `Screen` sections of the "nvidia" driver, and not into such sections for other drivers that may be enabled.
2018-10-14 20:06:12 -05:00
Tycho Grouwstra
320499ca33 skypeforlinux: 8.28.0.41 -> 8.32.0.44 (#48391)
* skypeforlinux: 8.28.0.41 -> 8.32.0.44

Fixes 404 on https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_8.28.0.41_amd64.deb, as only [more recent versions](https://repo.skype.com/deb/pool/main/s/skypeforlinux/) are still available, as previously noted at #31047. Avoiding `x.y.76.z` releases as per the comment.

* update sha256

(cherry picked from commit 72128fcd9d)
2018-10-15 01:11:12 +03:00
Jörg Thalheim
9345561c18 rambox: 0.5.17 -> 0.6.1
(cherry picked from commit a25e765dc9)
2018-10-14 20:52:40 +01:00
Tim Steinbach
08005ede0f fail2ban: 0.10.3.1 -> 0.10.4
(cherry picked from commit 2a4bfe20d5aa2709c40f4b1d2bf55b34d3131144)
2018-10-14 10:27:15 -04:00
Jörg Thalheim
970b2937f6 Merge pull request #48377 from bgamari/cross-fixes-for-18.09
Cross fixes for 18.09
2018-10-14 09:10:26 +01:00
volth
eb1dc551af bootStage1: fix cross build (@matthewbauer's solution)
(cherry picked from commit b3dff39105)
2018-10-14 02:03:23 -04:00
volth
e1fbfca6e0 bootStage1: fix cross build
(cherry picked from commit 9dd5dc57a7)
2018-10-14 02:03:18 -04:00
Tim Steinbach
d96c7a3563 linux: 4.18.13 -> 4.18.14
(cherry picked from commit 0ba1f0aa72)
2018-10-13 12:46:01 -04:00
Tim Steinbach
d001ddcdca linux: 4.14.75 -> 4.14.76
(cherry picked from commit 43d8a40653)
2018-10-13 12:46:00 -04:00
Tim Steinbach
766d135c1f linux: 4.9.132 -> 4.9.133
(cherry picked from commit b4d4affe41)
2018-10-13 12:46:00 -04:00
Tim Steinbach
1b3c777a97 linux: 4.4.160 -> 4.4.161
(cherry picked from commit 3ad8afbf3e)
2018-10-13 12:46:00 -04:00
Franz Pletz
aa25fb3de4 wireguard: 0.0.20181006 -> 0.0.20181007
(cherry picked from commit 97d2779059)
2018-10-13 15:49:51 +02:00
Yegor Timoshenko
9787b0c11d wireguard-go: 0.0.20180613 -> 0.0.20181001
(cherry picked from commit fed0a4ec94)
2018-10-13 15:49:45 +02:00
Yegor Timoshenko
ce2715b2f6 wireguard: 0.0.20180925 -> 0.0.20181006
(cherry picked from commit 011a463d17)
2018-10-13 15:49:39 +02:00
Ben Challenor
a95db4c83e jenkins: 2.138.1 -> 2.138.2
(cherry picked from commit 88e7d7b350)
2018-10-13 14:13:01 +02:00
Justin Humm
ae53ed9d36 haskellPackages.arbtt: unbreak with jailbreak
(cherry picked from commit a01cab05c6)
Backport of #48000
2018-10-13 12:52:47 +02:00
Daiderd Jordan
a326dad536 reattach-to-user-namespace: 2.6 -> 2.7
Adds macOS Mojave (10.14) support.

(cherry picked from commit 42088e08b3)
2018-10-13 11:56:45 +02:00
Frederik Rietdijk
1d61c41646 python.pkgs.pip: 18.0 -> 18.1
(cherry picked from commit 474c78a3e5)
2018-10-13 10:35:21 +02:00
Frederik Rietdijk
de7a2df9cf python.pkgs.bootstrapped-pip: update pip, setuptools and wheel
(cherry picked from commit b05a5969fc)
2018-10-13 10:35:13 +02:00
Ben Wolsieffer
6306db4f77 pythonPackages.autobahn: use checkInputs
(cherry picked from commit 1c3f7302fa)
2018-10-13 10:34:36 +02:00
Frederik Rietdijk
c918e051aa pythonPackages.autobahn: run hooks
(cherry picked from commit b75ea627c6)
2018-10-13 10:34:26 +02:00
Frederik Rietdijk
284a1283e7 pythonPackages.pytest.setupHook: run in correct phase
It was reported that the 2nd solution wasn't working as expected because
it was ran in the wrong phase.

This commit creates a new phase, in between the installCheckPhase and distPhase.

(cherry picked from commit 20a4a4b593)
2018-10-13 10:34:04 +02:00
Samuel Dionne-Riel
03bf8cd487 lib/types: enhances separatedString's description
The previous description "string" is misleading in the full options
manual pages; they are actually concatenated strings, with a specific
character.

The empty string version ("types.string") has been special-cased to
provide a better message.

(cherry picked from commit 0808c7cd31)
2018-10-12 19:57:59 -04:00
Alexander V. Nikolaev
29b9fee3fc nixos/rmilter: don't enable by default, if rspamd enabled
(cherry picked from commit b61dd2bcb7)
2018-10-12 23:54:13 +01:00
Graham Christensen
c8342644cf nixpkgs docs: document recursivelyUpdate
(cherry picked from commit 0eb3b93e1a)
2018-10-12 16:55:18 -04:00
Graham Christensen
c30b39cfb1 nixpkgs docs: document recursivelyUpdateUntil
(cherry picked from commit c100a456b1)
2018-10-12 16:55:18 -04:00
Graham Christensen
1682621057 nixpkgs docs: document zipAttrs
(cherry picked from commit 77140a9075)
2018-10-12 16:55:18 -04:00
Graham Christensen
a02495dd47 nixpkgs docs: document zipAttrsWith
(cherry picked from commit 655a5fa8bf)
2018-10-12 16:55:17 -04:00
Graham Christensen
66ce692e62 nixpkgs docs: Clarify zipAttrsWithNames's docs
(cherry picked from commit 4edb31882c)
2018-10-12 16:55:17 -04:00
Graham Christensen
b8f712ef61 nixpkgs docs: document zipAttrsWithNames
(cherry picked from commit 3b3bde463b)
2018-10-12 16:07:14 -04:00
Graham Christensen
8b02f90f3a nixpkgs docs: document optionalAttrs
(cherry picked from commit e0c6981d19)
2018-10-12 16:07:14 -04:00
Graham Christensen
3736fcdc64 nixpkgs docs: document toDerivation
(cherry picked from commit c547c3fe82)
2018-10-12 16:07:13 -04:00
Graham Christensen
1280a227f3 nixpkgs docs: document isDerivation
(cherry picked from commit f85a4ba9c3)
2018-10-12 16:07:13 -04:00
Graham Christensen
16c53e041b nixpkgs docs: document genAttrs
(cherry picked from commit ef05e1057b)
2018-10-12 16:07:13 -04:00
Graham Christensen
27b549342b nixpkgs docs: document mapAttrsRecursiveCond
(cherry picked from commit d664b8f5e3)
2018-10-12 16:07:12 -04:00
Graham Christensen
45dbf83bbc nixpkgs docs: finish up mapAttrsRecursive
(cherry picked from commit e7549b96ad)
2018-10-12 16:07:12 -04:00
Léo Gaspard
14bb2f42bf nheko: mark as insecure (#48281)
The package is no longer maintained and includes potential security
vulnerabilities (a use-after-free and several crashes) that are known
and not fixed in the version present in nixpkgs. They don't look too bad
judging from the trigger vectors mentioned in the changelog, but with
the project going unmaintained one of them becoming a security
vulnerability would likely not be noticed.

(cherry picked from commit ad992cbde1)
2018-10-12 21:29:24 +02:00
Victor SENE
2c5f94b836 nixos/emby : delete programData hardcode in pkg
(cherry picked from commit 751c64754f)
2018-10-12 16:57:01 +02:00
Victor SENE
ec61247898 nixos/emby : use the dataDir option
(cherry picked from commit 7d43e2a861)
2018-10-12 16:57:01 +02:00
nyanloutre
ca20a042cd nixos/emby: fixes binary name change introduced by #47659
(cherry picked from commit bb06b5b442)
2018-10-12 16:57:00 +02:00
nyanloutre
3f8c202c46 emby: move lib to opt
(cherry picked from commit c2e269ea05)
2018-10-12 16:56:59 +02:00
nyanloutre
36f064d341 emby: move usr/lib to lib
(cherry picked from commit 9ec17c6318)
2018-10-12 16:56:59 +02:00
nyanloutre
04d75db258 emby: add sqlite to wrapper
(cherry picked from commit f7a2e2025f)
2018-10-12 16:56:58 +02:00
nyanloutre
ef311d5c76 WIP emby: 3.5.2.0 -> 3.5.3.0
(cherry picked from commit 6e8da1ddf0)
2018-10-12 16:56:58 +02:00
worldofpeace
c2638ddfc9 emby: 3.4.1.0 -> 3.5.2.0
(cherry picked from commit bd02b3352a)
2018-10-12 16:56:57 +02:00
worldofpeace
cfd6ace6bf nixos/emby: ensure plugins are writeable
(cherry picked from commit a16c6d85a1)
2018-10-12 16:56:57 +02:00
Nick Novitski
d308e698f9 fastlane: disable update check
(cherry picked from commit 63ed3c8c5e)
2018-10-12 14:30:19 +01:00
Will Dietz
b72998bbfc chromium: update to 69.0.3497.100 (and others), ran update.sh
(cherry picked from commit ce6db5e36e)
2018-10-12 15:01:06 +02:00
Uli Baum
589d270ce4 nixos/network-interfaces-scripted: fix container networking bug
When a bridge interface was reconfigured, running containers using
this bridge lost connectivity: restarting network-addresses-brN.service
triggered a restart of network-setup.service via a "partOf" relationship
introduced in 07e0c0e0a2.
This in turn restarted brN-netdev.service.
The bridge was thus destroyed and recreated with the same name but a new
interface id, causing attached veth interfaces to lose their connection.

This change removes the "partOf" relationship between
network-setup.service and network-addresses-brN.service for all bridges.

(cherry picked from commit 2742063677)
2018-10-12 10:50:52 +02:00
Periklis Tsirakidis
c0c867ddb7 minikube: bump version 0.29.0 -> 0.30.0
This is a fix release for CVE-2018-1002103. More details in
https://github.com/kubernetes/minikube/issues/3208

(cherry picked from commit e5ee89f758)
Backport of #48256
2018-10-12 10:48:59 +02:00
Vincent Demeester
c0c5ea193f minikube: 0.28.1 -> 0.29.0
Hard-code kubernetes version as the upstream python script is broken/not-up-to-date

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit ba98a7aea1)
Backport of #47765
2018-10-12 10:33:06 +02:00
taku0
3cff2fbc0a oraclejdk: deprecate oraclejdk 10
(cherry picked from commit 628fa1d50f)
2018-10-12 00:06:57 +02:00
Franz Pletz
e6630c9f90 Merge pull request #48237 from andir/18.09/apacheHttpd
[18.09] apacheHttpd: 2.4.34 -> 2.4.35
2018-10-11 21:51:29 +00:00
R. RyanTM
d720d5f697 apacheHttpd: 2.4.34 -> 2.4.35
Picked from master since it fixes CVE-2018-11763 which allows a remote
DoS against a server with HTTP/2 enabled.

Reference: https://lists.apache.org/thread.html/d435b0267a76501b9e06c552b20c887171064cde38e46d678da4d3dd@%3Cannounce.httpd.apache.org%3E

(cherry picked from commit 524c2120f9)
2018-10-11 23:09:10 +02:00
Silvan Mosberger
b97b32cf1d Merge pull request #48227 from Infinisil/issue-46038
[18.09] nix-daemon service: Ensure `ssh` is on PATH. Fixes #46038.
2018-10-11 22:18:15 +02:00
Niklas Hambüchen
6e2c08b68c nix-daemon service: Ensure ssh is on PATH. Fixes #46038.
This fixes a regression introduced in commit
  700e21d6da

nix needs ssh on path for the SSH substituter functionality,
not only the distributed builds functionality.

Signed-off-by: Niklas Hambüchen <mail@nh2.me>
(cherry picked from commit 31919bce6b)
2018-10-11 21:53:00 +02:00
Andrew Childs
47bf3f3d3f xorg: don't splice scope attributes into main package set 2018-10-11 15:03:07 -04:00
Andrew Childs
fb9604c4b7 xorg: simplify argument passing into xorg and overrides 2018-10-11 15:03:06 -04:00
Silvan Mosberger
b91cb0607d Merge pull request #48220 from prusnak/backport_nm_plugins
openvpn plugins: use absolute paths to configuration gui
2018-10-11 20:53:34 +02:00
John Ericson
b413cfd3ff Merge pull request #48221 from obsidiansystems/versatile-__splicedPackages
__splicedPackages: Don't include xorg for 18.09
2018-10-11 13:54:25 -04:00
Michael Raskin
1a75f83903 Merge pull request #48189 from aanderse/redmine
redmine: refactor, cleanup, bug fix, and add functionality
(cherry picked from commit a29603344a)
2018-10-11 20:53:00 +03:00
Andrew Childs
0e12683470 xorg: add caching to generate-expr-from-tarballs.pl 2018-10-11 13:41:27 -04:00
Andrew Childs
9454f71fef xorg: allow overriding via overrideScope 2018-10-11 13:41:27 -04:00
Andrew Childs
08049025a3 xorg: sync source lists with default.nix 2018-10-11 13:41:27 -04:00
Symphorien Gibol
a582a32e24 openvpn plugins: use absolute paths to configuration gui
(cherry picked from commit 5bfe8bfcea)
2018-10-11 19:28:02 +02:00
John Ericson
dc214ed99b __splicedPackages: Don't include xorg
For historical reasons, callPackage has the xorg packages in scope. This
unstable building block is more versatile without the xorg hack baked in.
2018-10-11 13:27:31 -04:00
zimbatm
8d9756ef56 vault: 0.11.1 -> 0.11.2
changelog: https://github.com/hashicorp/vault/blob/v0.11.2/CHANGELOG.md
(cherry picked from commit 0bcbb97879)
2018-10-11 18:28:26 +02:00
John Ericson
5fdfc6f4ae Merge pull request #48216 from LumiGuide/fix-overrideScope-warning
lib: fix wording of the `overrideScope` warning
(cherry picked from commit 041119528c)
2018-10-11 12:04:44 -04:00
WilliButz
2cae2b9a84 nixos/tests: add test for prometheus exporters
(cherry picked from commit 0febc64ed1)
2018-10-11 16:00:02 +02:00
WilliButz
7277b1d908 nixos/prometheus-exporters: fix unapplied service config
Prior to this commit, the default values for `Restart`, `PrivateTmp` and
`WorkingDirectory` were falsely ignored.

I also added myself as maintainer.

(cherry picked from commit fbb7e0c82f)
2018-10-11 16:00:01 +02:00
WilliButz
59940fbcd6 nixos/prometheus-varnish-exporter: avoid crash on restart
(cherry picked from commit 24320f4a9e)
2018-10-11 16:00:00 +02:00
Pavol Rusnak
a8ad1fbe92 spotify: fix icon
(cherry picked from commit 33171befdb)
2018-10-11 15:24:26 +02:00
Franz Pletz
6d6bc0a58c equilux-theme: init at 20180927
(cherry picked from commit 6892cbce09)
2018-10-11 14:14:39 +02:00
Franz Pletz
97ba5aac8d xsecurelock: hardcode path to xset
(cherry picked from commit c04e6e04e2)
2018-10-11 14:14:36 +02:00
Jörg Thalheim
85b269a5d5 alacritty: 0.2.0 -> 0.2.1
(cherry picked from commit 3bc454fda7)
2018-10-11 11:14:42 +01:00
Tim Steinbach
42725274ef linux: 4.18.12 -> 4.18.13
(cherry picked from commit cf440dae56)
2018-10-10 19:57:12 -04:00
Tim Steinbach
f5bd6040ee linux: 4.14.74 -> 4.14.75
(cherry picked from commit fab0c8824a)
2018-10-10 19:57:10 -04:00
Tim Steinbach
a3a6780a52 linux: 4.9.131 -> 4.9.132
(cherry picked from commit 8f9743d2b7)
2018-10-10 19:57:07 -04:00
Tim Steinbach
515f4a7522 linux: 4.4.159 -> 4.4.160
(cherry picked from commit 33b68f8768)
2018-10-10 19:57:05 -04:00
xeji
3997e8d617 flashplayer: 31.0.0.108 -> 31.0.0.122 (#48126)
previous version was removed upstream (404)

(cherry picked from commit bde4483d13)
2018-10-10 23:50:09 +02:00
Daniël de Kok
cbf6eede26 resilio-sync: 2.6.0 -> 2.6.1 (#47973)
Changelog: https://help.resilio.com/hc/en-us/articles/206216855-Sync-2-x-change-log
(cherry picked from commit 632ae0502e)
2018-10-10 23:47:38 +02:00
Dmitry Kalinkin
abd6a5bff3 dia: fix on darwin (#48176)
Fixes runtime error:
  GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported

(cherry picked from commit c047572a17)
2018-10-10 23:21:05 +02:00
Justin Humm
d60bd3f681 ja2-stracciatella: fix build due to #47709 2018-10-10 21:55:45 +02:00
Kristoffer Thømt Ravneberg
71f195761f gitlab-ee: Add ee rubyEnv, fixes regression introduced by 11.3.0 in #45574
(cherry picked from commit 0083ca1266)
2018-10-10 21:41:21 +02:00
Kristoffer Thømt Ravneberg
0d110efa2b gitlab: 11.2.3 -> 11.3.4
(cherry picked from commit d837338d6b)
2018-10-10 21:41:21 +02:00
Kristoffer Thømt Ravneberg
dbd9fed2fb gitlab-workhorse: 6.1.0 -> 6.1.1, make build deterministic
(cherry picked from commit 998d4e4e2c)
2018-10-10 21:41:20 +02:00
Kristoffer Thømt Ravneberg
e86dd58b29 gitaly: 0.117.2 -> 0.120.0
(cherry picked from commit 908a75a3ae)
2018-10-10 21:41:20 +02:00
Andreas Rammhold
c7e72a70f0 Merge pull request #48125 from andir/18.09/net_snmp
[18.09] net_snmp: fix CVE-2018-18065
2018-10-10 21:05:19 +02:00
Justin Humm
5647e9ae4e buildRustPackage: fix regex for separating lib and bin
E.g. exa was wrongly put into /lib, as it matches

  .*.a

but not

  .*\.a

(cherry picked from commit 64d0676fe1)
2018-10-10 19:34:49 +02:00
Silvan Mosberger
2bafa93b75 haskellPackages.*.env: Use shellFor 2018-10-10 08:46:39 -04:00
Silvan Mosberger
08814b72cf haskellPackages.shellFor: Clean and fixup
- Now correctly sets NIX_GHC* env vars
2018-10-10 08:46:39 -04:00
Silvan Mosberger
fdaa426452 haskell.lib.getBuildInputs: Use generic builder passthru to implement 2018-10-10 08:46:39 -04:00
Eelco Dolstra
4dd9cd3f69 libqtav: Reduce closure size from 734 to 457 MiB
(cherry picked from commit cd3a0b7f38)
2018-10-10 13:28:22 +02:00
Eelco Dolstra
f8e3e22055 marble: Add dev output
(cherry picked from commit 13c1f26807)
2018-10-10 13:28:03 +02:00
Eelco Dolstra
a1dc97e7ba digikam: libGLU_combined -> libGL + libGLU
This prevents a runtime dependency on a large number of -dev outputs.

(cherry picked from commit a3382a85b3)
2018-10-10 13:28:00 +02:00
Eelco Dolstra
70647250bb opencv3: Reduce closure size from 520 to 154 MiB
(cherry picked from commit c8a2533516)
2018-10-10 13:27:12 +02:00
Eelco Dolstra
e11239eb6d thunderbird: Remove buildconfig
This reduces the closure size from 1689 MiB to 425 MiB.

(cherry picked from commit 2be42950c3)
2018-10-10 13:26:45 +02:00
Eelco Dolstra
0465040d06 qtgraphicaleffects: Add dev output
This shrank my system closure by about 192 MiB.

(cherry picked from commit 9bbd4f653f)
2018-10-10 13:26:40 +02:00
Eelco Dolstra
fd1e5b2550 lsof: Don't record compiler flags / build kernel
This removed glibc.dev from the closure and improves binary
reproducibility.

(cherry picked from commit 1eff910a15)
2018-10-10 13:26:20 +02:00
Matthew Bauer
1c3945ad25 nfs-utils: properly strip system-generators
nfs-utils had a dependency on gcc through
etc/systemd/system-generators/*-server-generator. It was not stripped
correctly because it’s not in an expected path. This adds it to the
strip list.

(cherry picked from commit 1427c50cea)
2018-10-10 13:25:43 +02:00
Eelco Dolstra
383bbb9626 git: Strip libsecret
This reduces gitFull's closure size from 412 MiB to 271 MiB.

(cherry picked from commit 7b9c4954f2)
2018-10-10 13:25:09 +02:00
Samuel Dionne-Riel
8cfce968b1 nixos/doc: Actually fix partitioning instructions.
The previous tentative to the fix got the order mixed up a bit. This
new fix has been re-verified to get them in the good order as per the
instructions in the following chapters.

(cherry picked from commit 467bec34bb)
2018-10-09 23:02:00 -04:00
lassulus
c93665d440 nixos/gnome3: don't autoenable gdm
This seems to cause problems if people have other display-managers
enabled

(cherry picked from commit 5a752ad879)
2018-10-09 23:31:04 +01:00
Vincent Ambo
59fe4c7f17 journaldriver: 1.0.0 -> 1.1.0 (#48106)
Included changes:

* upstream repository has moved, URLs changed accordingly
* journaldriver bumped to new upstream release

The new release includes an important workaround for an issue that
could cause log-forwarding to fail after service restarts due to
invalid journal cursors being persisted.

(cherry picked from commit 5ead27394d)

backported because of moved upstream repo
2018-10-09 23:46:38 +02:00
Andreas Rammhold
9bf0cd9ccb net_snmp: fix CVE-2018-18065
(cherry picked from commit 2f7c242953)
2018-10-09 23:09:04 +02:00
Gabriel Ebner
de37b4c18c vdirsyncer: fix build
I'm not entirely sure what's going on here.  The exact same code works
on master.
2018-10-09 13:25:11 +02:00
Erlend Pedersen
df6d40feb6 kbd: Rename some keymaps.
From upstream kbd, some keymap names are reused across very different
keyboard layouts. This is a a problem because loadkeys just picks the
first keymap it sees. The clashing names lead to e.g.  "loadkeys no"
defaulting to a norwegian dvorak map instead of the much more common
qwerty one.

Used Arch Linux's list of keymaps that need renaming, with a small
deviation: the norwegian dvorak map becomes dvorak-no instead of
no-dvorak, to match the naming scheme for all the other dvorak maps.

fixes #47878

(cherry picked from commit f1987fb58f)
2018-10-09 08:19:44 +01:00
Tim Steinbach
01762972be sbt: 1.2.3 -> 1.2.4
(cherry picked from commit 844bcbd137)
2018-10-08 20:14:08 -04:00
Arian van Putten
1ada6fcde1 nixos/containers: Add regression test for #40355
(cherry picked from commit 0668906e84)
2018-10-08 17:00:33 -04:00
Arian van Putten
cf9b801b60 Revert "Revert "Revert "doc: Update section about imperative containers"""
nixos-container can now execute nix commands again inside the container

This reverts commit 9622cd3b38.

(cherry picked from commit bb31835b1d)
2018-10-08 17:00:33 -04:00
Arian van Putten
76c1cd35d0 nixos-container: Force container to talk to host nix-daemon
When logging into a container by using
  nixos-container root-login
all nix-related commands in the container would fail, as they
tried to modify the nix db and nix store, which are mounted
read-only in the container.  We want nixos-container to not
try to modify the nix store at all, but instead delegate
any build commands to the nix daemon of the host operating system.

This already works for non-root users inside a nixos-container,
as it doesn't 'own' the nix-store, and thus defaults
to talking to the daemon socket at /nix/var/nix/daemon-socket/,
which is bind-mounted to the host daemon-socket, causing all nix
commands to be delegated to the host.

However, when we are the root user inside the container, we have the
same uid as the nix store owner, eventhough it's not actually
the same root user (due to user namespaces). Nix gets confused,
and is convinced it's running in single-user mode, and tries
to modify the nix store directly instead.

By setting `NIX_REMOTE=daemon` in `/etc/profile`, we force nix
to operate in multi-user mode, so that it will talk to the host
daemon instead, which will modify the nix store for the container.

This fixes #40355

(cherry picked from commit 3624bb5362)
2018-10-08 17:00:33 -04:00
Linus Heckemann
d0b24be55d debian vm tools: use snapshot.debian.org
snapshot.debian.org actually keeps track of all of the updates as they
come in rather than doing arbitrary (?) snapshots.

(cherry picked from commit 9cc18fa7f9)
2018-10-08 17:34:41 +01:00
Vladimír Čunát
3cee341f06 Merge branch 'staging-18.09' into release-18.09 2018-10-08 17:14:59 +02:00
pacien
21293d2576 tinc: 1.0.34 -> 1.0.35, 1.1pre16 -> 1.1pre17
Critical security update (CVE-2018-16737, CVE-2018-16738, CVE-2018-16758)

(cherry picked from commit 15a190eb27)
2018-10-08 17:04:13 +02:00
Rob Vermaas
1eb1fec3ae Fix build for rPackages.units 2018-10-08 12:53:07 +02:00
Vladimír Čunát
3ab942ef67 openssh: fix tunnel forwarding (upstream patch)
Close #48031, fixes #48016.  I didn't use the PR commit
because I think it's better to fetch the patch.

(cherry picked from commit c2e6ca501e)
2018-10-08 12:06:06 +02:00
Vladimír Čunát
41cc5c414b Merge branch 'release-18.09' into staging-18.09 2018-10-08 12:05:59 +02:00
Ben Gamari
2fdba72c05 qpdf: Drop CVE-2018-9918.patch (#47935)
This has been merged upstream in 8.2.1.

(cherry picked from commit 58a02af417)
2018-10-08 08:41:53 +02:00
lassulus
617607e043 charybdis service: bin/charybdis-ircd -> bin/charybdis
(cherry picked from commit 99c8dc4a11)
2018-10-07 20:44:43 +01:00
Andreas Rammhold
76e4d162ab Merge pull request #48014 from schmittlauch/backport-tbb-bin-8.0.2
backport tor-browser-bundle-bin minor update
2018-10-07 20:05:25 +02:00
Andreas Rammhold
34eb9f7d10 backport tor-browser-bundle-bin minor update
tor-browser-bundle-bin: 8.0.1 -> 8.0.2

Update to latest version due to security updates and 8.0.1 not being
available on the mirrors anymore.

Release notes: https://blog.torproject.org/new-release-tor-browser-802

(cherry picked from commit 248ed3575c)

reason: The binary dist-file of tor-browser-bundle-bin-8.0.2 is gone
from the mirrors, making the derivation for v8.0.1 fail.
This is just a minor version bump.
2018-10-07 19:25:24 +02:00
Alex Leferry 2
5cc757117d cool-retro-term: Fix link to home page
(cherry picked from commit 82b2b9135a)
2018-10-07 11:56:23 +01:00
Justin Humm
45c83d91b8 borgbackup: patch bug that allowed for exceeding quotas
See also https://github.com/borgbackup/borg/issues/4093 for this.

(cherry picked from commit 0cfc923813)
2018-10-07 11:53:54 +01:00
Andrew Childs
2b3b607ea9 nixos/prometheus-snmp-exporter: fix command line argument format
(cherry picked from commit c477d6658c)
2018-10-07 11:50:35 +01:00
Chris Hodapp
090f5e0955 gdal: Add libxml2 to build
(cherry picked from commit 4af38a2516)
Backport of #47972
2018-10-07 10:00:50 +02:00
Samuel Dionne-Riel
be47bab9e4 nano: 3.0 -> 3.1
(cherry picked from commit 65eb3e38e8)
Backport of #47991
2018-10-07 09:56:17 +02:00
Samuel Dionne-Riel
f4bb9c421f Merge pull request #47956 from samueldr/18.09/backport-46443
[backport] Miniupnpd and bittorrent improvements (#46443)
2018-10-06 12:27:07 -04:00
schneefux
299814b385 nodePackages.webtorrent-cli: add node-gyp dependency, fixes build
(cherry picked from commit ce4072c662)
2018-10-06 16:41:03 +01:00
Jaka Hudoklin
9eb724f85e telepresence: 0.85 -> 0.93 (#47966)
(cherry picked from commit a134b9a3dd)

backported because previouse version failed to build
2018-10-06 15:22:20 +02:00
Andreas Rammhold
98e6fa3738 firefox: provide clang configure flags on i686
With the upgrade to firefox 62 clang flags are now required on i686.

(cherry picked from commit acf4a4eff3)
2018-10-06 10:43:58 +02:00
Andreas Rammhold
f26df1572d firefox-esr-52: mark as unsupported
The ESR release is no longer supported by Mozilla. We should mark it as
insecure as we did on 18.03 and master.

Originally marked as insecure on master in 0a3f07077b.
2018-10-06 10:42:10 +02:00
Jörg Thalheim
c7dc01c287 Merge pull request #47952 from samueldr/auto/dbeaver/nixos-18.09/5.2.1
dbeaver: 5.2.0 -> 5.2.1 (18.09)
2018-10-06 08:03:17 +01:00
Florian Klink
dbcbf7cce8 ghostscript: 9.24 -> 9.25 (#47948)
Highlights in this release include:

This release fixes problems with argument handling, some unintended results of the security fixes to the SAFER file access restrictions (specifically accessing ICC profile files), and some additional security issues over the recent 9.24 release.

CVE-2018-16802
CVE-2018-17183

Note: The ps2epsi utility does not, and cannot call Ghostscript with the -dSAFER command line option. It should never be called with input from untrusted sources.

Security issues have been the primary focus of this release, including solving several (well publicised) real and potential exploits.
PLEASE NOTE: We strongly urge users to upgrade to this latest release to avoid these issues.

As well as Ghostscript itself, jbig2dec has had a significant amount of work improving its robustness in the face of out specification files.

IMPORTANT: We are in the process of forking LittleCMS. LCMS2 is not thread safe, and cannot be made thread safe without breaking the ABI. Our fork will be thread safe, and include performance enhancements (these changes have all be been offered and rejected upstream). We will maintain compatibility between Ghostscript and LCMS2 for a time, but not in perpetuity. Our fork will be available as its own package separately from Ghostscript (and MuPDF).

The usual round of bug fixes, compatibility changes, and incremental improvements.

(cherry picked from commit 5b77b0d2f1)
2018-10-06 08:47:09 +02:00
Bob van der Linden
fc8769dbfc tests: bittorrent: add bobvanderlinden as maintainer
(cherry picked from commit 5fbc521bf9)
2018-10-06 00:36:38 -04:00
Bob van der Linden
b453212005 tests: bittorrent: improve stability
This attempts to improve stability of the test by using existing
services for miniupnpd and transmission.

It also uses explicit addresses for the network interfaces so that the
external IP addresses are valid internet addresses (thus fixing
validation problems from upnpc).

Also disable eth0 from being used to transfer torrents over without that
being the intention.

(cherry picked from commit 276ffc5656)
2018-10-06 00:36:38 -04:00
Bob van der Linden
3ab4c76382 tests: upnp: init test for upnp using miniupnpd / miniupnpc
(cherry picked from commit 32c63c6905)
2018-10-06 00:36:38 -04:00
Bob van der Linden
4342bdd79d nixos: miniupnpd: use iptables scripts
(cherry picked from commit d3eff01076)
2018-10-06 00:36:37 -04:00
Bob van der Linden
9dc6bdcc09 miniupnpd: wrap iptables scripts to use correct PATH
(cherry picked from commit 2039327879)
2018-10-06 00:36:37 -04:00
Samuel Dionne-Riel
8810238efa dbeaver: 5.2.0 -> 5.2.1
(cherry picked from commit 2012860e7e)
2018-10-05 22:37:28 -04:00
881 changed files with 28397 additions and 10649 deletions

View File

@@ -37,29 +37,29 @@
<example xml:id='ex-dockerTools-buildImage'>
<title>Docker build</title>
<programlisting>
buildImage {
name = "redis"; <co xml:id='ex-dockerTools-buildImage-1' />
tag = "latest"; <co xml:id='ex-dockerTools-buildImage-2' />
buildImage {
name = "redis"; <co xml:id='ex-dockerTools-buildImage-1' />
tag = "latest"; <co xml:id='ex-dockerTools-buildImage-2' />
fromImage = someBaseImage; <co xml:id='ex-dockerTools-buildImage-3' />
fromImageName = null; <co xml:id='ex-dockerTools-buildImage-4' />
fromImageTag = "latest"; <co xml:id='ex-dockerTools-buildImage-5' />
fromImage = someBaseImage; <co xml:id='ex-dockerTools-buildImage-3' />
fromImageName = null; <co xml:id='ex-dockerTools-buildImage-4' />
fromImageTag = "latest"; <co xml:id='ex-dockerTools-buildImage-5' />
contents = pkgs.redis; <co xml:id='ex-dockerTools-buildImage-6' />
runAsRoot = '' <co xml:id='ex-dockerTools-buildImage-runAsRoot' />
#!${stdenv.shell}
mkdir -p /data
'';
contents = pkgs.redis; <co xml:id='ex-dockerTools-buildImage-6' />
runAsRoot = '' <co xml:id='ex-dockerTools-buildImage-runAsRoot' />
#!${stdenv.shell}
mkdir -p /data
'';
config = { <co xml:id='ex-dockerTools-buildImage-8' />
Cmd = [ "/bin/redis-server" ];
WorkingDir = "/data";
Volumes = {
"/data" = {};
};
config = { <co xml:id='ex-dockerTools-buildImage-8' />
Cmd = [ "/bin/redis-server" ];
WorkingDir = "/data";
Volumes = {
"/data" = {};
};
}
</programlisting>
};
}
</programlisting>
</example>
<para>
@@ -226,6 +226,177 @@ hello latest de2bf4786de6 About a minute ago 25.2MB
</example>
</section>
<section xml:id="ssec-pkgs-dockerTools-buildLayeredImage">
<title>buildLayeredImage</title>
<para>
Create a Docker image with many of the store paths being on their own layer
to improve sharing between images.
</para>
<variablelist>
<varlistentry>
<term>
<varname>name</varname>
</term>
<listitem>
<para>
The name of the resulting image.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>tag</varname> <emphasis>optional</emphasis>
</term>
<listitem>
<para>
Tag of the generated image.
</para>
<para>
<emphasis>Default:</emphasis> the output path's hash
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>contents</varname> <emphasis>optional</emphasis>
</term>
<listitem>
<para>
Top level paths in the container. Either a single derivation, or a list
of derivations.
</para>
<para>
<emphasis>Default:</emphasis> <literal>[]</literal>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>config</varname> <emphasis>optional</emphasis>
</term>
<listitem>
<para>
Run-time configuration of the container. A full list of the options are
available at in the
<link xlink:href="https://github.com/moby/moby/blob/master/image/spec/v1.2.md#image-json-field-descriptions">
Docker Image Specification v1.2.0 </link>.
</para>
<para>
<emphasis>Default:</emphasis> <literal>{}</literal>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>created</varname> <emphasis>optional</emphasis>
</term>
<listitem>
<para>
Date and time the layers were created. Follows the same
<literal>now</literal> exception supported by
<literal>buildImage</literal>.
</para>
<para>
<emphasis>Default:</emphasis> <literal>1970-01-01T00:00:01Z</literal>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>maxLayers</varname> <emphasis>optional</emphasis>
</term>
<listitem>
<para>
Maximum number of layers to create.
</para>
<para>
<emphasis>Default:</emphasis> <literal>24</literal>
</para>
</listitem>
</varlistentry>
</variablelist>
<section xml:id="dockerTools-buildLayeredImage-arg-contents">
<title>Behavior of <varname>contents</varname> in the final image</title>
<para>
Each path directly listed in <varname>contents</varname> will have a
symlink in the root of the image.
</para>
<para>
For example:
<programlisting><![CDATA[
pkgs.dockerTools.buildLayeredImage {
name = "hello";
contents = [ pkgs.hello ];
}
]]></programlisting>
will create symlinks for all the paths in the <literal>hello</literal>
package:
<screen><![CDATA[
/bin/hello -> /nix/store/h1zb1padqbbb7jicsvkmrym3r6snphxg-hello-2.10/bin/hello
/share/info/hello.info -> /nix/store/h1zb1padqbbb7jicsvkmrym3r6snphxg-hello-2.10/share/info/hello.info
/share/locale/bg/LC_MESSAGES/hello.mo -> /nix/store/h1zb1padqbbb7jicsvkmrym3r6snphxg-hello-2.10/share/locale/bg/LC_MESSAGES/hello.mo
]]></screen>
</para>
</section>
<section xml:id="dockerTools-buildLayeredImage-arg-config">
<title>Automatic inclusion of <varname>config</varname> references</title>
<para>
The closure of <varname>config</varname> is automatically included in the
closure of the final image.
</para>
<para>
This allows you to make very simple Docker images with very little code.
This container will start up and run <command>hello</command>:
<programlisting><![CDATA[
pkgs.dockerTools.buildLayeredImage {
name = "hello";
config.Cmd = [ "${pkgs.hello}/bin/hello" ];
}
]]></programlisting>
</para>
</section>
<section xml:id="dockerTools-buildLayeredImage-arg-maxLayers">
<title>Adjusting <varname>maxLayers</varname></title>
<para>
Increasing the <varname>maxLayers</varname> increases the number of layers
which have a chance to be shared between different images.
</para>
<para>
Modern Docker installations support up to 128 layers, however older
versions support as few as 42.
</para>
<para>
If the produced image will not be extended by other Docker builds, it is
safe to set <varname>maxLayers</varname> to <literal>128</literal>. However
it will be impossible to extend the image further.
</para>
<para>
The first (<literal>maxLayers-2</literal>) most "popular" paths will have
their own individual layers, then layer #<literal>maxLayers-1</literal>
will contain all the remaining "unpopular" paths, and finally layer
#<literal>maxLayers</literal> will contain the Image configuration.
</para>
<para>
Docker's Layers are not inherently ordered, they are content-addressable
and are not explicitly layered until they are composed in to an Image.
</para>
</section>
</section>
<section xml:id="ssec-pkgs-dockerTools-fetchFromRegistry">
<title>pullImage</title>
@@ -243,15 +414,15 @@ hello latest de2bf4786de6 About a minute ago 25.2MB
<example xml:id='ex-dockerTools-pullImage'>
<title>Docker pull</title>
<programlisting>
pullImage {
imageName = "nixos/nix"; <co xml:id='ex-dockerTools-pullImage-1' />
imageDigest = "sha256:20d9485b25ecfd89204e843a962c1bd70e9cc6858d65d7f5fadc340246e2116b"; <co xml:id='ex-dockerTools-pullImage-2' />
finalImageTag = "1.11"; <co xml:id='ex-dockerTools-pullImage-3' />
sha256 = "0mqjy3zq2v6rrhizgb9nvhczl87lcfphq9601wcprdika2jz7qh8"; <co xml:id='ex-dockerTools-pullImage-4' />
os = "linux"; <co xml:id='ex-dockerTools-pullImage-5' />
arch = "x86_64"; <co xml:id='ex-dockerTools-pullImage-6' />
}
</programlisting>
pullImage {
imageName = "nixos/nix"; <co xml:id='ex-dockerTools-pullImage-1' />
imageDigest = "sha256:20d9485b25ecfd89204e843a962c1bd70e9cc6858d65d7f5fadc340246e2116b"; <co xml:id='ex-dockerTools-pullImage-2' />
finalImageTag = "1.11"; <co xml:id='ex-dockerTools-pullImage-3' />
sha256 = "0mqjy3zq2v6rrhizgb9nvhczl87lcfphq9601wcprdika2jz7qh8"; <co xml:id='ex-dockerTools-pullImage-4' />
os = "linux"; <co xml:id='ex-dockerTools-pullImage-5' />
arch = "x86_64"; <co xml:id='ex-dockerTools-pullImage-6' />
}
</programlisting>
</example>
<calloutlist>
@@ -273,9 +444,9 @@ hello latest de2bf4786de6 About a minute ago 25.2MB
exactly which image you want. By default it will match the OS and
architecture of the host the command is run on.
<programlisting>
$ nix-shell --packages skopeo jq --command "skopeo --override-os linux --override-arch x86_64 inspect docker://docker.io/nixos/nix:1.11 | jq -r '.Digest'"
sha256:20d9485b25ecfd89204e843a962c1bd70e9cc6858d65d7f5fadc340246e2116b
</programlisting>
$ nix-shell --packages skopeo jq --command "skopeo --override-os linux --override-arch x86_64 inspect docker://docker.io/nixos/nix:1.11 | jq -r '.Digest'"
sha256:20d9485b25ecfd89204e843a962c1bd70e9cc6858d65d7f5fadc340246e2116b
</programlisting>
This argument is required.
</para>
</callout>
@@ -333,13 +504,13 @@ hello latest de2bf4786de6 About a minute ago 25.2MB
<example xml:id='ex-dockerTools-exportImage'>
<title>Docker export</title>
<programlisting>
exportImage {
fromImage = someLayeredImage;
fromImageName = null;
fromImageTag = null;
exportImage {
fromImage = someLayeredImage;
fromImageName = null;
fromImageTag = null;
name = someLayeredImage.name;
}
name = someLayeredImage.name;
}
</programlisting>
</example>
@@ -369,19 +540,19 @@ hello latest de2bf4786de6 About a minute ago 25.2MB
<example xml:id='ex-dockerTools-shadowSetup'>
<title>Shadow base files</title>
<programlisting>
buildImage {
name = "shadow-basic";
buildImage {
name = "shadow-basic";
runAsRoot = ''
#!${stdenv.shell}
${shadowSetup}
groupadd -r redis
useradd -r -g redis redis
mkdir /data
chown redis:redis /data
'';
}
</programlisting>
runAsRoot = ''
#!${stdenv.shell}
${shadowSetup}
groupadd -r redis
useradd -r -g redis redis
mkdir /data
chown redis:redis /data
'';
}
</programlisting>
</example>
<para>

View File

@@ -966,5 +966,766 @@ lib.attrsets.mapAttrsToList (name: value: "${name}=${value}")
itself to attribute sets. Also, the first argument of the argument function
is a <emphasis>list</emphasis> of the names of the containing attributes.
</para>
<variablelist>
<varlistentry>
<term>
<varname>f</varname>
</term>
<listitem>
<para>
<literal>[ String ] -> Any -> Any</literal>
</para>
<para>
Given a list of attribute names and value, return a new value.
</para>
<variablelist>
<varlistentry>
<term>
<varname>name_path</varname>
</term>
<listitem>
<para>
The list of attribute names to this value.
</para>
<para>
For example, the <varname>name_path</varname> for the
<literal>example</literal> string in the attribute set <literal>{ foo
= { bar = "example"; }; }</literal> is <literal>[ "foo" "bar"
]</literal>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>value</varname>
</term>
<listitem>
<para>
The attribute's value.
</para>
</listitem>
</varlistentry>
</variablelist>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>set</varname>
</term>
<listitem>
<para>
The attribute set to recursively map over.
</para>
</listitem>
</varlistentry>
</variablelist>
<example xml:id="function-library-lib.attrsets.mapAttrsRecursive-example">
<title>A contrived example of using <function>lib.attrsets.mapAttrsRecursive</function></title>
<programlisting><![CDATA[
mapAttrsRecursive
(path: value: concatStringsSep "-" (path ++ [value]))
{
n = {
a = "A";
m = {
b = "B";
c = "C";
};
};
d = "D";
}
=> {
n = {
a = "n-a-A";
m = {
b = "n-m-b-B";
c = "n-m-c-C";
};
};
d = "d-D";
}
]]></programlisting>
</example>
</section>
<section xml:id="function-library-lib.attrsets.mapAttrsRecursiveCond">
<title><function>lib.attrsets.mapAttrsRecursiveCond</function></title>
<subtitle><literal>mapAttrsRecursiveCond :: (AttrSet -> Bool) -> ([ String ] -> Any -> Any) -> AttrSet -> AttrSet</literal>
</subtitle>
<xi:include href="./locations.xml" xpointer="lib.attrsets.mapAttrsRecursiveCond" />
<para>
Like <function>mapAttrsRecursive</function>, but it takes an additional
predicate function that tells it whether to recursive into an attribute set.
If it returns false, <function>mapAttrsRecursiveCond</function> does not
recurse, but does apply the map function. It is returns true, it does
recurse, and does not apply the map function.
</para>
<variablelist>
<varlistentry>
<term>
<varname>cond</varname>
</term>
<listitem>
<para>
<literal>(AttrSet -> Bool)</literal>
</para>
<para>
Determine if <function>mapAttrsRecursive</function> should recurse deeper
in to the attribute set.
</para>
<variablelist>
<varlistentry>
<term>
<varname>attributeset</varname>
</term>
<listitem>
<para>
An attribute set.
</para>
</listitem>
</varlistentry>
</variablelist>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>f</varname>
</term>
<listitem>
<para>
<literal>[ String ] -> Any -> Any</literal>
</para>
<para>
Given a list of attribute names and value, return a new value.
</para>
<variablelist>
<varlistentry>
<term>
<varname>name_path</varname>
</term>
<listitem>
<para>
The list of attribute names to this value.
</para>
<para>
For example, the <varname>name_path</varname> for the
<literal>example</literal> string in the attribute set <literal>{ foo
= { bar = "example"; }; }</literal> is <literal>[ "foo" "bar"
]</literal>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>value</varname>
</term>
<listitem>
<para>
The attribute's value.
</para>
</listitem>
</varlistentry>
</variablelist>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>set</varname>
</term>
<listitem>
<para>
The attribute set to recursively map over.
</para>
</listitem>
</varlistentry>
</variablelist>
<example xml:id="function-library-lib.attrsets.mapAttrsRecursiveCond-example">
<title>Only convert attribute values to JSON if the containing attribute set is marked for recursion</title>
<programlisting><![CDATA[
lib.attrsets.mapAttrsRecursiveCond
({ recurse ? false, ... }: recurse)
(name: value: builtins.toJSON value)
{
dorecur = {
recurse = true;
hello = "there";
};
dontrecur = {
converted-to- = "json";
};
}
=> {
dorecur = {
hello = "\"there\"";
recurse = "true";
};
dontrecur = "{\"converted-to\":\"json\"}";
}
]]></programlisting>
</example>
</section>
<section xml:id="function-library-lib.attrsets.genAttrs">
<title><function>lib.attrsets.genAttrs</function></title>
<subtitle><literal>genAttrs :: [ String ] -> (String -> Any) -> AttrSet</literal>
</subtitle>
<xi:include href="./locations.xml" xpointer="lib.attrsets.genAttrs" />
<para>
Generate an attribute set by mapping a function over a list of attribute
names.
</para>
<variablelist>
<varlistentry>
<term>
<varname>names</varname>
</term>
<listitem>
<para>
Names of values in the resulting attribute set.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>f</varname>
</term>
<listitem>
<para>
<literal>String -> Any</literal>
</para>
<para>
Takes the name of the attribute and return the attribute's value.
</para>
<variablelist>
<varlistentry>
<term>
<varname>name</varname>
</term>
<listitem>
<para>
The name of the attribute to generate a value for.
</para>
</listitem>
</varlistentry>
</variablelist>
</listitem>
</varlistentry>
</variablelist>
<example xml:id="function-library-lib.attrsets.genAttrs-example">
<title>Generate an attrset based on names only</title>
<programlisting><![CDATA[
lib.attrsets.genAttrs [ "foo" "bar" ] (name: "x_${name}")
=> { foo = "x_foo"; bar = "x_bar"; }
]]></programlisting>
</example>
</section>
<section xml:id="function-library-lib.attrsets.isDerivation">
<title><function>lib.attrsets.isDerivation</function></title>
<subtitle><literal>isDerivation :: Any -> Bool</literal>
</subtitle>
<xi:include href="./locations.xml" xpointer="lib.attrsets.isDerivation" />
<para>
Check whether the argument is a derivation. Any set with <code>{ type =
"derivation"; }</code> counts as a derivation.
</para>
<variablelist>
<varlistentry>
<term>
<varname>value</varname>
</term>
<listitem>
<para>
The value which is possibly a derivation.
</para>
</listitem>
</varlistentry>
</variablelist>
<example xml:id="function-library-lib.attrsets.isDerivation-example-true">
<title>A package is a derivation</title>
<programlisting><![CDATA[
lib.attrsets.isDerivation (import <nixpkgs> {}).ruby
=> true
]]></programlisting>
</example>
<example xml:id="function-library-lib.attrsets.isDerivation-example-false">
<title>Anything else is not a derivation</title>
<programlisting><![CDATA[
lib.attrsets.isDerivation "foobar"
=> false
]]></programlisting>
</example>
</section>
<section xml:id="function-library-lib.attrsets.toDerivation">
<title><function>lib.attrsets.toDerivation</function></title>
<subtitle><literal>toDerivation :: Path -> Derivation</literal>
</subtitle>
<xi:include href="./locations.xml" xpointer="lib.attrsets.toDerivation" />
<para>
Converts a store path to a fake derivation.
</para>
<variablelist>
<varlistentry>
<term>
<varname>path</varname>
</term>
<listitem>
<para>
A store path to convert to a derivation.
</para>
</listitem>
</varlistentry>
</variablelist>
</section>
<section xml:id="function-library-lib.attrsets.optionalAttrs">
<title><function>lib.attrsets.optionalAttrs</function></title>
<subtitle><literal>optionalAttrs :: Bool -> AttrSet</literal>
</subtitle>
<xi:include href="./locations.xml" xpointer="lib.attrsets.optionalAttrs" />
<para>
Conditionally return an attribute set or an empty attribute set.
</para>
<variablelist>
<varlistentry>
<term>
<varname>cond</varname>
</term>
<listitem>
<para>
Condition under which the <varname>as</varname> attribute set is
returned.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>as</varname>
</term>
<listitem>
<para>
The attribute set to return if <varname>cond</varname> is true.
</para>
</listitem>
</varlistentry>
</variablelist>
<example xml:id="function-library-lib.attrsets.optionalAttrs-example-true">
<title>Return the provided attribute set when <varname>cond</varname> is true</title>
<programlisting><![CDATA[
lib.attrsets.optionalAttrs true { my = "set"; }
=> { my = "set"; }
]]></programlisting>
</example>
<example xml:id="function-library-lib.attrsets.optionalAttrs-example-false">
<title>Return an empty attribute set when <varname>cond</varname> is false</title>
<programlisting><![CDATA[
lib.attrsets.optionalAttrs false { my = "set"; }
=> { }
]]></programlisting>
</example>
</section>
<section xml:id="function-library-lib.attrsets.zipAttrsWithNames">
<title><function>lib.attrsets.zipAttrsWithNames</function></title>
<subtitle><literal>zipAttrsWithNames :: [ String ] -> (String -> [ Any ] -> Any) -> [ AttrSet ] -> AttrSet</literal>
</subtitle>
<xi:include href="./locations.xml" xpointer="lib.attrsets.zipAttrsWithNames" />
<para>
Merge sets of attributes and use the function <varname>f</varname> to merge
attribute values where the attribute name is in <varname>names</varname>.
</para>
<variablelist>
<varlistentry>
<term>
<varname>names</varname>
</term>
<listitem>
<para>
A list of attribute names to zip.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>f</varname>
</term>
<listitem>
<para>
<literal>(String -> [ Any ] -> Any</literal>
</para>
<para>
Accepts an attribute name, all the values, and returns a combined value.
</para>
<variablelist>
<varlistentry>
<term>
<varname>name</varname>
</term>
<listitem>
<para>
The name of the attribute each value came from.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>vs</varname>
</term>
<listitem>
<para>
A list of values collected from the list of attribute sets.
</para>
</listitem>
</varlistentry>
</variablelist>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>sets</varname>
</term>
<listitem>
<para>
A list of attribute sets to zip together.
</para>
</listitem>
</varlistentry>
</variablelist>
<example xml:id="function-library-lib.attrsets.zipAttrsWithNames-example">
<title>Summing a list of attribute sets of numbers</title>
<programlisting><![CDATA[
lib.attrsets.zipAttrsWithNames
[ "a" "b" ]
(name: vals: "${name} ${toString (builtins.foldl' (a: b: a + b) 0 vals)}")
[
{ a = 1; b = 1; c = 1; }
{ a = 10; }
{ b = 100; }
{ c = 1000; }
]
=> { a = "a 11"; b = "b 101"; }
]]></programlisting>
</example>
</section>
<section xml:id="function-library-lib.attrsets.zipAttrsWith">
<title><function>lib.attrsets.zipAttrsWith</function></title>
<subtitle><literal>zipAttrsWith :: (String -> [ Any ] -> Any) -> [ AttrSet ] -> AttrSet</literal>
</subtitle>
<xi:include href="./locations.xml" xpointer="lib.attrsets.zipAttrsWith" />
<para>
Merge sets of attributes and use the function <varname>f</varname> to merge
attribute values. Similar to
<xref
linkend="function-library-lib.attrsets.zipAttrsWithNames" /> where
all key names are passed for <varname>names</varname>.
</para>
<variablelist>
<varlistentry>
<term>
<varname>f</varname>
</term>
<listitem>
<para>
<literal>(String -> [ Any ] -> Any</literal>
</para>
<para>
Accepts an attribute name, all the values, and returns a combined value.
</para>
<variablelist>
<varlistentry>
<term>
<varname>name</varname>
</term>
<listitem>
<para>
The name of the attribute each value came from.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>vs</varname>
</term>
<listitem>
<para>
A list of values collected from the list of attribute sets.
</para>
</listitem>
</varlistentry>
</variablelist>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>sets</varname>
</term>
<listitem>
<para>
A list of attribute sets to zip together.
</para>
</listitem>
</varlistentry>
</variablelist>
<example xml:id="function-library-lib.attrsets.zipAttrsWith-example">
<title>Summing a list of attribute sets of numbers</title>
<programlisting><![CDATA[
lib.attrsets.zipAttrsWith
(name: vals: "${name} ${toString (builtins.foldl' (a: b: a + b) 0 vals)}")
[
{ a = 1; b = 1; c = 1; }
{ a = 10; }
{ b = 100; }
{ c = 1000; }
]
=> { a = "a 11"; b = "b 101"; c = "c 1001"; }
]]></programlisting>
</example>
</section>
<section xml:id="function-library-lib.attrsets.zipAttrs">
<title><function>lib.attrsets.zipAttrs</function></title>
<subtitle><literal>zipAttrsWith :: [ AttrSet ] -> AttrSet</literal>
</subtitle>
<xi:include href="./locations.xml" xpointer="lib.attrsets.zipAttrs" />
<para>
Merge sets of attributes and combine each attribute value in to a list.
Similar to <xref linkend="function-library-lib.attrsets.zipAttrsWith" />
where the merge function returns a list of all values.
</para>
<variablelist>
<varlistentry>
<term>
<varname>sets</varname>
</term>
<listitem>
<para>
A list of attribute sets to zip together.
</para>
</listitem>
</varlistentry>
</variablelist>
<example xml:id="function-library-lib.attrsets.zipAttrs-example">
<title>Combining a list of attribute sets</title>
<programlisting><![CDATA[
lib.attrsets.zipAttrs
[
{ a = 1; b = 1; c = 1; }
{ a = 10; }
{ b = 100; }
{ c = 1000; }
]
=> { a = [ 1 10 ]; b = [ 1 100 ]; c = [ 1 1000 ]; }
]]></programlisting>
</example>
</section>
<section xml:id="function-library-lib.attrsets.recursiveUpdateUntil">
<title><function>lib.attrsets.recursiveUpdateUntil</function></title>
<subtitle><literal>recursiveUpdateUntil :: ( [ String ] -> AttrSet -> AttrSet -> Bool ) -> AttrSet -> AttrSet -> AttrSet</literal>
</subtitle>
<xi:include href="./locations.xml" xpointer="lib.attrsets.recursiveUpdateUntil" />
<para>
Does the same as the update operator <literal>//</literal> except that
attributes are merged until the given predicate is verified. The predicate
should accept 3 arguments which are the path to reach the attribute, a part
of the first attribute set and a part of the second attribute set. When the
predicate is verified, the value of the first attribute set is replaced by
the value of the second attribute set.
</para>
<variablelist>
<varlistentry>
<term>
<varname>pred</varname>
</term>
<listitem>
<para>
<literal>[ String ] -> AttrSet -> AttrSet -> Bool</literal>
</para>
<variablelist>
<varlistentry>
<term>
<varname>path</varname>
</term>
<listitem>
<para>
The path to the values in the left and right hand sides.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>l</varname>
</term>
<listitem>
<para>
The left hand side value.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>r</varname>
</term>
<listitem>
<para>
The right hand side value.
</para>
</listitem>
</varlistentry>
</variablelist>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>lhs</varname>
</term>
<listitem>
<para>
The left hand attribute set of the merge.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>rhs</varname>
</term>
<listitem>
<para>
The right hand attribute set of the merge.
</para>
</listitem>
</varlistentry>
</variablelist>
<example xml:id="function-library-lib.attrsets.recursiveUpdateUntil-example">
<title>Recursively merging two attribute sets</title>
<programlisting><![CDATA[
lib.attrsets.recursiveUpdateUntil (path: l: r: path == ["foo"])
{
# first attribute set
foo.bar = 1;
foo.baz = 2;
bar = 3;
}
{
#second attribute set
foo.bar = 1;
foo.quz = 2;
baz = 4;
}
=> {
foo.bar = 1; # 'foo.*' from the second set
foo.quz = 2; #
bar = 3; # 'bar' from the first set
baz = 4; # 'baz' from the second set
}
]]></programlisting>
</example>
</section>
<section xml:id="function-library-lib.attrsets.recursiveUpdate">
<title><function>lib.attrsets.recursiveUpdate</function></title>
<subtitle><literal>recursiveUpdate :: AttrSet -> AttrSet -> AttrSet</literal>
</subtitle>
<xi:include href="./locations.xml" xpointer="lib.attrsets.recursiveUpdate" />
<para>
A recursive variant of the update operator <literal>//</literal>. The
recursion stops when one of the attribute values is not an attribute set, in
which case the right hand side value takes precedence over the left hand
side value.
</para>
<variablelist>
<varlistentry>
<term>
<varname>lhs</varname>
</term>
<listitem>
<para>
The left hand attribute set of the merge.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>rhs</varname>
</term>
<listitem>
<para>
The right hand attribute set of the merge.
</para>
</listitem>
</varlistentry>
</variablelist>
<example xml:id="function-library-lib.attrsets.recursiveUpdate-example">
<title>Recursively merging two attribute sets</title>
<programlisting><![CDATA[
recursiveUpdate
{
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/hda";
}
{
boot.loader.grub.device = "";
}
=> {
boot.loader.grub.enable = true;
boot.loader.grub.device = "";
}
]]></programlisting>
</example>
</section>
</section>

View File

@@ -487,7 +487,7 @@ and in this case the `python35` interpreter is automatically used.
Versions 2.7, 3.4, 3.5, 3.6 and 3.7 of the CPython interpreter are available as
respectively `python27`, `python34`, `python35` and `python36`. The PyPy interpreter
is available as `pypy`. The aliases `python2` and `python3` correspond to respectively `python27` and
`python35`. The default interpreter, `python`, maps to `python2`.
`python36`. The default interpreter, `python`, maps to `python2`.
The Nix expressions for the interpreters can be found in
`pkgs/development/interpreters/python`.

View File

@@ -49,12 +49,12 @@ texlive.combine {
</listitem>
<listitem>
<para>
You can list packages e.g. by <command>nix-repl</command>.
<programlisting>
$ nix-repl
nix-repl> :l &lt;nixpkgs>
nix-repl> texlive.collection-&lt;TAB>
</programlisting>
You can list packages e.g. by <command>nix repl</command>.
<programlisting><![CDATA[
$ nix repl
nix-repl> :l <nixpkgs>
nix-repl> texlive.collection-<TAB>
]]></programlisting>
</para>
</listitem>
<listitem>

View File

@@ -22,6 +22,7 @@ Adding custom .vimrc lines can be done using the following code:
```
vim_configurable.customize {
# `name` specifies the name of the executable and package
name = "vim-with-plugins";
vimrcConfig.customRC = ''
@@ -30,6 +31,8 @@ vim_configurable.customize {
}
```
This configuration is used when vim is invoked with the command specified as name, in this case `vim-with-plugins`.
For Neovim the `configure` argument can be overridden to achieve the same:
```
@@ -82,6 +85,7 @@ The resulting package can be added to `packageOverrides` in `~/.nixpkgs/config.n
{
packageOverrides = pkgs: with pkgs; {
myVim = vim_configurable.customize {
# `name` specifies the name of the executable and package
name = "vim-with-plugins";
# add here code from the example section
};

View File

@@ -372,7 +372,7 @@ let f(h, h + 1, i) = i + h
They are programs/libraries used at build time that furthermore produce
programs/libraries also used at build time. If the dependency doesn't
care about the target platform (i.e. isn't a compiler or similar tool),
put it in <varname>nativeBuildInputs</varname>instead. The most common
put it in <varname>nativeBuildInputs</varname> instead. The most common
use for this <literal>buildPackages.stdenv.cc</literal>, the default C
compiler for this role. That example crops up more than one might think
in old commonly used C libraries.
@@ -2092,7 +2092,7 @@ someVar=$(stripHash $name)
Nix itself considers a build-time dependency merely something that should
previously be built and accessible at build time—packages themselves are
on their own to perform any additional setup. In most cases, that is fine,
and the downstream derivation can deal with it's own dependencies. But for a
and the downstream derivation can deal with its own dependencies. But for a
few common tasks, that would result in almost every package doing the same
sort of setup work---depending not on the package itself, but entirely on
which dependencies were used.
@@ -2100,7 +2100,7 @@ someVar=$(stripHash $name)
<para>
In order to alleviate this burden, the <firstterm>setup
hook></firstterm>mechanism was written, where any package can include a
hook</firstterm> mechanism was written, where any package can include a
shell script that [by convention rather than enforcement by Nix], any
downstream reverse-dependency will source as part of its build process. That
allows the downstream dependency to merely specify its dependencies, and
@@ -2146,10 +2146,10 @@ someVar=$(stripHash $name)
<literal>n + 1</literal> dependencies, as only those ones match the
compiler's target platform. The <envar>hostOffset</envar> variable is
defined with the current dependency's host offset
<envar>targetOffset</envar> with its target offset, before it's setup hook
is sourced. Additionally, since most environment hooks don't care about the
target platform, That means the setup hook can append to the right bash
array by doing something like
<envar>targetOffset</envar> with its target offset, before its setup hook is
sourced. Additionally, since most environment hooks don't care about the
target platform, That means the setup hook can append to the right bash array
by doing something like
<programlisting language="bash">
addEnvHooks "$hostOffset" myBashFunction
</programlisting>
@@ -2157,7 +2157,7 @@ addEnvHooks "$hostOffset" myBashFunction
<para>
The <emphasis>existence</emphasis> of setups hooks has long been documented
and packages inside Nixpkgs are free to use these mechanism. Other packages,
and packages inside Nixpkgs are free to use this mechanism. Other packages,
however, should not rely on these mechanisms not changing between Nixpkgs
versions. Because of the existing issues with this system, there's little
benefit from mandating it be stable for any period of time.
@@ -2445,6 +2445,45 @@ addEnvHooks "$hostOffset" myBashFunction
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
breakpointHook
</term>
<listitem>
<para>
This hook will make a build pause instead of stopping when a failure
happen. It prevents nix from cleaning up the build environment immediatly and
allows the user to attach to a build environment using the
<command>cntr</command> command. On build error it will print the
instruction that are neccessary for <command>cntr</command>. Installing
cntr and running the command will provide shell access to the build
sandbox of failed build. At <filename>/var/lib/cntr</filename> the
sandbox filesystem is mounted. All commands and files of the system are
still accessible within the shell. To execute commands from the sandbox
use the cntr exec subcommand. Note that <command>cntr</command> also
needs to be executed on the machine that is doing the build, which might
be not the case when remote builders are enabled.
<command>cntr</command> is only supported on linux based platforms.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
libiconv, libintl
</term>
<listitem>
<para>
A few libraries automatically add to
<literal>NIX_LDFLAGS</literal> their library, making their
symbols automatically available to the linker. This includes
libiconv and libintl (gettext). This is done to provide
compatibility between GNU Linux, where libiconv and libintl
are bundled in, and other systems where that might not be the
case. Sometimes, this behavior is not desired. To disable
this behavior, set <literal>dontAddExtraLibs</literal>.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</section>

View File

@@ -196,7 +196,7 @@ rec {
newScope = scope: newScope (self // scope);
callPackage = self.newScope {};
overrideScope = g: lib.warn
"`overrideScope` (from `lib.makeScope`) is deprecated. Do `overrideScope' (self: self: { })` instead of `overrideScope (super: self: { })`. All other overrides have the parameters in that order, including other definitions of `overrideScope`. This was the only definition violating the pattern."
"`overrideScope` (from `lib.makeScope`) is deprecated. Do `overrideScope' (self: super: { })` instead of `overrideScope (super: self: { })`. All other overrides have the parameters in that order, including other definitions of `overrideScope`. This was the only definition violating the pattern."
(makeScope newScope (lib.fixedPoints.extends (lib.flip g) f));
overrideScope' = g: makeScope newScope (lib.fixedPoints.extends g f);
packages = f;

View File

@@ -23,27 +23,54 @@ rec {
# -- TRACING --
/* Trace msg, but only if pred is true.
/* Conditionally trace the supplied message, based on a predicate.
Type: traceIf :: bool -> string -> a -> a
Example:
traceIf true "hello" 3
trace: hello
=> 3
*/
traceIf = pred: msg: x: if pred then trace msg x else x;
traceIf =
# Predicate to check
pred:
# Message that should be traced
msg:
# Value to return
x: if pred then trace msg x else x;
/* Trace the value and also return it.
/* Trace the supplied value after applying a function to it, and
return the original value.
Type: traceValFn :: (a -> b) -> a -> a
Example:
traceValFn (v: "mystring ${v}") "foo"
trace: mystring foo
=> "foo"
*/
traceValFn = f: x: trace (f x) x;
traceValFn =
# Function to apply
f:
# Value to trace and return
x: trace (f x) x;
/* Trace the supplied value and return it.
Type: traceVal :: a -> a
Example:
traceVal 42
# trace: 42
=> 42
*/
traceVal = traceValFn id;
/* `builtins.trace`, but the value is `builtins.deepSeq`ed first.
Type: traceSeq :: a -> b -> b
Example:
trace { a.b.c = 3; } null
trace: { a = <CODE>; }
@@ -52,7 +79,11 @@ rec {
trace: { a = { b = { c = 3; }; }; }
=> null
*/
traceSeq = x: y: trace (builtins.deepSeq x x) y;
traceSeq =
# The value to trace
x:
# The value to return
y: trace (builtins.deepSeq x x) y;
/* Like `traceSeq`, but only evaluate down to depth n.
This is very useful because lots of `traceSeq` usages
@@ -76,27 +107,49 @@ rec {
in trace (generators.toPretty { allowPrettyValues = true; }
(modify depth snip x)) y;
/* A combination of `traceVal` and `traceSeq` */
traceValSeqFn = f: v: traceValFn f (builtins.deepSeq v v);
/* A combination of `traceVal` and `traceSeq` that applies a
provided function to the value to be traced after `deepSeq`ing
it.
*/
traceValSeqFn =
# Function to apply
f:
# Value to trace
v: traceValFn f (builtins.deepSeq v v);
/* A combination of `traceVal` and `traceSeq`. */
traceValSeq = traceValSeqFn id;
/* A combination of `traceVal` and `traceSeqN` that applies a
provided function to the value to be traced. */
traceValSeqNFn =
# Function to apply
f:
depth:
# Value to trace
v: traceSeqN depth (f v) v;
/* A combination of `traceVal` and `traceSeqN`. */
traceValSeqNFn = f: depth: v: traceSeqN depth (f v) v;
traceValSeqN = traceValSeqNFn id;
# -- TESTING --
/* Evaluate a set of tests. A test is an attribute set {expr,
expected}, denoting an expression and its expected result. The
result is a list of failed tests, each represented as {name,
expected, actual}, denoting the attribute name of the failing
test and its expected and actual results. Used for regression
testing of the functions in lib; see tests.nix for an example.
Only tests having names starting with "test" are run.
Add attr { tests = ["testName"]; } to run these test only
/* Evaluate a set of tests. A test is an attribute set `{expr,
expected}`, denoting an expression and its expected result. The
result is a list of failed tests, each represented as `{name,
expected, actual}`, denoting the attribute name of the failing
test and its expected and actual results.
Used for regression testing of the functions in lib; see
tests.nix for an example. Only tests having names starting with
"test" are run.
Add attr { tests = ["testName"]; } to run these tests only.
*/
runTests = tests: lib.concatLists (lib.attrValues (lib.mapAttrs (name: test:
runTests =
# Tests to run
tests: lib.concatLists (lib.attrValues (lib.mapAttrs (name: test:
let testsToRun = if tests ? tests then tests.tests else [];
in if (substring 0 4 name == "test" || elem name testsToRun)
&& ((testsToRun == []) || elem name tests.tests)
@@ -105,8 +158,11 @@ rec {
then [ { inherit name; expected = test.expected; result = test.expr; } ]
else [] ) tests));
# create a test assuming that list elements are true
# usage: { testX = allTrue [ true ]; }
/* Create a test assuming that list elements are `true`.
Example:
{ testX = allTrue [ true ]; }
*/
testAllTrue = expr: { inherit expr; expected = map (x: true) expr; };

View File

@@ -42,6 +42,7 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
amd = {
fullName = "AMD License Agreement";
url = http://developer.amd.com/amd-license-agreement/;
free = false;
};
apsl20 = spdx {
@@ -99,14 +100,10 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
fullName = ''BSD 4-clause "Original" or "Old" License'';
};
bsl10 = {
fullName = "Business Source License 1.0";
url = https://mariadb.com/bsl10;
};
bsl11 = {
fullName = "Business Source License 1.1";
url = https://mariadb.com/bsl11;
free = false;
};
clArtistic = spdx {
@@ -309,6 +306,12 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
fullName = "GNU General Public License v2.0 only";
};
gpl2Classpath = {
spdxId = "GPL-2.0-with-classpath-exception";
fullName = "GNU General Public License v2.0 only (with Classpath exception)";
url = https://fedoraproject.org/wiki/Licensing/GPL_Classpath_Exception;
};
gpl2ClasspathPlus = {
fullName = "GNU General Public License v2.0 or later (with Classpath exception)";
url = https://fedoraproject.org/wiki/Licensing/GPL_Classpath_Exception;

View File

@@ -1,4 +1,5 @@
# General list operations.
{ lib }:
with lib.trivial;
let
@@ -8,21 +9,23 @@ rec {
inherit (builtins) head tail length isList elemAt concatLists filter elem genList;
/* Create a list consisting of a single element. `singleton x' is
sometimes more convenient with respect to indentation than `[x]'
/* Create a list consisting of a single element. `singleton x` is
sometimes more convenient with respect to indentation than `[x]`
when x spans multiple lines.
Type: singleton :: a -> [a]
Example:
singleton "foo"
=> [ "foo" ]
*/
singleton = x: [x];
/* right fold a binary function `op' between successive elements of
`list' with `nul' as the starting value, i.e.,
`foldr op nul [x_1 x_2 ... x_n] == op x_1 (op x_2 ... (op x_n nul))'.
Type:
foldr :: (a -> b -> b) -> b -> [a] -> b
/* right fold a binary function `op` between successive elements of
`list` with `nul' as the starting value, i.e.,
`foldr op nul [x_1 x_2 ... x_n] == op x_1 (op x_2 ... (op x_n nul))`.
Type: foldr :: (a -> b -> b) -> b -> [a] -> b
Example:
concat = foldr (a: b: a + b) "z"
@@ -42,16 +45,15 @@ rec {
else op (elemAt list n) (fold' (n + 1));
in fold' 0;
/* `fold' is an alias of `foldr' for historic reasons */
/* `fold` is an alias of `foldr` for historic reasons */
# FIXME(Profpatsch): deprecate?
fold = foldr;
/* left fold, like `foldr', but from the left:
/* left fold, like `foldr`, but from the left:
`foldl op nul [x_1 x_2 ... x_n] == op (... (op (op nul x_1) x_2) ... x_n)`.
Type:
foldl :: (b -> a -> b) -> b -> [a] -> b
Type: foldl :: (b -> a -> b) -> b -> [a] -> b
Example:
lconcat = foldl (a: b: a + b) "z"
@@ -70,16 +72,20 @@ rec {
else op (foldl' (n - 1)) (elemAt list n);
in foldl' (length list - 1);
/* Strict version of `foldl'.
/* Strict version of `foldl`.
The difference is that evaluation is forced upon access. Usually used
with small whole results (in contract with lazily-generated list or large
lists where only a part is consumed.)
Type: foldl' :: (b -> a -> b) -> b -> [a] -> b
*/
foldl' = builtins.foldl' or foldl;
/* Map with index starting from 0
Type: imap0 :: (int -> a -> b) -> [a] -> [b]
Example:
imap0 (i: v: "${v}-${toString i}") ["a" "b"]
=> [ "a-0" "b-1" ]
@@ -88,6 +94,8 @@ rec {
/* Map with index starting from 1
Type: imap1 :: (int -> a -> b) -> [a] -> [b]
Example:
imap1 (i: v: "${v}-${toString i}") ["a" "b"]
=> [ "a-1" "b-2" ]
@@ -96,6 +104,8 @@ rec {
/* Map and concatenate the result.
Type: concatMap :: (a -> [b]) -> [a] -> [b]
Example:
concatMap (x: [x] ++ ["z"]) ["a" "b"]
=> [ "a" "z" "b" "z" ]
@@ -118,15 +128,21 @@ rec {
/* Remove elements equal to 'e' from a list. Useful for buildInputs.
Type: remove :: a -> [a] -> [a]
Example:
remove 3 [ 1 3 4 3 ]
=> [ 1 4 ]
*/
remove = e: filter (x: x != e);
remove =
# Element to remove from the list
e: filter (x: x != e);
/* Find the sole element in the list matching the specified
predicate, returns `default' if no such element exists, or
`multiple' if there are multiple matching elements.
predicate, returns `default` if no such element exists, or
`multiple` if there are multiple matching elements.
Type: findSingle :: (a -> bool) -> a -> a -> [a] -> a
Example:
findSingle (x: x == 3) "none" "multiple" [ 1 3 3 ]
@@ -136,14 +152,24 @@ rec {
findSingle (x: x == 3) "none" "multiple" [ 1 9 ]
=> "none"
*/
findSingle = pred: default: multiple: list:
findSingle =
# Predicate
pred:
# Default value to return if element was not found.
default:
# Default value to return if more than one element was found
multiple:
# Input list
list:
let found = filter pred list; len = length found;
in if len == 0 then default
else if len != 1 then multiple
else head found;
/* Find the first element in the list matching the specified
predicate or returns `default' if no such element exists.
predicate or return `default` if no such element exists.
Type: findFirst :: (a -> bool) -> a -> [a] -> a
Example:
findFirst (x: x > 3) 7 [ 1 6 4 ]
@@ -151,12 +177,20 @@ rec {
findFirst (x: x > 9) 7 [ 1 6 4 ]
=> 7
*/
findFirst = pred: default: list:
findFirst =
# Predicate
pred:
# Default value to return
default:
# Input list
list:
let found = filter pred list;
in if found == [] then default else head found;
/* Return true iff function `pred' returns true for at least element
of `list'.
/* Return true if function `pred` returns true for at least one
element of `list`.
Type: any :: (a -> bool) -> [a] -> bool
Example:
any isString [ 1 "a" { } ]
@@ -166,8 +200,10 @@ rec {
*/
any = builtins.any or (pred: foldr (x: y: if pred x then true else y) false);
/* Return true iff function `pred' returns true for all elements of
`list'.
/* Return true if function `pred` returns true for all elements of
`list`.
Type: all :: (a -> bool) -> [a] -> bool
Example:
all (x: x < 3) [ 1 2 ]
@@ -177,19 +213,25 @@ rec {
*/
all = builtins.all or (pred: foldr (x: y: if pred x then y else false) true);
/* Count how many times function `pred' returns true for the elements
of `list'.
/* Count how many elements of `list` match the supplied predicate
function.
Type: count :: (a -> bool) -> [a] -> int
Example:
count (x: x == 3) [ 3 2 3 4 6 ]
=> 2
*/
count = pred: foldl' (c: x: if pred x then c + 1 else c) 0;
count =
# Predicate
pred: foldl' (c: x: if pred x then c + 1 else c) 0;
/* Return a singleton list or an empty list, depending on a boolean
value. Useful when building lists with optional elements
(e.g. `++ optional (system == "i686-linux") flashplayer').
Type: optional :: bool -> a -> [a]
Example:
optional true "foo"
=> [ "foo" ]
@@ -200,13 +242,19 @@ rec {
/* Return a list or an empty list, depending on a boolean value.
Type: optionals :: bool -> [a] -> [a]
Example:
optionals true [ 2 3 ]
=> [ 2 3 ]
optionals false [ 2 3 ]
=> [ ]
*/
optionals = cond: elems: if cond then elems else [];
optionals =
# Condition
cond:
# List to return if condition is true
elems: if cond then elems else [];
/* If argument is a list, return it; else, wrap it in a singleton
@@ -223,20 +271,28 @@ rec {
/* Return a list of integers from `first' up to and including `last'.
Type: range :: int -> int -> [int]
Example:
range 2 4
=> [ 2 3 4 ]
range 3 2
=> [ ]
*/
range = first: last:
range =
# First integer in the range
first:
# Last integer in the range
last:
if first > last then
[]
else
genList (n: first + n) (last - first + 1);
/* Splits the elements of a list in two lists, `right' and
`wrong', depending on the evaluation of a predicate.
/* Splits the elements of a list in two lists, `right` and
`wrong`, depending on the evaluation of a predicate.
Type: (a -> bool) -> [a] -> { right :: [a], wrong :: [a] }
Example:
partition (x: x > 2) [ 5 1 2 3 4 ]
@@ -252,7 +308,7 @@ rec {
/* Splits the elements of a list into many lists, using the return value of a predicate.
Predicate should return a string which becomes keys of attrset `groupBy' returns.
`groupBy'' allows to customise the combining function and initial value
`groupBy'` allows to customise the combining function and initial value
Example:
groupBy (x: boolToString (x > 2)) [ 5 1 2 3 4 ]
@@ -268,10 +324,6 @@ rec {
xfce = [ { name = "xfce"; script = "xfce4-session &"; } ];
}
groupBy' allows to customise the combining function and initial value
Example:
groupBy' builtins.add 0 (x: boolToString (x > 2)) [ 5 1 2 3 4 ]
=> { true = 12; false = 3; }
*/
@@ -289,17 +341,27 @@ rec {
the merging stops at the shortest. How both lists are merged is defined
by the first argument.
Type: zipListsWith :: (a -> b -> c) -> [a] -> [b] -> [c]
Example:
zipListsWith (a: b: a + b) ["h" "l"] ["e" "o"]
=> ["he" "lo"]
*/
zipListsWith = f: fst: snd:
zipListsWith =
# Function to zip elements of both lists
f:
# First list
fst:
# Second list
snd:
genList
(n: f (elemAt fst n) (elemAt snd n)) (min (length fst) (length snd));
/* Merges two lists of the same size together. If the sizes aren't the same
the merging stops at the shortest.
Type: zipLists :: [a] -> [b] -> [{ fst :: a, snd :: b}]
Example:
zipLists [ 1 2 ] [ "a" "b" ]
=> [ { fst = 1; snd = "a"; } { fst = 2; snd = "b"; } ]
@@ -308,6 +370,8 @@ rec {
/* Reverse the order of the elements of a list.
Type: reverseList :: [a] -> [a]
Example:
reverseList [ "b" "o" "j" ]
@@ -321,8 +385,7 @@ rec {
`before a b == true` means that `b` depends on `a` (there's an
edge from `b` to `a`).
Examples:
Example:
listDfs true hasPrefix [ "/home/user" "other" "/" "/home" ]
== { minimal = "/"; # minimal element
visited = [ "/home/user" ]; # seen elements (in reverse order)
@@ -336,7 +399,6 @@ rec {
rest = [ "/home" "other" ]; # everything else
*/
listDfs = stopOnCycles: before: list:
let
dfs' = us: visited: rest:
@@ -361,7 +423,7 @@ rec {
`before a b == true` means that `b` should be after `a`
in the result.
Examples:
Example:
toposort hasPrefix [ "/home/user" "other" "/" "/home" ]
== { result = [ "/" "/home" "/home/user" "other" ]; }
@@ -376,7 +438,6 @@ rec {
toposort (a: b: a < b) [ 3 2 1 ] == { result = [ 1 2 3 ]; }
*/
toposort = before: list:
let
dfsthis = listDfs true before list;
@@ -467,26 +528,38 @@ rec {
/* Return the first (at most) N elements of a list.
Type: take :: int -> [a] -> [a]
Example:
take 2 [ "a" "b" "c" "d" ]
=> [ "a" "b" ]
take 2 [ ]
=> [ ]
*/
take = count: sublist 0 count;
take =
# Number of elements to take
count: sublist 0 count;
/* Remove the first (at most) N elements of a list.
Type: drop :: int -> [a] -> [a]
Example:
drop 2 [ "a" "b" "c" "d" ]
=> [ "c" "d" ]
drop 2 [ ]
=> [ ]
*/
drop = count: list: sublist count (length list) list;
drop =
# Number of elements to drop
count:
# Input list
list: sublist count (length list) list;
/* Return a list consisting of at most count elements of list,
starting at index start.
/* Return a list consisting of at most `count` elements of `list`,
starting at index `start`.
Type: sublist :: int -> int -> [a] -> [a]
Example:
sublist 1 3 [ "a" "b" "c" "d" "e" ]
@@ -494,7 +567,13 @@ rec {
sublist 1 3 [ ]
=> [ ]
*/
sublist = start: count: list:
sublist =
# Index at which to start the sublist
start:
# Number of elements to take
count:
# Input list
list:
let len = length list; in
genList
(n: elemAt list (n + start))
@@ -504,6 +583,10 @@ rec {
/* Return the last element of a list.
This function throws an error if the list is empty.
Type: last :: [a] -> a
Example:
last [ 1 2 3 ]
=> 3
@@ -511,7 +594,11 @@ rec {
last = list:
assert list != []; elemAt list (length list - 1);
/* Return all elements but the last
/* Return all elements but the last.
This function throws an error if the list is empty.
Type: init :: [a] -> [a]
Example:
init [ 1 2 3 ]
@@ -520,7 +607,7 @@ rec {
init = list: assert list != []; take (length list - 1) list;
/* return the image of the cross product of some lists by a function
/* Return the image of the cross product of some lists by a function.
Example:
crossLists (x:y: "${toString x}${toString y}") [[1 2] [3 4]]
@@ -531,8 +618,9 @@ rec {
/* Remove duplicate elements from the list. O(n^2) complexity.
Example:
Type: unique :: [a] -> [a]
Example:
unique [ 3 2 3 4 ]
=> [ 3 2 4 ]
*/

View File

@@ -7,34 +7,72 @@ with lib.attrsets;
with lib.strings;
rec {
/* Returns true when the given argument is an option
Type: isOption :: a -> bool
Example:
isOption 1 // => false
isOption (mkOption {}) // => true
*/
isOption = lib.isType "option";
/* Creates an Option attribute set. mkOption accepts an attribute set with the following keys:
All keys default to `null` when not given.
Example:
mkOption { } // => { _type = "option"; }
mkOption { defaultText = "foo"; } // => { _type = "option"; defaultText = "foo"; }
*/
mkOption =
{ default ? null # Default value used when no definition is given in the configuration.
, defaultText ? null # Textual representation of the default, for in the manual.
, example ? null # Example value used in the manual.
, description ? null # String describing the option.
, relatedPackages ? null # Related packages used in the manual (see `genRelatedPackages` in ../nixos/doc/manual/default.nix).
, type ? null # Option type, providing type-checking and value merging.
, apply ? null # Function that converts the option value to something else.
, internal ? null # Whether the option is for NixOS developers only.
, visible ? null # Whether the option shows up in the manual.
, readOnly ? null # Whether the option can be set only once
, options ? null # Obsolete, used by types.optionSet.
{
# Default value used when no definition is given in the configuration.
default ? null,
# Textual representation of the default, for the manual.
defaultText ? null,
# Example value used in the manual.
example ? null,
# String describing the option.
description ? null,
# Related packages used in the manual (see `genRelatedPackages` in ../nixos/doc/manual/default.nix).
relatedPackages ? null,
# Option type, providing type-checking and value merging.
type ? null,
# Function that converts the option value to something else.
apply ? null,
# Whether the option is for NixOS developers only.
internal ? null,
# Whether the option shows up in the manual.
visible ? null,
# Whether the option can be set only once
readOnly ? null,
# Obsolete, used by types.optionSet.
options ? null
} @ attrs:
attrs // { _type = "option"; };
mkEnableOption = name: mkOption {
/* Creates an Option attribute set for a boolean value option i.e an
option to be toggled on or off:
Example:
mkEnableOption "foo"
=> { _type = "option"; default = false; description = "Whether to enable foo."; example = true; type = { ... }; }
*/
mkEnableOption =
# Name for the created option
name: mkOption {
default = false;
example = true;
description = "Whether to enable ${name}.";
type = lib.types.bool;
};
# This option accept anything, but it does not produce any result. This
# is useful for sharing a module across different module sets without
# having to implement similar features as long as the value of the options
# are not expected.
/* This option accepts anything, but it does not produce any result.
This is useful for sharing a module across different module sets
without having to implement similar features as long as the
values of the options are not accessed. */
mkSinkUndeclaredOptions = attrs: mkOption ({
internal = true;
visible = false;
@@ -74,7 +112,24 @@ rec {
else
val) (head defs).value defs;
/* Extracts values of all "value" keys of the given list.
Type: getValues :: [ { value :: a } ] -> [a]
Example:
getValues [ { value = 1; } { value = 2; } ] // => [ 1 2 ]
getValues [ ] // => [ ]
*/
getValues = map (x: x.value);
/* Extracts values of all "file" keys of the given list
Type: getFiles :: [ { file :: a } ] -> [a]
Example:
getFiles [ { file = "file1"; } { file = "file2"; } ] // => [ "file1" "file2" ]
getFiles [ ] // => [ ]
*/
getFiles = map (x: x.file);
# Generate documentation template from the list of option declaration like
@@ -107,10 +162,13 @@ rec {
/* This function recursively removes all derivation attributes from
`x' except for the `name' attribute. This is to make the
generation of `options.xml' much more efficient: the XML
representation of derivations is very large (on the order of
megabytes) and is not actually used by the manual generator. */
`x` except for the `name` attribute.
This is to make the generation of `options.xml` much more
efficient: the XML representation of derivations is very large
(on the order of megabytes) and is not actually used by the
manual generator.
*/
scrubOptionValue = x:
if isDerivation x then
{ type = "derivation"; drvPath = x.name; outPath = x.name; name = x.name; }
@@ -119,20 +177,21 @@ rec {
else x;
/* For use in the example option attribute. It causes the given
text to be included verbatim in documentation. This is necessary
for example values that are not simple values, e.g.,
functions. */
/* For use in the `example` option attribute. It causes the given
text to be included verbatim in documentation. This is necessary
for example values that are not simple values, e.g., functions.
*/
literalExample = text: { _type = "literalExample"; inherit text; };
# Helper functions.
/* Helper functions. */
/* Convert an option, described as a list of the option parts in to a
safe, human readable version.
# Convert an option, described as a list of the option parts in to a
# safe, human readable version. ie:
#
# (showOption ["foo" "bar" "baz"]) == "foo.bar.baz"
# (showOption ["foo" "bar.baz" "tux"]) == "foo.\"bar.baz\".tux"
Example:
(showOption ["foo" "bar" "baz"]) == "foo.bar.baz"
(showOption ["foo" "bar.baz" "tux"]) == "foo.\"bar.baz\".tux"
*/
showOption = parts: let
escapeOptionPart = part:
let

View File

@@ -12,6 +12,8 @@ rec {
/* Concatenate a list of strings.
Type: concatStrings :: [string] -> string
Example:
concatStrings ["foo" "bar"]
=> "foobar"
@@ -20,15 +22,19 @@ rec {
/* Map a function over a list and concatenate the resulting strings.
Type: concatMapStrings :: (a -> string) -> [a] -> string
Example:
concatMapStrings (x: "a" + x) ["foo" "bar"]
=> "afooabar"
*/
concatMapStrings = f: list: concatStrings (map f list);
/* Like `concatMapStrings' except that the f functions also gets the
/* Like `concatMapStrings` except that the f functions also gets the
position as a parameter.
Type: concatImapStrings :: (int -> a -> string) -> [a] -> string
Example:
concatImapStrings (pos: x: "${toString pos}-${x}") ["foo" "bar"]
=> "1-foo2-bar"
@@ -37,17 +43,25 @@ rec {
/* Place an element between each element of a list
Type: intersperse :: a -> [a] -> [a]
Example:
intersperse "/" ["usr" "local" "bin"]
=> ["usr" "/" "local" "/" "bin"].
*/
intersperse = separator: list:
intersperse =
# Separator to add between elements
separator:
# Input list
list:
if list == [] || length list == 1
then list
else tail (lib.concatMap (x: [separator x]) list);
/* Concatenate a list of strings with a separator between each element
Type: concatStringsSep :: string -> [string] -> string
Example:
concatStringsSep "/" ["usr" "local" "bin"]
=> "usr/local/bin"
@@ -55,43 +69,77 @@ rec {
concatStringsSep = builtins.concatStringsSep or (separator: list:
concatStrings (intersperse separator list));
/* First maps over the list and then concatenates it.
/* Maps a function over a list of strings and then concatenates the
result with the specified separator interspersed between
elements.
Type: concatMapStringsSep :: string -> (string -> string) -> [string] -> string
Example:
concatMapStringsSep "-" (x: toUpper x) ["foo" "bar" "baz"]
=> "FOO-BAR-BAZ"
*/
concatMapStringsSep = sep: f: list: concatStringsSep sep (map f list);
concatMapStringsSep =
# Separator to add between elements
sep:
# Function to map over the list
f:
# List of input strings
list: concatStringsSep sep (map f list);
/* First imaps over the list and then concatenates it.
/* Same as `concatMapStringsSep`, but the mapping function
additionally receives the position of its argument.
Type: concatMapStringsSep :: string -> (int -> string -> string) -> [string] -> string
Example:
concatImapStringsSep "-" (pos: x: toString (x / pos)) [ 6 6 6 ]
=> "6-3-2"
*/
concatImapStringsSep = sep: f: list: concatStringsSep sep (lib.imap1 f list);
concatImapStringsSep =
# Separator to add between elements
sep:
# Function that receives elements and their positions
f:
# List of input strings
list: concatStringsSep sep (lib.imap1 f list);
/* Construct a Unix-style search path consisting of each `subDir"
directory of the given list of packages.
/* Construct a Unix-style, colon-separated search path consisting of
the given `subDir` appended to each of the given paths.
Type: makeSearchPath :: string -> [string] -> string
Example:
makeSearchPath "bin" ["/root" "/usr" "/usr/local"]
=> "/root/bin:/usr/bin:/usr/local/bin"
makeSearchPath "bin" ["/"]
=> "//bin"
makeSearchPath "bin" [""]
=> "/bin"
*/
makeSearchPath = subDir: packages:
concatStringsSep ":" (map (path: path + "/" + subDir) (builtins.filter (x: x != null) packages));
makeSearchPath =
# Directory name to append
subDir:
# List of base paths
paths:
concatStringsSep ":" (map (path: path + "/" + subDir) (builtins.filter (x: x != null) paths));
/* Construct a Unix-style search path, using given package output.
If no output is found, fallback to `.out` and then to the default.
/* Construct a Unix-style search path by appending the given
`subDir` to the specified `output` of each of the packages. If no
output by the given name is found, fallback to `.out` and then to
the default.
Type: string -> string -> [package] -> string
Example:
makeSearchPathOutput "dev" "bin" [ pkgs.openssl pkgs.zlib ]
=> "/nix/store/9rz8gxhzf8sw4kf2j2f1grr49w8zx5vj-openssl-1.0.1r-dev/bin:/nix/store/wwh7mhwh269sfjkm6k5665b5kgp7jrk2-zlib-1.2.8/bin"
*/
makeSearchPathOutput = output: subDir: pkgs: makeSearchPath subDir (map (lib.getOutput output) pkgs);
makeSearchPathOutput =
# Package output to use
output:
# Directory name to append
subDir:
# List of packages
pkgs: makeSearchPath subDir (map (lib.getOutput output) pkgs);
/* Construct a library search path (such as RPATH) containing the
libraries for a set of packages
@@ -117,13 +165,12 @@ rec {
/* Construct a perl search path (such as $PERL5LIB)
FIXME(zimbatm): this should be moved in perl-specific code
Example:
pkgs = import <nixpkgs> { }
makePerlPath [ pkgs.perlPackages.libnet ]
=> "/nix/store/n0m1fk9c960d8wlrs62sncnadygqqc6y-perl-Net-SMTP-1.25/lib/perl5/site_perl"
*/
# FIXME(zimbatm): this should be moved in perl-specific code
makePerlPath = makeSearchPathOutput "lib" "lib/perl5/site_perl";
/* Construct a perl search path recursively including all dependencies (such as $PERL5LIB)
@@ -138,40 +185,77 @@ rec {
/* Depending on the boolean `cond', return either the given string
or the empty string. Useful to concatenate against a bigger string.
Type: optionalString :: bool -> string -> string
Example:
optionalString true "some-string"
=> "some-string"
optionalString false "some-string"
=> ""
*/
optionalString = cond: string: if cond then string else "";
optionalString =
# Condition
cond:
# String to return if condition is true
string: if cond then string else "";
/* Determine whether a string has given prefix.
Type: hasPrefix :: string -> string -> bool
Example:
hasPrefix "foo" "foobar"
=> true
hasPrefix "foo" "barfoo"
=> false
*/
hasPrefix = pref: str:
substring 0 (stringLength pref) str == pref;
hasPrefix =
# Prefix to check for
pref:
# Input string
str: substring 0 (stringLength pref) str == pref;
/* Determine whether a string has given suffix.
Type: hasSuffix :: string -> string -> bool
Example:
hasSuffix "foo" "foobar"
=> false
hasSuffix "foo" "barfoo"
=> true
*/
hasSuffix = suffix: content:
hasSuffix =
# Suffix to check for
suffix:
# Input string
content:
let
lenContent = stringLength content;
lenSuffix = stringLength suffix;
in lenContent >= lenSuffix &&
substring (lenContent - lenSuffix) lenContent content == suffix;
/* Determine whether a string contains the given infix
Type: hasInfix :: string -> string -> bool
Example:
hasInfix "bc" "abcd"
=> true
hasInfix "ab" "abcd"
=> true
hasInfix "cd" "abcd"
=> true
hasInfix "foo" "abcd"
=> false
*/
hasInfix = infix: content:
let
drop = x: substring 1 (stringLength x) x;
in hasPrefix infix content
|| content != "" && hasInfix infix (drop content);
/* Convert a string to a list of characters (i.e. singleton strings).
This allows you to, e.g., map a function over each character. However,
note that this will likely be horribly inefficient; Nix is not a
@@ -180,6 +264,8 @@ rec {
Also note that Nix treats strings as a list of bytes and thus doesn't
handle unicode.
Type: stringtoCharacters :: string -> [string]
Example:
stringToCharacters ""
=> [ ]
@@ -194,18 +280,25 @@ rec {
/* Manipulate a string character by character and replace them by
strings before concatenating the results.
Type: stringAsChars :: (string -> string) -> string -> string
Example:
stringAsChars (x: if x == "a" then "i" else x) "nax"
=> "nix"
*/
stringAsChars = f: s:
concatStrings (
stringAsChars =
# Function to map over each individual character
f:
# Input string
s: concatStrings (
map f (stringToCharacters s)
);
/* Escape occurrence of the elements of list in string by
/* Escape occurrence of the elements of `list` in `string` by
prefixing it with a backslash.
Type: escape :: [string] -> string -> string
Example:
escape ["(" ")"] "(foo)"
=> "\\(foo\\)"
@@ -214,6 +307,8 @@ rec {
/* Quote string to be used safely within the Bourne shell.
Type: escapeShellArg :: string -> string
Example:
escapeShellArg "esc'ape\nme"
=> "'esc'\\''ape\nme'"
@@ -222,6 +317,8 @@ rec {
/* Quote all arguments to be safely passed to the Bourne shell.
Type: escapeShellArgs :: [string] -> string
Example:
escapeShellArgs ["one" "two three" "four'five"]
=> "'one' 'two three' 'four'\\''five'"
@@ -230,13 +327,15 @@ rec {
/* Turn a string into a Nix expression representing that string
Type: string -> string
Example:
escapeNixString "hello\${}\n"
=> "\"hello\\\${}\\n\""
*/
escapeNixString = s: escape ["$"] (builtins.toJSON s);
/* Obsolete - use replaceStrings instead. */
# Obsolete - use replaceStrings instead.
replaceChars = builtins.replaceStrings or (
del: new: s:
let
@@ -256,6 +355,8 @@ rec {
/* Converts an ASCII string to lower-case.
Type: toLower :: string -> string
Example:
toLower "HOME"
=> "home"
@@ -264,6 +365,8 @@ rec {
/* Converts an ASCII string to upper-case.
Type: toUpper :: string -> string
Example:
toUpper "home"
=> "HOME"
@@ -273,7 +376,7 @@ rec {
/* Appends string context from another string. This is an implementation
detail of Nix.
Strings in Nix carry an invisible `context' which is a list of strings
Strings in Nix carry an invisible `context` which is a list of strings
representing store paths. If the string is later used in a derivation
attribute, the derivation will properly populate the inputDrvs and
inputSrcs.
@@ -319,8 +422,9 @@ rec {
in
recurse 0 0;
/* Return the suffix of the second argument if the first argument matches
its prefix.
/* Return a string without the specified prefix, if the prefix matches.
Type: string -> string -> string
Example:
removePrefix "foo." "foo.bar.baz"
@@ -328,18 +432,23 @@ rec {
removePrefix "xxx" "foo.bar.baz"
=> "foo.bar.baz"
*/
removePrefix = pre: s:
removePrefix =
# Prefix to remove if it matches
prefix:
# Input string
str:
let
preLen = stringLength pre;
sLen = stringLength s;
preLen = stringLength prefix;
sLen = stringLength str;
in
if hasPrefix pre s then
substring preLen (sLen - preLen) s
if hasPrefix prefix str then
substring preLen (sLen - preLen) str
else
s;
str;
/* Return the prefix of the second argument if the first argument matches
its suffix.
/* Return a string without the specified suffix, if the suffix matches.
Type: string -> string -> string
Example:
removeSuffix "front" "homefront"
@@ -347,17 +456,21 @@ rec {
removeSuffix "xxx" "homefront"
=> "homefront"
*/
removeSuffix = suf: s:
removeSuffix =
# Suffix to remove if it matches
suffix:
# Input string
str:
let
sufLen = stringLength suf;
sLen = stringLength s;
sufLen = stringLength suffix;
sLen = stringLength str;
in
if sufLen <= sLen && suf == substring (sLen - sufLen) sufLen s then
substring 0 (sLen - sufLen) s
if sufLen <= sLen && suffix == substring (sLen - sufLen) sufLen str then
substring 0 (sLen - sufLen) str
else
s;
str;
/* Return true iff string v1 denotes a version older than v2.
/* Return true if string v1 denotes a version older than v2.
Example:
versionOlder "1.1" "1.2"
@@ -367,7 +480,7 @@ rec {
*/
versionOlder = v1: v2: builtins.compareVersions v2 v1 == 1;
/* Return true iff string v1 denotes a version equal to or newer than v2.
/* Return true if string v1 denotes a version equal to or newer than v2.
Example:
versionAtLeast "1.1" "1.0"
@@ -459,6 +572,11 @@ rec {
/* Create a fixed width string with additional prefix to match
required width.
This function will fail if the input string is longer than the
requested length.
Type: fixedWidthString :: int -> string -> string
Example:
fixedWidthString 5 "0" (toString 15)
=> "00015"
@@ -503,8 +621,9 @@ rec {
&& builtins.substring 0 1 (toString x) == "/"
&& dirOf (builtins.toPath x) == builtins.storeDir;
/* Convert string to int
Obviously, it is a bit hacky to use fromJSON that way.
/* Parse a string string as an int.
Type: string -> int
Example:
toInt "1337"
@@ -514,17 +633,18 @@ rec {
toInt "3.14"
=> error: floating point JSON numbers are not supported
*/
# Obviously, it is a bit hacky to use fromJSON this way.
toInt = str:
let may_be_int = builtins.fromJSON str; in
if builtins.isInt may_be_int
then may_be_int
else throw "Could not convert ${str} to int.";
/* Read a list of paths from `file', relative to the `rootPath'. Lines
beginning with `#' are treated as comments and ignored. Whitespace
is significant.
/* Read a list of paths from `file`, relative to the `rootPath`.
Lines beginning with `#` are treated as comments and ignored.
Whitespace is significant.
NOTE: this function is not performant and should be avoided
NOTE: This function is not performant and should be avoided.
Example:
readPathsFromFile /prefix
@@ -547,6 +667,8 @@ rec {
/* Read the contents of a file removing the trailing \n
Type: fileContents :: path -> string
Example:
$ echo "1.0" > ./version

View File

@@ -258,7 +258,6 @@ rec {
name = "armeabi";
gcc = {
arch = "armv5te";
float = "soft";
float-abi = "soft";
};
};
@@ -268,7 +267,6 @@ rec {
name = "armeabi-v7a";
gcc = {
arch = "armv7-a";
float = "hard";
float-abi = "softfp";
fpu = "vfpv3-d16";
};
@@ -471,6 +469,7 @@ rec {
"x86_64-linux" = pc64;
"armv5tel-linux" = sheevaplug;
"armv6l-linux" = raspberrypi;
"armv7a-linux" = armv7l-hf-multiplatform;
"armv7l-linux" = armv7l-hf-multiplatform;
"aarch64-linux" = aarch64-multiplatform;
"mipsel-linux" = fuloong2f_n32;

View File

@@ -9,23 +9,37 @@ rec {
Type: id :: a -> a
*/
id = x: x;
id =
# The value to return
x: x;
/* The constant function
Ignores the second argument.
Or: Construct a function that always returns a static value.
Ignores the second argument. If called with only one argument,
constructs a function that always returns a static value.
Type: const :: a -> b -> a
Example:
let f = const 5; in f 10
=> 5
*/
const = x: y: x;
const =
# Value to return
x:
# Value to ignore
y: x;
## Named versions corresponding to some builtin operators.
/* Concatenate two lists */
/* Concatenate two lists
Type: concat :: [a] -> [a] -> [a]
Example:
concat [ 1 2 ] [ 3 4 ]
=> [ 1 2 3 4 ]
*/
concat = x: y: x ++ y;
/* boolean or */
@@ -53,27 +67,40 @@ rec {
bitNot = builtins.sub (-1);
/* Convert a boolean to a string.
Note that toString on a bool returns "1" and "".
This function uses the strings "true" and "false" to represent
boolean values. Calling `toString` on a bool instead returns "1"
and "" (sic!).
Type: boolToString :: bool -> string
*/
boolToString = b: if b then "true" else "false";
/* Merge two attribute sets shallowly, right side trumps left
mergeAttrs :: attrs -> attrs -> attrs
Example:
mergeAttrs { a = 1; b = 2; } { b = 3; c = 4; }
=> { a = 1; b = 3; c = 4; }
*/
mergeAttrs = x: y: x // y;
mergeAttrs =
# Left attribute set
x:
# Right attribute set (higher precedence for equal keys)
y: x // y;
/* Flip the order of the arguments of a binary function.
Type: flip :: (a -> b -> c) -> (b -> a -> c)
Example:
flip concat [1] [2]
=> [ 2 1 ]
*/
flip = f: a: b: f b a;
/* Apply function if argument is non-null.
/* Apply function if the supplied argument is non-null.
Example:
mapNullable (x: x+1) null
@@ -81,7 +108,11 @@ rec {
mapNullable (x: x+1) 22
=> 23
*/
mapNullable = f: a: if isNull a then a else f a;
mapNullable =
# Function to call
f:
# Argument to check for null before passing it to `f`
a: if isNull a then a else f a;
# Pull in some builtins not included elsewhere.
inherit (builtins)
@@ -92,21 +123,27 @@ rec {
## nixpks version strings
# The current full nixpkgs version number.
/* Returns the current full nixpkgs version number. */
version = release + versionSuffix;
# The current nixpkgs version number as string.
/* Returns the current nixpkgs release number as string. */
release = lib.strings.fileContents ../.version;
# The current nixpkgs version suffix as string.
/* Returns the current nixpkgs version suffix as string. */
versionSuffix =
let suffixFile = ../.version-suffix;
in if pathExists suffixFile
then lib.strings.fileContents suffixFile
else "pre-git";
# Attempt to get the revision nixpkgs is from
revisionWithDefault = default:
/* Attempts to return the the current revision of nixpkgs and
returns the supplied default value otherwise.
Type: revisionWithDefault :: string -> string
*/
revisionWithDefault =
# Default value to return if revision can not be determined
default:
let
revisionFile = "${toString ./..}/.git-revision";
gitRepo = "${toString ./..}/.git";
@@ -117,14 +154,20 @@ rec {
nixpkgsVersion = builtins.trace "`lib.nixpkgsVersion` is deprecated, use `lib.version` instead!" version;
# Whether we're being called by nix-shell.
/* Determine whether the function is being called from inside a Nix
shell.
Type: inNixShell :: bool
*/
inNixShell = builtins.getEnv "IN_NIX_SHELL" != "";
## Integer operations
# Return minimum/maximum of two numbers.
/* Return minimum of two numbers. */
min = x: y: if x < y then x else y;
/* Return maximum of two numbers. */
max = x: y: if x > y then x else y;
/* Integer modulus
@@ -158,8 +201,9 @@ rec {
second subtype, compare elements of a single subtype with `yes`
and `no` respectively.
Example:
Type: (a -> bool) -> (a -> a -> int) -> (a -> a -> int) -> (a -> a -> int)
Example:
let cmp = splitByAndCompare (hasPrefix "foo") compare compare; in
cmp "a" "z" => -1
@@ -170,31 +214,44 @@ rec {
# while
compare "fooa" "a" => 1
*/
splitByAndCompare = p: yes: no: a: b:
splitByAndCompare =
# Predicate
p:
# Comparison function if predicate holds for both values
yes:
# Comparison function if predicate holds for neither value
no:
# First value to compare
a:
# Second value to compare
b:
if p a
then if p b then yes a b else -1
else if p b then 1 else no a b;
/* Reads a JSON file. */
/* Reads a JSON file.
Type :: path -> any
*/
importJSON = path:
builtins.fromJSON (builtins.readFile path);
## Warnings and asserts
/* See https://github.com/NixOS/nix/issues/749. Eventually we'd like these
to expand to Nix builtins that carry metadata so that Nix can filter out
the INFO messages without parsing the message string.
# See https://github.com/NixOS/nix/issues/749. Eventually we'd like these
# to expand to Nix builtins that carry metadata so that Nix can filter out
# the INFO messages without parsing the message string.
#
# Usage:
# {
# foo = lib.warn "foo is deprecated" oldFoo;
# }
#
# TODO: figure out a clever way to integrate location information from
# something like __unsafeGetAttrPos.
Usage:
{
foo = lib.warn "foo is deprecated" oldFoo;
}
TODO: figure out a clever way to integrate location information from
something like __unsafeGetAttrPos.
*/
warn = msg: builtins.trace "WARNING: ${msg}";
info = msg: builtins.trace "INFO: ${msg}";

View File

@@ -192,7 +192,10 @@ rec {
# separator between the values).
separatedString = sep: mkOptionType rec {
name = "separatedString";
description = "string";
description = if sep == ""
then "Concatenated string" # for types.string.
else "strings concatenated with ${builtins.toJSON sep}"
;
check = isString;
merge = loc: defs: concatStringsSep sep (getValues defs);
functor = (defaultFunctor name) // {

View File

@@ -3636,6 +3636,10 @@
github = "fkz";
name = "Fabian Schmitthenner";
};
schmittlauch = {
email = "t.schmittlauch+nixos@orlives.de";
github = "schmittlauch";
};
schneefux = {
email = "schneefux+nixos_pkg@schneefux.xyz";
github = "schneefux";

View File

@@ -1,5 +1,5 @@
#! /usr/bin/env nix-shell
#! nix-shell -i perl -p perl perlPackages.NetAmazonS3 perlPackages.FileSlurp nixUnstable nixUnstable.perl-bindings
#! nix-shell -i perl -p perl perlPackages.NetAmazonS3 perlPackages.FileSlurp perlPackages.JSON perlPackages.LWPProtocolHttps nixUnstable nixUnstable.perl-bindings
# This command uploads tarballs to tarballs.nixos.org, the
# content-addressed cache used by fetchurl as a fallback for when
@@ -101,8 +101,8 @@ sub uploadFile {
my ($name, $dest) = @_;
#print STDERR "linking $name to $dest...\n";
$bucket->add_key($name, "", {
'x-amz-website-redirect-location' => "/" . $dest,
'x-amz-acl' => "public-read"
'x-amz-website-redirect-location' => "/" . $dest,
'x-amz-acl' => "public-read"
})
or die "failed to create redirect from $name to $dest\n";
$cache{$name} = 1;
@@ -116,8 +116,8 @@ sub uploadFile {
# Upload the file as sha512/<hash-in-base-16>.
print STDERR "uploading $fn to $mainKey...\n";
$bucket->add_key_filename($mainKey, $fn, {
'x-amz-meta-original-name' => $name,
'x-amz-acl' => "public-read"
'x-amz-meta-original-name' => $name,
'x-amz-acl' => "public-read"
})
or die "failed to upload $fn to $mainKey\n";
$cache{$mainKey} = 1;

View File

@@ -31,7 +31,7 @@ let
if !canEval x then []
else if isDerivation x then optional (canEval x.drvPath) x
else if isList x then concatLists (map derivationsIn' x)
else if isAttrs x then concatLists (mapAttrsToList (n: v: derivationsIn' v) x)
else if isAttrs x then concatLists (mapAttrsToList (n: v: addErrorContext "while finding tarballs in '${n}':" (derivationsIn' v)) x)
else [ ];
keyDrv = drv: if canEval drv.drvPath then { key = drv.drvPath; value = drv; } else { };

View File

@@ -73,7 +73,8 @@ Linux foo 3.4.82 #1-NixOS SMP Thu Mar 20 14:44:05 UTC 2014 x86_64 GNU/Linux
</para>
<para>
To change the configuration of the container, you can edit
There are several ways to change the configuration of the container. First,
on the host, you can edit
<literal>/var/lib/container/<replaceable>name</replaceable>/etc/nixos/configuration.nix</literal>,
and run
<screen>
@@ -86,7 +87,8 @@ Linux foo 3.4.82 #1-NixOS SMP Thu Mar 20 14:44:05 UTC 2014 x86_64 GNU/Linux
<xref linkend="opt-services.httpd.enable"/> = true;
<xref linkend="opt-services.httpd.adminAddr"/> = "foo@example.org";
<xref linkend="opt-networking.firewall.allowedTCPPorts"/> = [ 80 ];
'
'
# curl http://$(nixos-container show-ip foo)/
&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">…
</screen>
@@ -95,13 +97,11 @@ Linux foo 3.4.82 #1-NixOS SMP Thu Mar 20 14:44:05 UTC 2014 x86_64 GNU/Linux
</para>
<para>
Note that in previous versions of NixOS (17.09 and earlier) one could also
use all nix-related commands (like <command>nixos-rebuild switch</command>)
from inside the container. However, since the release of Nix 2.0 this is not
supported anymore. Supporting Nix commands inside the container might be
possible again in future versions. See
<link xlink:href="https://github.com/NixOS/nixpkgs/issues/40355">the github
issue</link> for tracking progress on this issue.
Alternatively, you can change the configuration from within the container
itself by running <command>nixos-rebuild switch</command> inside the
container. Note that the container by default does not have a copy of the
NixOS channel, so you should run <command>nix-channel --update</command>
first.
</para>
<para>

View File

@@ -113,12 +113,10 @@ $ nixos-option <xref linkend="opt-boot.kernelModules"/>
[ "tun" "ipv6" "loop" <replaceable>...</replaceable> ]
</screen>
Interactive exploration of the configuration is possible using
<command
xlink:href="https://github.com/edolstra/nix-repl">nix-repl</command>,
a read-eval-print loop for Nix expressions. Its not installed by default;
run <literal>nix-env -i nix-repl</literal> to get it. A typical use:
<command>nix repl</command>, a read-eval-print loop for Nix expressions.
A typical use:
<screen>
$ nix-repl '&lt;nixpkgs/nixos>'
$ nix repl '&lt;nixpkgs/nixos>'
nix-repl> config.<xref linkend="opt-networking.hostName"/>
"mandark"

View File

@@ -1,37 +0,0 @@
<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-debugging-nixos-tests">
<title>Debugging NixOS tests</title>
<para>
Tests may fail and infrastructure offers access to inspect machine state.
</para>
<para>
To prevent test from stopping and cleaning up, insert a sleep command:
</para>
<programlisting>
$machine->succeed("sleep 84000");
</programlisting>
<para>
As soon as machine starts run as root:
</para>
<programlisting>
nix-shell -p socat --run "socat STDIO,raw,echo=0,escape=0x11 UNIX:/tmp/nix-build-vm-test-run-*.drv-0/vm-state-machine/backdoor"
</programlisting>
<para>
You may need to find the correct path, replacing <literal>/tmp</literal>,
<literal>*</literal> or <literal>machine</literal>.
</para>
<para>
Press "enter" to open up console and login as "root". After you're done,
press "ctrl-q" to exit the console.
</para>
</section>

View File

@@ -16,5 +16,4 @@ xlink:href="https://github.com/NixOS/nixpkgs/tree/master/nixos/tests">nixos/test
<xi:include href="writing-nixos-tests.xml" />
<xi:include href="running-nixos-tests.xml" />
<xi:include href="running-nixos-tests-interactively.xml" />
<xi:include href="debugging-nixos-tests.xml" />
</chapter>

View File

@@ -115,10 +115,17 @@
</listitem>
<listitem>
<para>
Add a <emphasis>swap</emphasis> partition. The size required will vary
according to needs, here a 8GiB one is created. The space left in front
(512MiB) will be used by the boot partition.
<screen language="commands"># parted /dev/sda -- mkpart primary linux-swap 512MiB 8.5GiB</screen>
Add the <emphasis>root</emphasis> partition. This will fill the disk
except for the end part, where the swap will live, and the space left in
front (512MiB) which will be used by the boot partition.
<screen language="commands"># parted /dev/sda -- mkpart primary 512MiB -8GiB</screen>
</para>
</listitem>
<listitem>
<para>
Next, add a <emphasis>swap</emphasis> partition. The size required will
vary according to needs, here a 8GiB one is created.
<screen language="commands"># parted /dev/sda -- mkpart primary linux-swap -8GiB 100%</screen>
<note>
<para>
The swap partition size rules are no different than for other Linux
@@ -127,20 +134,13 @@
</note>
</para>
</listitem>
<listitem>
<para>
Next, add the <emphasis>root</emphasis> partition. This will fill the
remainder ending part of the disk.
<screen language="commands"># parted /dev/sda -- mkpart primary 8.5GiB -1MiB</screen>
</para>
</listitem>
<listitem>
<para>
Finally, the <emphasis>boot</emphasis> partition. NixOS by default uses
the ESP (EFI system partition) as its <emphasis>/boot</emphasis>
partition. It uses the initially reserved 512MiB at the start of the
disk.
<screen language="commands"># parted /dev/sda -- mkpart ESP fat32 1M 512MiB
<screen language="commands"># parted /dev/sda -- mkpart ESP fat32 1MiB 512MiB
# parted /dev/sda -- set 3 boot on</screen>
</para>
</listitem>
@@ -177,9 +177,16 @@
</listitem>
<listitem>
<para>
Add a <emphasis>swap</emphasis> partition. The size required will vary
according to needs, here a 8GiB one is created.
<screen language="commands"># parted /dev/sda -- mkpart primary linux-swap 1M 8GiB</screen>
Add the <emphasis>root</emphasis> partition. This will fill the the disk
except for the end part, where the swap will live.
<screen language="commands"># parted /dev/sda -- mkpart primary 1MiB -8GiB</screen>
</para>
</listitem>
<listitem>
<para>
Finally, add a <emphasis>swap</emphasis> partition. The size required
will vary according to needs, here a 8GiB one is created.
<screen language="commands"># parted /dev/sda -- mkpart primary linux-swap -8GiB 100%</screen>
<note>
<para>
The swap partition size rules are no different than for other Linux
@@ -188,13 +195,6 @@
</note>
</para>
</listitem>
<listitem>
<para>
Finally, add the <emphasis>root</emphasis> partition. This will fill the
remainder of the disk.
<screen language="commands"># parted /dev/sda -- mkpart primary 8GiB -1s</screen>
</para>
</listitem>
</orderedlist>
</para>
@@ -486,17 +486,17 @@ $ nix-env -i w3m</screen>
<title>Example partition schemes for NixOS on <filename>/dev/sda</filename> (MBR)</title>
<screen language="commands">
# parted /dev/sda -- mklabel msdos
# parted /dev/sda -- mkpart primary linux-swap 1M 8GiB
# parted /dev/sda -- mkpart primary 8GiB -1s</screen>
# parted /dev/sda -- mkpart primary 1MiB -8GiB
# parted /dev/sda -- mkpart primary linux-swap -8GiB 100%</screen>
</example>
<example xml:id="ex-partition-scheme-UEFI">
<title>Example partition schemes for NixOS on <filename>/dev/sda</filename> (UEFI)</title>
<screen language="commands">
# parted /dev/sda -- mklabel gpt
# parted /dev/sda -- mkpart primary linux-swap 512MiB 8.5GiB
# parted /dev/sda -- mkpart primary 8.5GiB -1MiB
# parted /dev/sda -- mkpart ESP fat32 1M 512MiB
# parted /dev/sda -- mkpart primary 512MiB -8GiB
# parted /dev/sda -- mkpart primary linux-swap -8GiB 100%
# parted /dev/sda -- mkpart ESP fat32 1MiB 512MiB
# parted /dev/sda -- set 3 boot on</screen>
</example>

View File

@@ -475,6 +475,48 @@ $ nix-instantiate -E '(import &lt;nixpkgsunstable&gt; {}).gitFull'
</para>
<itemizedlist>
<listitem>
<para>
Some licenses that were incorrectly not marked as unfree now are. This is
the case for:
<itemizedlist>
<listitem>
<para>
cc-by-nc-sa-20: Creative Commons Attribution Non Commercial Share Alike
2.0
</para>
</listitem>
<listitem>
<para>
cc-by-nc-sa-25: Creative Commons Attribution Non Commercial Share Alike
2.5
</para>
</listitem>
<listitem>
<para>
cc-by-nc-sa-30: Creative Commons Attribution Non Commercial Share Alike
3.0
</para>
</listitem>
<listitem>
<para>
cc-by-nc-sa-40: Creative Commons Attribution Non Commercial Share Alike
4.0
</para>
</listitem>
<listitem>
<para>
cc-by-nd-30: Creative Commons Attribution-No Derivative Works v3.00
</para>
</listitem>
<listitem>
<para>
msrla: Microsoft Research License Agreement
</para>
</listitem>
</itemizedlist>
</para>
</listitem>
<listitem>
<para>
The deprecated <varname>services.cassandra</varname> module has seen a
@@ -595,6 +637,11 @@ $ nix-instantiate -E '(import &lt;nixpkgsunstable&gt; {}).gitFull'
anyways for clarity.
</para>
</listitem>
<listitem>
<para>
Groups <literal>kvm</literal> and <literal>render</literal> are introduced now, as systemd requires them.
</para>
</listitem>
</itemizedlist>
</section>

View File

@@ -94,5 +94,24 @@ pkgs.stdenv.mkDerivation {
cat errorlog
return 1
fi
(
# Resizes **snugly** to its actual limits (or closer to)
free=$(dumpe2fs $out | grep '^Free blocks:')
blocksize=$(dumpe2fs $out | grep '^Block size:')
blocks=$(dumpe2fs $out | grep '^Block count:')
blocks=$((''${blocks##*:})) # format the number.
blocksize=$((''${blocksize##*:})) # format the number.
# System can't boot with 0 blocks free.
# Add 16MiB of free space
fudge=$(( 16 * 1024 * 1024 / blocksize ))
size=$(( blocks - ''${free##*:} + fudge ))
echo "Resizing from $blocks blocks to $size blocks. (~ $((size*blocksize/1024/1024))MiB)"
EXT2FS_NO_MTAB_OK=yes resize2fs $out -f $size
)
# And a final fsck, because of the previous truncating.
fsck.ext4 -n -f $out
'';
}

View File

@@ -155,10 +155,8 @@ sub start {
$ENV{USE_TMPDIR} = 1;
$ENV{QEMU_OPTS} =
($self->{allowReboot} ? "" : "-no-reboot ") .
"-monitor unix:./monitor " .
"-chardev socket,id=shell,path=./shell -device virtio-serial -device virtconsole,chardev=shell " .
# socket backdoor, see "Debugging NixOS tests" section in NixOS manual
"-chardev socket,id=backdoor,path=./backdoor,server,nowait -device virtio-serial -device virtconsole,chardev=backdoor " .
"-monitor unix:./monitor -chardev socket,id=shell,path=./shell " .
"-device virtio-serial -device virtconsole,chardev=shell " .
"-device virtio-rng-pci " .
($showGraphics ? "-serial stdio" : "-nographic") . " " . ($ENV{QEMU_OPTS} || "");
chdir $self->{stateDir} or die;
@@ -250,7 +248,7 @@ sub connect {
$self->start;
local $SIG{ALRM} = sub { die "timed out waiting for the VM to connect\n"; };
alarm 300;
alarm 600;
readline $self->{socket} or die "the VM quit before connecting\n";
alarm 0;

View File

@@ -269,7 +269,7 @@ in
};
config = mkIf (config.fonts.fontconfig.enable && cfg.enable) {
config = mkIf (config.fonts.fontconfig.enable && config.fonts.fontconfig.penultimate.enable) {
fonts.fontconfig.confPackages = [ penultimateConf ];

View File

@@ -233,6 +233,10 @@ in
# a collision with an apparently unrelated environment
# variable with the same name exported by dhcpcd.
interface_order='lo lo[0-9]*'
'' + optionalString config.services.nscd.enable ''
# Invalidate the nscd cache whenever resolv.conf is
# regenerated.
libc_restart='${pkgs.systemd}/bin/systemctl try-restart --no-block nscd.service 2> /dev/null'
'' + optionalString (length resolvconfOptions > 0) ''
# Options as described in resolv.conf(5)
resolv_conf_options='${concatStringsSep " " resolvconfOptions}'

View File

@@ -564,7 +564,10 @@ in {
};
}) (filterAttrs (_: u: u.packages != []) cfg.users));
environment.profiles = [ "/etc/profiles/per-user/$USER" ];
environment.profiles = [
"$HOME/.nix-profile"
"/etc/profiles/per-user/$USER"
];
assertions = [
{ assertion = !cfg.enforceIdUniqueness || (uidsAreUnique && gidsAreUnique);

View File

@@ -26,25 +26,135 @@ let
nvidia_libs32 = (nvidiaForKernel pkgs_i686.linuxPackages).override { libsOnly = true; kernel = null; };
enabled = nvidia_x11 != null;
cfg = config.hardware.nvidia;
optimusCfg = cfg.optimus_prime;
in
{
options = {
hardware.nvidia.modesetting.enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Enable kernel modesetting when using the NVIDIA proprietary driver.
Enabling this fixes screen tearing when using Optimus via PRIME (see
<option>hardware.nvidia.optimus_prime.enable</option>. This is not enabled
by default because it is not officially supported by NVIDIA and would not
work with SLI.
'';
};
hardware.nvidia.optimus_prime.enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Enable NVIDIA Optimus support using the NVIDIA proprietary driver via PRIME.
If enabled, the NVIDIA GPU will be always on and used for all rendering,
while enabling output to displays attached only to the integrated Intel GPU
without a multiplexer.
Note that this option only has any effect if the "nvidia" driver is specified
in <option>services.xserver.videoDrivers</option>, and it should preferably
be the only driver there.
If this is enabled, then the bus IDs of the NVIDIA and Intel GPUs have to be
specified (<option>hardware.nvidia.optimus_prime.nvidiaBusId</option> and
<option>hardware.nvidia.optimus_prime.intelBusId</option>).
If you enable this, you may want to also enable kernel modesetting for the
NVIDIA driver (<option>hardware.nvidia.modesetting.enable</option>) in order
to prevent tearing.
Note that this configuration will only be successful when a display manager
for which the <option>services.xserver.displayManager.setupCommands</option>
option is supported is used; notably, SLiM is not supported.
'';
};
hardware.nvidia.optimus_prime.nvidiaBusId = lib.mkOption {
type = lib.types.string;
default = "";
example = "PCI:1:0:0";
description = ''
Bus ID of the NVIDIA GPU. You can find it using lspci; for example if lspci
shows the NVIDIA GPU at "01:00.0", set this option to "PCI:1:0:0".
'';
};
hardware.nvidia.optimus_prime.intelBusId = lib.mkOption {
type = lib.types.string;
default = "";
example = "PCI:0:2:0";
description = ''
Bus ID of the Intel GPU. You can find it using lspci; for example if lspci
shows the Intel GPU at "00:02.0", set this option to "PCI:0:2:0".
'';
};
};
config = mkIf enabled {
assertions = [
{
assertion = config.services.xserver.displayManager.gdm.wayland;
assertion = with config.services.xserver.displayManager; gdm.enable -> !gdm.wayland;
message = "NVidia drivers don't support wayland";
}
{
assertion = !optimusCfg.enable ||
(optimusCfg.nvidiaBusId != "" && optimusCfg.intelBusId != "");
message = ''
When NVIDIA Optimus via PRIME is enabled, the GPU bus IDs must configured.
'';
}
];
services.xserver.drivers = singleton
{ name = "nvidia"; modules = [ nvidia_x11.bin ]; libPath = [ nvidia_x11 ]; };
# If Optimus/PRIME is enabled, we:
# - Specify the configured NVIDIA GPU bus ID in the Device section for the
# "nvidia" driver.
# - Add the AllowEmptyInitialConfiguration option to the Screen section for the
# "nvidia" driver, in order to allow the X server to start without any outputs.
# - Add a separate Device section for the Intel GPU, using the "modesetting"
# driver and with the configured BusID.
# - Reference that Device section from the ServerLayout section as an inactive
# device.
# - Configure the display manager to run specific `xrandr` commands which will
# configure/enable displays connected to the Intel GPU.
services.xserver.screenSection =
services.xserver.drivers = singleton {
name = "nvidia";
modules = [ nvidia_x11.bin ];
libPath = [ nvidia_x11 ];
deviceSection = optionalString optimusCfg.enable
''
BusID "${optimusCfg.nvidiaBusId}"
'';
screenSection =
''
Option "RandRRotation" "on"
${optionalString optimusCfg.enable "Option \"AllowEmptyInitialConfiguration\""}
'';
};
services.xserver.extraConfig = optionalString optimusCfg.enable
''
Option "RandRRotation" "on"
Section "Device"
Identifier "nvidia-optimus-intel"
Driver "modesetting"
BusID "${optimusCfg.intelBusId}"
Option "AccelMethod" "none"
EndSection
'';
services.xserver.serverLayoutSection = optionalString optimusCfg.enable
''
Inactive "nvidia-optimus-intel"
'';
services.xserver.displayManager.setupCommands = optionalString optimusCfg.enable ''
# Added by nvidia configuration module for Optimus/PRIME.
${pkgs.xorg.xrandr}/bin/xrandr --setprovideroutputsource modesetting NVIDIA-0
${pkgs.xorg.xrandr}/bin/xrandr --auto
'';
environment.etc."nvidia/nvidia-application-profiles-rc" = mkIf nvidia_x11.useProfiles {
source = "${nvidia_x11.bin}/share/nvidia/nvidia-application-profiles-rc";
@@ -62,6 +172,8 @@ in
boot.kernelModules = [ "nvidia-uvm" ] ++
lib.optionals config.services.xserver.enable [ "nvidia" "nvidia_modeset" "nvidia_drm" ];
# If requested enable modesetting via kernel parameter.
boot.kernelParams = optional cfg.modesetting.enable "nvidia-drm.modeset=1";
# Create /dev/nvidia-uvm when the nvidia-uvm module is loaded.
services.udev.extraRules =

View File

@@ -134,7 +134,9 @@ in
${config.sdImage.populateBootCommands}
# Copy the populated /boot into the SD image
(cd boot; mcopy -bpsvm -i ../bootpart.img ./* ::)
(cd boot; mcopy -psvm -i ../bootpart.img ./* ::)
# Verify the FAT partition before copying it.
fsck.vfat -vn bootpart.img
dd conv=notrunc if=bootpart.img of=$img seek=$START count=$SECTORS
'';
}) {};

View File

@@ -1,6 +1,6 @@
{
x86_64-linux = "/nix/store/h180y3n5k1ypxgm1pcvj243qix5j45zz-nix-2.1.1";
i686-linux = "/nix/store/v2y4k4v9ml07jmfq739wyflapg3b7b5k-nix-2.1.1";
aarch64-linux = "/nix/store/v485craglq7xm5996ci8qy5dyc17dab0-nix-2.1.1";
x86_64-darwin = "/nix/store/lc3ymlix73kaad5srjdgaxp9ngr1sg6g-nix-2.1.1";
x86_64-linux = "/nix/store/cdcia67siabmj6li7vyffgv2cry86fq8-nix-2.1.3";
i686-linux = "/nix/store/6q3xi6y5qnsv7d62b8n00hqfxi8rs2xs-nix-2.1.3";
aarch64-linux = "/nix/store/2v93d0vimlm28jg0ms6v1i6lc0fq13pn-nix-2.1.3";
x86_64-darwin = "/nix/store/dkjlfkrknmxbjmpfk3dg4q3nmb7m3zvk-nix-2.1.3";
}

View File

@@ -260,6 +260,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
@@ -279,7 +287,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

@@ -383,7 +383,7 @@
virtuoso = 44;
#rtkit = 45; # unused
dovecot2 = 46;
#dovenull = 47; # unused
dovenull2 = 47;
prayer = 49;
mpd = 50;
clamav = 51;

View File

@@ -78,6 +78,7 @@
./misc/version.nix
./programs/adb.nix
./programs/atop.nix
./programs/autojump.nix
./programs/bash/bash.nix
./programs/bcc.nix
./programs/blcr.nix
@@ -293,6 +294,7 @@
./services/logging/graylog.nix
./services/logging/heartbeat.nix
./services/logging/journalbeat.nix
./services/logging/journaldriver.nix
./services/logging/journalwatch.nix
./services/logging/klogd.nix
./services/logging/logcheck.nix
@@ -679,6 +681,7 @@
./services/web-apps/atlassian/jira.nix
./services/web-apps/frab.nix
./services/web-apps/mattermost.nix
./services/web-apps/nextcloud.nix
./services/web-apps/nexus.nix
./services/web-apps/pgpkeyserver-lite.nix
./services/web-apps/matomo.nix

View File

@@ -46,7 +46,7 @@
];
# Include support for various filesystems.
boot.supportedFilesystems = [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs" ];
boot.supportedFilesystems = [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "zfs" "ntfs" "cifs" ];
# Configure host id for ZFS to work
networking.hostId = lib.mkDefault "8425e349";

View File

@@ -62,7 +62,7 @@ with lib;
# Tell the Nix evaluator to garbage collect more aggressively.
# This is desirable in memory-constrained environments that don't
# (yet) have swap set up.
environment.variables.GC_INITIAL_HEAP_SIZE = "100000";
environment.variables.GC_INITIAL_HEAP_SIZE = "1M";
# Make the installer more likely to succeed in low memory
# environments. The kernel's overcommit heustistics bite us

View File

@@ -0,0 +1,33 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.programs.autojump;
prg = config.programs;
in
{
options = {
programs.autojump = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
Whether to enable autojump.
'';
};
};
};
###### implementation
config = mkIf cfg.enable {
environment.pathsToLink = [ "/share/autojump" ];
environment.systemPackages = [ pkgs.autojump ];
programs.bash.interactiveShellInit = "source ${pkgs.autojump}/share/autojump/autojump.bash";
programs.zsh.interactiveShellInit = mkIf prg.zsh.enable "source ${pkgs.autojump}/share/autojump/autojump.zsh";
programs.fish.interactiveShellInit = mkIf prg.fish.enable "source ${pkgs.autojump}/share/autojump/autojump.fish";
};
}

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

@@ -23,9 +23,8 @@ in
XCURSOR_PATH = [ "$HOME/.icons" ];
};
environment.profiles =
[ "$HOME/.nix-profile"
"/nix/var/nix/profiles/default"
environment.profiles = mkAfter
[ "/nix/var/nix/profiles/default"
"/run/current-system/sw"
];

View File

@@ -19,7 +19,7 @@
configuration format of <literal>oh-my-zsh</literal>.
<programlisting>
{
programs.ohMyZsh = {
programs.zsh.ohMyZsh = {
enable = true;
plugins = [ "git" "python" "man" ];
theme = "agnoster";
@@ -51,7 +51,7 @@
The module can do this as well:
<programlisting>
{
programs.ohMyZsh.custom = "~/path/to/custom/scripts";
programs.zsh.ohMyZsh.custom = "~/path/to/custom/scripts";
}
</programlisting>
</para>
@@ -73,7 +73,7 @@
<programlisting>
{ pkgs, ... }:
{
programs.ohMyZsh.customPkgs = with pkgs; [
programs.zsh.ohMyZsh.customPkgs = with pkgs; [
pkgs.nix-zsh-completions
# and even more...
];
@@ -87,7 +87,7 @@
<para>
<emphasis>Please keep in mind that this is not compatible with
<literal>programs.ohMyZsh.custom</literal> as it requires an immutable store
<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>

View File

@@ -73,7 +73,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

@@ -20,6 +20,8 @@ let
'';
script = ''
umask 0077 # ensure backup is only readable by postgres user
if [ -e ${cfg.location}/${db}.sql.gz ]; then
${pkgs.coreutils}/bin/mv ${cfg.location}/${db}.sql.gz ${cfg.location}/${db}.prev.sql.gz
fi

View File

@@ -42,6 +42,18 @@ in {
type = types.str;
description = ''
User token in Jenkins used to reload config.
WARNING: This token will be world readable in the Nix store. To keep
it secret, use the <option>accessTokenFile</option> option instead.
'';
};
accessTokenFile = mkOption {
default = "";
type = types.str;
example = "/run/keys/jenkins-job-builder-access-token";
description = ''
File containing the API token for the <option>accessUser</option>
user.
'';
};
@@ -103,6 +115,21 @@ in {
};
config = mkIf (jenkinsCfg.enable && cfg.enable) {
assertions = [
{ assertion =
if cfg.accessUser != ""
then (cfg.accessToken != "" && cfg.accessTokenFile == "") ||
(cfg.accessToken == "" && cfg.accessTokenFile != "")
else true;
message = ''
One of accessToken and accessTokenFile options must be non-empty
strings, but not both. Current values:
services.jenkins.jobBuilder.accessToken = "${cfg.accessToken}"
services.jenkins.jobBuilder.accessTokenFile = "${cfg.accessTokenFile}"
'';
}
];
systemd.services.jenkins-job-builder = {
description = "Jenkins Job Builder Service";
# JJB can run either before or after jenkins. We chose after, so we can
@@ -128,8 +155,13 @@ in {
ownerStamp = ".config-xml-managed-by-nixos-jenkins-job-builder";
reloadScript = ''
echo "Asking Jenkins to reload config"
CRUMB=$(curl -s 'http://${cfg.accessUser}:${cfg.accessToken}@${jenkinsCfg.listenAddress}:${toString jenkinsCfg.port}${jenkinsCfg.prefix}/crumbIssuer/api/xml?xpath=concat(//crumbRequestField,":",//crumb)')
curl --silent -X POST -H "$CRUMB" http://${cfg.accessUser}:${cfg.accessToken}@${jenkinsCfg.listenAddress}:${toString jenkinsCfg.port}${jenkinsCfg.prefix}/reload
curl_opts="--silent --fail --show-error"
access_token=${if cfg.accessTokenFile != ""
then "$(cat '${cfg.accessTokenFile}')"
else cfg.accessToken}
jenkins_url="http://${cfg.accessUser}:$access_token@${jenkinsCfg.listenAddress}:${toString jenkinsCfg.port}${jenkinsCfg.prefix}"
crumb=$(curl $curl_opts "$jenkins_url"'/crumbIssuer/api/xml?xpath=concat(//crumbRequestField,":",//crumb)')
curl $curl_opts -X POST -H "$crumb" "$jenkins_url"/reload
'';
in
''

View File

@@ -12,12 +12,22 @@ let
let
pName = _p: (builtins.parseDrvName (_p.name)).name;
in pName mysql == pName pkgs.mariadb;
isMysqlAtLeast57 =
let
pName = _p: (builtins.parseDrvName (_p.name)).name;
in (pName mysql == pName pkgs.mysql57)
&& ((builtins.compareVersions mysql.version "5.7") >= 0);
pidFile = "${cfg.pidDir}/mysqld.pid";
mysqldAndInstallOptions =
"--user=${cfg.user} --datadir=${cfg.dataDir} --basedir=${mysql}";
mysqldOptions =
"--user=${cfg.user} --datadir=${cfg.dataDir} --basedir=${mysql} " +
"--pid-file=${pidFile}";
"${mysqldAndInstallOptions} --pid-file=${pidFile}";
# For MySQL 5.7+, --insecure creates the root user without password
# (earlier versions and MariaDB do this by default).
installOptions =
"${mysqldAndInstallOptions} ${lib.optionalString isMysqlAtLeast57 "--insecure"}";
myCnf = pkgs.writeText "my.cnf"
''
@@ -252,7 +262,7 @@ in
if ! test -e ${cfg.dataDir}/mysql; then
mkdir -m 0700 -p ${cfg.dataDir}
chown -R ${cfg.user} ${cfg.dataDir}
${mysql}/bin/mysql_install_db ${mysqldOptions}
${mysql}/bin/mysql_install_db ${installOptions}
touch /tmp/mysql_init
fi
@@ -351,7 +361,7 @@ in
${optionalString (cfg.ensureDatabases != []) ''
(
${concatMapStrings (database: ''
echo "CREATE DATABASE IF NOT EXISTS ${database};"
echo "CREATE DATABASE IF NOT EXISTS \`${database}\`;"
'') cfg.ensureDatabases}
) | ${mysql}/bin/mysql -u root -N
''}

View File

@@ -247,6 +247,8 @@ in
# Give Postgres a decent amount of time to clean up after
# receiving systemd's SIGINT.
TimeoutSec = 120;
Type = if versionAtLeast cfg.package.psqlSchema "9.6" then "notify" else "simple";
};
# Wait for PostgreSQL to be ready to accept connections.

View File

@@ -4,10 +4,6 @@
with lib;
let
# the demo agent isn't built by default, but we need it here
package = pkgs.geoclue2.override { withDemoAgent = config.services.geoclue2.enableDemoAgent; };
in
{
###### interface
@@ -25,42 +21,21 @@ in
'';
};
enableDemoAgent = mkOption {
type = types.bool;
default = true;
description = ''
Whether to use the GeoClue demo agent. This should be
overridden by desktop environments that provide their own
agent.
'';
};
};
};
###### implementation
config = mkIf config.services.geoclue2.enable {
environment.systemPackages = [ package ];
environment.systemPackages = [ pkgs.geoclue2 ];
services.dbus.packages = [ package ];
services.dbus.packages = [ pkgs.geoclue2 ];
systemd.packages = [ pkgs.geoclue2 ];
systemd.packages = [ package ];
# this needs to run as a user service, since it's associated with the
# user who is making the requests
systemd.user.services = mkIf config.services.geoclue2.enableDemoAgent {
"geoclue-agent" = {
description = "Geoclue agent";
script = "${package}/libexec/geoclue-2.0/demos/agent";
# this should really be `partOf = [ "geoclue.service" ]`, but
# we can't be part of a system service, and the agent should
# be okay with the main service coming and going
wantedBy = [ "default.target" ];
};
};
};
}

View File

@@ -145,6 +145,7 @@ in {
systemd.services.jupyter = {
description = "Jupyter development server";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
# TODO: Patch notebook so we can explicitly pass in a shell

View File

@@ -56,6 +56,8 @@ in
powerManagement.scsiLinkPolicy = null;
powerManagement.cpuFreqGovernor = null;
powerManagement.cpufreq.max = null;
powerManagement.cpufreq.min = null;
systemd.sockets."systemd-rfkill".enable = false;

View File

@@ -27,13 +27,13 @@ in {
destination = "/etc/udev/rules.d/51-trezor.rules";
text = ''
# TREZOR v1 (One)
SUBSYSTEM=="usb", ATTR{idVendor}=="534c", ATTR{idProduct}=="0001", MODE="0666", GROUP="dialout", TAG+="uaccess", TAG+="udev-acl", SYMLINK+="trezor%n"
KERNEL=="hidraw*", ATTRS{idVendor}=="534c", ATTRS{idProduct}=="0001", MODE="0666", GROUP="dialout", TAG+="uaccess", TAG+="udev-acl"
SUBSYSTEM=="usb", ATTR{idVendor}=="534c", ATTR{idProduct}=="0001", MODE="0660", GROUP="trezord", TAG+="uaccess", SYMLINK+="trezor%n"
KERNEL=="hidraw*", ATTRS{idVendor}=="534c", ATTRS{idProduct}=="0001", MODE="0660", GROUP="trezord", TAG+="uaccess"
# TREZOR v2 (T)
SUBSYSTEM=="usb", ATTR{idVendor}=="1209", ATTR{idProduct}=="53c0", MODE="0661", GROUP="dialout", TAG+="uaccess", TAG+="udev-acl", SYMLINK+="trezor%n"
SUBSYSTEM=="usb", ATTR{idVendor}=="1209", ATTR{idProduct}=="53c1", MODE="0666", GROUP="dialout", TAG+="uaccess", TAG+="udev-acl", SYMLINK+="trezor%n"
KERNEL=="hidraw*", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="53c1", MODE="0666", GROUP="dialout", TAG+="uaccess", TAG+="udev-acl"
SUBSYSTEM=="usb", ATTR{idVendor}=="1209", ATTR{idProduct}=="53c0", MODE="0660", GROUP="trezord", TAG+="uaccess", SYMLINK+="trezor%n"
SUBSYSTEM=="usb", ATTR{idVendor}=="1209", ATTR{idProduct}=="53c1", MODE="0660", GROUP="trezord", TAG+="uaccess", SYMLINK+="trezor%n"
KERNEL=="hidraw*", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="53c1", MODE="0660", GROUP="trezord", TAG+="uaccess"
'';
});

View File

@@ -7,7 +7,7 @@
# to be set.
#
# For further information please consult the documentation in the
# upstream repository at: https://github.com/aprilabank/journaldriver/
# upstream repository at: https://github.com/tazjin/journaldriver/
{ config, lib, pkgs, ...}:

View File

@@ -311,7 +311,7 @@ in
{ name = "dovenull";
uid = config.ids.uids.dovenull2;
description = "Dovecot user for untrusted logins";
group = cfg.group;
group = "dovenull";
}
] ++ optional (cfg.user == "dovecot2")
{ name = "dovecot2";
@@ -332,6 +332,10 @@ in
}
++ optional (cfg.createMailUser && cfg.mailGroup != null)
{ name = cfg.mailGroup;
}
++ singleton
{ name = "dovenull";
gid = config.ids.gids.dovenull2;
};
environment.etc."dovecot/modules".source = modulesDir;

View File

@@ -52,7 +52,7 @@ in
enable = mkOption {
type = types.bool;
default = cfg.rspamd.enable;
default = false;
description = "Whether to run the rmilter daemon.";
};

View File

@@ -36,11 +36,18 @@ in
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
preStart = ''
test -d ${cfg.dataDir} || {
echo "Creating initial Emby data directory in ${cfg.dataDir}"
mkdir -p ${cfg.dataDir}
chown -R ${cfg.user}:${cfg.group} ${cfg.dataDir}
}
if [ -d ${cfg.dataDir} ]
then
for plugin in ${cfg.dataDir}/plugins/*
do
echo "Correcting permissions of plugin: $plugin"
chmod u+w $plugin
done
else
echo "Creating initial Emby data directory in ${cfg.dataDir}"
mkdir -p ${cfg.dataDir}
chown -R ${cfg.user}:${cfg.group} ${cfg.dataDir}
fi
'';
serviceConfig = {
@@ -48,7 +55,7 @@ in
User = cfg.user;
Group = cfg.group;
PermissionsStartOnly = "true";
ExecStart = "${pkgs.emby}/bin/MediaBrowser.Server.Mono";
ExecStart = "${pkgs.emby}/bin/emby -programdata ${cfg.dataDir}";
Restart = "on-failure";
};
};

View File

@@ -405,6 +405,9 @@ in
cp -Rf ${pkgs.zookeeper}/* ${cfg.baseDir}/zookeeper
chown -R zookeeper ${cfg.baseDir}/zookeeper/conf
chmod -R u+w ${cfg.baseDir}/zookeeper/conf
replace_what=$(echo ${pkgs.zookeeper} | sed 's/[\/&]/\\&/g')
replace_with=$(echo ${cfg.baseDir}/zookeeper | sed 's/[\/&]/\\&/g')
sed -i 's/'"$replace_what"'/'"$replace_with"'/g' ${cfg.baseDir}/zookeeper/bin/zk*.sh
'';
};
users.users = singleton {

View File

@@ -6,6 +6,7 @@ let
cfg = config.services.gitea;
gitea = cfg.package;
pg = config.services.postgresql;
useMysql = cfg.database.type == "mysql";
usePostgresql = cfg.database.type == "postgres";
configFile = pkgs.writeText "app.ini" ''
APP_NAME = ${cfg.appName}
@@ -14,7 +15,7 @@ let
[database]
DB_TYPE = ${cfg.database.type}
HOST = ${cfg.database.host}:${toString cfg.database.port}
HOST = ${if cfg.database.socket != null then cfg.database.socket else cfg.database.host + ":" + toString cfg.database.port}
NAME = ${cfg.database.name}
USER = ${cfg.database.user}
PASSWD = #dbpass#
@@ -148,6 +149,13 @@ in
'';
};
socket = mkOption {
type = types.nullOr types.path;
default = null;
example = "/run/mysqld/mysqld.sock";
description = "Path to the unix socket file to use for authentication.";
};
path = mkOption {
type = types.str;
default = "${cfg.stateDir}/data/gitea.db";
@@ -253,7 +261,7 @@ in
systemd.services.gitea = {
description = "gitea";
after = [ "network.target" "postgresql.service" ];
after = [ "network.target" ] ++ lib.optional usePostgresql "postgresql.service" ++ lib.optional useMysql "mysql.service";
wantedBy = [ "multi-user.target" ];
path = [ gitea.bin ];

View File

@@ -14,15 +14,17 @@ let
pathUrlQuote = url: replaceStrings ["/"] ["%2F"] url;
pgSuperUser = config.services.postgresql.superUser;
databaseYml = ''
production:
adapter: postgresql
database: ${cfg.databaseName}
host: ${cfg.databaseHost}
password: ${cfg.databasePassword}
username: ${cfg.databaseUsername}
encoding: utf8
'';
databaseConfig = {
production = {
adapter = "postgresql";
database = cfg.databaseName;
host = cfg.databaseHost;
password = cfg.databasePassword;
username = cfg.databaseUsername;
encoding = "utf8";
pool = cfg.databasePool;
} // cfg.extraDatabaseConfig;
};
gitalyToml = pkgs.writeText "gitaly.toml" ''
socket_path = "${lib.escape ["\""] gitalySocket}"
@@ -45,34 +47,31 @@ let
'') gitlabConfig.production.repositories.storages))}
'';
gitlabShellYml = ''
user: ${cfg.user}
gitlab_url: "http+unix://${pathUrlQuote gitlabSocket}"
http_settings:
self_signed_cert: false
repos_path: "${cfg.statePath}/repositories"
secret_file: "${cfg.statePath}/config/gitlab_shell_secret"
log_file: "${cfg.statePath}/log/gitlab-shell.log"
redis:
bin: ${pkgs.redis}/bin/redis-cli
host: 127.0.0.1
port: 6379
database: 0
namespace: resque:gitlab
'';
gitlabShellConfig = {
user = cfg.user;
gitlab_url = "http+unix://${pathUrlQuote gitlabSocket}";
http_settings.self_signed_cert = false;
repos_path = "${cfg.statePath}/repositories";
secret_file = "${cfg.statePath}/config/gitlab_shell_secret";
log_file = "${cfg.statePath}/log/gitlab-shell.log";
custom_hooks_dir = "${cfg.statePath}/custom_hooks";
redis = {
bin = "${pkgs.redis}/bin/redis-cli";
host = "127.0.0.1";
port = 6379;
database = 0;
namespace = "resque:gitlab";
};
};
redisYml = ''
production:
url: redis://localhost:6379/
'';
redisConfig.production.url = "redis://localhost:6379/";
secretsYml = ''
production:
secret_key_base: ${cfg.secrets.secret}
otp_key_base: ${cfg.secrets.otp}
db_key_base: ${cfg.secrets.db}
openid_connect_signing_key: ${builtins.toJSON cfg.secrets.jws}
'';
secretsConfig.production = {
secret_key_base = cfg.secrets.secret;
otp_key_base = cfg.secrets.otp;
db_key_base = cfg.secrets.db;
openid_connect_signing_key = cfg.secrets.jws;
};
gitlabConfig = {
# These are the default settings from config/gitlab.example.yml
@@ -114,12 +113,8 @@ let
upload_pack = true;
receive_pack = true;
};
workhorse = {
secret_file = "${cfg.statePath}/.gitlab_workhorse_secret";
};
git = {
bin_path = "git";
};
workhorse.secret_file = "${cfg.statePath}/.gitlab_workhorse_secret";
git.bin_path = "git";
monitoring = {
ip_whitelist = [ "127.0.0.0/8" "::1/128" ];
sidekiq_exporter = {
@@ -137,7 +132,7 @@ let
HOME = "${cfg.statePath}/home";
UNICORN_PATH = "${cfg.statePath}/";
GITLAB_PATH = "${cfg.packages.gitlab}/share/gitlab/";
GITLAB_STATE_PATH = "${cfg.statePath}";
GITLAB_STATE_PATH = cfg.statePath;
GITLAB_UPLOADS_PATH = "${cfg.statePath}/uploads";
SCHEMA = "${cfg.statePath}/db/schema.rb";
GITLAB_LOG_PATH = "${cfg.statePath}/log";
@@ -145,13 +140,11 @@ let
GITLAB_SHELL_CONFIG_PATH = "${cfg.statePath}/shell/config.yml";
GITLAB_SHELL_SECRET_PATH = "${cfg.statePath}/config/gitlab_shell_secret";
GITLAB_SHELL_HOOKS_PATH = "${cfg.statePath}/shell/hooks";
GITLAB_REDIS_CONFIG_FILE = pkgs.writeText "gitlab-redis.yml" redisYml;
GITLAB_REDIS_CONFIG_FILE = pkgs.writeText "redis.yml" (builtins.toJSON redisConfig);
prometheus_multiproc_dir = "/run/gitlab";
RAILS_ENV = "production";
};
unicornConfig = builtins.readFile ./defaultUnicornConfig.rb;
gitlab-rake = pkgs.stdenv.mkDerivation rec {
name = "gitlab-rake";
buildInputs = [ pkgs.makeWrapper ];
@@ -161,7 +154,6 @@ let
mkdir -p $out/bin
makeWrapper ${cfg.packages.gitlab.rubyEnv}/bin/rake $out/bin/gitlab-rake \
${concatStrings (mapAttrsToList (name: value: "--set ${name} '${value}' ") gitlabEnv)} \
--set GITLAB_CONFIG_PATH '${cfg.statePath}/config' \
--set PATH '${lib.makeBinPath [ pkgs.nodejs pkgs.gzip pkgs.git pkgs.gnutar config.services.postgresql.package pkgs.coreutils pkgs.procps ]}:$PATH' \
--set RAKEOPT '-f ${cfg.packages.gitlab}/share/gitlab/Rakefile' \
--run 'cd ${cfg.packages.gitlab}/share/gitlab'
@@ -262,6 +254,18 @@ in {
description = "Gitlab database user.";
};
databasePool = mkOption {
type = types.int;
default = 5;
description = "Database connection pool size.";
};
extraDatabaseConfig = mkOption {
type = types.attrs;
default = {};
description = "Extra configuration in config/database.yml.";
};
host = mkOption {
type = types.str;
default = config.networking.hostName;
@@ -460,10 +464,30 @@ in {
}
];
systemd.tmpfiles.rules = [
"d /run/gitlab 0755 ${cfg.user} ${cfg.group} -"
"d ${gitlabEnv.HOME} 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.backupPath} 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/builds 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/config 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/db 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/log 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/repositories 2770 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/shell 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/tmp/pids 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/tmp/sockets 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/uploads 0700 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/custom_hooks/pre-receive.d 0700 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/custom_hooks/post-receive.d 0700 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/custom_hooks/update.d 0700 ${cfg.user} ${cfg.group} -"
"d ${gitlabConfig.production.shared.path}/artifacts 0750 ${cfg.user} ${cfg.group} -"
"d ${gitlabConfig.production.shared.path}/lfs-objects 0750 ${cfg.user} ${cfg.group} -"
"d ${gitlabConfig.production.shared.path}/pages 0750 ${cfg.user} ${cfg.group} -"
];
systemd.services.gitlab-sidekiq = {
after = [ "network.target" "redis.service" ];
after = [ "network.target" "redis.service" "gitlab.service" ];
wantedBy = [ "multi-user.target" ];
partOf = [ "gitlab.service" ];
environment = gitlabEnv;
path = with pkgs; [
config.services.postgresql.package
@@ -485,11 +509,17 @@ in {
};
systemd.services.gitaly = {
after = [ "network.target" "gitlab.service" ];
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
environment.HOME = gitlabEnv.HOME;
environment.GITLAB_SHELL_CONFIG_PATH = gitlabEnv.GITLAB_SHELL_CONFIG_PATH;
path = with pkgs; [ gitAndTools.git cfg.packages.gitaly.rubyEnv cfg.packages.gitaly.rubyEnv.wrappedRuby ];
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";
User = cfg.user;
@@ -504,8 +534,6 @@ in {
systemd.services.gitlab-workhorse = {
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
environment.HOME = gitlabEnv.HOME;
environment.GITLAB_SHELL_CONFIG_PATH = gitlabEnv.GITLAB_SHELL_CONFIG_PATH;
path = with pkgs; [
gitAndTools.git
gnutar
@@ -513,10 +541,6 @@ in {
openssh
gitlab-workhorse
];
preStart = ''
mkdir -p /run/gitlab
chown ${cfg.user}:${cfg.group} /run/gitlab
'';
serviceConfig = {
PermissionsStartOnly = true; # preStart must be run as root
Type = "simple";
@@ -537,7 +561,7 @@ in {
};
systemd.services.gitlab = {
after = [ "network.target" "postgresql.service" "redis.service" ];
after = [ "gitlab-workhorse.service" "gitaly.service" "network.target" "postgresql.service" "redis.service" ];
requires = [ "gitlab-sidekiq.service" ];
wantedBy = [ "multi-user.target" ];
environment = gitlabEnv;
@@ -550,99 +574,76 @@ in {
gnupg
];
preStart = ''
mkdir -p ${cfg.backupPath}
mkdir -p ${cfg.statePath}/builds
mkdir -p ${cfg.statePath}/repositories
mkdir -p ${gitlabConfig.production.shared.path}/artifacts
mkdir -p ${gitlabConfig.production.shared.path}/lfs-objects
mkdir -p ${gitlabConfig.production.shared.path}/pages
mkdir -p ${cfg.statePath}/log
mkdir -p ${cfg.statePath}/tmp/pids
mkdir -p ${cfg.statePath}/tmp/sockets
mkdir -p ${cfg.statePath}/shell
mkdir -p ${cfg.statePath}/db
mkdir -p ${cfg.statePath}/uploads
rm -rf ${cfg.statePath}/config ${cfg.statePath}/shell/hooks
mkdir -p ${cfg.statePath}/config
${pkgs.openssl}/bin/openssl rand -hex 32 > ${cfg.statePath}/config/gitlab_shell_secret
mkdir -p /run/gitlab
mkdir -p ${cfg.statePath}/log
[ -d /run/gitlab/log ] || ln -sf ${cfg.statePath}/log /run/gitlab/log
[ -d /run/gitlab/tmp ] || ln -sf ${cfg.statePath}/tmp /run/gitlab/tmp
[ -d /run/gitlab/uploads ] || ln -sf ${cfg.statePath}/uploads /run/gitlab/uploads
ln -sf $GITLAB_SHELL_CONFIG_PATH /run/gitlab/shell-config.yml
chown -R ${cfg.user}:${cfg.group} /run/gitlab
# Prepare home directory
mkdir -p ${gitlabEnv.HOME}/.ssh
touch ${gitlabEnv.HOME}/.ssh/authorized_keys
chown -R ${cfg.user}:${cfg.group} ${gitlabEnv.HOME}/
cp -rf ${cfg.packages.gitlab}/share/gitlab/db/* ${cfg.statePath}/db
rm -rf ${cfg.statePath}/config
mkdir ${cfg.statePath}/config
if [ -e ${cfg.statePath}/lib ]; then
rm ${cfg.statePath}/lib
fi
ln -sf ${cfg.packages.gitlab}/share/gitlab/lib ${cfg.statePath}/lib
[ -L /run/gitlab/config ] || ln -sf ${cfg.statePath}/config /run/gitlab/config
[ -L /run/gitlab/log ] || ln -sf ${cfg.statePath}/log /run/gitlab/log
[ -L /run/gitlab/tmp ] || ln -sf ${cfg.statePath}/tmp /run/gitlab/tmp
[ -L /run/gitlab/uploads ] || ln -sf ${cfg.statePath}/uploads /run/gitlab/uploads
cp ${cfg.packages.gitlab}/share/gitlab/VERSION ${cfg.statePath}/VERSION
cp -rf ${cfg.packages.gitlab}/share/gitlab/config.dist/* ${cfg.statePath}/config
${optionalString cfg.smtp.enable ''
ln -sf ${smtpSettings} ${cfg.statePath}/config/initializers/smtp_settings.rb
''}
ln -sf ${cfg.statePath}/config /run/gitlab/config
if [ -e ${cfg.statePath}/lib ]; then
rm ${cfg.statePath}/lib
fi
ln -sf ${pkgs.gitlab}/share/gitlab/lib ${cfg.statePath}/lib
cp ${cfg.packages.gitlab}/share/gitlab/VERSION ${cfg.statePath}/VERSION
${pkgs.openssl}/bin/openssl rand -hex 32 > ${cfg.statePath}/config/gitlab_shell_secret
# JSON is a subset of YAML
ln -fs ${pkgs.writeText "gitlab.yml" (builtins.toJSON gitlabConfig)} ${cfg.statePath}/config/gitlab.yml
ln -fs ${pkgs.writeText "database.yml" databaseYml} ${cfg.statePath}/config/database.yml
ln -fs ${pkgs.writeText "secrets.yml" secretsYml} ${cfg.statePath}/config/secrets.yml
ln -fs ${pkgs.writeText "unicorn.rb" unicornConfig} ${cfg.statePath}/config/unicorn.rb
ln -sf ${pkgs.writeText "gitlab.yml" (builtins.toJSON gitlabConfig)} ${cfg.statePath}/config/gitlab.yml
ln -sf ${pkgs.writeText "database.yml" (builtins.toJSON databaseConfig)} ${cfg.statePath}/config/database.yml
ln -sf ${pkgs.writeText "secrets.yml" (builtins.toJSON secretsConfig)} ${cfg.statePath}/config/secrets.yml
ln -sf ${./defaultUnicornConfig.rb} ${cfg.statePath}/config/unicorn.rb
# Install the shell required to push repositories
ln -sf ${pkgs.writeText "config.yml" (builtins.toJSON gitlabShellConfig)} /run/gitlab/shell-config.yml
[ -L ${cfg.statePath}/shell/hooks ] || ln -sf ${cfg.packages.gitlab-shell}/hooks ${cfg.statePath}/shell/hooks
${cfg.packages.gitlab-shell}/bin/install
chown -R ${cfg.user}:${cfg.group} ${cfg.statePath}/
chmod -R ug+rwX,o-rwx+X ${cfg.statePath}/
chown -R ${cfg.user}:${cfg.group} /run/gitlab
# Install the shell required to push repositories
ln -fs ${pkgs.writeText "config.yml" gitlabShellYml} "$GITLAB_SHELL_CONFIG_PATH"
ln -fs ${cfg.packages.gitlab-shell}/hooks "$GITLAB_SHELL_HOOKS_PATH"
${cfg.packages.gitlab-shell}/bin/install
if [ "${cfg.databaseHost}" = "127.0.0.1" ]; then
if ! test -e "${cfg.statePath}/db-created"; then
if ! test -e "${cfg.statePath}/db-created"; then
if [ "${cfg.databaseHost}" = "127.0.0.1" ]; then
${pkgs.sudo}/bin/sudo -u ${pgSuperUser} psql postgres -c "CREATE ROLE ${cfg.databaseUsername} WITH LOGIN NOCREATEDB NOCREATEROLE ENCRYPTED PASSWORD '${cfg.databasePassword}'"
${pkgs.sudo}/bin/sudo -u ${pgSuperUser} ${config.services.postgresql.package}/bin/createdb --owner ${cfg.databaseUsername} ${cfg.databaseName}
touch "${cfg.statePath}/db-created"
# enable required pg_trgm extension for gitlab
${pkgs.sudo}/bin/sudo -u ${pgSuperUser} psql ${cfg.databaseName} -c "CREATE EXTENSION IF NOT EXISTS pg_trgm"
fi
# enable required pg_trgm extension for gitlab
${pkgs.sudo}/bin/sudo -u ${pgSuperUser} psql ${cfg.databaseName} -c "CREATE EXTENSION IF NOT EXISTS pg_trgm"
${pkgs.sudo}/bin/sudo -u ${cfg.user} -H ${gitlab-rake}/bin/gitlab-rake db:schema:load
touch "${cfg.statePath}/db-created"
fi
# Always do the db migrations just to be sure the database is up-to-date
${gitlab-rake}/bin/gitlab-rake db:migrate RAILS_ENV=production
${pkgs.sudo}/bin/sudo -u ${cfg.user} -H ${gitlab-rake}/bin/gitlab-rake db:migrate
# The gitlab:setup task is horribly broken somehow, the db:migrate
# task above and the db:seed_fu below will do the same for setting
# up the initial database
if ! test -e "${cfg.statePath}/db-seeded"; then
${gitlab-rake}/bin/gitlab-rake db:seed_fu RAILS_ENV=production \
${pkgs.sudo}/bin/sudo -u ${cfg.user} ${gitlab-rake}/bin/gitlab-rake db:seed_fu \
GITLAB_ROOT_PASSWORD='${cfg.initialRootPassword}' GITLAB_ROOT_EMAIL='${cfg.initialRootEmail}'
touch "${cfg.statePath}/db-seeded"
fi
# The gitlab:shell:setup regenerates the authorized_keys file so that
# the store path to the gitlab-shell in it gets updated
${pkgs.sudo}/bin/sudo -u ${cfg.user} force=yes ${gitlab-rake}/bin/gitlab-rake gitlab:shell:setup RAILS_ENV=production
${pkgs.sudo}/bin/sudo -u ${cfg.user} -H force=yes ${gitlab-rake}/bin/gitlab-rake gitlab:shell:setup
# The gitlab:shell:create_hooks task seems broken for fixing links
# so we instead delete all the hooks and create them anew
rm -f ${cfg.statePath}/repositories/**/*.git/hooks
${gitlab-rake}/bin/gitlab-rake gitlab:shell:create_hooks RAILS_ENV=production
${pkgs.sudo}/bin/sudo -u ${cfg.user} -H ${gitlab-rake}/bin/gitlab-rake gitlab:shell:create_hooks
${pkgs.sudo}/bin/sudo -u ${cfg.user} -H ${pkgs.git}/bin/git config --global core.autocrlf "input"
# Change permissions in the last step because some of the
# intermediary scripts like to create directories as root.
chown -R ${cfg.user}:${cfg.group} ${cfg.statePath}
chmod -R ug+rwX,o-rwx+X ${cfg.statePath}
chmod -R u+rwX,go-rwx+X ${gitlabEnv.HOME}
chmod -R ug+rwX,o-rwx ${cfg.statePath}/repositories
chmod -R ug-s ${cfg.statePath}/repositories

View File

@@ -10,7 +10,7 @@ let
(builtins.toJSON (if cfg.applyDefaultConfig then
(lib.recursiveUpdate defaultConfig cfg.config) else cfg.config));
availableComponents = pkgs.home-assistant.availableComponents;
availableComponents = cfg.package.availableComponents;
# Given component "parentConfig.platform", returns whether config.parentConfig
# is a list containing a set with set.platform == "platform".

View File

@@ -399,8 +399,8 @@ in
systemd.sockets.nix-daemon.wantedBy = [ "sockets.target" ];
systemd.services.nix-daemon =
{ path = [ nix pkgs.utillinux ]
++ optionals cfg.distributedBuilds [ config.programs.ssh.package pkgs.gzip ]
{ path = [ nix pkgs.utillinux config.programs.ssh.package ]
++ optionals cfg.distributedBuilds [ pkgs.gzip ]
++ optionals (!isNix20) [ pkgs.openssl.bin ];
environment = cfg.envVars

View File

@@ -16,6 +16,20 @@ in {
description = "The NZBGet package to use";
};
dataDir = mkOption {
type = types.str;
default = "/var/lib/nzbget";
description = "The directory where NZBGet stores its configuration files.";
};
openFirewall = mkOption {
type = types.bool;
default = false;
description = ''
Open ports in the firewall for the NZBGet web interface
'';
};
user = mkOption {
type = types.str;
default = "nzbget";
@@ -40,7 +54,8 @@ in {
p7zip
];
preStart = ''
datadir=/var/lib/nzbget
datadir=${cfg.dataDir}
configfile=${cfg.dataDir}/nzbget.conf
cfgtemplate=${cfg.package}/share/nzbget/nzbget.conf
test -d $datadir || {
echo "Creating nzbget data directory in $datadir"
@@ -60,7 +75,7 @@ in {
'';
script = ''
configfile=/var/lib/nzbget/nzbget.conf
configfile=${cfg.dataDir}/nzbget.conf
args="--daemon --configfile $configfile"
# The script in preStart (above) copies nzbget's config template to datadir on first run, containing paths that point to the nzbget derivation installed at the time.
# These paths break when nzbget is upgraded & the original derivation is garbage collected. If such broken paths are found in the config file, override them to point to
@@ -86,6 +101,10 @@ in {
};
};
networking.firewall = mkIf cfg.openFirewall {
allowedTCPPorts = [ 8989 ];
};
users.users = mkIf (cfg.user == "nzbget") {
nzbget = {
group = cfg.group;

View File

@@ -5,7 +5,7 @@ with lib;
let
cfg = config.services.redmine;
bundle = "${pkgs.redmine}/share/redmine/bin/bundle";
bundle = "${cfg.package}/share/redmine/bin/bundle";
databaseYml = pkgs.writeText "database.yml" ''
production:
@@ -15,6 +15,7 @@ let
port: ${toString cfg.database.port}
username: ${cfg.database.user}
password: #dbpass#
${optionalString (cfg.database.socket != null) "socket: ${cfg.database.socket}"}
'';
configurationYml = pkgs.writeText "configuration.yml" ''
@@ -29,6 +30,19 @@ let
${cfg.extraConfig}
'';
unpackTheme = unpack "theme";
unpackPlugin = unpack "plugin";
unpack = id: (name: source:
pkgs.stdenv.mkDerivation {
name = "redmine-${id}-${name}";
buildInputs = [ pkgs.unzip ];
buildCommand = ''
mkdir -p $out
cd $out
unpackFile ${source}
'';
});
in
{
@@ -40,6 +54,14 @@ in
description = "Enable the Redmine service.";
};
package = mkOption {
type = types.package;
default = pkgs.redmine;
defaultText = "pkgs.redmine";
description = "Which Redmine package to use.";
example = "pkgs.redmine.override { ruby = pkgs.ruby_2_3; }";
};
user = mkOption {
type = types.str;
default = "redmine";
@@ -52,6 +74,12 @@ in
description = "Group under which Redmine is ran.";
};
port = mkOption {
type = types.int;
default = 3000;
description = "Port on which Redmine is ran.";
};
stateDir = mkOption {
type = types.str;
default = "/var/lib/redmine";
@@ -66,6 +94,41 @@ in
See https://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration
'';
example = literalExample ''
email_delivery:
delivery_method: smtp
smtp_settings:
address: mail.example.com
port: 25
'';
};
themes = mkOption {
type = types.attrsOf types.path;
default = {};
description = "Set of themes.";
example = literalExample ''
{
dkuk-redmine_alex_skin = builtins.fetchurl {
url = https://bitbucket.org/dkuk/redmine_alex_skin/get/1842ef675ef3.zip;
sha256 = "0hrin9lzyi50k4w2bd2b30vrf1i4fi1c0gyas5801wn8i7kpm9yl";
};
}
'';
};
plugins = mkOption {
type = types.attrsOf types.path;
default = {};
description = "Set of plugins.";
example = literalExample ''
{
redmine_env_auth = builtins.fetchurl {
url = https://github.com/Intera/redmine_env_auth/archive/0.6.zip;
sha256 = "0yyr1yjd8gvvh832wdc8m3xfnhhxzk2pk3gm2psg5w9jdvd6skak";
};
}
'';
};
database = {
@@ -78,7 +141,7 @@ in
host = mkOption {
type = types.str;
default = "127.0.0.1";
default = (if cfg.database.socket != null then "localhost" else "127.0.0.1");
description = "Database host address.";
};
@@ -119,6 +182,13 @@ in
<option>database.user</option>.
'';
};
socket = mkOption {
type = types.nullOr types.path;
default = null;
example = "/run/mysqld/mysqld.sock";
description = "Path to the unix socket file to use for authentication.";
};
};
};
};
@@ -126,17 +196,20 @@ in
config = mkIf cfg.enable {
assertions = [
{ assertion = cfg.database.passwordFile != null || cfg.database.password != "";
message = "either services.redmine.database.passwordFile or services.redmine.database.password must be set";
{ assertion = cfg.database.passwordFile != null || cfg.database.password != "" || cfg.database.socket != null;
message = "one of services.redmine.database.socket, services.redmine.database.passwordFile, or services.redmine.database.password must be set";
}
{ assertion = cfg.database.socket != null -> (cfg.database.type == "mysql2");
message = "Socket authentication is only available for the mysql2 database type";
}
];
environment.systemPackages = [ pkgs.redmine ];
environment.systemPackages = [ cfg.package ];
systemd.services.redmine = {
after = [ "network.target" (if cfg.database.type == "mysql2" then "mysql.service" else "postgresql.service") ];
wantedBy = [ "multi-user.target" ];
environment.HOME = "${pkgs.redmine}/share/redmine";
environment.HOME = "${cfg.package}/share/redmine";
environment.RAILS_ENV = "production";
environment.RAILS_CACHE = "${cfg.stateDir}/cache";
environment.REDMINE_LANG = "en";
@@ -151,43 +224,80 @@ in
subversion
];
preStart = ''
# start with a fresh config directory every time
rm -rf ${cfg.stateDir}/config
cp -r ${pkgs.redmine}/share/redmine/config.dist ${cfg.stateDir}/config
# ensure cache directory exists for db:migrate command
mkdir -p "${cfg.stateDir}/cache"
# create the basic state directory layout pkgs.redmine expects
mkdir -p /run/redmine
# create the basic directory layout the redmine package expects
mkdir -p /run/redmine/public
for i in config files log plugins tmp; do
mkdir -p ${cfg.stateDir}/$i
ln -fs ${cfg.stateDir}/$i /run/redmine/$i
mkdir -p "${cfg.stateDir}/$i"
ln -fs "${cfg.stateDir}/$i" /run/redmine/
done
# ensure cache directory exists for db:migrate command
mkdir -p ${cfg.stateDir}/cache
for i in plugin_assets themes; do
mkdir -p "${cfg.stateDir}/public/$i"
ln -fs "${cfg.stateDir}/public/$i" /run/redmine/public/
done
# start with a fresh config directory
# the config directory is copied instead of linked as some mutable data is stored in there
rm -rf "${cfg.stateDir}/config/"*
cp -r ${cfg.package}/share/redmine/config.dist/* "${cfg.stateDir}/config/"
# link in the application configuration
ln -fs ${configurationYml} ${cfg.stateDir}/config/configuration.yml
ln -fs ${configurationYml} "${cfg.stateDir}/config/configuration.yml"
chmod -R ug+rwX,o-rwx+x ${cfg.stateDir}/
# handle database.passwordFile
# link in all user specified themes
rm -rf "${cfg.stateDir}/public/themes/"*
for theme in ${concatStringsSep " " (mapAttrsToList unpackTheme cfg.themes)}; do
ln -fs $theme/* "${cfg.stateDir}/public/themes"
done
# link in redmine provided themes
ln -sf ${cfg.package}/share/redmine/public/themes.dist/* "${cfg.stateDir}/public/themes/"
# link in all user specified plugins
rm -rf "${cfg.stateDir}/plugins/"*
for plugin in ${concatStringsSep " " (mapAttrsToList unpackPlugin cfg.plugins)}; do
ln -fs $plugin/* "${cfg.stateDir}/plugins/''${plugin##*-redmine-plugin-}"
done
# ensure correct permissions for most files
chmod -R ug+rwX,o-rwx+x "${cfg.stateDir}/"
# handle database.passwordFile & permissions
DBPASS=$(head -n1 ${cfg.database.passwordFile})
cp -f ${databaseYml} ${cfg.stateDir}/config/database.yml
sed -e "s,#dbpass#,$DBPASS,g" -i ${cfg.stateDir}/config/database.yml
chmod 440 ${cfg.stateDir}/config/database.yml
cp -f ${databaseYml} "${cfg.stateDir}/config/database.yml"
sed -e "s,#dbpass#,$DBPASS,g" -i "${cfg.stateDir}/config/database.yml"
chmod 440 "${cfg.stateDir}/config/database.yml"
# generate a secret token if required
if ! test -e "${cfg.stateDir}/config/initializers/secret_token.rb"; then
${bundle} exec rake generate_secret_token
chmod 440 ${cfg.stateDir}/config/initializers/secret_token.rb
chmod 440 "${cfg.stateDir}/config/initializers/secret_token.rb"
fi
# ensure everything is owned by ${cfg.user}
chown -R ${cfg.user}:${cfg.group} ${cfg.stateDir}
${bundle} exec rake db:migrate
${bundle} exec rake redmine:load_default_data
# ensure everything is owned by ${cfg.user}
chown -R ${cfg.user}:${cfg.group} "${cfg.stateDir}"
# execute redmine required commands prior to starting the application
# NOTE: su required in case using mysql socket authentication
/run/wrappers/bin/su -s ${pkgs.bash}/bin/bash -m -l redmine -c '${bundle} exec rake db:migrate'
/run/wrappers/bin/su -s ${pkgs.bash}/bin/bash -m -l redmine -c '${bundle} exec rake redmine:load_default_data'
# log files don't exist until after first command has been executed
# correct ownership of files generated by calling exec rake ...
chown -R ${cfg.user}:${cfg.group} "${cfg.stateDir}/log"
'';
serviceConfig = {
@@ -196,13 +306,13 @@ in
User = cfg.user;
Group = cfg.group;
TimeoutSec = "300";
WorkingDirectory = "${pkgs.redmine}/share/redmine";
ExecStart="${bundle} exec rails server webrick -e production -P ${cfg.stateDir}/redmine.pid";
WorkingDirectory = "${cfg.package}/share/redmine";
ExecStart="${bundle} exec rails server webrick -e production -p ${toString cfg.port} -P '${cfg.stateDir}/redmine.pid'";
};
};
users.extraUsers = optionalAttrs (cfg.user == "redmine") (singleton
users.users = optionalAttrs (cfg.user == "redmine") (singleton
{ name = "redmine";
group = cfg.group;
home = cfg.stateDir;
@@ -210,7 +320,7 @@ in
uid = config.ids.uids.redmine;
});
users.extraGroups = optionalAttrs (cfg.group == "redmine") (singleton
users.groups = optionalAttrs (cfg.group == "redmine") (singleton
{ name = "redmine";
gid = config.ids.gids.redmine;
});

View File

@@ -9,6 +9,32 @@ in
options = {
services.sonarr = {
enable = mkEnableOption "Sonarr";
dataDir = mkOption {
type = types.str;
default = "/var/lib/sonarr/.config/NzbDrone";
description = "The directory where Sonarr stores its data files.";
};
openFirewall = mkOption {
type = types.bool;
default = false;
description = ''
Open ports in the firewall for the Sonarr web interface
'';
};
user = mkOption {
type = types.str;
default = "sonarr";
description = "User account under which Sonaar runs.";
};
group = mkOption {
type = types.str;
default = "sonarr";
description = "Group under which Sonaar runs.";
};
};
};
@@ -18,30 +44,38 @@ in
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
preStart = ''
test -d /var/lib/sonarr/ || {
echo "Creating sonarr data directory in /var/lib/sonarr/"
mkdir -p /var/lib/sonarr/
test -d ${cfg.dataDir} || {
echo "Creating sonarr data directory in ${cfg.dataDir}"
mkdir -p ${cfg.dataDir}
}
chown -R sonarr:sonarr /var/lib/sonarr/
chmod 0700 /var/lib/sonarr/
chown -R ${cfg.user}:${cfg.group} ${cfg.dataDir}
chmod 0700 ${cfg.dataDir}
'';
serviceConfig = {
Type = "simple";
User = "sonarr";
Group = "sonarr";
User = cfg.user;
Group = cfg.group;
PermissionsStartOnly = "true";
ExecStart = "${pkgs.sonarr}/bin/NzbDrone --no-browser";
ExecStart = "${pkgs.sonarr}/bin/NzbDrone -nobrowser -data='${cfg.dataDir}'";
Restart = "on-failure";
};
};
users.users.sonarr = {
uid = config.ids.uids.sonarr;
home = "/var/lib/sonarr";
group = "sonarr";
networking.firewall = mkIf cfg.openFirewall {
allowedTCPPorts = [ 8989 ];
};
users.groups.sonarr.gid = config.ids.gids.sonarr;
users.users = mkIf (cfg.user == "sonarr") {
sonarr = {
group = cfg.group;
home = cfg.dataDir;
uid = config.ids.uids.sonarr;
};
};
users.groups = mkIf (cfg.group == "sonarr") {
sonarr.gid = config.ids.gids.sonarr;
};
};
}

View File

@@ -46,10 +46,12 @@ in
Group = "weechat";
RemainAfterExit = "yes";
};
script = "exec ${pkgs.screen}/bin/screen -Dm -S ${cfg.sessionName} ${cfg.binary}";
script = "exec ${config.security.wrapperDir}/screen -Dm -S ${cfg.sessionName} ${cfg.binary}";
wantedBy = [ "multi-user.target" ];
wants = [ "network.target" ];
};
security.wrappers.screen.source = "${pkgs.screen}/bin/screen";
};
meta.doc = ./weechat.xml;

View File

@@ -54,7 +54,7 @@
</programlisting>
Now, the session can be re-attached like this:
<programlisting>
screen -r weechat-screen
screen -x weechat/weechat-screen
</programlisting>
</para>

View File

@@ -176,7 +176,7 @@ in {
type = types.attrs;
default = {
init_config = {};
instances = [ { use-mount = "no"; } ];
instances = [ { use_mount = "false"; } ];
};
};

View File

@@ -12,7 +12,7 @@ let
localConfig = {
global = {
"plugins directory" = "${wrappedPlugins}/libexec/netdata/plugins.d ${pkgs.netdata}/libexec/netdata/plugins.d";
"plugins directory" = "${pkgs.netdata}/libexec/netdata/plugins.d ${wrappedPlugins}/libexec/netdata/plugins.d";
};
web = {
"web files owner" = "root";
@@ -53,6 +53,31 @@ in {
'';
};
python = {
enable = mkOption {
type = types.bool;
default = true;
description = ''
Whether to enable python-based plugins
'';
};
extraPackages = mkOption {
default = ps: [];
defaultText = "ps: []";
example = literalExample ''
ps: [
ps.psycopg2
ps.docker
ps.dnspython
]
'';
description = ''
Extra python packages available at runtime
to enable additional python plugins.
'';
};
};
config = mkOption {
type = types.attrsOf types.attrs;
default = {};
@@ -74,21 +99,27 @@ in {
message = "Cannot specify both config and configText";
}
];
systemd.tmpfiles.rules = [
"d /var/cache/netdata 0755 ${cfg.user} ${cfg.group} -"
"Z /var/cache/netdata - ${cfg.user} ${cfg.group} -"
"d /var/log/netdata 0755 ${cfg.user} ${cfg.group} -"
"Z /var/log/netdata - ${cfg.user} ${cfg.group} -"
"d /var/lib/netdata 0755 ${cfg.user} ${cfg.group} -"
"Z /var/lib/netdata - ${cfg.user} ${cfg.group} -"
"d /etc/netdata 0755 ${cfg.user} ${cfg.group} -"
"Z /etc/netdata - ${cfg.user} ${cfg.group} -"
];
systemd.services.netdata = {
path = with pkgs; [ gawk curl ];
description = "Real time performance monitoring";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
preStart = concatStringsSep "\n" (map (dir: ''
mkdir -vp ${dir}
chmod 750 ${dir}
chown -R ${cfg.user}:${cfg.group} ${dir}
'') [ "/var/cache/netdata"
"/var/log/netdata"
"/var/lib/netdata" ]);
path = (with pkgs; [ gawk curl ]) ++ lib.optional cfg.python.enable
(pkgs.python3.withPackages cfg.python.extraPackages);
serviceConfig = {
User = cfg.user;
Group = cfg.group;
Environment="PYTHONPATH=${pkgs.netdata}/libexec/netdata/python.d/python_modules";
PermissionsStartOnly = true;
ExecStart = "${pkgs.netdata}/bin/netdata -D -c ${configFile}";
TimeoutStopSec = 60;
@@ -96,7 +127,7 @@ in {
};
security.wrappers."apps.plugin" = {
source = "${pkgs.netdata}/libexec/netdata/plugins.d/apps.plugin";
source = "${pkgs.netdata}/libexec/netdata/plugins.d/apps.plugin.org";
capabilities = "cap_dac_read_search,cap_sys_ptrace+ep";
owner = cfg.user;
group = cfg.group;

View File

@@ -9,6 +9,15 @@ let
if cfg.configText != null then
pkgs.writeText "alertmanager.yml" cfg.configText
else mkConfigFile;
cmdlineArgs = cfg.extraFlags ++ [
"--config.file ${alertmanagerYml}"
"--web.listen-address ${cfg.listenAddress}:${toString cfg.port}"
"--log.level ${cfg.logLevel}"
] ++ (optional (cfg.webExternalUrl != null)
"--web.external-url ${cfg.webExternalUrl}"
) ++ (optional (cfg.logFormat != null)
"--log.format ${cfg.logFormat}"
);
in {
options = {
services.prometheus.alertmanager = {
@@ -99,6 +108,14 @@ in {
Open port in firewall for incoming connections.
'';
};
extraFlags = mkOption {
type = types.listOf types.str;
default = [];
description = ''
Extra commandline options when launching the Alertmanager.
'';
};
};
};
@@ -111,11 +128,7 @@ in {
after = [ "network.target" ];
script = ''
${pkgs.prometheus-alertmanager.bin}/bin/alertmanager \
--config.file ${alertmanagerYml} \
--web.listen-address ${cfg.listenAddress}:${toString cfg.port} \
--log.level ${cfg.logLevel} \
${optionalString (cfg.webExternalUrl != null) ''--web.external-url ${cfg.webExternalUrl} \''}
${optionalString (cfg.logFormat != null) "--log.format ${cfg.logFormat}"}
${concatStringsSep " \\\n " cmdlineArgs}
'';
serviceConfig = {

View File

@@ -123,15 +123,13 @@ let
systemd.services."prometheus-${name}-exporter" = mkMerge ([{
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
serviceConfig = {
Restart = mkDefault "always";
PrivateTmp = mkDefault true;
WorkingDirectory = mkDefault /tmp;
} // mkIf (!(serviceOpts.serviceConfig.DynamicUser or false)) {
User = conf.user;
Group = conf.group;
};
} serviceOpts ]);
serviceConfig.Restart = mkDefault "always";
serviceConfig.PrivateTmp = mkDefault true;
serviceConfig.WorkingDirectory = mkDefault /tmp;
} serviceOpts ] ++ optional (!(serviceOpts.serviceConfig.DynamicUser or false)) {
serviceConfig.User = conf.user;
serviceConfig.Group = conf.group;
});
};
in
{
@@ -172,5 +170,8 @@ in
}) exporterOpts)
);
meta.doc = ./exporters.xml;
meta = {
doc = ./exporters.xml;
maintainers = [ maintainers.willibutz ];
};
}

View File

@@ -60,10 +60,10 @@ in
DynamicUser = true;
ExecStart = ''
${pkgs.prometheus-snmp-exporter.bin}/bin/snmp_exporter \
-config.file ${configFile} \
-log.format ${cfg.logFormat} \
-log.level ${cfg.logLevel} \
-web.listen-address ${cfg.listenAddress}:${toString cfg.port} \
--config.file=${configFile} \
--log.format=${cfg.logFormat} \
--log.level=${cfg.logLevel} \
--web.listen-address=${cfg.listenAddress}:${toString cfg.port} \
${concatStringsSep " \\\n " cfg.extraFlags}
'';
};

View File

@@ -69,6 +69,7 @@ in
path = [ pkgs.varnish ];
serviceConfig = {
DynamicUser = true;
RestartSec = mkDefault 1;
ExecStart = ''
${pkgs.prometheus-varnish-exporter}/bin/prometheus_varnish_exporter \
--web.listen-address ${cfg.listenAddress}:${toString cfg.port} \

View File

@@ -149,11 +149,13 @@ in
packages = {
module = mkOption {
default = config.boot.kernelPackages.openafs;
defaultText = "config.boot.kernelPackages.openafs";
type = types.package;
description = "OpenAFS kernel module package. MUST match the userland package!";
};
programs = mkOption {
default = getBin pkgs.openafs;
defaultText = "config.boot.kernelPackages.openafs";
type = types.package;
description = "OpenAFS programs package. MUST match the kernel module package!";
};

View File

@@ -80,6 +80,7 @@ in {
package = mkOption {
default = pkgs.openafs.server or pkgs.openafs;
defaultText = "pkgs.openafs.server or pkgs.openafs";
type = types.package;
description = "OpenAFS package for the server binaries";
};

View File

@@ -31,7 +31,7 @@ let
purple_plugin_path =
lib.concatMapStringsSep ":"
(plugin: "${plugin}/lib/pidgin/")
(plugin: "${plugin}/lib/pidgin/:${plugin}/lib/purple-2/")
cfg.libpurple_plugins
;

View File

@@ -90,7 +90,7 @@ in
BANDB_DBPATH = "${cfg.statedir}/ban.db";
};
serviceConfig = {
ExecStart = "${charybdis}/bin/charybdis-ircd -foreground -logfile /dev/stdout -configfile ${configFile}";
ExecStart = "${charybdis}/bin/charybdis -foreground -logfile /dev/stdout -configfile ${configFile}";
Group = cfg.group;
User = cfg.user;
PermissionsStartOnly = true; # preStart needs to run with root permissions

View File

@@ -111,6 +111,7 @@ in
chown chrony:chrony ${stateDir} ${keyFile}
'';
unitConfig.ConditionCapability = "CAP_SYS_TIME";
serviceConfig =
{ Type = "forking";
ExecStart = "${pkgs.chrony}/bin/chronyd ${chronyFlags}";
@@ -119,8 +120,8 @@ in
ProtectSystem = "full";
PrivateTmp = "yes";
ConditionCapability = "CAP_SYS_TIME";
};
};
};
}

View File

@@ -157,9 +157,9 @@ in
{ description = "hostapd wireless AP";
path = [ pkgs.hostapd ];
wantedBy = [ "network.target" ];
after = [ "${cfg.interface}-cfg.service" "nat.service" "bind.service" "dhcpd.service" "sys-subsystem-net-devices-${cfg.interface}.device" ];
after = [ "sys-subsystem-net-devices-${cfg.interface}.device" ];
bindsTo = [ "sys-subsystem-net-devices-${cfg.interface}.device" ];
requiredBy = [ "network-link-${cfg.interface}.service" ];
serviceConfig =
{ ExecStart = "${pkgs.hostapd}/bin/hostapd ${configFile}";

View File

@@ -57,32 +57,12 @@ in
};
config = mkIf cfg.enable {
# from miniupnpd/netfilter/iptables_init.sh
networking.firewall.extraCommands = ''
iptables -t nat -N MINIUPNPD
iptables -t nat -A PREROUTING -i ${cfg.externalInterface} -j MINIUPNPD
iptables -t mangle -N MINIUPNPD
iptables -t mangle -A PREROUTING -i ${cfg.externalInterface} -j MINIUPNPD
iptables -t filter -N MINIUPNPD
iptables -t filter -A FORWARD -i ${cfg.externalInterface} ! -o ${cfg.externalInterface} -j MINIUPNPD
iptables -t nat -N MINIUPNPD-PCP-PEER
iptables -t nat -A POSTROUTING -o ${cfg.externalInterface} -j MINIUPNPD-PCP-PEER
${pkgs.bash}/bin/bash -x ${pkgs.miniupnpd}/etc/miniupnpd/iptables_init.sh -i ${cfg.externalInterface}
'';
# from miniupnpd/netfilter/iptables_removeall.sh
networking.firewall.extraStopCommands = ''
iptables -t nat -F MINIUPNPD
iptables -t nat -D PREROUTING -i ${cfg.externalInterface} -j MINIUPNPD
iptables -t nat -X MINIUPNPD
iptables -t mangle -F MINIUPNPD
iptables -t mangle -D PREROUTING -i ${cfg.externalInterface} -j MINIUPNPD
iptables -t mangle -X MINIUPNPD
iptables -t filter -F MINIUPNPD
iptables -t filter -D FORWARD -i ${cfg.externalInterface} ! -o ${cfg.externalInterface} -j MINIUPNPD
iptables -t filter -X MINIUPNPD
iptables -t nat -F MINIUPNPD-PCP-PEER
iptables -t nat -D POSTROUTING -o ${cfg.externalInterface} -j MINIUPNPD-PCP-PEER
iptables -t nat -X MINIUPNPD-PCP-PEER
${pkgs.bash}/bin/bash -x ${pkgs.miniupnpd}/etc/miniupnpd/iptables_removeall.sh -i ${cfg.externalInterface}
'';
systemd.services.miniupnpd = {

View File

@@ -5,43 +5,163 @@ with lib;
let
cfg = config.services.ndppd;
configFile = pkgs.runCommand "ndppd.conf" {} ''
substitute ${pkgs.ndppd}/etc/ndppd.conf $out \
--replace eth0 ${cfg.interface} \
--replace 1111:: ${cfg.network}
'';
in {
options = {
services.ndppd = {
enable = mkEnableOption "daemon that proxies NDP (Neighbor Discovery Protocol) messages between interfaces";
render = s: f: concatStringsSep "\n" (mapAttrsToList f s);
prefer = a: b: if a != null then a else b;
ndppdConf = prefer cfg.configFile (pkgs.writeText "ndppd.conf" ''
route-ttl ${toString cfg.routeTTL}
${render cfg.proxies (proxyInterfaceName: proxy: ''
proxy ${prefer proxy.interface proxyInterfaceName} {
router ${boolToString proxy.router}
timeout ${toString proxy.timeout}
ttl ${toString proxy.ttl}
${render proxy.rules (ruleNetworkName: rule: ''
rule ${prefer rule.network ruleNetworkName} {
${rule.method}${if rule.method == "iface" then " ${rule.interface}" else ""}
}'')}
}'')}
'');
proxy = types.submodule {
options = {
interface = mkOption {
type = types.string;
default = "eth0";
example = "ens3";
description = "Interface which is on link-level with router.";
};
network = mkOption {
type = types.string;
default = "1111::";
example = "2001:DB8::/32";
description = "Network that we proxy.";
};
configFile = mkOption {
type = types.nullOr types.path;
type = types.nullOr types.str;
description = ''
Listen for any Neighbor Solicitation messages on this interface,
and respond to them according to a set of rules.
Defaults to the name of the attrset.
'';
default = null;
description = "Path to configuration file.";
};
router = mkOption {
type = types.bool;
description = ''
Turns on or off the router flag for Neighbor Advertisement Messages.
'';
default = true;
};
timeout = mkOption {
type = types.int;
description = ''
Controls how long to wait for a Neighbor Advertisment Message before
invalidating the entry, in milliseconds.
'';
default = 500;
};
ttl = mkOption {
type = types.int;
description = ''
Controls how long a valid or invalid entry remains in the cache, in
milliseconds.
'';
default = 30000;
};
rules = mkOption {
type = types.attrsOf rule;
description = ''
This is a rule that the target address is to match against. If no netmask
is provided, /128 is assumed. You may have several rule sections, and the
addresses may or may not overlap.
'';
default = {};
};
};
};
rule = types.submodule {
options = {
network = mkOption {
type = types.nullOr types.str;
description = ''
This is the target address is to match against. If no netmask
is provided, /128 is assumed. The addresses of serveral rules
may or may not overlap.
Defaults to the name of the attrset.
'';
default = null;
};
method = mkOption {
type = types.enum [ "static" "iface" "auto" ];
description = ''
static: Immediately answer any Neighbor Solicitation Messages
(if they match the IP rule).
iface: Forward the Neighbor Solicitation Message through the specified
interface and only respond if a matching Neighbor Advertisement
Message is received.
auto: Same as iface, but instead of manually specifying the outgoing
interface, check for a matching route in /proc/net/ipv6_route.
'';
default = "auto";
};
interface = mkOption {
type = types.nullOr types.str;
description = "Interface to use when method is iface.";
default = null;
};
};
};
in {
options.services.ndppd = {
enable = mkEnableOption "daemon that proxies NDP (Neighbor Discovery Protocol) messages between interfaces";
interface = mkOption {
type = types.nullOr types.str;
description = ''
Interface which is on link-level with router.
(Legacy option, use services.ndppd.proxies.&lt;interface&gt;.rules.&lt;network&gt; instead)
'';
default = null;
example = "eth0";
};
network = mkOption {
type = types.nullOr types.str;
description = ''
Network that we proxy.
(Legacy option, use services.ndppd.proxies.&lt;interface&gt;.rules.&lt;network&gt; instead)
'';
default = null;
example = "1111::/64";
};
configFile = mkOption {
type = types.nullOr types.path;
description = "Path to configuration file.";
default = null;
};
routeTTL = mkOption {
type = types.int;
description = ''
This tells 'ndppd' how often to reload the route file /proc/net/ipv6_route,
in milliseconds.
'';
default = 30000;
};
proxies = mkOption {
type = types.attrsOf proxy;
description = ''
This sets up a listener, that will listen for any Neighbor Solicitation
messages, and respond to them according to a set of rules.
'';
default = {};
example = { "eth0".rules."1111::/64" = {}; };
};
};
config = mkIf cfg.enable {
systemd.packages = [ pkgs.ndppd ];
environment.etc."ndppd.conf".source = if (cfg.configFile != null) then cfg.configFile else configFile;
warnings = mkIf (cfg.interface != null && cfg.network != null) [ ''
The options services.ndppd.interface and services.ndppd.network will probably be removed soon,
please use services.ndppd.proxies.<interface>.rules.<network> instead.
'' ];
services.ndppd.proxies = mkIf (cfg.interface != null && cfg.network != null) {
"${cfg.interface}".rules."${cfg.network}" = {};
};
systemd.services.ndppd = {
serviceConfig.RuntimeDirectory = [ "ndppd" ];
description = "NDP Proxy Daemon";
documentation = [ "man:ndppd(1)" "man:ndppd.conf(5)" ];
after = [ "network-pre.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig.ExecStart = "${pkgs.ndppd}/bin/ndppd -c ${ndppdConf}";
};
};
meta.maintainers = with maintainers; [ gnidorah ];
}

View File

@@ -488,7 +488,7 @@ in {
'') cfg.dynamicHosts.hostsDirs);
serviceConfig = {
Type = "oneshot";
RemainAfterExist = true;
RemainAfterExit = true;
};
};

View File

@@ -27,7 +27,7 @@ in
};
arguments = mkOption {
default = "-v -d pulse";
default = "-v -o pa";
description = ''
Arguments to pass to the daemon. Defaults to a local pulseaudio
server.

View File

@@ -352,6 +352,10 @@ in
path = [ cfgc.package pkgs.gawk ];
environment.LD_LIBRARY_PATH = nssModulesPath;
restartTriggers = optionals (!cfg.startWhenNeeded) [
config.environment.etc."ssh/sshd_config".source
];
preStart =
''
# Make sure we don't write to stdout, since in case of
@@ -387,6 +391,7 @@ in
Restart = "always";
Type = "simple";
});
};
in

View File

@@ -149,7 +149,10 @@ in {
after = [ "network.target" "elasticsearch.service" ];
environment = { BABEL_CACHE_PATH = "${cfg.dataDir}/.babelcache.json"; };
serviceConfig = {
ExecStart = "${cfg.package}/bin/kibana --config ${cfgFile}";
ExecStart =
"${cfg.package}/bin/kibana" +
" --config ${cfgFile}" +
" --path.data ${cfg.dataDir}";
User = "kibana";
WorkingDirectory = cfg.dataDir;
};

View File

@@ -38,12 +38,11 @@ in {
type = types.nullOr types.str;
default = null;
example = "lighttpd";
# TODO: piwik.php might get renamed to matomo.php in future releases
description = ''
Name of the web server user that forwards requests to the ${phpSocket} fastcgi socket for matomo if the nginx
option is not used. Either this option or the nginx option is mandatory.
If you want to use another webserver than nginx, you need to set this to that server's user
and pass fastcgi requests to `index.php` and `piwik.php` to this socket.
and pass fastcgi requests to `index.php`, `matomo.php` and `piwik.php` (legacy name) to this socket.
'';
};
@@ -208,8 +207,11 @@ in {
locations."= /index.php".extraConfig = ''
fastcgi_pass unix:${phpSocket};
'';
# TODO: might get renamed to matomo.php in future versions
# allow piwik.php for tracking
# allow matomo.php for tracking
locations."= /matomo.php".extraConfig = ''
fastcgi_pass unix:${phpSocket};
'';
# allow piwik.php for tracking (deprecated name)
locations."= /piwik.php".extraConfig = ''
fastcgi_pass unix:${phpSocket};
'';
@@ -230,8 +232,11 @@ in {
locations."= /robots.txt".extraConfig = ''
return 200 "User-agent: *\nDisallow: /\n";
'';
# TODO: might get renamed to matomo.js in future versions
# let browsers cache piwik.js
# let browsers cache matomo.js
locations."= /matomo.js".extraConfig = ''
expires 1M;
'';
# let browsers cache piwik.js (deprecated name)
locations."= /piwik.js".extraConfig = ''
expires 1M;
'';

View File

@@ -0,0 +1,476 @@
{ config, lib, pkgs, ... }@args:
with lib;
let
cfg = config.services.nextcloud;
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"}
zend_extension = opcache.so
opcache.enable = 1
'';
phpOptions = {
upload_max_filesize = cfg.maxUploadSize;
post_max_size = cfg.maxUploadSize;
memory_limit = cfg.maxUploadSize;
} // cfg.phpOptions;
phpOptionsStr = phpOptionsExtensions + (toKeyValue phpOptions);
occ = pkgs.writeScriptBin "nextcloud-occ" ''
#! ${pkgs.stdenv.shell}
cd ${pkgs.nextcloud}
exec /run/wrappers/bin/sudo -u nextcloud \
NEXTCLOUD_CONFIG_DIR="${cfg.home}/config" \
${config.services.phpfpm.phpPackage}/bin/php \
-c ${pkgs.writeText "php.ini" phpOptionsStr}\
occ $*
'';
in {
options.services.nextcloud = {
enable = mkEnableOption "nextcloud";
hostName = mkOption {
type = types.str;
description = "FQDN for the nextcloud instance.";
};
home = mkOption {
type = types.str;
default = "/var/lib/nextcloud";
description = "Storage path of nextcloud.";
};
https = mkOption {
type = types.bool;
default = false;
description = "Enable if there is a TLS terminating proxy in front of nextcloud.";
};
maxUploadSize = mkOption {
default = "512M";
type = types.str;
description = ''
Defines the upload limit for files. This changes the relevant options
in php.ini and nginx if enabled.
'';
};
skeletonDirectory = mkOption {
default = "";
type = types.str;
description = ''
The directory where the skeleton files are located. These files will be
copied to the data directory of new users. Leave empty to not copy any
skeleton files.
'';
};
nginx.enable = mkEnableOption "nginx vhost management";
webfinger = mkOption {
type = types.bool;
default = false;
description = ''
Enable this option if you plan on using the webfinger plugin.
The appropriate nginx rewrite rules will be added to your configuration.
'';
};
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 = {
"short_open_tag" = "Off";
"expose_php" = "Off";
"error_reporting" = "E_ALL & ~E_DEPRECATED & ~E_STRICT";
"display_errors" = "stderr";
"opcache.enable_cli" = "1";
"opcache.interned_strings_buffer" = "8";
"opcache.max_accelerated_files" = "10000";
"opcache.memory_consumption" = "128";
"opcache.revalidate_freq" = "1";
"opcache.fast_shutdown" = "1";
"openssl.cafile" = "/etc/ssl/certs/ca-certificates.crt";
"catch_workers_output" = "yes";
};
description = ''
Options for PHP's php.ini file for nextcloud.
'';
};
poolConfig = mkOption {
type = types.lines;
default = ''
pm = dynamic
pm.max_children = 32
pm.start_servers = 2
pm.min_spare_servers = 2
pm.max_spare_servers = 4
pm.max_requests = 500
'';
description = ''
Options for nextcloud's PHP pool. See the documentation on <literal>php-fpm.conf</literal> for details on configuration directives.
'';
};
config = {
dbtype = mkOption {
type = types.enum [ "sqlite" "pgsql" "mysql" ];
default = "sqlite";
description = "Database type.";
};
dbname = mkOption {
type = types.nullOr types.str;
default = "nextcloud";
description = "Database name.";
};
dbuser = mkOption {
type = types.nullOr types.str;
default = "nextcloud";
description = "Database user.";
};
dbpass = mkOption {
type = types.nullOr types.str;
default = null;
description = ''
Database password. Use <literal>dbpassFile</literal> to avoid this
being world-readable in the <literal>/nix/store</literal>.
'';
};
dbpassFile = mkOption {
type = types.nullOr types.str;
default = null;
description = ''
The full path to a file that contains the database password.
'';
};
dbhost = mkOption {
type = types.nullOr types.str;
default = "localhost";
description = "Database host.";
};
dbport = mkOption {
type = with types; nullOr (either int str);
default = null;
description = "Database port.";
};
dbtableprefix = mkOption {
type = types.nullOr types.str;
default = null;
description = "Table prefix in Nextcloud database.";
};
adminuser = mkOption {
type = types.str;
default = "root";
description = "Admin username.";
};
adminpass = mkOption {
type = types.nullOr types.str;
default = null;
description = ''
Database password. Use <literal>adminpassFile</literal> to avoid this
being world-readable in the <literal>/nix/store</literal>.
'';
};
adminpassFile = mkOption {
type = types.nullOr types.str;
default = null;
description = ''
The full path to a file that contains the admin's password.
'';
};
extraTrustedDomains = mkOption {
type = types.listOf types.str;
default = [];
description = ''
Trusted domains, from which the nextcloud installation will be
acessible. You don't need to add
<literal>services.nextcloud.hostname</literal> here.
'';
};
};
caching = {
apcu = mkOption {
type = types.bool;
default = true;
description = ''
Whether to load the APCu module into PHP.
'';
};
redis = mkOption {
type = types.bool;
default = false;
description = ''
Whether to load the Redis module into PHP.
You still need to enable Redis in your config.php.
See https://docs.nextcloud.com/server/14/admin_manual/configuration_server/caching_configuration.html
'';
};
memcached = mkOption {
type = types.bool;
default = false;
description = ''
Whether to load the Memcached module into PHP.
You still need to enable Memcached in your config.php.
See https://docs.nextcloud.com/server/14/admin_manual/configuration_server/caching_configuration.html
'';
};
};
};
config = mkIf cfg.enable (mkMerge [
{ assertions = let acfg = cfg.config; in [
{ assertion = !(acfg.dbpass != null && acfg.dbpassFile != null);
message = "Please specify no more than one of dbpass or dbpassFile";
}
{ assertion = ((acfg.adminpass != null || acfg.adminpassFile != null)
&& !(acfg.adminpass != null && acfg.adminpassFile != null));
message = "Please specify exactly one of adminpass or adminpassFile";
}
];
}
{ systemd.timers."nextcloud-cron" = {
wantedBy = [ "timers.target" ];
timerConfig.OnBootSec = "5m";
timerConfig.OnUnitActiveSec = "15m";
timerConfig.Unit = "nextcloud-cron.service";
};
systemd.services = {
"nextcloud-setup" = let
overrideConfig = pkgs.writeText "nextcloud-config.php" ''
<?php
$CONFIG = [
'apps_paths' => [
[ 'path' => '${cfg.home}/apps', 'url' => '/apps', 'writable' => false ],
[ 'path' => '${cfg.home}/store-apps', 'url' => '/store-apps', 'writable' => true ],
],
'datadirectory' => '${cfg.home}/data',
'skeletondirectory' => '${cfg.skeletonDirectory}',
${optionalString cfg.caching.apcu "'memcache.local' => '\\OC\\Memcache\\APCu',"}
'log_type' => 'syslog',
];
'';
occInstallCmd = let
c = cfg.config;
adminpass = if c.adminpassFile != null
then ''"$(<"${toString c.adminpassFile}")"''
else ''"${toString c.adminpass}"'';
dbpass = if c.dbpassFile != null
then ''"$(<"${toString c.dbpassFile}")"''
else if c.dbpass != null
then ''"${toString c.dbpass}"''
else null;
installFlags = concatStringsSep " \\\n "
(mapAttrsToList (k: v: "${k} ${toString v}") {
"--database" = ''"${c.dbtype}"'';
# The following attributes are optional depending on the type of
# database. Those that evaluate to null on the left hand side
# will be omitted.
${if c.dbname != null then "--database-name" else null} = ''"${c.dbname}"'';
${if c.dbhost != null then "--database-host" else null} = ''"${c.dbhost}"'';
${if c.dbport != null then "--database-port" else null} = ''"${toString c.dbport}"'';
${if c.dbuser != null then "--database-user" else null} = ''"${c.dbuser}"'';
${if (any (x: x != null) [c.dbpass c.dbpassFile])
then "--database-pass" else null} = dbpass;
${if c.dbtableprefix != null
then "--database-table-prefix" else null} = ''"${toString c.dbtableprefix}"'';
"--admin-user" = ''"${c.adminuser}"'';
"--admin-pass" = adminpass;
"--data-dir" = ''"${cfg.home}/data"'';
});
in ''
${occ}/bin/nextcloud-occ maintenance:install \
${installFlags}
'';
occSetTrustedDomainsCmd = concatStringsSep "\n" (imap0
(i: v: ''
${occ}/bin/nextcloud-occ config:system:set trusted_domains \
${toString i} --value="${toString v}"
'') ([ cfg.hostName ] ++ cfg.config.extraTrustedDomains));
in {
wantedBy = [ "multi-user.target" ];
before = [ "phpfpm-nextcloud.service" ];
script = ''
chmod og+x ${cfg.home}
ln -sf ${pkgs.nextcloud}/apps ${cfg.home}/
mkdir -p ${cfg.home}/config ${cfg.home}/data ${cfg.home}/store-apps
ln -sf ${overrideConfig} ${cfg.home}/config/override.config.php
chown -R nextcloud:nginx ${cfg.home}/config ${cfg.home}/data ${cfg.home}/store-apps
# Do not install if already installed
if [[ ! -e ${cfg.home}/config/config.php ]]; then
${occInstallCmd}
fi
${occ}/bin/nextcloud-occ upgrade
${occ}/bin/nextcloud-occ config:system:delete trusted_domains
${occSetTrustedDomainsCmd}
'';
serviceConfig.Type = "oneshot";
};
"nextcloud-cron" = {
environment.NEXTCLOUD_CONFIG_DIR = "${cfg.home}/config";
serviceConfig.Type = "oneshot";
serviceConfig.User = "nextcloud";
serviceConfig.ExecStart = "${pkgs.php}/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 {
listen = "/run/phpfpm/nextcloud";
extraConfig = ''
listen.owner = nginx
listen.group = nginx
user = nextcloud
group = nginx
${cfg.poolConfig}
env[NEXTCLOUD_CONFIG_DIR] = ${cfg.home}/config
env[PATH] = /run/wrappers/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/usr/bin:/bin
${phpAdminValues}
'';
};
};
users.extraUsers.nextcloud = {
home = "${cfg.home}";
group = "nginx";
createHome = true;
};
environment.systemPackages = [ occ ];
}
(mkIf cfg.nginx.enable {
services.nginx = {
enable = true;
virtualHosts = {
"${cfg.hostName}" = {
root = pkgs.nextcloud;
locations = {
"= /robots.txt" = {
priority = 100;
extraConfig = ''
allow all;
log_not_found off;
access_log off;
'';
};
"/" = {
priority = 200;
extraConfig = "rewrite ^ /index.php$uri;";
};
"~ ^/store-apps" = {
priority = 201;
extraConfig = "root ${cfg.home};";
};
"= /.well-known/carddav" = {
priority = 210;
extraConfig = "return 301 $scheme://$host/remote.php/dav;";
};
"= /.well-known/caldav" = {
priority = 210;
extraConfig = "return 301 $scheme://$host/remote.php/dav;";
};
"~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/" = {
priority = 300;
extraConfig = "deny all;";
};
"~ ^/(?:\\.|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(?:$|/)" = {
priority = 500;
extraConfig = ''
include ${pkgs.nginxMainline}/conf/fastcgi.conf;
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;
fastcgi_param front_controller_active true;
fastcgi_pass unix:/run/phpfpm/nextcloud;
fastcgi_intercept_errors on;
fastcgi_request_buffering off;
fastcgi_read_timeout 120s;
'';
};
"~ ^/(?:updater|ocs-provider)(?:$|/)".extraConfig = ''
try_files $uri/ =404;
index index.php;
'';
"~ \\.(?:css|js|woff|svg|gif)$".extraConfig = ''
try_files $uri /index.php$uri$is_args$args;
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;
access_log off;
'';
"~ \\.(?:png|html|ttf|ico|jpg|jpeg)$".extraConfig = ''
try_files $uri /index.php$uri$is_args$args;
access_log off;
'';
};
extraConfig = ''
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;
error_page 403 /core/templates/403.php;
error_page 404 /core/templates/404.php;
client_max_body_size ${cfg.maxUploadSize};
fastcgi_buffers 64 4K;
gzip on;
gzip_vary on;
gzip_comp_level 4;
gzip_min_length 256;
gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;
gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;
${optionalString cfg.webfinger ''
rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json last;
''}
'';
};
};
};
})
]);
meta.doc = ./nextcloud.xml;
}

View File

@@ -0,0 +1,99 @@
<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-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>.
</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>).
</para>
<para>
A very basic configuration may look like this:
<programlisting>{ pkgs, ... }:
{
services.nextcloud = {
<link linkend="opt-services.nextcloud.enable">enable</link> = true;
<link linkend="opt-services.nextcloud.hostName">hostName</link> = "nextcloud.tld";
<link linkend="opt-services.nextcloud.nginx.enable">nginx.enable</link> = true;
config = {
<link linkend="opt-services.nextcloud.config.dbtype">dbtype</link> = "pgsql";
<link linkend="opt-services.nextcloud.config.dbuser">dbuser</link> = "nextcloud";
<link linkend="opt-services.nextcloud.config.dbhost">dbhost</link> = "/tmp"; # nextcloud will add /.s.PGSQL.5432 by itself
<link linkend="opt-services.nextcloud.config.dbname">dbname</link> = "nextcloud";
<link linkend="opt-services.nextcloud.config.adminpassFile">adminpassFile</link> = "/path/to/admin-pass-file";
<link linkend="opt-services.nextcloud.config.adminuser">adminuser</link> = "root";
};
};
services.postgresql = {
<link linkend="opt-services.postgresql.enable">enable</link> = true;
<link linkend="opt-services.postgresql.initialScript">initialScript</link> = pkgs.writeText "psql-init" ''
CREATE ROLE nextcloud WITH LOGIN;
CREATE DATABASE nextcloud WITH OWNER nextcloud;
'';
};
# ensure that postgres is running *before* running the setup
systemd.services."nextcloud-setup" = {
requires = ["postgresql.service"];
after = ["postgresql.service"];
};
<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>
</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>.
</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).
</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.
</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>
</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>
</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.
</para>
</section>
</chapter>

View File

@@ -21,8 +21,8 @@ let
db_database=${cfg.database.name}
db_username=${cfg.database.user}
db_password=${cfg.database.password}
db_port=${if (cfg.database.port != null) then cfg.database.port
else default_port}
db_port=${toString (if (cfg.database.port != null) then cfg.database.port
else default_port)}
''
}
${cfg.extraConfig}

View File

@@ -85,10 +85,10 @@ let
# remove bundled themes(s) coming with wordpress
rm -Rf $out/wp-content/themes/*
# symlink additional theme(s)
${concatMapStrings (theme: "ln -s ${theme} $out/wp-content/themes/${theme.name}\n") config.themes}
# symlink additional plugin(s)
${concatMapStrings (plugin: "ln -s ${plugin} $out/wp-content/plugins/${plugin.name}\n") (config.plugins) }
# copy additional theme(s)
${concatMapStrings (theme: "cp -r ${theme} $out/wp-content/themes/${theme.name}\n") config.themes}
# copy additional plugin(s)
${concatMapStrings (plugin: "cp -r ${plugin} $out/wp-content/plugins/${plugin.name}\n") (config.plugins) }
# symlink additional translation(s)
mkdir -p $out/wp-content/languages

View File

@@ -245,8 +245,8 @@ let
}
''
) virtualHosts);
mkLocations = locations: concatStringsSep "\n" (mapAttrsToList (location: config: ''
location ${location} {
mkLocations = locations: concatStringsSep "\n" (map (config: ''
location ${config.location} {
${optionalString (config.proxyPass != null && !cfg.proxyResolveWhileRunning)
"proxy_pass ${config.proxyPass};"
}
@@ -266,7 +266,18 @@ let
${config.extraConfig}
${optionalString (config.proxyPass != null && cfg.recommendedProxySettings) "include ${recommendedProxyConfig};"}
}
'') locations);
'') (sortProperties (mapAttrsToList (k: v: v // { location = k; }) locations)));
mkBasicAuth = vhostName: authDef: let
htpasswdFile = pkgs.writeText "${vhostName}.htpasswd" (
concatStringsSep "\n" (mapAttrsToList (user: password: ''
${user}:{PLAIN}${password}
'') authDef)
);
in ''
auth_basic secured;
auth_basic_user_file ${htpasswdFile};
'';
mkHtpasswd = vhostName: authDef: pkgs.writeText "${vhostName}.htpasswd" (
concatStringsSep "\n" (mapAttrsToList (user: password: ''
${user}:{PLAIN}${password}

View File

@@ -71,6 +71,16 @@ with lib;
These lines go to the end of the location verbatim.
'';
};
priority = mkOption {
type = types.int;
default = 1000;
description = ''
Order of this location block in relation to the others in the vhost.
The semantics are the same as with `lib.mkOrder`. Smaller values have
a greater priority.
'';
};
};
}

View File

@@ -69,7 +69,7 @@ with lib;
acmeRoot = mkOption {
type = types.str;
default = "/var/lib/acme/acme-challenge";
description = "Directory to store certificates and keys managed by the ACME service.";
description = "Directory for the acme challenge which is PUBLIC, don't put certs or keys in here";
};
acmeFallbackHost = mkOption {

View File

@@ -238,6 +238,12 @@ in {
description = "Compton composite manager";
wantedBy = [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ];
# Temporarily fixes corrupt colours with Mesa 18
environment = mkIf (cfg.backend == "glx") {
allow_rgb10_configs = "false";
};
serviceConfig = {
ExecStart = "${cfg.package}/bin/compton --config ${configFile}";
RestartSec = 3;

View File

@@ -97,8 +97,6 @@ in {
services.udisks2.enable = true;
services.accounts-daemon.enable = true;
services.geoclue2.enable = mkDefault true;
# GNOME should have its own geoclue agent
services.geoclue2.enableDemoAgent = false;
services.dleyna-renderer.enable = mkDefault true;
services.dleyna-server.enable = mkDefault true;
services.gnome3.at-spi2-core.enable = true;
@@ -132,7 +130,6 @@ in {
fonts.fonts = [ pkgs.dejavu_fonts pkgs.cantarell-fonts ];
services.xserver.displayManager.gdm.enable = mkDefault true;
services.xserver.displayManager.extraSessionFilePackages = [ pkgs.gnome3.gnome-session ];
services.xserver.displayManager.sessionCommands = ''

View File

@@ -222,6 +222,17 @@ in
description = "List of arguments for the X server.";
};
setupCommands = mkOption {
type = types.lines;
default = "";
description = ''
Shell commands executed just after the X server has started.
This option is only effective for display managers for which this feature
is supported; currently these are LightDM, GDM and SDDM.
'';
};
sessionCommands = mkOption {
type = types.lines;
default = "";

View File

@@ -7,6 +7,13 @@ let
cfg = config.services.xserver.displayManager;
gdm = pkgs.gnome3.gdm;
xSessionWrapper = if (cfg.setupCommands == "") then null else
pkgs.writeScript "gdm-x-session-wrapper" ''
#!${pkgs.bash}/bin/bash
${cfg.setupCommands}
exec "$@"
'';
in
{
@@ -112,6 +119,11 @@ in
GDM_SESSIONS_DIR = "${cfg.session.desktops}/share/xsessions";
# Find the mouse
XCURSOR_PATH = "~/.icons:${pkgs.gnome3.adwaita-icon-theme}/share/icons";
} // optionalAttrs (xSessionWrapper != null) {
# Make GDM use this wrapper before running the session, which runs the
# configured setupCommands. This relies on a patched GDM which supports
# this environment variable.
GDM_X_SESSION_WRAPPER = "${xSessionWrapper}";
};
execCmd = "exec ${gdm}/bin/gdm";
};

View File

@@ -61,6 +61,12 @@ let
${optionalString hasDefaultUserSession ''
user-session=${defaultSessionName}
''}
${optionalString (dmcfg.setupCommands != "") ''
display-setup-script=${pkgs.writeScript "lightdm-display-setup" ''
#!${pkgs.bash}/bin/bash
${dmcfg.setupCommands}
''}
''}
${cfg.extraSeatDefaults}
'';
@@ -179,7 +185,7 @@ in
{ assertion = cfg.autoLogin.enable -> dmDefault != "none" || wmDefault != "none";
message = ''
LightDM auto-login requires that services.xserver.desktopManager.default and
services.xserver.windowMananger.default are set to valid values. The current
services.xserver.windowManager.default are set to valid values. The current
default session: ${defaultSessionName} is not valid.
'';
}

View File

@@ -20,6 +20,7 @@ let
Xsetup = pkgs.writeScript "Xsetup" ''
#!/bin/sh
${cfg.setupScript}
${dmcfg.setupCommands}
'';
Xstop = pkgs.writeScript "Xstop" ''
@@ -137,7 +138,8 @@ in
xrandr --auto
'';
description = ''
A script to execute when starting the display server.
A script to execute when starting the display server. DEPRECATED, please
use <option>services.xserver.displayManager.setupCommands</option>.
'';
};
@@ -200,7 +202,7 @@ in
{ assertion = cfg.autoLogin.enable -> elem defaultSessionName dmcfg.session.names;
message = ''
SDDM auto-login requires that services.xserver.desktopManager.default and
services.xserver.windowMananger.default are set to valid values. The current
services.xserver.windowManager.default are set to valid values. The current
default session: ${defaultSessionName} is not valid.
'';
}

View File

@@ -18,27 +18,17 @@ in {
};
config = mkIf cfg.enable {
systemd.user = {
sockets.urxvtd = {
description = "socket for urxvtd, the urxvt terminal daemon";
wantedBy = [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ];
socketConfig = {
ListenStream = "%t/urxvtd-socket";
};
systemd.user.services.urxvtd = {
description = "urxvt terminal daemon";
wantedBy = [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ];
path = [ pkgs.xsel ];
serviceConfig = {
ExecStart = "${pkgs.rxvt_unicode-with-plugins}/bin/urxvtd -o";
Environment = "RXVT_SOCKET=%t/urxvtd-socket";
Restart = "on-failure";
RestartSec = "5s";
};
services.urxvtd = {
description = "urxvt terminal daemon";
path = [ pkgs.xsel ];
serviceConfig = {
ExecStart = "${pkgs.rxvt_unicode-with-plugins}/bin/urxvtd -o";
Environment = "RXVT_SOCKET=%t/urxvtd-socket";
Restart = "on-failure";
RestartSec = "5s";
};
};
};
environment.systemPackages = [ pkgs.rxvt_unicode-with-plugins ];

View File

@@ -374,6 +374,12 @@ in
description = "Contents of the first Monitor section of the X server configuration file.";
};
extraConfig = mkOption {
type = types.lines;
default = "";
description = "Additional contents (sections) included in the X server configuration file";
};
xrandrHeads = mkOption {
default = [];
example = [
@@ -754,6 +760,7 @@ in
Driver "${driver.driverName or driver.name}"
${if cfg.useGlamor then ''Option "AccelMethod" "glamor"'' else ""}
${cfg.deviceSection}
${driver.deviceSection or ""}
${xrandrDeviceSection}
EndSection
@@ -765,6 +772,7 @@ in
''}
${cfg.screenSection}
${driver.screenSection or ""}
${optionalString (cfg.defaultDepth != 0) ''
DefaultDepth ${toString cfg.defaultDepth}
@@ -794,6 +802,8 @@ in
'')}
${xrandrMonitorSections}
${cfg.extraConfig}
'';
fonts.enableDefaultFonts = mkDefault true;

View File

@@ -251,9 +251,9 @@ let
postInstall = ''
echo checking syntax
# check both with bash
${pkgs.bash}/bin/sh -n $target
${pkgs.buildPackages.bash}/bin/sh -n $target
# and with ash shell, just in case
${extraUtils}/bin/ash -n $target
${pkgs.buildPackages.busybox}/bin/ash -n $target
'';
inherit udevRules extraUtils modulesClosure;

View File

@@ -10,8 +10,13 @@ let
checkExec = checkUnitConfig "Exec" [
(assertOnlyFields [
"Boot" "ProcessTwo" "Parameters" "Environment" "User" "WorkingDirectory"
"Capability" "DropCapability" "KillSignal" "Personality" "MachineId"
"PrivateUsers" "NotifyReady"
"PivotRoot" "Capability" "DropCapability" "NoNewPrivileges" "KillSignal"
"Personality" "MachineId" "PrivateUsers" "NotifyReady" "SystemCallFilter"
"LimitCPU" "LimitFSIZE" "LimitDATA" "LimitSTACK" "LimitCORE" "LimitRSS"
"LimitNOFILE" "LimitAS" "LimitNPROC" "LimitMEMLOCK" "LimitLOCKS"
"LimitSIGPENDING" "LimitMSGQUEUE" "LimitNICE" "LimitRTPRIO" "LimitRTTIME"
"OOMScoreAdjust" "CPUAffinity" "Hostname" "ResolvConf" "Timezone"
"LinkJournal"
])
(assertValueOneOf "Boot" boolValues)
(assertValueOneOf "ProcessTwo" boolValues)
@@ -20,8 +25,8 @@ let
checkFiles = checkUnitConfig "Files" [
(assertOnlyFields [
"ReadOnly" "Volatile" "Bind" "BindReadOnly" "TemporaryFileSystems"
"PrivateUsersChown"
"ReadOnly" "Volatile" "Bind" "BindReadOnly" "TemporaryFileSystem"
"Overlay" "OverlayReadOnly" "PrivateUsersChown"
])
(assertValueOneOf "ReadOnly" boolValues)
(assertValueOneOf "Volatile" (boolValues ++ [ "state" ]))

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