Compare commits

..

2325 Commits

Author SHA1 Message Date
Frederik Rietdijk
9aa361c945 pythonPackages.pyopenssl: fix build, fixes #76879
(cherry picked from commit e279676f48)
2020-01-13 16:01:05 +01:00
Vladimír Čunát
1a99f4cc61 openssl_1_0_2: 1.0.2t -> 1.0.2u (low-severity security)
Fixes #77266: CVE-2019-1551
https://www.openssl.org/news/secadv/20191206.txt

(cherry picked from commit 961d0cf9f5)
2020-01-11 10:18:28 +01:00
Robert Scott
918f58fcf1 fribidi: add patch for CVE-2019-18397 (#73718)
(adjusted cherry-pick from 55b583d334)
2019-11-24 23:03:44 +01:00
Robert Scott
946f13c470 aspell: add patch for CVE-2019-17544 (#74039)
(cherry picked from commit b8920d3dba0e594ab6a8e37fb227af9462fa0590)
2019-11-24 16:25:19 +01:00
Daniel Schaefer
38539ba3ce libtiff: Patch CVE-2019-7663 (PR #72092)
(cherry picked from commit 5270c3a03e)
/cc #57158.
2019-11-09 09:57:29 +01:00
Florian Klink
c06d264772 Merge pull request #72798 from risicle/ris-file-CVE-2019-18218-r19.03
[r19.03] file: add patch for CVE-2019-18218
2019-11-04 22:54:55 +01:00
Robert Scott
be28735bfe file: add patch for CVE-2019-18218
upstream patch 46a8443f76.patch
doesn't apply directly, debian have a version which has been adapted for
5.37.

(cherry picked from commit 99273fc555)
2019-11-04 20:43:34 +00:00
Frederik Rietdijk
0391c19a73 python2: 2.7.16 -> 2.7.17
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
(cherry picked from commit 5b55013aa2)
2019-10-20 19:51:15 +02:00
Vladimír Čunát
72d36bec5c Merge branch 'release-19.03' into staging-19.03 2019-10-13 21:34:51 +02:00
Robert Scott
347511617d poppler: add patch for CVE-2019-9959 (PR #71046)
(cherry picked from commit 3fa2864aac)
2019-10-13 20:19:36 +02:00
Vladimír Čunát
139e21bfeb Merge #70285: *gst-plugins-base: patch CVE-2019-9928
...into staging-19.03
2019-10-13 20:17:51 +02:00
Vladimír Čunát
7585be8a2f Merge #70273: gnupatch: rename patch files to match their CVE ids
...into staging-19.03
2019-10-13 20:16:18 +02:00
Vladimír Čunát
57bd5f1e70 Merge #70278: libtiff: patch for CVE-2019-6128, CVE-2019-14973
...into staging-19.03
2019-10-13 20:15:13 +02:00
Robert Scott
7240f2fdc0 poppler_0_61: add patch for CVE-2019-9959
custom adapted patch to accommodate the openjpeg1/openjpeg2 split that
0.61 still has

(cherry picked from commit e6889d46e0)
2019-10-13 20:06:32 +02:00
Tim Steinbach
e758436f98 linux: 5.2.20 -> 5.2.21 2019-10-12 11:20:59 -04:00
Tim Steinbach
525f11147f linux: 4.19.78 -> 4.19.79 2019-10-12 11:20:58 -04:00
Tim Steinbach
ff91bf037d linux: 4.14.148 -> 4.14.149 2019-10-12 11:20:56 -04:00
Vladimír Čunát
8350d254b3 curl: apply upstream security patch
Partially fixes #70084.  Cherry-picked from 19.09's 22b5bbf0e.
2019-10-12 15:12:19 +02:00
Vladimír Čunát
bfce139094 Merge #70559: zziplib: apply patches for CVE-2018-16548
...into release-19.03
2019-10-12 11:27:29 +02:00
Vladimír Čunát
1a62ef4c16 Merge branch 'release-19.03' into staging-19.03 2019-10-12 11:19:07 +02:00
Vladimír Čunát
aff4d644fd Merge #70464: runc: v1.0.0-rc8 -> v1.0.0-rc9 (security)
(cherry picked from commit 0fa45b865a)
CVE-2019-16884
2019-10-12 10:18:48 +02:00
Ivan Kozik
af633eee21 chromium: 77.0.3865.90 -> 77.0.3865.120
CVE-2019-13693 CVE-2019-13694 CVE-2019-13695 CVE-2019-13696
CVE-2019-13697

Disable jumbo mode because upstream dropped support for it.
(See chromium-dev "We're removing support for the jumbo build")

This makes builds take about 3x as long, but we have no alternative.

(cherry picked from commit 371005c2610af880781f4d70e19747a63768c88e)
2019-10-11 22:43:59 +02:00
Florian Klink
c5cc29d7e5 [19.03] dovecot: 2.3.7.2 -> 2.3.8 (#70972)
[19.03] dovecot: 2.3.7.2 -> 2.3.8
2019-10-11 21:27:06 +02:00
Robert Schütz
5ab20c711e dovecot_pigeonhole: 0.5.7.2 -> 0.5.8
https://dovecot.org/pipermail/dovecot-news/2019-October/000420.html
(cherry picked from commit 395cdd7d4c)
2019-10-11 13:48:23 +02:00
Robert Schütz
e656799d69 dovecot: 2.3.7.2 -> 2.3.8
https://dovecot.org/pipermail/dovecot-news/2019-October/000419.html
(cherry picked from commit 5f03f32fa6)
2019-10-11 13:47:11 +02:00
Robin Gloster
df7e351af9 Merge pull request #70864 from kolaente/update-19.03/gitea-1.9.4
[19.03] gitea: 1.9.3 -> 1.9.4
2019-10-09 17:59:19 +02:00
kolaente
e831ed6ecd gitea: 1.9.3 -> 1.9.4
(cherry picked from commit 7c087faeb8)
2019-10-09 17:32:56 +02:00
Tim Steinbach
1bce67b367 linux: 5.2.19 -> 5.2.20 2019-10-07 18:05:14 -04:00
Tim Steinbach
de3ebed68b linux: 4.9.195 -> 4.9.196 2019-10-07 18:05:13 -04:00
Tim Steinbach
ea983b3642 linux: 4.4.195 -> 4.4.196 2019-10-07 18:05:12 -04:00
Tim Steinbach
928efd030b linux: 4.19.77 -> 4.19.78 2019-10-07 18:05:10 -04:00
Tim Steinbach
b8e99b444d linux: 4.14.147 -> 4.14.148 2019-10-07 18:05:09 -04:00
Linus Heckemann
0e0ee084d6 linuxPackages.virtualBoxGuestAdditions: fix build
From #70618; fixes #70470.

(cherry picked from commit 22011b0218)
2019-10-07 15:48:50 +02:00
Pierre Bourdon
59314ddd6e zziplib: apply patches for CVE-2018-16548
(cherry picked from commit aa74d076c9)
2019-10-07 04:25:57 +02:00
Albert Safin
4cf8a797ea nixos/doc: fix manpage format
Spaces inside <refname> cause stray double underscore in generated manual pages.

Fixes #70468

(cherry picked from commit 0eaf29433e)
(cherry picked from commit 26dfb4f86b)
2019-10-05 13:44:11 -04:00
Tim Steinbach
146425a590 linux: 5.2.18 -> 5.2.19 2019-10-05 10:57:50 -04:00
Tim Steinbach
b52cca16fc linux: 4.9.194 -> 4.9.195 2019-10-05 10:57:48 -04:00
Tim Steinbach
bf7844d5d6 linux: 4.4.194 -> 4.4.195 2019-10-05 10:57:47 -04:00
Tim Steinbach
b48b4ca7a0 linux: 4.19.76 -> 4.19.77 2019-10-05 10:57:45 -04:00
Tim Steinbach
fcd7b863ba linux: 4.14.146 -> 4.14.147 2019-10-05 10:57:44 -04:00
Martin Milata
b045330643 libpng12: 1.2.57 -> 1.2.59
CVE-2017-12652

(cherry picked from commit 12f31b7366)
2019-10-05 01:51:01 +02:00
Vladimír Čunát
bcc3c118bf unbound: patch CVE-2019-16866 (DoS, minor one IMHO)
https://www.nlnetlabs.nl/projects/unbound/security-advisories/#vulnerability-in-parsing-notify-queries
The patch should be available here but web is down ATM:
https://nlnetlabs.nl/downloads/unbound/patch_cve_2019-16866.diff
2019-10-04 10:03:15 +02:00
Thomas Tuegel
ec1070d4d4 Merge pull request #70288 from ttuegel/security--release-19.03--CVE-2019-14744
NixOS 19.03: Fix kdelibs and kconfig patch names for vulnix
2019-10-03 05:57:44 -05:00
Pierre Bourdon
2aae1c9631 glibc: patch CVE-2018-11236, CVE-2018-11237
Patches have been imported into nixpkgs and manually edited to avoid
merge conflicts on ChangeLog / NEWS files.

(cherry picked from commit 17be09a1f0)
2019-10-03 00:03:36 +02:00
Thomas Tuegel
949da84383 pykde4: Disable build on Hydra 2019-10-02 16:51:19 -05:00
Thomas Tuegel
665e671717 kdelibs: vulnix: patch name is CVE number 2019-10-02 16:50:03 -05:00
Thomas Tuegel
3e7cb73856 kconfig: vulnix: patch name is CVE number 2019-10-02 16:49:28 -05:00
Pierre Bourdon
061663a157 gst-plugins-base,gst_all_1.gst-plugins-base: apply patch for CVE-2019-9928
Refactor the patchPhase management for the package along the way to
something more standard.

(Cherry pick from 97e4a11b003a5a88397d9a1fc4ee8ce8f006a396 with an extra
version of the package to patch in 19.03.)
2019-10-02 23:31:02 +02:00
Pierre Bourdon
b7eac277b3 libtiff: patch for CVE-2019-6128, CVE-2019-14973
CVE-2019-14973.patch is a manually backported of the upstream patch to
work around some minor merge conflicts.

(cherry picked from commit a2e1da7367bf2397cb0cd82a1ab6503a9c1fa5aa)
2019-10-02 22:49:57 +02:00
Pierre Bourdon
41f6a49be1 gnupatch: rename patch files to match their CVE ids.
This should be a behavior no-op, but it helps vulnix figure out that we
are up to date regarding security patches.

(cherry picked from commit 2242bb86d1edbdd8083c840d1160349286372fac)
2019-10-02 22:04:34 +02:00
Thomas Tuegel
a1ccf5ff6a Merge pull request #70263 from ttuegel/security--release-19.03--CVE-2019-14744
NixOS 19.03: Patches for CVE-2019-14744
2019-10-02 14:01:01 -05:00
Thomas Tuegel
3879ac8b90 pykde4: Patch for CVE-2019-14744
See also: https://phabricator.kde.org/D22989
See also: https://github.com/NixOS/nixpkgs/issues/70102
2019-10-02 13:32:01 -05:00
Thomas Tuegel
a7417ebf45 kconfig: Patch for CVE-2019-14744
See also: https://phabricator.kde.org/D22979
See also: https://github.com/NixOS/nixpkgs/issues/70102
2019-10-02 13:30:44 -05:00
Mario Rodas
7035462dde ruby_2_6: 2.6.2 -> 2.6.5
Changelog: https://www.ruby-lang.org/en/news/2019/10/01/ruby-2-6-5-released/
(cherry picked from commit 4ee22f3a9c)
2019-10-02 10:55:40 +00:00
Mario Rodas
c8e7fec546 ruby_2_5: 2.5.5 -> 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 10:54:25 +00:00
Mario Rodas
0dbd38cac0 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 10:53:07 +00:00
pacien
a9c15710b9 exim: 4.92.2 -> 4.92.3
security update: CVE-2019-16928

(cherry picked from commit aaa1ba3700)

cc #70072
2019-10-02 09:34:19 +02:00
Tim Steinbach
f9206f287e linux: 5.2.17 -> 5.2.18 2019-10-01 08:05:27 -04:00
Tim Steinbach
9aa95fd69f linux: 4.19.75 -> 4.19.76 2019-10-01 08:05:26 -04:00
xrelkd
6420e2649f youtube-dl: 2019.09.12.1 -> 2019.09.28
(cherry picked from commit b7c5073f72)
2019-09-27 21:15:13 -04:00
Michael Weiss
bd5e8f35c2 Merge pull request #69565 from primeos/signal-desktop-backport
[19.03] signal-desktop: 1.27.2 -> 1.27.3 (backport)
2019-09-26 22:33:49 +02:00
Michael Weiss
99f61ee5ad signal-desktop: 1.27.2 -> 1.27.3
(cherry picked from commit 6f3b44baa4)
2019-09-26 20:03:28 +02:00
Michael Weiss
47729d027e signal-desktop: Document the build "expiration"
This adds a comment why it's important to always backport any updates as
suggested in #68232. I've als included a few more details to document
the behaviour.

Sources:
- Default build lifetime [0]
- asar - Electron Archive [1]

[0]: d3d2b0ec52/Gruntfile.js (L222)
[1]: https://github.com/electron/asar

(cherry picked from commit 5d1abc68e7)
2019-09-26 20:02:11 +02:00
Matthew Bauer
ebdc441931 gmp: don’t disable assembly on x86
this should always work, even on android / iOS toolchains

(cherry picked from commit 699fae259d)
(cherry picked from commit a5771ef41a)
2019-09-24 17:33:13 -04:00
Matthew Bauer
cb99f4f23a androidndk: get correct libs for x86_64
(cherry picked from commit f089afe965)
2019-09-24 17:32:49 -04:00
Jörg Thalheim
2c61951df9 rtlwifi_new: 2018-02-17 -> 2019-08-21
(cherry picked from commit 434a69f5b5)
2019-09-24 13:15:44 +01:00
Jan Malakhovski
bf33e92e9d firefoxPackages.tor-browser: 8.5.4 -> 8.5.6
(cherry picked from commit 54c8da0787)
2019-09-24 08:09:19 +02:00
Matthew Bauer
5051f5435e Revert "daemon: init at 0.6.4"
This reverts commit 5e845ace84.
2019-09-23 13:53:32 -04:00
Robin Gloster
dd8cc8ff77 Merge pull request #69042 from johanot/kubernetes-1.13.11
kubernetes: 1.13.9 -> 1.13.11
2019-09-23 15:50:52 +02:00
talyz
4d53b8e34c nixos/gitlab: Add gnutar and gzip to gitlab-sidekiq's path
Tar and gzip are needed when importing GitLab project exports.

(cherry picked from commit aceac9d531)
2019-09-23 06:43:39 +02:00
Eelco Dolstra
d98809009c nixFlakes: 2.4pre20190913_a25c022 -> 2.4pre20190922_382aa05
(cherry picked from commit 8109be4859)
2019-09-22 22:07:34 +02:00
Sander van der Burg
5e845ace84 daemon: init at 0.6.4
(cherry picked from commit 96ffba10f5)
2019-09-22 21:24:36 +02:00
Elis Hirwing
7be7f6f644 Merge pull request #69226 from talyz/release-19.03
nomachine-client: 6.7.6 -> 6.8.1
2019-09-22 07:43:56 +02:00
Tim Steinbach
a83dcb1755 linux: 5.2.16 -> 5.2.17 2019-09-21 20:36:57 -04:00
Tim Steinbach
ae0dc12a8e linux: 4.9.193 -> 4.9.194 2019-09-21 20:36:56 -04:00
Tim Steinbach
0b88a5c44d linux: 4.4.193 -> 4.4.194 2019-09-21 20:36:54 -04:00
Tim Steinbach
e3d426e75b linux: 4.19.74 -> 4.19.75 2019-09-21 20:36:53 -04:00
Tim Steinbach
e134e642fc linux: 4.14.145 -> 4.14.146 2019-09-21 20:36:48 -04:00
talyz
3bf149e41b nomachine-client: 6.7.6 -> 6.8.1
(cherry picked from commit 43dc5c0e8f)
2019-09-21 22:06:09 +02:00
Elis Hirwing
fdf5764e79 Merge pull request #69201 from c0deaddict/release-19.03
nixos/gitea: fix dump
2019-09-21 12:09:08 +02:00
Jos van Bakel
fa177937ab nixos/gitea: fix dump 2019-09-21 11:23:18 +02:00
Serhii Khoma
73aec98c72 dropbox: 73.4.118 -> 81.4.195
(cherry picked from commit 36c772b5f3)
2019-09-21 09:35:25 +01:00
Langston Barrett
55724cea1d dropbox: 63.4.107 -> 73.4.118
(cherry picked from commit 21344bc172)
2019-09-21 09:35:16 +01:00
taku0
d91b06e436 firefox: 69.0 -> 69.0.1
(cherry picked from commit a4edff0fec)
2019-09-21 08:31:04 +01:00
taku0
75fdf70a92 firefox-bin: 69.0 -> 69.0.1
(cherry picked from commit ae20db1f21)
2019-09-21 08:30:58 +01:00
werner291
b7a5d2348e broadcom_sta: fix build on linux-5.1 (#69167)
(cherry picked from commit 75a60db00e)
2019-09-20 18:40:08 -04:00
hyperfekt
7086c810fd minecraft: 2015-07-24 -> 2.1.5965
switched to the new official launcher, renamed to minecraft-launcher,
and added an update script

(cherry picked from commit 3a635da857)
2019-09-20 22:42:58 +02:00
Vladimír Čunát
e670762434 Merge branch 'staging-19.03' into release-19.03
(expat: security patch)
2019-09-20 12:19:14 +02:00
aszlig
021d733ea3 ip2unix: 2.0.1 -> 2.0.2
This is just a small bugfix release (essentially adds two lines of code)
which fixes a segfault if using with a program that doesn't pass a
sockaddr buffer to accept() or accept4().

The reason I didn't cherry-pick this from master is because the version
there is version 2.1.x and I'd like to only backport fixes to NixOS
stable branches, so I released version 2.0.2 upstream specifically for
this.

Signed-off-by: aszlig <aszlig@nix.build>
2019-09-20 08:20:21 +02:00
Graham Christensen
7ba2943d72 Merge pull request #69076 from ivan/chromium-77.0.3865.90-for-19.03
[19.03] chromium: 77.0.3865.75 -> 77.0.3865.90
2019-09-19 18:01:02 -04:00
Ivan Kozik
f0986334ee chromiumDev: fix build by disabling jumbo
This fixes:

FAILED: obj/chrome/browser/ui/ui/ui_jumbo_3.o
../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/chrome/browser/ui/ui/ui_jumbo_3.o.d -DUSE_DBUS -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DCR_CLANG_REVISION=\"371202-8455294f-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_LIBCPP_ABI_UNSTABLE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_NODISCARD -DCR_LIBCXX_REVISION=361348 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DUSE_CUPS -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DENABLE_IPC_FUZZER -DTOOLKIT_VIEWS=1 -DVK_NO_PROTOTYPES -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DSYNC_PASSWORD_REUSE_DETECTION_ENABLED -DON_FOCUS_PING_ENABLED -DEXPAT_RELATIVE_PATH -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DLEVELDB_PLATFORM_CHROMIUM=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DNO_MAIN_THREAD_WRAPPING -DV8_USE_EXTERNAL_STARTUP_DATA -DSK_GL -DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LIBRARY -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_HAS_JPEG_LIBRARY -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DVK_NO_PROTOTYPES -DV8_DEPRECATION_WARNINGS -DI18N_ADDRESS_VALIDATION_DATA_URL=\"https://chromium-i18n.appspot.com/ssl-aggregate-address/\" -DPERFETTO_IMPLEMENTATION -I. -I../.. -Igen -Igen/shim_headers/snappy_shim -I../../third_party/libyuv/include -Igen/shim_headers/libpng_shim -Igen/shim_headers/libwebp_shim -I../../third_party/khronos -I../../gpu -I../../third_party/vulkan/include -Igen/shim_headers/opus_shim -Igen/third_party/dawn -I../../third_party/dawn/src/include -Igen/shim_headers/flac_shim -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/protobuf/src -I../../third_party/boringssl/src/include -I../../third_party/cacheinvalidation/overrides -I../../third_party/cacheinvalidation/src -Igen/third_party/metrics_proto -I../../third_party/leveldatabase -I../../third_party/leveldatabase/src -I../../third_party/leveldatabase/src/include -I../../third_party/ced/src -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -I../../third_party/webrtc_overrides -I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/abseil-cpp -I../../third_party/skia -I../../third_party/vulkan/include -I../../third_party/skia/third_party/vulkanmemoryallocator -I../../third_party/vulkan/include -I../../third_party/libwebm/source -I../../v8/include -Igen/v8/include -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/third_party/perfetto -Igen/third_party/perfetto -Igen/third_party/perfetto -Igen/third_party/perfetto -Igen/third_party/perfetto -I../../third_party/re2/src -I../../third_party/mesa_headers -Igen -Igen -Igen -Igen -I../../third_party/libaddressinput/src/cpp/include -Igen/components/sync/protocol -I../../third_party/flatbuffers/src/include -I../../third_party/perfetto -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -I../../third_party/brotli/include -I../../third_party/zlib -I../../third_party/fontconfig/src -Igen -Igen -Igen -Igen -Igen -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -fcomplete-member-pointers -m64 -march=x86-64 -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-xor-used-as-pow -Wno-c99-designator -Wno-reorder-init-list -Wno-final-dtor-non-final-class -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wexit-time-destructors -I/nix/store/fn0ag3ahbrjjjbsqb2846x321zj4jika-glib-2.60.7-dev/include -I/nix/store/fn0ag3ahbrjjjbsqb2846x321zj4jika-glib-2.60.7-dev/include/glib-2.0 -I/nix/store/ilk1606qj4pqzsplnnzycsxpzl6pjss8-glib-2.60.7/lib/glib-2.0/include -Wno-shorten-64-to-32 -Wno-header-guard -I/nix/store/c3i4il1c0n9mjhzm1dsvcw8h8d973s0b-nspr-4.21-dev/include -I/nix/store/qk3racv0a2967wsk0g9ps9wlbfn17faj-nss-3.46-dev/include/nss -I/nix/store/v85mz845m1hv2xlhp0zvxv36pmsfbc3q-dbus-1.12.16-dev/include/dbus-1.0 -I/nix/store/j3sv2g9s6dnlh672rwx0mmlkcm37v1k8-dbus-1.12.16-lib/lib/dbus-1.0/include -std=c++14 -fno-exceptions -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include -fvisibility-inlines-hidden -c gen/chrome/browser/ui/ui_jumbo_3.cc -o obj/chrome/browser/ui/ui/ui_jumbo_3.o
warning: unknown warning option '-Wno-implicit-int-float-conversion'; did you mean '-Wno-implicit-float-conversion'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-xor-used-as-pow'; did you mean '-Wno-unused-macros'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-c99-designator'; did you mean '-Wno-gnu-designator'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-reorder-init-list'; did you mean '-Wno-empty-init-stmt'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-final-dtor-non-final-class'; did you mean '-Wno-abstract-final-class'? [-Wunknown-warning-option]
In file included from gen/chrome/browser/ui/ui_jumbo_3.cc:24:
./../../chrome/browser/ui/views/profiles/profile_menu_view.cc:68:25: error: redefinition of 'GetProfileAttributesEntry'
ProfileAttributesEntry* GetProfileAttributesEntry(Profile* profile) {
                        ^
./../../chrome/browser/ui/views/profiles/avatar_toolbar_button.cc:49:25: note: previous definition is here
ProfileAttributesEntry* GetProfileAttributesEntry(Profile* profile) {
                        ^
5 warnings and 1 error generated.
2019-09-19 21:42:34 +00:00
Ivan Kozik
8686f57f6c chromium: 77.0.3865.75 -> 77.0.3865.90
CVE-2019-13685 CVE-2019-13688 CVE-2019-13687 CVE-2019-13686
2019-09-19 21:42:19 +00:00
Tim Steinbach
51bc28fd29 linux: 5.2.15 -> 5.2.16 2019-09-19 10:10:44 -04:00
Tim Steinbach
ef50783c17 linux: 4.19.73 -> 4.19.74 2019-09-19 10:10:42 -04:00
Tim Steinbach
02602f813d linux: 4.14.144 -> 4.14.145 2019-09-19 10:10:41 -04:00
Johan Thomsen
2614327c7d kubernetes: 1.13.9 -> 1.13.11 2019-09-18 21:29:17 +02:00
Bjørn Forsman
c2d01c0dd5 mdadm: fix path to sendmail
Without this, mdadm won't be able to send email notifications:

  $ sudo mdadm --monitor --scan --test
  sh: /nix/store/2v8jn0lxza72grcm6hciak9fpgm7xb3a-system-sendmail-1.0: Is a directory

Fixes: b074a40f74 ("mdadm: use shared system-sendmail")
(cherry picked from commit 6b3832a519)
2019-09-18 21:01:32 +02:00
Edmund Wu
73dc838153 firmwareLinuxNonfree: 2019-04-16 -> 2019-07-17
(cherry picked from commit 05570075d7)

Fixes #68770.
2019-09-18 00:21:25 +02:00
Will Dietz
d456b70a4d firmwareLinuxNonfree: 20190312 -> 20190416
restore outputHash attributes, since I already have them...

(cherry picked from commit e50c71b3b1)
2019-09-18 00:21:25 +02:00
Tim Steinbach
5e61b9b1f0 linux: 5.2.14 -> 5.2.15 2019-09-16 14:02:38 -04:00
Tim Steinbach
b5632e3373 linux: 4.9.192 -> 4.9.193 2019-09-16 14:02:37 -04:00
Tim Steinbach
827adf3756 linux: 4.4.192 -> 4.4.193 2019-09-16 14:02:37 -04:00
Tim Steinbach
4106901b6b linux: 4.19.72 -> 4.19.73 2019-09-16 14:02:36 -04:00
Tim Steinbach
b7905d7be5 linux: 4.14.143 -> 4.14.144 2019-09-16 14:02:35 -04:00
Matthew Bauer
db69c2d11c cross: use newer gnu-config on iOS
(cherry picked from commit 5a69a4ecc1)
2019-09-16 14:01:41 -04:00
Vladimír Čunát
531fe80e12 expat: patch CVE-2019-15903 (from Debian, issue #68818)
I hope this URL will last for a few months, feel free to find better.
2019-09-15 12:57:36 +02:00
Vladimír Čunát
2dfae8e22f Merge branch 'staging-19.03' into release-19.03 2019-09-15 09:21:39 +02:00
Vladimír Čunát
e57969147c Revert "openssl_1_1: fix CVE-2019-1543"
This reverts commit e4ee5b9160.
The patch was doubly applied after the version bump; now it builds.
2019-09-15 09:17:25 +02:00
Robin Gloster
7841371ed5 python.pkgs.cryptography: fix/ignore broken tests
Broken tests by openssl 1.1.1d, added patch and skipped one test

Issue for skipped test: https://github.com/pyca/cryptography/issues/4998

(cherry picked from commit 8b34d843c6)
2019-09-14 19:34:59 +02:00
Vladimír Čunát
7339bd4760 go_1_11: 1.11.12 -> 1.11.13
Fixes CVE-2019-14809 and perhaps also CVE-2018-17075; /cc #68564
2019-09-14 18:24:33 +02:00
taku0
cde53d0d67 thunderbird-bin: 68.0 -> 68.1.0
(cherry picked from commit 80e0666515)
It includes security fixes, as usual.
2019-09-14 16:37:36 +02:00
taku0
66d7d2a97b thunderbird-bin: 60.8.0 -> 68.0
(cherry picked from commit 6007f737e1)
2019-09-14 16:34:47 +02:00
Vladimír Čunát
5816c45f28 Merge #68753: firefox-60-esr: 60.8.0esr -> 60.9.0esr
(cherry picked from commit 92604b88b3)
Briefly re-tested here as well.
2019-09-14 10:53:50 +02:00
Eelco Dolstra
48d2e27b74 nixFlakes: 2.3pre20190712_aa82f8b -> 2.4pre20190913_a25c022 2019-09-13 20:15:30 +02:00
Jörg Thalheim
5271f8dddc dino: 2019-03-07 -> 2019-09-12
(cherry picked from commit e849aadd62)
2019-09-13 15:50:45 +01:00
Andreas Rammhold
321b25d4c4 Merge branch release-19.03 into staging-19.03 2019-09-13 09:55:50 +02:00
Mikhail Klementev
af5481e9b7 dino: 2019-02-06 -> 2019-08-27
(cherry picked from commit 2c0bb593c6)
2019-09-12 22:45:08 +01:00
Jörg Thalheim
fbdefa320f dino: 2019-02-06 -> 2019-03-07
(cherry picked from commit 03050e9749)
2019-09-12 22:45:04 +01:00
Henrik Jonsson
1805e9ec6e tor-browser-bundle-bin: 8.5.4 -> 8.5.5
(cherry picked from commit ac975ddd8f)
2019-09-12 18:52:14 +02:00
taku0
cf018a7c55 flashplayer: 32.0.0.238 -> 32.0.0.255
(cherry picked from commit dac340737a)

 Conflicts:
	pkgs/applications/networking/browsers/chromium/plugins.nix
	pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/default.nix
	pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix
2019-09-11 17:15:25 -04:00
Averell Dalton
b8dc8b413e youtube-dl: 2019.09.12 -> 2019.09.12.1
(cherry picked from commit 99ec6416c5)
2019-09-11 16:45:21 -04:00
Roosembert Palacios
f6a38b8d00 youtube-dl: 2019.09.01 -> 2019.09.12
Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
(cherry picked from commit 264369254c)
2019-09-11 15:56:11 -04:00
Andreas Rammhold
94de705477 openssl_1_0_2: fixup sha256 2019-09-11 13:41:04 +02:00
Andreas Rammhold
8ceecf674f Merge pull request #68463 from ivan/chromium-77.0.3865.75-for-19.03
[19.03] chromium: 76.0.3809.132 -> 77.0.3865.75
2019-09-11 13:32:58 +02:00
Andreas Rammhold
228c43de93 Merge pull request #68449 from andir/19.03/openssl
[19.03] openssl_1_1: 1.1.1c -> 1.1.1d, openssl: 1.0.2s -> 1.0.2t (low severity security)
2019-09-11 11:39:13 +02:00
Ivan Kozik
6824f23597 chromium: 76.0.3809.132 -> 77.0.3865.75
CVE-2019-5870 CVE-2019-5871 CVE-2019-5872 CVE-2019-5873
CVE-2019-5874 CVE-2019-5875 CVE-2019-5876 CVE-2019-5877
CVE-2019-5878 CVE-2019-5879 CVE-2019-5880 CVE-2019-5881
CVE-2019-13659 CVE-2019-13660 CVE-2019-13661 CVE-2019-13662
CVE-2019-13663 CVE-2019-13664 CVE-2019-13665 CVE-2019-13666
CVE-2019-13667 CVE-2019-13668 CVE-2019-13669 CVE-2019-13670
CVE-2019-13671 CVE-2019-13673 CVE-2019-13674 CVE-2019-13675
CVE-2019-13676 CVE-2019-13677 CVE-2019-13678 CVE-2019-13679
CVE-2019-13680 CVE-2019-13681 CVE-2019-13682 CVE-2019-13683

(cherry picked from commit 485a2e59e373147d22c2bb3e3fd0b88ab0b4d73a)
2019-09-10 23:14:06 +00:00
Andreas Rammhold
e48b4c042d openssl_1_1: 1.1.1b -> 1.1.1d
(cherry picked from commit 76d54c72ac)
2019-09-10 21:27:01 +02:00
Andreas Rammhold
23d9be680c openssl: 1.0.2r -> 1.0.2t
(cherry picked from commit aa6327c29c)
2019-09-10 21:26:57 +02:00
Andreas Rammhold
d10b4b0541 Merge branch release-19.03 into staging-19.03 2019-09-10 21:23:44 +02:00
Tim Steinbach
8a30e24218 linux: 5.2.13 -> 5.2.14 2019-09-10 08:24:01 -04:00
Tim Steinbach
432d2cbbed linux: 4.9.191 -> 4.9.192 2019-09-10 08:24:00 -04:00
Tim Steinbach
84852abc6c linux: 4.4.191 -> 4.4.192 2019-09-10 08:23:59 -04:00
Tim Steinbach
3317c917f3 linux: 4.19.71 -> 4.19.72 2019-09-10 08:23:58 -04:00
Tim Steinbach
c934481d82 linux: 4.14.142 -> 4.14.143 2019-09-10 08:23:57 -04:00
Andreas Rammhold
09e633d680 Merge pull request #68409 from andir/19.09/build-rust-crate-renames
[19.03] buildRustCrate: add support for renaming crates
2019-09-10 11:57:13 +02:00
Daniël de Kok
1c291201d8 buildRustCrate: add support for renaming crates
Before this change, buildRustCrate always called rustc with

--extern libName=[...]libName[...]

However, Cargo permits using a different name under which a dependency
is known to a crate. For example, rand 0.7.0 uses:

[dependencies]
getrandom_package = { version = "0.1.1", package = "getrandom", optional = true }

Which introduces the getrandom dependency such that it is known as
getrandom_package to the rand crate. In this case, the correct extern
flag is of the form

--extern getrandom_package=[...]getrandom[...]

which is currently not supported. In order to support such cases, this
change introduces a crateRenames argument to buildRustCrate. This
argument is an attribute set of dependencies that should be renamed. In
this case, crateRenames would be:

{
  "getrandom" = "getrandom_package";
}

The extern options are then built such that if the libName occurs as
an attribute in this set, it value will be used as the local
name. Otherwise libName will be used as before.

(cherry picked from commit 85c6d72011)
2019-09-10 11:02:20 +02:00
Sander van der Burg
ac82b1216c nixos/dysnomia: enable InfluxDB support
(cherry picked from commit e987e3fef9)
2019-09-09 23:33:49 +02:00
Sander van der Burg
bd9174bcb9 DisnixWebService: 0.8 -> 0.9
(cherry picked from commit e0af0be6e6)
2019-09-09 23:33:30 +02:00
Sander van der Burg
67f60eddf8 disnixos: 0.7.1 -> 0.8
(cherry picked from commit 67879a7f0d)
2019-09-09 23:31:39 +02:00
Sander van der Burg
c93c5fdedc disnix: 0.8 -> 0.9
(cherry picked from commit 46f190b40d)
2019-09-09 23:31:28 +02:00
Sander van der Burg
8dc12d0f59 dysnomia: 0.8 -> 0.9
(cherry picked from commit 95464bab66)
2019-09-09 23:31:18 +02:00
Marek Mahut
5b0b58685d axis2: 1.7.8 -> 1.7.9
(cherry picked from commit 0e679dd53e)
2019-09-08 16:38:35 +02:00
Maximilian Bosch
65a9b52deb Merge pull request #68284 from etu/1903-gitea-1-9-3
[19.03] gitea: 1.9.2 -> 1.9.3
2019-09-08 11:31:16 +02:00
Matthew Bauer
bb18e38233 mesa: don’t build surfaceless on macOS
needs libdrm

https://hydra.nixos.org/build/99518215

/cc @Ericson2314
2019-09-07 16:28:37 -04:00
Elis Hirwing
bced2b127f gitea: 1.9.2 -> 1.9.3
Changelog: https://github.com/go-gitea/gitea/releases/tag/v1.9.3
(cherry picked from commit 8b71bb0ad4)
2019-09-07 22:26:55 +02:00
Robin Gloster
7aa31178e3 Merge pull request #68262 from etu/1903-php-updates
[19.03] php: 7.1.30 -> 7.1.32, 7.2.21 -> 7.2.22, 7.3.8 -> 7.3.9
2019-09-07 18:48:10 +02:00
Michael Weiss
92650cb990 Merge pull request #68232 from primeos/signal-desktop-backport
[19.03] signal-desktop: 1.26.2 -> 1.27.1 (backport)
2019-09-07 17:41:04 +02:00
Elis Hirwing
b10acd3afa php71: 7.1.30 -> 7.1.32
Changelog: https://www.php.net/ChangeLog-7.php#7.1.31
Changelog: https://www.php.net/ChangeLog-7.php#7.1.32
2019-09-07 14:53:50 +02:00
Elis Hirwing
03dcb3dee4 php72: 7.2.21 -> 7.2.22
Changelog: https://www.php.net/ChangeLog-7.php#7.2.22
(cherry picked from commit 125d068e02)
2019-09-07 14:52:17 +02:00
Will Dietz
759a4087b6 php73: 7.3.8 -> 7.3.9 (security)
https://www.php.net/archive/2019.php#2019-08-29-1

https://www.php.net/ChangeLog-7.php#7.3.9
(cherry picked from commit 00039ef5af)
2019-09-07 14:48:19 +02:00
Ryan Mulligan
6751e491bb Merge pull request #68127 from jasom/lilypond-segfault-fix
lilypond: fix segfault
2019-09-07 05:44:54 -07:00
Tim Steinbach
d19cb7521d linux: 5.2.11 -> 5.2.13 2019-09-06 19:36:55 -04:00
Tim Steinbach
1b984e521e linux: 4.9.190 -> 4.9.191 2019-09-06 19:36:53 -04:00
Tim Steinbach
c50741ffe9 linux: 4.4.190 -> 4.4.191 2019-09-06 19:36:51 -04:00
Tim Steinbach
327d935788 linux: 4.19.69 -> 4.19.71 2019-09-06 19:36:50 -04:00
Tim Steinbach
d0ad9bab50 linux: 4.14.141 -> 4.14.142 2019-09-06 19:36:49 -04:00
Michael Weiss
06ba45c7e0 signal-desktop: 1.27.1 -> 1.27.2
(cherry picked from commit 042b63dd2c)
Reason: Avoid an expired (unusable) release in the stable release
(Signal-Desktop releases expire after a few months).
2019-09-07 01:10:05 +02:00
Jason Miller
7b96fdf2c6 lilypond: fix segfault
When built with GCC>=6.0 current stable lilypond requires
-fno-delete-null-pointer or it may segfault.

Unstable lilypond no longer relies on "this" being allowed to be null, so does
not need this change.

Upstream bug: https://sourceforge.net/p/testlilyissues/issues/4814/

Sample input to reproduce issue:

```
\version "2.18.2"

\new Staff {
    f8( e~ e2.) |
}
```
2019-09-06 14:26:48 -07:00
pacien
56c18e6fef exim: 4.92 -> 4.92.2
security update: CVE-2019-13917, CVE-2019-15846
2019-09-06 20:53:07 +00:00
Vladimír Čunát
0d79decdb3 thunderbird: 60.8.0 -> 60.9.0
I know there's 68.0 already #67754, but let's be conservative on 19.03
and remain on the older Thunderbird branch for a bit longer.
2019-09-06 16:44:57 +02:00
Michael Weiss
ff05bc4083 Merge pull request #68177 from primeos/signal-desktop-backport
[19.03] signal-desktop: 1.26.2 -> 1.27.1 (backport)
2019-09-06 11:55:30 +02:00
Michael Weiss
bfbd6cee5a signal-desktop: 1.26.2 -> 1.27.1
at-spi2-core is required for the new dependency on libatspi.so.0.

(cherry picked from commit 539d66aef6)
2019-09-06 00:09:04 +02:00
Will Dietz
609fe21661 webkitgtk: 2.24.3 -> 2.24.4 (security!)
https://webkitgtk.org/2019/08/28/webkitgtk2.24.4-released.html
https://webkitgtk.org/security/WSA-2019-0004.html
(cherry picked from commit 04ddfc59b4)
2019-09-05 11:02:17 -04:00
Vladimír Čunát
3d7608eb26 Merge branch 'staging-19.03' into release-19.03
systemd-resolved security patch
2019-09-05 09:04:31 +02:00
Andreas Rammhold
d8d61079e1 firefox-esr: 68.0.2esr -> 68.1.0esr
(cherry picked from commit 6dce809b32)
2019-09-04 11:05:00 +02:00
Andreas Rammhold
f51e276b62 Merge 'systemd: fix CVE-2019-15718 #68033' into staging-19.03 2019-09-04 02:35:22 +02:00
Andreas Rammhold
c6c0967551 Merge branch release-19.03 into staging-19.03 2019-09-04 02:33:22 +02:00
Andreas Rammhold
bd689a6e4e Merge branch staging-19.03 into release-19.03 2019-09-04 02:31:48 +02:00
Andreas Rammhold
d4e9ae33f1 Merge pull request #68050 from andir/19.03/firefox-allow-downgrade
[19.03] firefox/wrapper: Set new style override for legacy profiles & allow downgrades
2019-09-04 02:22:55 +02:00
Andreas Rammhold
a13344b85a firefox/wrapper: Set new style override for legacy profiles & allow downgrades
While Firefox 68 started messing with our profiles and required new
profiles on binary location changes Firefox 69 now verifies that we
aren't downgrading to an older Firefox even of the same version. If you
switch between two channel versions and/or between nixpkgs releases
Firefox will refuse to start and demand a fresh profile. Disabling the
downgrade protection works around that issue.
2019-09-04 02:09:39 +02:00
Andreas Rammhold
7c9e643c15 systemd: fix CVE-2019-15718
More details at: https://www.openwall.com/lists/oss-security/2019/09/03/1
2019-09-04 01:02:38 +02:00
Andreas Rammhold
56b84277cc Merge pull request #67987 from andir/19.03/firefox69
[19.03] firefox: 68.0.2 -> 69.0 (and updated related packages)
2019-09-03 22:04:42 +02:00
WilliButz
c8c4f24139 grafana: set correct version after bad backport 2019-09-03 18:09:18 +02:00
Andreas Rammhold
0de9229a35 Merge nss bump from #67987 into staging-19.03 2019-09-03 09:19:49 +02:00
Andreas Rammhold
d0216bd56e Merge branch 'release-19.03' into staging-19.03 2019-09-03 09:16:57 +02:00
Andreas Rammhold
bad6bf2e5e firefox-devedition-bin: 68.0b12 -> 70.0b2 2019-09-03 08:52:46 +02:00
Andreas Rammhold
9c13037b05 firefox-beta-bin: 69.0b14 -> 69.0b16 2019-09-03 08:52:11 +02:00
Andreas Rammhold
84e1bbb865 firefox-bin: 68.0.2 -> 69.0 2019-09-03 08:51:44 +02:00
Alyssa Ross
ba76e1524b firefox-bin.updateScript: fix with GNUPGHOME
If GNUPGHOME is set in the environment, it takes precedence over HOME,
so to avoid using a user's actual GNUPGHOME, we should override thiscc
instead of HOME.

(cherry picked from commit aee879c98f)
2019-09-03 08:51:19 +02:00
Alyssa Ross
6648a036a5 firefox-bin.updateScript: always use up-to-date key
Otherwise we have to keep fetching a new key manually each time they
renew it.

(cherry picked from commit b0002f4816)
2019-09-03 08:51:06 +02:00
Andreas Rammhold
02aad1f373 firefox: 68.0.2 -> 69.0
(cherry picked from commit 77fc386344)
2019-09-02 23:16:59 +02:00
Andreas Rammhold
f5fcdb5233 firefox: support building firefox 69
(cherry picked from commit f3d3377477)
2019-09-02 23:16:59 +02:00
Jonathan Ringer
f8bcf6771d rust-cbindgen: 0.8.7 -> 0.9.0
(cherry picked from commit 3c85b7155a)
2019-09-02 23:16:59 +02:00
Andreas Rammhold
e87345d6f3 nss: 3.44.1 -> 3.46
(cherry picked from commit 7b504b49b0)
2019-09-02 20:27:31 +02:00
WilliButz
541d9cce8a grafana: 6.3.4 -> 6.3.5
(cherry picked from commit c65ec9ed06)
2019-09-02 14:22:35 +02:00
John Ericson
cb2deeacdb Merge pull request #67922 from Ericson2314/js-unknown-ghcjs-release-19.03
lib: Further clean up systems list
2019-09-02 02:19:26 -04:00
John Ericson
d0842c40dd Merge remote-tracking branch 'upstream/release-19.03' into js-unknown-ghcjs-release-19.03 2019-09-02 01:59:32 -04:00
John Ericson
3e76b65e7a Merge pull request #67359 from angerman/feature/js-unknown-ghcjs
Add support for `js-unknown-ghcjs` -- for 19.03
2019-09-02 01:52:30 -04:00
John Ericson
d79aa92eb7 Merge branch 'asdf' into angerman/feature/js-unknown-ghcjs 2019-09-02 01:47:23 -04:00
John Ericson
41f134059c Merge remote-tracking branch 'upstream/release-19.03' into feature/js-unknown-ghcjs 2019-09-02 01:28:16 -04:00
Alyssa Ross
ddbf4abe34 linux_latest-libre: fix build
(cherry picked from commit 3057b03c7c)
2019-09-01 11:33:13 +00:00
xrelkd
49745b66e6 youtube-dl: 2019.08.13 -> 2019.09.01
(cherry picked from commit cbd74442b7)
2019-09-01 03:22:42 -04:00
Samuel Dionne-Riel
ece8a67665 Merge pull request #67611 from ivan/chromium-76.0.3809.132-backport
[19.03] chromium: 76.0.3809.100 -> 76.0.3809.132
2019-08-31 16:30:25 -04:00
edef
16d48856b6 patchutils: add perl to buildInputs
This was silently producing perl scripts with empty shebang lines,
breaking a bunch of the binaries.

(backported from commit e54931b6d70e7a383670a0b040c235d60a3c6c6c)
2019-08-31 16:06:25 +00:00
Alyssa Ross
074d336b7f pari: 2.11.1 -> 2.11.2
(cherry picked from commit 1da1a7a479)
2019-08-31 13:54:14 +00:00
Fabian Möller
88001c7b70 mirage: fix build failure
(cherry picked from commit 00ab4f8c80)
2019-08-30 12:03:13 -04:00
Marek Mahut
d53420e330 Merge pull request #67674 from andir/19.03/kea
[19.03] kea: 1.5.0 -> 1.5.0-P1 (security)
2019-08-30 10:39:25 +02:00
John Ericson
1d8d75f61d Merge pull request #67511 from obsidiansystems/mesa-add-surfaceless-19.03
mesa: add surfaceless egl platform -- for 19.03
2019-08-29 13:26:06 -04:00
Tim Steinbach
bd6ba87381 linux: 5.2.10 -> 5.2.11 2019-08-29 12:42:18 -04:00
Tim Steinbach
e5f84eb68b linux: 4.19.68 -> 4.19.69 2019-08-29 12:42:17 -04:00
Tim Steinbach
24a7d98f46 linux: 4.14.140 -> 4.14.141 2019-08-29 12:42:16 -04:00
WilliButz
9fe893156b grafana: 6.3.3 -> 6.3.4, update url for static source
(cherry picked from commit c323b0ea59)
2019-08-29 17:45:17 +02:00
WilliButz
95e7d97d83 Merge pull request #67698 from tokudan/1903/dovecot-major
[19.03] dovecot: 2.3.5.7 -> 2.3.7.2, pigeonhole: 0.5.5 -> 0.5.7.2
2019-08-29 17:32:55 +02:00
Daniel Frank
ef97ff2a0e pigeonhole: remove cve patches, as the latest released version includes them all 2019-08-29 16:56:10 +02:00
Andreas Rammhold
c4d1c9ce96 dovecot-pigeonhole: 0.5.7.1 -> 0.5.7.2 (CVE-2019-11500)
This is a followup on #67623

(cherry picked from commit 46ff96c05b)
2019-08-29 16:55:04 +02:00
Izorkin
5e20bbeffc dovecot_pigeonhole: 0.5.6 > 0.5.7.1
(cherry picked from commit 4f38967ce2)
2019-08-29 16:55:01 +02:00
Robert Schütz
ea3989fb31 dovecot_pigeonhole: 0.5.5 -> 0.5.6
https://dovecot.org/pipermail/dovecot-news/2019-April/000411.html
(cherry picked from commit c38b485197)
2019-08-29 16:54:57 +02:00
Andreas Rammhold
09a56744b2 kea: 1.5.0 -> 1.5.0-P1 (security)
Fixes:

* CVE-2019-6472 affects the Kea DHCPv6 server, which can exit
  with an assertion failure if the DHCPv6 server process receives
  a request containing DUID value which is too large.
  (https://kb.isc.org/docs/cve-2019-6474)

* CVE-2019-6473 affects the Kea DHCPv4 server, which can exit with
  an assertion failure if it receives a packed containing a malformed
  option.  (https://kb.isc.org/docs/cve-2019-6473)

* CVE-2019-6474 can cause a condition where the server cannot be
  restarted without manual operator intervention to correct a problem
  that can be deliberately introduced into the stored leases.
  CVE-2019-6474 can only affect servers which are using memfile
  for lease storage.  (https://kb.isc.org/docs/cve-2019-6474)

Annoucement: https://www.openwall.com/lists/oss-security/2019/08/29/1
(cherry picked from commit e6e3270bd4)
2019-08-29 10:44:20 +02:00
Daniel Frank
c246d3e9e0 dovecot: remove cve patches, as the latest released version includes them all 2019-08-29 10:04:30 +02:00
Daniel Frank
bfdac939e0 dovecot: 2.3.7.1 -> 2.3.7.2 (CVE-2019-11500)
(cherry picked from commit d7582c994d)
2019-08-29 09:57:21 +02:00
Izorkin
be0fe08479 dovecot: 2.3.7 > 2.3.7.1
(cherry picked from commit e2173096b3)
2019-08-29 09:56:40 +02:00
R. RyanTM
85a60c4c0c dovecot: 2.3.6 -> 2.3.7
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/dovecot/versions

(cherry picked from commit 5eb574010e)
2019-08-29 09:56:36 +02:00
Robert Schütz
118370d359 dovecot: 2.3.5.2 -> 2.3.6
fixes CVE-2019-11494 and CVE-2019-11499
https://dovecot.org/pipermail/dovecot-news/2019-April/000408.html

(cherry picked from commit 427dfadfa9)
2019-08-29 09:56:32 +02:00
Andreas Rammhold
147bd882fc Merge pull request #67639 from andir/19.03/dovecot
[19.03] dovecot apply CVE-2019-11500 patches
2019-08-29 09:09:47 +02:00
Silvan Mosberger
0715f2f1a9 Merge pull request #66205 from davidak/backport_nixos-containers-TimeoutStartSec
[19.03] nixos-containers: add TimeoutStartSec option
2019-08-29 02:29:05 +02:00
davidak
6a040614c4 nixos-containers: add TimeoutStartSec option
Default is now 1m instead of global default of 15sec. It is also
configurable.

Fixes issue where start of many containers (40+) fail
https://github.com/NixOS/nixpkgs/issues/65001

(cherry picked from commit eba686ddfa)
Reason: Problem exists in stable too
2019-08-28 22:28:44 +02:00
Andreas Rammhold
b788227dbc dovecot_pigeonhole: apply patch for CVE-2019-11500 2019-08-28 18:16:37 +02:00
Andreas Rammhold
f525dc445b dovecot: apply patch for CVE-2019-11500 2019-08-28 18:11:21 +02:00
Ivan Kozik
71336116f3 chromium: 76.0.3809.100 -> 76.0.3809.132
CVE-2019-5869
2019-08-28 08:52:38 +00:00
Elis Hirwing
51e1e3ceaf Merge pull request #67292 from kolaente/update-19.03/gitea-1.9.2
gitea: 1.9.1 -> 1.9.2
2019-08-28 07:15:17 +02:00
kolaente
2a30ff514e gitea: 1.9.1 -> 1.9.2
(cherry picked from commit 3ddb1a09fc)
2019-08-27 20:34:56 +02:00
Robin Gloster
3c83ad6ac1 Merge pull request #67565 from peti/t/mod_wsgi3
mod_wsgi: allow building this module with python 2.x and 3.x
2019-08-27 15:46:42 +02:00
Peter Simons
cab45469b2 mod_wsgi: allow building this module with python 2.x and 3.x
(cherry picked from commit 79c6d22c1f)
2019-08-27 14:42:09 +02:00
Marek Mahut
5b1522155d Merge pull request #67526 from rissson/release-19.03
flashplayer: 32.0.0.223 -> 32.0.0.238
2019-08-27 10:27:03 +02:00
risson
772889abc3 flashplayer: 32.0.0.223 -> 32.0.0.238 2019-08-26 21:22:54 +02:00
Matthew Bauer
af7c460332 mesa: add surfaceless egl platform
(cherry picked from commit a316d71f59)
2019-08-26 12:37:33 -04:00
Wael Nasreddine
e67da9e4ca Merge pull request #67485 from rvolosatovs/backport/go
Backport go updates to 19.03
2019-08-26 09:42:48 -06:00
Tim Steinbach
e02148563a linux: 5.2.9 -> 5.2.10 2019-08-26 07:58:15 -04:00
Roman Volosatovs
ec985551ff go_1_11: 1.11.11 -> 1.11.12 2019-08-26 10:42:27 +02:00
Roman Volosatovs
98c0b9305d go: 1.11.10 -> 1.11.11 2019-08-26 10:42:22 +02:00
Will Dietz
e68391e98e go_1_11: 1.11.{6 -> 10} 2019-08-26 10:42:13 +02:00
Roman Volosatovs
aa12d6382e go: 1.12.7 -> 1.12.9
Co-authored-by: Diego Medina <fmpwizard@gmail.com>
2019-08-26 10:41:02 +02:00
Roman Volosatovs
cbee67da1e go_1_12: 1.12.6 -> 1.12.7 2019-08-26 10:40:54 +02:00
Roman Volosatovs
e65062aa1f go: 1.12.5 -> 1.12.6 2019-08-26 10:40:41 +02:00
Will Dietz
0b848c3e92 go_1_12: 1.12.1 -> 1.12.5
https://groups.google.com/forum/#!topic/golang-dev/QwUlynmpl8A
2019-08-26 10:40:35 +02:00
Michael Roitzsch
3924b34425 glibc: fix cross builds on Darwin
evaluate buildPackages.glibc exclusively on Linux,
evaluating it on Darwin will lead to an unsupported platform error

(cherry picked from commit 00a41ebbc1)

Fixes #67433
2019-08-25 15:53:26 -04:00
Tim Steinbach
9e2d258f92 linux: 4.9.189 -> 4.9.190 2019-08-25 09:44:36 -04:00
Tim Steinbach
db75ed007e linux: 4.4.189 -> 4.4.190 2019-08-25 09:44:35 -04:00
Tim Steinbach
c2de0ba69f linux: 4.19.67 -> 4.19.68 2019-08-25 09:44:34 -04:00
Tim Steinbach
62471c162c linux: 4.14.139 -> 4.14.140 2019-08-25 09:44:33 -04:00
Tadeo Kondrak
500931b1f6 nixos/programs/shell.nix: don't use unnecessary GNU-specific option
(cherry picked from commit fef4dc526f)

Fixes #64121
2019-08-24 19:49:35 -04:00
Linus Heckemann
e6ad5e75f3 Merge pull request #67307 from lsix/backport-nltk-19.03
pythonPackages.nltk: 3.2.5 -> 3.4.5 (security fix - backport to release-19.03)
2019-08-23 15:53:25 +02:00
worldofpeace
d6bdaea5dd Merge pull request #67253 from PsyanticY/fix-oracle-jdk
Backport to 19.03: oraclejdk: use working mirror for download
2019-08-22 19:09:40 -04:00
Will Dietz
aba9134125 python3Packages.nltk: 3.4.4 -> 3.4.5 (security)
https://www.nltk.org/news.html
(cherry picked from commit 6d20635bc3)
2019-08-23 00:24:25 +02:00
R. RyanTM
f4d1cc4093 python37Packages.nltk: 3.4.3 -> 3.4.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-nltk/versions

(cherry picked from commit 3d121eb327)
2019-08-23 00:24:02 +02:00
Will Dietz
e60a0ddf7e python3Packages.nltk: 3.4 -> 3.4.3
(cherry picked from commit da8d885ea8)
2019-08-23 00:23:47 +02:00
Andrey Pavlov
aa5608f0dd pythonPackages.nltk: 3.2.5 -> 3.4 (#59204)
Add optional dependency "singledispatch" for python 2.7.
Remove "disabled" attribute from derivation.

(cherry picked from commit 2e9e63195b)
2019-08-23 00:23:38 +02:00
PsyanticY
c4fa1dbf19 oraclejdk: use working mirror for download 2019-08-22 14:22:48 +01:00
Vladimír Čunát
ec2cacb15e vlc: 3.0.7 -> 3.0.8 (security)
https://www.videolan.org/security/sb-vlc308.html
I've been using it briefly without any issues; the NEWS seem fairly safe:
https://www.videolan.org/developers/vlc-branch/NEWS

(cherry picked from commit a887feda74)
2019-08-21 21:47:35 +02:00
Florian Klink
b8572d322f Merge pull request #66622 from flokli/19.03-gitlab-12.1.6
[19.03] gitlab updates
2019-08-21 18:11:50 +02:00
Aaron Andersen
94b5774115 Merge pull request #66440 from aanderse/subversion-backport
subversion: 1.9.9 -> 1.9.12, 1.10.4 -> 1.10.6 [19.03 backport]
2019-08-20 21:19:48 -04:00
Robin Gloster
175269c98e gitlab-shell: better gitlab_shell_secret location
So this won't be cleaned up by removing config/*

(cherry picked from commit 3469c206f2)
2019-08-21 01:31:57 +02:00
Ben Gamari
126d992745 nixos/gitlab: Delete stale hooks directories with -R
These can be directories.

(cherry picked from commit d7d873b8cb)
2019-08-21 01:31:57 +02:00
Léo Gaspard
3434042822 gitlab: add link to nixos test in passthru.tests
(cherry picked from commit 42170cbf58)
2019-08-21 01:31:57 +02:00
Robin Gloster
d273327c5d gitlab-shell: fix fallback bin searching
(cherry picked from commit a33ddd7a68)
2019-08-21 01:31:57 +02:00
Florian Klink
aa3a437f05 gitaly: use libgit2_0_27 explicitly
gitaly's git2go build with libgit2 0.26.6 due to missing
C.GIT_DIFF_INDENT_HEURISTIC.

nixpkgs unstable already defaults to 0.27, so it's not a problem there.
2019-08-21 01:31:57 +02:00
Florian Klink
8d2774af1e gitaly: 1.47.0 -> 1.53.2
(cherry picked from commit 48da993627)
2019-08-21 01:31:57 +02:00
Florian Klink
8c16fa4d05 gitaly: fix hashes
It seems the sha256 hashes of 3 gitaly dependencies were wrong or
changed.

(cherry picked from commit 89aae903da)
2019-08-21 01:31:57 +02:00
Robin Gloster
a4252fee3d gitaly: add go mod deps
(cherry picked from commit 6c98b0ff43)
2019-08-21 01:31:57 +02:00
Florian Klink
83e2ab12c5 gitlab: remove gitlab-deb-data.tar after extracting from it
There's no reason to ship a 1.6GiB .tar file in the output.
Slims down that output from 1.9GiB to ~350MiB

(cherry picked from commit 765491c895)
2019-08-21 01:31:57 +02:00
Florian Klink
06ff4e1f3e gitlab-ee: 12.0.3 -> 12.1.6
(cherry picked from commit 362076c581)
2019-08-21 01:31:57 +02:00
Florian Klink
ef19c0d173 gitlab-ce: 12.0.3 -> 12.1.6
(cherry picked from commit 8ce1c4c26a)
2019-08-21 01:31:57 +02:00
Jeff Slight
4994e8aa2f nixos/gitlab: properly clear out initializers
(cherry picked from commit 2ee14c34ed)
2019-08-21 01:31:57 +02:00
Jeff Slight
a51e8ba159 nixos/gitlab: fix config initializer permissions
(cherry picked from commit 7efcbead2c)
2019-08-21 01:31:57 +02:00
Robin Gloster
8b0f6c1700 gitlab: add all necessary gem groups
(cherry picked from commit 5589612599)
2019-08-21 01:31:57 +02:00
Robin Gloster
f452306417 gitlab: add gitaly go mod handling for the updater
(cherry picked from commit 722ee7756b)
2019-08-21 01:31:57 +02:00
Ben Gamari
352219cf61 gitaly: Fix IFD import
(cherry picked from commit 9f77b4a599)
2019-08-21 01:31:57 +02:00
Ben Gamari
6cdadbe7e3 gitlab: 11.10.8 -> 12.0.3
This is a major version bump but things were generally straightforward
save two wrinkles:

 * it is necessary to ignore collisions in the gitlab bundler
   environment as both `omniauth_oauth2_generic` and
   `apollo_upload_server` provide a `console` executable.

 * grpc had to be patched since its build system expects the `AR`
   environment variable to contain not just the path to `ar` but
   also the `rpc` flags (see the discussion in nixpkgs #63056).

(cherry picked from commit 363b352af3)
2019-08-21 01:31:56 +02:00
Sarah Brofeldt
0e1068e424 gitlab-runner: Fix prebuilt hash
(cherry picked from commit 8761bc0ad7)
2019-08-21 01:31:56 +02:00
Max Wittig
01b30bb99f gitlab-runner: 12.0.2 -> 12.1.0
Corresponding runner for GitLab version 12.1.0

Changelog: https://gitlab.com/gitlab-org/gitlab-runner/blob/12-1-stable/CHANGELOG.md
(cherry picked from commit bc6366b728)
2019-08-21 01:31:56 +02:00
Ben Gamari
29a37fe758 nixos/gitlab: Allow configuration of extra initializers
This adds a configuration option allowing the addition of additional
initializers in config/extra-gitlab.rb.

(cherry picked from commit f2bdc91b35)
2019-08-21 01:31:52 +02:00
Robin Gloster
286f8c143a gitlab module: fix permissions
(cherry picked from commit 52fd300b8c)
2019-08-21 01:27:35 +02:00
Robin Gloster
9c9caf3375 gitlab module: clean up permission handling
This is WIP to get rid of PermissionsStartOnly=true

(cherry picked from commit 783c2f6106)
2019-08-21 01:27:32 +02:00
Nikolay Amiantov
5e5a51f786 flashplayer: 32.0.0.223 -> 32.0.0.238
(cherry picked from commit b7d04d6e6b)
2019-08-19 02:05:26 +03:00
Nikolay Amiantov
60587bff4b fetchurl mirrors: move steamrt mirror to another host
This one is hosted in a cloud so hopefully incidents like
https://github.com/NixOS/nixpkgs/pull/66853 won't repeat.

(cherry picked from commit e848ffe48c)
2019-08-19 01:27:17 +03:00
Colin Rice
bc40ce4395 steam: Update dependencies for steamrt
(cherry picked from commit 965cddb7ec)
2019-08-19 01:16:25 +03:00
WilliButz
6c1ff5ad9e grafana: 6.3.2 -> 6.3.3
(cherry picked from commit 74a1a6b60c)
2019-08-18 18:31:04 +02:00
Michael Raskin
63ca98bc53 Merge pull request #66831 from AluisioASG/19.03-libreoffice-6.2.6
[19.03] libreoffice-fresh: 6.2.1.2 -> 6.2.6.2
2019-08-18 14:39:38 +00:00
Michael Weiss
641a1ff752 Merge pull request #66818 from primeos/security-backports-for-19.03
[19.03] Security backports for gollum, jekyll, and html-proofer
2019-08-18 16:19:57 +02:00
Michael Weiss
9eabb493b0 html-proofer: Update the dependencies (security, CVE-2019-5477)
(cherry picked from commit b770ded782)
2019-08-18 11:08:01 +02:00
Michael Weiss
c350a7b4fd html-proofer: 3.11.0 -> 3.11.1
(cherry picked from commit a6ffab4381)
2019-08-18 11:08:00 +02:00
Michael Weiss
70a8048d62 html-proofer: 3.10.2 -> 3.11.0
(cherry picked from commit 7124645c7f)
2019-08-18 11:08:00 +02:00
Michael Weiss
7492f64920 jekyll: Update the dependencies (security, CVE-2019-5477)
(cherry picked from commit 42a777d5cf)
2019-08-18 11:06:29 +02:00
Michael Weiss
4cc42a3329 jekyll: 3.8.5 -> 3.8.6 (security)
There was a minor security issue (no CVE) [0]:
> Security Fixes
> - Theme gems: ensure directories aren't symlinks (#7424)

More details: https://github.com/jekyll/jekyll/pull/7419

[0]: https://github.com/jekyll/jekyll/releases

(cherry picked from commit 1834b4feed)
2019-08-18 11:06:29 +02:00
Michael Weiss
0f7e68ef9c gollum: Update the dependencies (security, CVE-2019-5477)
(cherry picked from commit 2ae080f822)
2019-08-18 11:06:28 +02:00
Aluísio Augusto Silva Gonçalves
96ab488597 libreoffice-fresh: 6.2.1.2 -> 6.2.6.2 2019-08-18 00:31:56 -03:00
Elis Hirwing
67135fbcc5 Merge pull request #66789 from mmahut/transifex-client-19.03
[19.03] transifex-client: fixing build
2019-08-17 22:55:55 +02:00
Robert Schütz
758e9a4fa8 transifex-client: fix build
(cherry picked from commit cf65abe85a)
2019-08-17 22:06:16 +02:00
Elis Hirwing
7bccf729e8 transifex-client: Fix build after updated dependencies
(cherry picked from commit 13c701e476)
2019-08-17 22:06:12 +02:00
Michael Weiss
3864fd8f53 Merge pull request #66750 from primeos/signal-desktop-backport
[19.03] signal-desktop: 1.26.1 -> 1.26.2 (backport)
2019-08-17 16:47:50 +02:00
markuskowa
a4179730db Merge pull request #66656 from herrwiese/borgbackup-1.1.10-19.03
[19.03] borgbackup: 1.1.9 -> 1.1.10
2019-08-17 13:06:00 +02:00
Michael Weiss
9afdd8e0da signal-desktop: 1.26.1 -> 1.26.2
(cherry picked from commit b63980dc68)
2019-08-17 12:16:15 +02:00
Andreas Rammhold
9b3cb2d1f0 firefox-bin: 68.0.1 -> 68.0.2
(cherry picked from commit 17843aa025)
2019-08-17 00:59:10 +02:00
Andreas Rammhold
06f3e78c33 firefox-beta-bin: 68.0b12 -> 69.0b14
(cherry picked from commit a1b7ce78fa)
2019-08-17 00:58:53 +02:00
Alex Branham
839204a1e6 firefox-esr: 68.0.1esr -> 68.0.2esr
(cherry picked from commit 5ca29a98b2)
2019-08-17 00:57:14 +02:00
Alex Branham
068f9a17e2 firefox: 68.0.1 -> 68.0.2
(cherry picked from commit 75ae4a318a)
2019-08-17 00:56:57 +02:00
Tim Steinbach
35841f87af linux: 5.2.8 -> 5.2.9
(cherry picked from commit 24d720a3d1)
2019-08-16 08:01:41 -04:00
Tim Steinbach
be4b3e8001 linux: 4.19.66 -> 4.19.67
(cherry picked from commit c768b0f6ea)
2019-08-16 08:01:40 -04:00
Tim Steinbach
280926d0bc linux: 4.14.138 -> 4.14.139
(cherry picked from commit b62ffec92b)
2019-08-16 08:01:39 -04:00
Edmund Wu
776d66ec11 systemd-networkd: link: Name -> OriginalName
(cherry picked from commit aa251bbc3e)
2019-08-16 06:12:28 +01:00
worldofpeace
e36f91fa86 Merge pull request #66444 from stefano-m/icedtea-web-1.7.2-cvefixes
icedtea_web: 1.7.1 -> 1.7.2 (plus CVE patches)
2019-08-15 19:11:19 -04:00
Stefano Mazzucco
fc78b4120b icedtea-web: remove sh extension from launchers for back compat
icedtea-web 1.7.2 builds its launchers shell scripts with the "sh" extension,
while version 1.7.1 did not.

For backwards-compatibility, remove the extension from the executable in
postInstall.

Note that version 1.7.2 also creates a file called itw-modularjdk.args in the
bin directory. This file is referenced by the shell launchers, so we leave it
there (it's not executable anyway).
2019-08-15 19:10:34 -04:00
Stefano Mazzucco
eb01d7a41f icedtea-web: use glib build input instead of gtk2
gtk2 is not needed any more
2019-08-15 19:10:34 -04:00
Stefano Mazzucco
f864ddfa0d icedtea_web: 1.7.1 -> 1.7.2 (plus CVE patches)
On Wed, 31 Jul 2019 it was announced that IcedTea-Web was affected by the below
security vulnerabilities:

- CVE-2019-10185: zip-slip attack during auto-extraction of a JAR file.

- CVE-2019-10181: executable code could be injected in a JAR file without
  compromising the signature verification.

- CVE-2019-10182: improper path sanitization from elements in JNLP
  files.

Version 1.7 was patched, but no release was made. Moreover, the patches apply
cleanly only to 1.7.2, not the current 1.7.1.

Rather than marking 1.7.1 as insecure, update to 1.7.2 and apply the official
patches.

References:

https://www.openwall.com/lists/oss-security/2019/07/31/2
https://github.com/AdoptOpenJDK/IcedTea-Web/issues/327
https://github.com/AdoptOpenJDK/IcedTea-Web/pull/346
2019-08-15 19:10:34 -04:00
Matthew Bauer
6f7aca86f0 Merge pull request #66685 from obsidiansystems/missing-qt-patch
qt4: Vendor bitrotted Arch Linux patch -- for 19.03
2019-08-15 11:48:41 -04:00
Michael Weiss
520c39049f Merge pull request #66672 from primeos/signal-desktop-backport
[19.03] signal-desktop: 1.26.0 -> 1.26.1 (backport)
2019-08-15 13:29:25 +02:00
Michael Weiss
04ec91fbd8 signal-desktop: 1.26.0 -> 1.26.1
(cherry picked from commit 07cf130686)
2019-08-15 11:22:24 +02:00
Florian Klink
76d324648f borgbackup: remove custom msgpack-python override, use bundled version
https://github.com/borgbackup/borg/blob/1.1.10/docs/changes.rst#version-1110-2019-05-16
mentions borgbackup now shipping a supported msgpack-python release, and
strongly encourages using that one.

So don't pass any msgpack-python into the build, and use the provided
one.

(cherry picked from commit 5d4b383e20)
2019-08-15 01:50:30 +02:00
R. RyanTM
270d822c08 borgbackup: 1.1.9 -> 1.1.10
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/borgbackup/versions

(cherry picked from commit f4b8412198)
2019-08-15 01:50:29 +02:00
kolaente
1f22d5b6f8 gitea: 1.9.0 -> 1.9.1
(cherry picked from commit e137c91526)
2019-08-14 22:28:29 +02:00
Tobias Happ
c709303584 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:58:32 -04:00
aszlig
1a6eb46771 Merge pull request #66605 (nginx security fixes)
This applies a series of patches to fix CVE-2019-9511, CVE-2019-9513 and
CVE-2019-9516 affecting HTTP/2 protocol, all of those can possibly lead
to DoS.

Details about these vulnerabilities can be found at:

216433296d/advisories/third-party/2019-002.md

I haven't extensively tested this, but from a quick test, nginx is still
working and the NixOS tests also succeed.

Thanks to @vincentbernat for the pull request.
2019-08-14 18:05:20 +02:00
Tristan Helmich (omniIT)
364e1a8ca9 nixos/oxidized: Use symlinks for config files
The old `cp` suffers from a permission issue on the 2nd start of the
service. The files were copied from the read-only nix store. On the 2nd
start of the service the `cp` failed.
The new version force creates a symlink which does not suffer from this.

(cherry picked from commit 02dfc07a04)
2019-08-14 13:18:58 +02:00
xrelkd
ce7ed91093 youtube-dl: 2019.08.02 -> 2019.08.13 2019-08-14 07:23:41 +01:00
Vincent Bernat
d16d738406 nginx: apply patches from 1.16.1 for HTTP/2 vulnerabilities
When using HTTP/2 a client might cause excessive memory consumption
and CPU usage (CVE-2019-9511, CVE-2019-9513, CVE-2019-9516). The
problems have been patched upstream in 1.16.1 and 1.17.2, but no patch
is available for 1.14.2 and 1.15.10. The patches from 1.16.1 applies
without any issue.

See #66582 for the update in master.
2019-08-14 08:08:45 +02:00
Aaron Janse
65729e0817 nixos/modules/misc/crashdump: remove idle=poll (fix #66464)
Previously, "idle=poll" would severely overheat some CPUs

(cherry picked from commit 011fa89b92)
2019-08-13 19:13:10 -04:00
Michael Weiss
2d05858567 Merge pull request #66560 from primeos/signal-desktop-backport
[19.03] signal-desktop: 1.25.3 -> 1.26.0 (backport)
2019-08-13 17:02:27 +02:00
Tim Steinbach
e88e9e6c06 linux: 5.2.7 -> 5.2.8
(cherry picked from commit 2da00ae7b4)
2019-08-13 07:47:39 -04:00
Tim Steinbach
896f160c60 linux: 5.2.6 -> 5.2.7
(cherry picked from commit 2082dbd9dc)
2019-08-13 07:47:39 -04:00
Tim Steinbach
4fdfa9223c linux: 5.2.5 -> 5.2.6
(cherry picked from commit d95b118554)
2019-08-13 07:47:39 -04:00
Tim Steinbach
1b68795af5 linux: 5.2.4 -> 5.2.5
(cherry picked from commit 9d8e811db9)
2019-08-13 07:47:39 -04:00
Tim Steinbach
f5d58b7e3f linux: 5.2.3 -> 5.2.4
(cherry picked from commit d3433f71a9)
2019-08-13 07:47:39 -04:00
Tim Steinbach
762fddd40e linux: 5.2.2 -> 5.2.3
(cherry picked from commit 2295a3c46d)
2019-08-13 07:47:39 -04:00
Tim Steinbach
1721bea71a linux: 5.2.1 -> 5.2.2
(cherry picked from commit e1309f73eb)
2019-08-13 07:47:39 -04:00
Tim Steinbach
15e893e5fc linux: 5.2 -> 5.2.1
(cherry picked from commit a62fa2f17f)
2019-08-13 07:47:39 -04:00
Tim Steinbach
6c8c2be9a2 linux: Add 5.2
Update linuxPackages_latest to 5.2

(cherry picked from commit 3df683c8ca)
2019-08-13 07:47:39 -04:00
Austin Seipp
b2f28308b4 linux_testing (5.2.0-rc1): fix build, include 'cpio' in nativeBuildInputs
81d4e65891 automatically bumped
linux_testing to 5.2.0-rc1, but the 5.2 merge window included a new
feature adding compressed headers for compiled kernels into
/proc/kheaders.tar.xz

See 43d8ce9d65

This feature requires 'cpio' to now be included in nativeBuildInputs
since it's used to construct that archive.

This wasn't caught by Hydra since we turn off build of linuxPackages,
but ideally we should at least build the kernel in the future
(linux_testing itself.)

Signed-off-by: Austin Seipp <aseipp@pobox.com>
(cherry picked from commit c117aa3ec3)
2019-08-13 07:47:39 -04:00
Michael Weiss
fce4f8db62 signal-desktop: 1.25.3 -> 1.26.0
(cherry picked from commit cfe629e42d)
2019-08-13 13:33:20 +02:00
Alexey Shmalko
878531fbdb acpilight: add to module-list
acpilight package and module have been added to nixpkgs, but the
module hasn't been added to module-list.nix, so using it results in
the following error.

```
The option `hardware.acpilight' defined in `/etc/nixos/configuration.nix' does not exist.
```

Add the module to module-list.nix.

(cherry picked from commit 89845931e4)
2019-08-12 11:44:17 -04:00
volth
81375643d1 scala_2_12: 2.12.8 -> 2.12.9
(cherry picked from commit 93e5ae9c60)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-08-12 02:34:51 +02:00
Tim Steinbach
8c2d9f580f linux: 4.9.188 -> 4.9.189
(cherry picked from commit dbfea916f8)
2019-08-11 09:47:30 -04:00
Tim Steinbach
e4d2f38816 linux: 4.4.188 -> 4.4.189
(cherry picked from commit 6710232309)
2019-08-11 09:47:28 -04:00
Silvan Mosberger
68dd7786de nixos/misc: Fix nixpkgs.config merge function
Previously nested attrsets would override each other

(cherry picked from commit ca3820dd00)
2019-08-10 21:01:22 +02:00
Izorkin
3590ff2d4c libssh2: 1.8.2 -> 1.9.0
(cherry picked from commit d055655954)
I see no breaking changes, and it fixes #65649 CVE-2019-13115
https://www.libssh2.org/changes.html
https://abi-laboratory.pro/?view=timeline&l=libssh2
2019-08-10 17:31:15 +02:00
Izorkin
7e28652e09 php73: 7.3.7 -> 7.3.8 (PR #65846)
(cherry picked from commit cb9846c2dc)
This is a security release which also contains several bug fixes.
http://www.php.net/ChangeLog-7.php#7.3.8
2019-08-10 17:18:47 +02:00
Izorkin
d1223631d3 php72: 7.2.20 -> 7.2.21 (PR #65846)
(cherry picked from commit 7819d3f621)
This is a security release which also contains several bug fixes.
http://www.php.net/ChangeLog-7.php#7.2.21
2019-08-10 17:18:26 +02:00
Aaron Andersen
0b672bc063 subversion: 1.9.9 -> 1.9.12, 1.10.4 -> 1.10.6 2019-08-10 09:45:23 -04:00
Tim Steinbach
2eed7af1cb linux: 4.14.137 -> 4.14.138
(cherry picked from commit 933caf635a)
2019-08-10 09:28:55 -04:00
Tim Steinbach
d4f0c20c5e linux: 4.19.65 -> 4.19.66
(cherry picked from commit c0dbb5cf22)
2019-08-10 09:28:55 -04:00
Vladimír Čunát
c6bbd527a8 Merge #65668: wavpack: CVE-2019-1010317 CVE-2019-1010319
(cherry picked from commit 6c177c3eba)
2019-08-10 14:41:49 +02:00
Andreas Rammhold
3e0e15665a Merge pull request #66394 from ivan/chromium-76.0.3809.100-backport
[19.03] chromium: 76.0.3809.87 -> 76.0.3809.100
2019-08-10 11:54:24 +00:00
Ivan Kozik
c67fe5d26c chromium: 76.0.3809.87 -> 76.0.3809.100
CVE-2019-5868 CVE-2019-5867
2019-08-09 16:08:45 +00:00
Vladimír Čunát
bd1358fed9 knot-resolver: skip a broken test
The test fails from roughly today's machine date onwards.

(cherry picked from commit 5c0567dcc6)
2019-08-09 16:10:57 +02:00
Daniel Frank
b08d2b322b postgresql: fix CVE-2019-10208, CVE-2019-10209 (#66347) 2019-08-09 15:11:21 +03:00
Mario Rodas
d3e6486935 Merge pull request #66331 from mweinelt/pr/19.03/chromedriver-76.0.3809.68
[19.03] chromedriver: 2.46 -> 76.0.3809.68
2019-08-08 18:27:23 -05:00
Martin Weinelt
45fd93a358 chromedriver: 2.46 -> 76.0.3809.68 2019-08-08 16:42:20 +02:00
Jörg Thalheim
f3f040ca05 [backport] hedgewars: 0.9.25 -> 1.0.0-beta1 (#66290)
[backport] hedgewars: 0.9.25 -> 1.0.0-beta1
2019-08-08 08:08:02 +01:00
WilliButz
e8cea0efd6 grafana: 6.3.0 -> 6.3.2
(cherry picked from commit 8f2abf573b)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-08-08 00:08:36 +02:00
Lancelot SIX
6d06fdee9f python3Packages.django_2_1: 2.1.10 -> 2.1.11
See https://docs.djangoproject.com/en/2.1/releases/2.1.11/ for release
notes.

(cherry picked from commit 34eca41af0)
2019-08-07 22:55:51 +02:00
Lancelot SIX
56fff3e48d pythonPackages.django_1_11: 1.11.22 -> 1.11.23
See https://docs.djangoproject.com/en/1.11/releases/1.11.23/ for release
note.

(cherry picked from commit 37c8c6371b)
2019-08-07 22:54:49 +02:00
Trolli Schmittlauch
6496eb452d hedgewars: 0.9.25 -> 1.0.0-beta1
- unbreak build by bumping version to latest beta as that
removes the broken `bytestring-show` dependency

- beta needs to be fetched from Mercurial repo

(cherry picked from commit 7030004ad6)
2019-08-07 20:33:14 +02:00
Eelco Dolstra
f8096b25f8 Merge pull request #66273 from basvandijk/rm-def-for-nixpkgs.system-release-19.03
Backport "Remove default value for nixpkgs.system" to release-19.03
2019-08-07 16:38:43 +02:00
Tim Steinbach
47f648c38a linux: 4.9.187 -> 4.9.188 2019-08-07 09:32:46 -04:00
Tim Steinbach
750dbd1377 linux: 4.4.187 -> 4.4.188 2019-08-07 09:32:46 -04:00
Tim Steinbach
60ed85d212 linux: 4.19.64 -> 4.19.65 2019-08-07 09:32:45 -04:00
Tim Steinbach
854ec2f963 linux: 4.14.136 -> 4.14.137 2019-08-07 09:32:45 -04:00
Eelco Dolstra
7c375966f0 Remove default value for nixpkgs.system
Using "builtins.currentSystem" doesn't work in pure evaluation mode,
and even when it's explicitly set (which it always is, in
nixos/lib/eval-config.nix), it breaks manual generation because the
manual tries to render the default value.

(cherry picked from commit 7eb332af5d)
2019-08-07 15:24:14 +02:00
Samuel Dionne-Riel
56d94c8c69 Merge pull request #66232 from johanot/CVE-2019-11247
[19.03] kubernetes: 1.13.7 -> 1.13.9
2019-08-06 22:54:56 -04:00
Samuel Dionne-Riel
2f1fc1b698 Merge pull request #65954 from aanderse/mysql-backport
mysql57: 5.7.25 -> 5.7.27 [backport]
2019-08-06 21:06:24 -04:00
Johan Thomsen
e6b09af8e2 kubernetes: 1.13.7 -> 1.13.9 2019-08-06 22:39:07 +02:00
WilliButz
314e2acfe8 grafana: 6.2.5 -> 6.3.0
(cherry picked from commit f477658959)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-08-06 17:44:32 +02:00
Peter Simons
fa561021eb Merge pull request #65034 from peti/t/postfix-module
nixos: add 'localRecipients' config option for Postfix
2019-08-06 14:06:51 +02:00
Aaron Andersen
af17a97d38 nixos/mysql: test the mysql package, not just mariadb
(cherry picked from commit f1faec8249)
2019-08-06 10:38:26 +02:00
worldofpeace
9ef3cb9b0b Merge pull request #66116 from herrwiese/python-vipaccess-19.03
[19.03] pythonPackages.python-vipaccess: init at 0.10.3
2019-08-05 17:39:54 -04:00
Andreas Wiese
12708e517c pythonPackages.python-vipaccess: init at 0.10.3
(cherry picked from commit 11fb28f305)
2019-08-05 22:44:30 +02:00
Andreas Wiese
313414f08f pythonPackages.oath: init at 1.4.3
(cherry picked from commit 7dfa1f842e)
2019-08-05 22:44:22 +02:00
Christian Höppner
981fdb4207 haskellPackages.servant-client-core: apply patch only to 0.15
A patch was added unconditionally that only applies to 0.15, breaking
builds of 0.14.

Apply patch only if version is 0.15
2019-08-05 15:33:53 +02:00
R. RyanTM
4f3bb982c9 python37Packages.django_2_2: 2.2.3 -> 2.2.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 c76f10fd01)
2019-08-05 14:12:25 +02:00
Tim Steinbach
4b6dd53b90 linux: 4.9.186 -> 4.9.187 2019-08-04 22:13:17 -04:00
Tim Steinbach
2e6f49e296 linux: 4.4.186 -> 4.4.187 2019-08-04 22:13:16 -04:00
Tim Steinbach
78d02ae5af linux: 4.19.63 -> 4.19.64 2019-08-04 22:13:15 -04:00
Tim Steinbach
2d8cb1aaa6 linux: 4.14.135 -> 4.14.136 2019-08-04 22:13:12 -04:00
Vladimír Čunát
ad34e9e247 Merge branch 'staging-19.03' into release-19.03 2019-08-04 19:24:33 +02:00
Aaron Andersen
caafde2c83 mysql57: 5.7.25 -> 5.7.27
(cherry picked from commit 88770b01d5)
2019-08-04 11:08:17 -04:00
R. RyanTM
90b1b55e3e pantheon.elementary-files: 4.1.8 -> 4.1.9
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/elementary-files/versions

(cherry picked from commit 6ff56d7f01)
2019-08-04 04:08:50 -04:00
worldofpeace
f854b1058c pantheon.elementary-gtk-theme: 5.2.4 -> 5.2.5
https://github.com/elementary/stylesheet/releases/tag/5.2.5
(cherry picked from commit ebf4126d8b)
2019-08-04 04:06:39 -04:00
Marek Mahut
fe419b60ae iptables: CVE-2019-11360 (release-19.03, PR #65662)
Fixes #65647
2019-08-03 18:04:35 +02:00
Vladimír Čunát
10118734ba Merge branch 'release-19.03' into staging-19.03 2019-08-03 14:47:21 +02:00
Jörg Thalheim
93ea6db29c [19.03] doc: fix passthru.updateScript help command (#65790)
[19.03] doc: fix passthru.updateScript help command
2019-08-03 06:58:31 +01:00
Marek Mahut
451edb5f11 pango: CVE-2019-1010238
Fixes #65650

(cherry picked from commit 0edd264337271a5b60b3c68f3bca45fa8d6859aa)
2019-08-03 07:55:35 +02:00
Jan Tojnar
1acb2510a1 doc: fix passthru.updateScript help command
(cherry picked from commit d18f4bfb53a930f03897f5e3701181f0745df99a)
Reason: Should be fixed in stable too.
2019-08-03 07:32:41 +02:00
worldofpeace
4f2b76e45f pantheon.cerbere: 0.2.4 -> 2.5.0
Fixes #60955

(cherry picked from commit d77095c97a)
2019-08-02 21:36:54 -04:00
Samuel Dionne-Riel
dc5edd18ad Merge pull request #65635 from ivan/chromium-76.0.3809.87-backport
[19.03] chromium: 75.0.3770.90 -> 76.0.3809.87
2019-08-02 18:28:36 -04:00
xrelkd
fb354a0ac8 youtube-dl: 2019.07.30 -> 2019.08.02
(cherry picked from commit f93ef946e5)
2019-08-02 16:53:58 -04:00
Rolf Heckemann
9ca57dc917 skypeforlinux: 8.49.0.49 => 8.50.0.38
(cherry picked from commit a0d3143ce5)
2019-08-02 16:19:08 +02:00
R. RyanTM
429adc69df skypeforlinux: 8.47.0.59 -> 8.49.0.49
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/skypeforlinux/versions

(cherry picked from commit 2928e4c3fc)
2019-08-02 16:19:08 +02:00
Will Dietz
a800b9b093 skype: 8.46.0.60 -> 8.47.0.59
(cherry picked from commit dca70ab1e1)
2019-08-02 16:19:07 +02:00
Will Dietz
4af7f7de5a skype: 8.45.0.41 -> 8.46.0.60
https://support.skype.com/en/faq/FA34778/release-notes-for-skype-for-windows-mac-linux-and-web
(cherry picked from commit 5ae032beda)
2019-08-02 16:19:07 +02:00
angristan
25eb016a2f vagrant: 2.2.3 -> 2.2.5
(cherry picked from commit 5521aae4b9)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-08-02 12:41:18 +02:00
Ivan Kozik
e851ccd6b4 gnupatch: avoid rebuild from 2af7aac7 PR #65687
vcunat is really sorry for not noticing this.

(cherry picked from commit 002b853782)
2019-08-02 09:37:38 +02:00
Vladimír Čunát
2af7aac7b5 Merge #65687: gnupatch: update links to patches
(cherry picked from commit c4ce832eeb)
2019-08-01 22:42:37 +02:00
Lancelot SIX
4cc5592fe2 Merge pull request #65688 from lsix/qgis_3_4_10
qgis: 3.4.8 -> 3.4.10
2019-08-01 13:09:19 +02:00
markuskowa
3da3a39022 Merge pull request #65714 from etu/1903-gitea-1.9.0
[19.03] gitea: 1.8.3 -> 1.9.0
2019-08-01 12:17:12 +02:00
nyanloutre
c41e3c536a gitea: 1.8.3 -> 1.9.0
(cherry picked from commit 1a784390d2)
2019-08-01 10:13:30 +02:00
Lancelot SIX
e985302886 qgis: 3.4.8 -> 3.4.10 2019-07-31 21:45:38 +02:00
Tim Steinbach
b978a94c8f linux: 4.19.62 -> 4.19.63 2019-07-31 09:25:41 -04:00
Tim Steinbach
d7c6154cfa linux: 4.14.134 -> 4.14.135 2019-07-31 09:25:40 -04:00
Ivan Kozik
e8f037f305 chromiumDev: fix build
Fixes:

ERROR Unresolved dependencies.
//third_party/perfetto/gn:zlib(//build/toolchain/linux:clang_x64)
  needs //third_party/zlib:zlib_config(//build/toolchain/linux:clang_x64)

builder for '/nix/store/iqr4vn2by1yxa7f92jiymvgfsn9mdvwq-chromium-unwrapped-77.0.3860.5.drv' failed with exit code 1
2019-07-31 11:31:43 +00:00
Ivan Kozik
7db82db697 chromium: 75.0.3770.90 -> 76.0.3809.87
Fixed in 75.0.3770.142:

CVE-2019-5847 CVE-2019-5848

Fixed in 76.0.3809.87:

CVE-2019-5850 CVE-2019-5860 CVE-2019-5853 CVE-2019-5851
CVE-2019-5859 CVE-2019-5856 CVE-2019-5863 CVE-2019-5855
CVE-2019-5865 CVE-2019-5858 CVE-2019-5864 CVE-2019-5862
CVE-2019-5861 CVE-2019-5857 CVE-2019-5854 CVE-2019-5852
2019-07-31 11:31:36 +00:00
Will Dietz
49ac77d07e ffmpeg: 3.4.5 -> 3.4.6 (#58549)
0ac9001ab9:/Changelog
(cherry picked from commit dfdacfdd8a)
I don't know if any CVEs are filed against this, but it still seems
likely to fix more things than break.
2019-07-30 15:46:41 +02:00
Vladimír Čunát
a0578908bb Merge branch 'staging-19.03' into release-19.03 2019-07-30 15:41:32 +02:00
Vladimír Čunát
40aedac602 ffmpeg{_4,-full}: 4.1.3 -> 4.1.4 (security)
Fixes #64656 CVE-2019-13312 CVE-2019-13390.

(cherry picked from commit 3e17fe4522)
2019-07-30 15:41:21 +02:00
xrelkd
0e9548e149 youtube-dl: 2019.07.27 -> 2019.07.30
(cherry picked from commit 7ed270b372)
2019-07-30 08:01:33 +01:00
Vitalii Zinchenko
31d476b879 libelf: fix download url (#65576)
(cherry picked from commit 179ab19856)
2019-07-29 20:44:11 -04:00
Vladimír Čunát
d86daf5aa7 Merge branch 'release-19.03' into staging-19.03 2019-07-29 20:45:52 +02:00
xrelkd
defa89ffae youtube-dl: 2019.07.16 -> 2019.07.27
(cherry picked from commit 5e0c5caebd)
2019-07-29 08:18:43 +01:00
Andreas Rammhold
b39c8b203d gnupatch: apply patches for CVE-2019-1363 and CVE-2019-13638
(cherry picked from commit 49c4c4a5b9)
PR #65498
2019-07-28 20:53:34 +02:00
Tim Steinbach
7b63f7a737 linux: 5.1.20 -> 5.1.21 2019-07-28 12:08:42 -04:00
Tim Steinbach
968caddf49 linux: 4.19.61 -> 4.19.62 2019-07-28 12:08:39 -04:00
Ashish SHUKLA
aeeb30a3b2 sshguard: do not create ipset in post-start [backport #65453]
Upstream switched to a different type of ipset table, whereas we
create ipset in post-start which overrides upstream, and renders
sshguard ineffective.

Remove ipset creation from post-start, and let it get automatically
by upstream script (sshg-fw-ipset) as part of startup
2019-07-28 08:52:07 +00:00
Samuel Dionne-Riel
16144baa1e Merge pull request #61806 from cdepillabout/backport-memtest86
memtest86-efi: backport to 19.03
2019-07-27 21:50:53 -04:00
(cdep)illabout
3c21a29ea9 nixos/systemd-boot: add support for memtest86 EFI app (backport to 19.03)
This commit adds support for installing the memtest86 EFI app and adding
a boot entry for it with systemd-boot.

Backported from #61036.

(cherry picked from commit b12ea62ec9)
(cherry picked from commit d88d675051)
2019-07-28 10:01:37 +09:00
(cdep)illabout
9168977a98 memtest86-efi: init at 8.0 (backport to 19.03)
This creates a new package, memtest86-efi.  This is a recent version of
the unfree version of memtest86.

There appear to be no restrictions on the use or redistribution of this.

Backport from #60967.

(cherry picked from commit d273bf5eb4335e60e7d2c8d63f2325aab4b1041d)
(cherry picked from commit e01e13a5477b7efb503ac5eb26e3cc2bde1375b9)
(cherry picked from commit 439a7552bd2e074f97ac574f360e23f1c20ba769)
(cherry picked from commit 4abafaf3ccdc1b067804ceb8f4e9e26805ee4513)
2019-07-28 10:00:44 +09:00
Roosembert Palacios
1e6c910f4f Add package for libguesfs containing libguestfs appliances
Appliances are necessary when building images using virt-builder.
(e.g. `virt-builder -o debian-9.img debian-9`)

Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
(cherry picked from commit ecb90aedec)
2019-07-28 10:00:09 +09:00
Silvan Mosberger
112f522d48 idrisPackages.idris-wrapper: Use stdenv's cc instead of always gcc
This should make it work on Darwin with clang.

(cherry picked from commit 271403c69b)
2019-07-27 22:11:55 +02:00
Silvan Mosberger
203b026114 idrisPackages.idris-wrapper: Fix linking to gmp library
This has been broken since 5d18129ce8,
which updated idris from 1.3.0 to 1.3.1, which included
https://github.com/idris-lang/Idris-dev/pull/4472 as the cause of the
error. I'm still not entirely sure why this broke it though.

This now way should be rather future proof, it uses NIX_CFLAGS to pass
gpm link flags to our CC wrapper directly. The
`NIX_CC_WRAPPER_${stdenv.cc.infixSalt}_TARGET_HOST` part I'm pretty sure
is needed for the CC wrapper to know that those CFLAGS are meant for the
cc running on the HOST.

(cherry picked from commit cfd2e6731a)
2019-07-27 22:11:37 +02:00
Samuel Dionne-Riel
82e1691d3b Merge pull request #59336 from grahamc/backport-59323
check-meta: don't execute check-meta.nix 15,000 times (backport)
2019-07-27 15:05:31 -04:00
Léo Gaspard
bdebbbe959 Merge pull request #65464 from pacien/matrix-synapse-1.2.1-19.03
[security] [19.03-backport] matrix-synapse: 0.99.5.2 -> 1.2.1
2019-07-27 14:36:48 +02:00
pacien
643a5be1aa matrix-synapse: 0.99.5.2 -> 1.2.1
security update: https://github.com/matrix-org/synapse/releases/tag/v1.2.1
2019-07-27 14:09:54 +02:00
Nikolay Amiantov
aa81b2c1e5 nixos/systemd-boot: don't remove directories from EFI dir
This will only result in an error. These directories might be created by, for example, fwupdmgr.

(cherry picked from commit fa2e4bfb61)
2019-07-26 17:24:37 +03:00
Tim Steinbach
2418b95807 linux: 5.1.19 -> 5.1.20 2019-07-26 09:12:23 -04:00
Tim Steinbach
1080955eaf linux: 4.19.60 -> 4.19.61 2019-07-26 09:12:22 -04:00
Domen Kožar
760e770313 Merge pull request #63766 from NixOS/backport-systemd-boot-configurationLimit
Add configurationLimit to systemd-boot to prevent running out of disk…
2019-07-26 14:43:45 +02:00
taku0
96151a48dd firefox-bin: 68.0 -> 68.0.1
(cherry picked from commit 835027f601)
2019-07-24 17:33:00 +02:00
taku0
b6f4b13ad7 firefox: 68.0 -> 68.0.1
(cherry picked from commit 9c7aa99db2)
2019-07-24 17:32:53 +02:00
taku0
9eaf915b5f firefox-esr: 68.0esr -> 68.0.1esr
(cherry picked from commit 71116cd9d5)
2019-07-24 17:32:45 +02:00
worldofpeace
ef4753de2a Merge pull request #65304 from alexeymuranov/backport-flashplayer-to-19.03
[19.03] flashplayer: 32.0.0.207 -> 32.0.0.223 (cherry-picked from master)
2019-07-23 14:33:03 -04:00
taku0
a23e03cfb6 flashplayer: 32.0.0.207 -> 32.0.0.223
(cherry picked from commit 126c5d0be8)
2019-07-23 16:43:46 +02:00
Danylo Hlynskyi
556fbb7959 postgresql: update docs
https://github.com/NixOS/nixpkgs/issues/32156
2019-07-23 16:40:14 +03:00
Aaron Andersen
314775040b Merge pull request #65032 from aanderse/kdevelop
kdevelop, kdev-php, kdev-python: 5.3.1 -> 5.3.3 [backport]
2019-07-22 21:23:22 -04:00
Johan Thomsen
248a3d8faf nixos/gitlab: gitlab-workhorse requires exiftool on path to process uploaded images
(cherry picked from commit bbd4a0c100)
2019-07-22 18:41:52 +02:00
Peter Hoeg
a607a931f6 Merge pull request #64327 from peterhoeg/u/elisa_stable
elisa: 0.3.0 -> 0.4.2
2019-07-22 15:28:17 +08:00
Tim Steinbach
1851d52633 linux: 5.1.18 -> 5.1.19 2019-07-21 20:57:26 -04:00
Tim Steinbach
799aec67af linux: 4.9.185 -> 4.9.186 2019-07-21 20:57:25 -04:00
Tim Steinbach
812acfb1be linux: 4.4.185 -> 4.4.186 2019-07-21 20:57:24 -04:00
Tim Steinbach
44a97d9445 linux: 4.19.59 -> 4.19.60 2019-07-21 20:57:23 -04:00
Tim Steinbach
7fa8aeb644 linux: 4.14.133 -> 4.14.134 2019-07-21 20:57:23 -04:00
Vladimír Čunát
55b8860aa2 Merge branch 'staging-19.03' into release-19.03 2019-07-20 23:17:44 +02:00
Andreas Rammhold
6291c0c5ff imlib: apply patch for CVE-2007-3568
While it probably doesn't have much impact it also doesn't really hurt
fixing this…

(cherry picked from commit fc83a1c745)
2019-07-20 22:44:29 +02:00
Vladimír Čunát
e199c174c6 Merge branch 'staging-19.03' into release-19.03 (older) 2019-07-20 09:58:34 +02:00
Vladimír Čunát
eb32586bac Merge #64379: oraclejdk/jdk8cpu: 8u201 -> 8u211
(into release-19.03)
2019-07-20 09:53:40 +02:00
Marek Mahut
938c15b94a openjpeg: CVE-2019-12973 #64182
(cherry picked from commit 0596ac9667)
2019-07-20 09:38:00 +02:00
Marek Mahut
d7ab443306 libxslt: CVE-2019-13118 #64661
(cherry picked from commit 9a6bd59111)
2019-07-20 09:28:58 +02:00
Marek Mahut
64079b9033 libxslt: CVE-2019-13117 #64661
(cherry picked from commit 3aefa76106)
2019-07-20 09:28:16 +02:00
Jan Tojnar
3e5cf4fa63 gnomeExtensions.gsconnect: 21 → 23
https://github.com/andyholmes/gnome-shell-extension-gsconnect/releases/tag/v22
(cherry picked from commit b85cbd96c2)
2019-07-19 12:46:10 +02:00
Tor Hedin Brønner
4c6daf972e gnomeExtensions.gsconnect: 20 -> 21
(cherry picked from commit a0b5ada01c)
2019-07-19 12:46:10 +02:00
Frederik Rietdijk
b8b2ca71ab ccache.links: make it a function of unwrappedCC
That way we can use a ccacheStdenv with e.g. a different CC:

stdenv = overrideCC gcc8Stdenv (ccacheWrapper.override { unwrappedCC
= gcc8Stdenv.cc.cc; });

(cherry picked from commit 594ca3f1cf)
2019-07-19 11:34:44 +02:00
Uma Zalakain
ec263c50ca Change maintainter's name
(cherry picked from commit 882b201f58)
2019-07-19 09:22:01 +02:00
Graham Christensen
6be0d5824c Merge pull request #64729 from risicle/ris-dosbox-CVEs-19.03
[r19.03] dosbox: add patches for CVE-2019-7165 & CVE-2019-12594
2019-07-18 17:33:12 -04:00
Graham Christensen
6d2dfd5372 Merge pull request #64999 from risicle/ris-libu2f-host-1.1.8-r19.03
[r19.03] libu2f-host: 1.1.7 -> 1.1.8, fixing CVE-2019-9578
2019-07-18 17:32:22 -04:00
Graham Christensen
5443be5bd0 Merge pull request #64735 from risicle/ris-zeromq-4.3.2-r19.03
[r19.03] zeromq: 4.3.1 -> 4.3.2, fixing CVE-2019-13132
2019-07-18 17:31:42 -04:00
Peter Simons
e26f8944d6 nixos: add 'localRecipients' config option for Postfix
The new option services.postfix.localRecipients allows
configuring the postfix option 'local_recipient_maps'. When
set to a list of user names (or patterns), that map
effectively replaces the lookup in the system's user
database that's used by default to determine which local
users are valid.

This option is useful to explicitly set local users that are
allowed to receive e-mail from the outside world. For local
injection i.e. via the 'sendmail' command this option has no
effect.

(cherry picked from commit 59bacaca3d)
2019-07-18 19:16:05 +02:00
Aaron Andersen
3bf8249282 kdevelop, kdev-php, kdev-python: 5.3.2 -> 5.3.3
(cherry picked from commit e6a3b3b7df)
2019-07-18 12:37:45 -04:00
Aaron Andersen
3cb77b5bfa kdevelop, kdev-php, kdev-python: 5.3.1 -> 5.3.2
(cherry picked from commit 649c1152c8)
2019-07-18 12:37:33 -04:00
hhm
77295b0bd2 hplip: add missing dependency
Graphical programs (e.g. hp-setup) error with:

error: No module named enum

This adds the enum module which fixes the error

(cherry picked from commit 8308e4148abcf2d02b2b31afb920a5b8a0a57f72)
2019-07-17 17:17:04 -04:00
Robert Scott
2a317ced27 libu2f-host: 1.1.7 -> 1.1.8
fixing CVE-2019-9578
2019-07-17 20:34:41 +01:00
Andreas Wiese
594dfac037 nextcloud: 15.0.8 -> 16.0.3 [19.03] (#64841) 2019-07-17 16:11:03 +00:00
worldofpeace
e4a9013dda pantheon.switchboard-plug-pantheon-shell: Fix setting lightdm background
backports e4f86df6a6

(cherry picked from commit 47dcdfe3a1)
2019-07-17 11:04:59 -04:00
Danylo Hlynskyi
973a270535 Merge pull request #63896 from NixOS/noxlibs-nognome
[19.03] environment.noXlibs: disable gnome3 for pinentry
2019-07-16 21:39:25 +03:00
xrelkd
76cb4fe05f youtube-dl: 2019.07.12 -> 2019.07.16
(cherry picked from commit 3a1111b172)
(cherry picked from commit 3e4e93d728)
2019-07-16 14:03:29 -04:00
Vladimír Čunát
12d7fb573b Merge #64917: wavpack: CVE-2018-19840 CVE-2018-19841
(cherry picked from commit 5777f52576)
2019-07-16 18:09:08 +02:00
Vladimír Čunát
a5b5fb918e knot-dns: 2.8.1 -> 2.8.3 (maintenance)
(cherry picked from commit 49ca44cf17)
2019-07-16 13:55:17 +02:00
taku0
c89567e2e5 firefox-esr: 60.7.2esr -> 68.0esr
(cherry picked from commit 75d4e64fad)
2019-07-16 11:17:50 +02:00
taku0
d7fcc6691f firefox: 67.0.4 -> 68.0
(cherry picked from commit 0c436f8ca1)
2019-07-16 11:17:41 +02:00
Andreas Rammhold
8886753b3c rust_1_35: init at 1.35 2019-07-16 11:17:29 +02:00
taku0
1f9c91efcf rust-cbindgen: 0.8.3 -> 0.8.7
(cherry picked from commit 8f2d6a5709)
2019-07-16 11:17:02 +02:00
Vladimír Čunát
58b6877069 firefox-esr-60: 60.7.2esr -> 60.8.0esr [critical security]
https://www.mozilla.org/en-US/firefox/60.8.0/releasenotes/
(cherry picked from commit 538c8aebd8)
Brief testing on 19.03 showed no problems.
2019-07-16 11:07:03 +02:00
Vladimír Čunát
2fc18e735c Merge branch 'staging-19.03' into release-19.03 2019-07-16 06:52:33 +02:00
Vladimír Čunát
be61b5bd1a Merge branch 'release-19.03' into staging-19.03 2019-07-15 18:44:13 +02:00
Eelco Dolstra
e2ad04c513 nixFlakes: 2.3pre20190612_06010ea -> 2.3pre20190712_aa82f8b
(cherry picked from commit 31c38894c9)
2019-07-15 16:21:47 +02:00
taku0
2143d047d4 nss: 3.44 -> 3.44.1
(cherry picked from commit 442fd85db6)
Fresh nss will be needed for further Firefox updates; /cc PR #64742
2019-07-15 15:00:38 +02:00
Will Dietz
1015f72ff1 nss: 3.43 -> 3.44
(cherry picked from commit 979970a4cd)
2019-07-15 14:59:37 +02:00
Will Dietz
ddcd81eee1 nss: 3.42.1 -> 3.43
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.43_release_notes
(cherry picked from commit 354ccb2052)
2019-07-15 14:59:24 +02:00
Robin Gloster
3cd79ef30f Merge pull request #64638 from johanot/jira-8.1.2
atlassian-jira: 8.1.0 -> 8.1.2
2019-07-15 12:26:13 +00:00
Mario Rodas
198a6bd91c python37: fix distutils C++ patch (PR #64758)
Update distutils patch to the upstream changes.
See: 6c0e0d141a

(cherry picked from commit 7094a1af0c)
2019-07-15 14:00:12 +02:00
Michael Raskin
0d0cb247ff Merge pull request #64745 from risicle/ris-squid-CVE-2019-13345-r19.03
[r19.03] squid, squid4: add patches fixing CVE-2019-13345
2019-07-15 10:35:14 +00:00
Robert Scott
db682731bc squid: add patch fixing CVE-2019-13345 2019-07-14 22:30:33 +01:00
Robert Scott
c62d44b9e1 squid4: add patch fixing CVE-2019-13345 2019-07-14 22:30:22 +01:00
worldofpeace
f4fcdac99f Merge pull request #64712 from risicle/ris-cf-cli-6.43.0-r19.03
[r19.03] cloudfoundry-cli: 6.41.0 -> 6.43.0, fixing CVE-2019-3781
2019-07-14 14:01:06 -04:00
worldofpeace
c0339a7b39 Merge pull request #64375 from das-g/release-19.03_keybase-backport
keybase{,-gui}: 3.0.0 -> 4.1.0
2019-07-14 12:30:03 -04:00
Robert Scott
f9a62b7c8d zeromq: 4.3.1 -> 4.3.2 2019-07-14 16:49:56 +01:00
Orivej Desh
30548e9654 dmenu: fix crash with XMODIFIERS
Fixes #59625

(cherry picked from commit 1f16d0496c)
2019-07-14 13:53:01 +00:00
Graham Christensen
c31b7402b1 Merge pull request #64724 from risicle/ris-redis-5.0.5-r19.03
[r19.03] redis: 5.0.3 -> 5.0.5, fixing CVE-2019-10192 & CVE-2019-10193
2019-07-14 05:53:01 -07:00
Robert Scott
9f66b1baa2 dosbox: add patches for CVE-2019-7165 & CVE-2019-12594 2019-07-14 13:41:25 +01:00
Tim Steinbach
a6598a6c86 linux: 5.1.17 -> 5.1.18 2019-07-14 08:15:49 -04:00
Tim Steinbach
b09ee75726 linux: 4.19.58 -> 4.19.59 2019-07-14 08:15:48 -04:00
Robert Scott
7e36e7f652 redis: 5.0.3 -> 5.0.5
fixing CVE-2019-10192 and CVE-2019-10193
2019-07-14 11:28:33 +01:00
Vladimír Čunát
cf16778cd6 knot-resolver: fixup build on Darwin
I'm not 100% sure how we handle purity there, but so far it seems that
this change is only needed on 19.03 branch.
2019-07-14 09:54:38 +02:00
Vladimír Čunát
68d032a46f Merge #64372: wavpack: Vulnerability roundup 71
(cherry picked from commit 620ad0b969)
2019-07-14 09:48:05 +02:00
Robert Scott
540d9a93d6 cloudfoundry-cli: 6.41.0 -> 6.43.0
fixing CVE-2019-3781
2019-07-13 19:06:43 +01:00
worldofpeace
e726e8291b pantheon.elementary-icon-theme: 5.0.3 -> 5.0.4
https://github.com/elementary/icons/releases/tag/5.0.4
(cherry picked from commit 1aaa9ba3d8)
2019-07-13 10:59:09 -04:00
Peter Simons
e8e1eeccb8 Merge #64538: gnupg: 2.2.16 -> 2.2.17 (security)
(cherry picked from commit 84e3370358)
CVE-2019-13050 #64658.  The other changes don't sound too intrusive:
https://lists.gnupg.org/pipermail/gnupg-announce/2019q3/000439.html
2019-07-13 15:33:23 +02:00
Jan Tojnar
88cb463a3b libsForQt5.qtkeychain: add libsecret support
qtkeychain uses pkg-config to detect whether libsecret is available,
otherwise it just builds a stub object file.

We need libsecret support to allow nextcloud-client storing passwords
on Freedesktop platforms.

I also fixed the Darwin dependencies not being used with Qt5,
even though the build did not complain.

(cherry picked from commit 48316aeec1)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-07-13 12:17:35 +02:00
Vladimír Čunát
fb30decc1d Merge #64272: powerdns: 4.1.9 -> 4.1.10 (DoS security)
CVE-2019-10162, CVE-2019-10163

(cherry picked from commit 64cb53dc01)
2019-07-13 11:06:50 +02:00
Vladimír Čunát
63963b8f34 Merge #64690: thunderbird*: 60.7.2 -> 60.8.0 (security)
(cherry picked from commit e87ed4cef3)
2019-07-13 10:02:20 +02:00
Vladimír Čunát
1dddf80571 Merge #64577: firefox-bin: 67.0.4 -> 68.0 (security)
(cherry picked from commit dc121c754e)
2019-07-13 10:02:09 +02:00
Vladimír Čunát
45b4e23a41 Merge #64679: glib: fix CVE-2019-13012 (in staging-19.03) 2019-07-13 09:17:04 +02:00
Vladimír Čunát
f7bd8d6bd8 Merge branch 'release-19.03' into staging-19.03 2019-07-13 09:16:54 +02:00
worldofpeace
35e28b488f glib: fix CVE-2019-13012
CVE-2019-13012 Description:

The keyfile settings backend in GLib before 2.59.1 creates directories
using g_file_make_directory_with_parents (kfsb->dir, NULL, NULL) and
files using g_file_replace_contents (kfsb->file, contents, length, NULL, FALSE,
G_FILE_CREATE_REPLACE_DESTINATION, NULL, NULL, NULL).
Consequently, it does not properly restrict directory (and file) permissions.
Instead, for directories, 0777 permissions are used; for files, default file
permissions are used.

Patch Summary:

Changes the permissions when a directory is created,
using 700 instead 777 in gio/gkeyfilesettingsbackend.c
and changes test to run in a temp directory in gio/tests/gsettings.c.

Upstream Issue: https://gitlab.gnome.org/GNOME/glib/issues/1658
Upstream MR: https://gitlab.gnome.org/GNOME/glib/merge_requests/604

Fixes #64657
2019-07-12 16:27:34 -04:00
Maximilian Bosch
5f707e8e06 mautrix-whatsapp: 2019-02-24 -> 2019-07-04
Bump to the latest revision of `mautrix-whatsapp` to regain
compatibility with matrix-synapse 0.99.5.

Please note that it was necessary to alter some of the sources in
`deps.nix`, please read the comment at the top of the file for further
information.

(cherry picked from commit b86a3e46b3)
2019-07-12 18:27:59 +02:00
Vladimír Čunát
9354bc967d Merge knot-resolver: 3.2.1 -> 4.1.0 (security)
19.03: I'm really sorry to pull a "major" update, but the security
fixes are rather hard to backport correctly.  Please contact me in case
you run into problems when upgrading.
2019-07-12 15:53:22 +02:00
Pascal Bach
d10e680168 gitlab-runner: 11.11.2 -> 12.0.2
12.0.1 fixes an issue with git submodule fetching
12.0.2 fixes an issue with concurrent updated

(cherry picked from commit e928aa6f50)
2019-07-12 12:39:48 +02:00
xrelkd
88f069e2d8 youtube-dl: 2019.07.02 -> 2019.07.12
(cherry picked from commit 345843601a)
2019-07-11 23:54:41 -04:00
Johan Thomsen
9d1f4e5756 atlassian-jira: 8.1.0 -> 8.1.2 2019-07-11 19:31:23 +02:00
R. RyanTM
f0fdbd89ae python37Packages.aiorpcx: 0.17.0 -> 0.18.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.7-aiorpcx/versions

(cherry picked from commit 54fa84b988)

Required by electrum 3.3.7
2019-07-11 16:15:38 +02:00
worldofpeace
9fde0140fc pantheon.wingpanel-indicator-session: 2.2.3 -> 2.2.4
https://github.com/elementary/wingpanel-indicator-session/releases/tag/2.2.4
(cherry picked from commit def7d562e0)
2019-07-11 10:07:22 -04:00
Will Dietz
ecc64b374b electrum: 3.3.6 -> 3.3.7
(cherry picked from commit fcd6773c4c)
2019-07-10 20:46:26 +02:00
Joachim Fasting
2f8c3024ff tor-browser-bundle-bin: 8.5.3 -> 8.5.4
(cherry picked from commit 5f6b008eb5)
2019-07-10 20:46:07 +02:00
SLNOS
69e48a1acb firefoxPackages.tor-browser: 8.5.2 -> 8.5.4
(cherry picked from commit 279a001062)
2019-07-10 19:08:59 +02:00
Vladimír Čunát
c5d39d8962 knot-resolver: 4.0.0 -> 4.1.0 (security)
https://lists.nic.cz/pipermail/knot-resolver-users/2019/000189.html
Fixes DNS spoofing problems: CVE-2019-10190 CVE-2019-10191
but also minor things, adds new features, etc.
In particular aarch64 should work now, at least as long as not using
some lua library that suffers from the same problem with lightuserdata,
e.g. cqueues does suffer from this.

(cherry picked from commit f15625a6c0)
2019-07-10 18:16:48 +02:00
Vladimír Čunát
26053855bb knot-resolver: fixup the build after cherry-picking 2019-07-10 18:16:48 +02:00
Vladimír Čunát
6c233963dc knot-resolver: 3.2.1 -> 4.0.0
https://lists.nic.cz/pipermail/knot-resolver-users/2019/000136.html

Similar commit worked fine for me, including the nixos service.
I'd like to still improve the service to support easy passing of sockets
to http module.

(cherry picked from commit 9efdd2e434)
I'm really sorry to pull a "major" update, but the upcoming security
fixes are rather hard to backport correctly.  Please contact me in case
you run into problems when upgrading.
2019-07-10 18:15:48 +02:00
Tim Steinbach
021f94354c linux: 5.1.16 -> 5.1.17 2019-07-10 07:51:10 -04:00
Tim Steinbach
a9a0f33500 linux: 4.9.184 -> 4.9.185 2019-07-10 07:51:10 -04:00
Tim Steinbach
0f617ca2e8 linux: 4.4.184 -> 4.4.185 2019-07-10 07:51:09 -04:00
Tim Steinbach
824a5d22d8 linux: 4.19.57 -> 4.19.58 2019-07-10 07:51:09 -04:00
Tim Steinbach
009d35a682 linux: 4.14.132 -> 4.14.133 2019-07-10 07:51:08 -04:00
nyanloutre
28e64db237 mautrix-telegram: 0.5.2 -> 0.6.0
(cherry picked from commit baddb2ac89)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-07-10 01:03:02 +02:00
nyanloutre
41d303c342 pythonPackages.telethon: 1.8.0 -> 1.9.0
(cherry picked from commit 99f0083ea5)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-07-10 01:03:02 +02:00
nyanloutre
a2e438685a telethon: 1.6.2 -> 1.8.0
(cherry picked from commit 91e311d1b0)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-07-10 01:03:01 +02:00
nyanloutre
ee942c3e2c mautrix-appservice: 0.3.10.dev1 -> 0.3.11
(cherry picked from commit f88bb6c2b2)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-07-10 01:03:01 +02:00
Vladimír Čunát
ed3895a987 Merge #63928: llvm_7: disable libpfm on aarch64
(cherry picked from commit 74d2452328)
I've seen no (negative) feedback so far, and we do need something here:
https://hydra.nixos.org/eval/1529346
(There's no llvm_8 on this branch so far.)
2019-07-09 10:14:47 +02:00
Frederik Rietdijk
931146ae9e python37: 3.7.3 -> 3.7.4
(cherry picked from commit 46d91410af)
2019-07-09 10:05:36 +02:00
Frederik Rietdijk
79f957a5fb python36: 3.6.8 -> 3.6.9
(cherry picked from commit a88e319591)
2019-07-09 10:05:36 +02:00
Frederik Rietdijk
a30a984471 Merge release-19.03 into staging-19.03 2019-07-09 10:05:09 +02:00
Vladimír Čunát
647761e80e Merge branch 'staging-19.03' into release-19.03 2019-07-09 07:42:50 +02:00
Robert Scott
9ec7625cee cgit: add patch fixing remote DoS
issue assigned MGASA-2019-0203 by mageia
https://www.openwall.com/lists/oss-security/2019/05/19/3

(cherry picked from commit 49283ed802)
2019-07-07 21:45:37 +02:00
Elis Hirwing
68fa7ff3e8 Merge pull request #64389 from aanderse/release-19.03
php73: 7.3.6 -> 7.3.7, 7.2.19 -> 7.2.20 [19.03 backport]
2019-07-07 21:40:29 +02:00
Robert Scott
af5178cf77 wireshark: 2.6.6 -> 2.6.9
security release(s) fixing multiple issues
2019-07-07 14:48:19 +02:00
Florian Klink
10a866602c gitlab-ce: remove substituteInPlace
This was removed in
23bcbf04c8
(since v11.6.0)

(cherry picked from commit 1a205ad7fb)
2019-07-07 10:16:17 +02:00
Florian Klink
2508a77d3d gitaly: 1.34.1 -> 1.34.3
(cherry picked from commit 80c35fb2a5)
2019-07-07 10:16:17 +02:00
Florian Klink
a329a3492c gitlab-ee: 11.10.5 -> 11.10.8
(cherry picked from commit 580be224c7)
2019-07-07 10:16:17 +02:00
Florian Klink
a16883e2a0 gitlab-ce: 11.10.5 -> 11.10.8
(cherry picked from commit c57a9d7f9a)
2019-07-07 10:16:17 +02:00
worldofpeace
d365f15ed6 kbfs: update homepage and description
(cherry picked from commit d8bbbeb38a)
2019-07-06 23:58:49 -04:00
worldofpeace
fe8d360b69 kbfs: 2.11.0 -> 4.1.0
The kbfs code has been moved to the same
repo as the keybase package.

(cherry picked from commit bfe270bc54)
2019-07-06 23:58:46 -04:00
Graham Christensen
799a080ba1 Merge pull request #64402 from risicle/ris-graphicsmagick-1-3-32-r19.03
[19.03] graphicsmagick: 1.3.31 -> 1.3.32 (security release)
2019-07-06 19:26:18 -04:00
Robert Scott
58627f2977 graphicsmagick: 1.3.31 -> 1.3.32
security release fixing numerous issues, darwin requires patch to fix issue
with pngs

(cherry picked from commit 9826490d5e)
2019-07-06 22:38:38 +01:00
Elis Hirwing
865e04289b php72: 7.2.19 -> 7.2.20
Changelog: https://www.php.net/ChangeLog-7.php#7.2.20
(cherry picked from commit bd1b55d074)
2019-07-06 13:38:07 -04:00
Elis Hirwing
b64a1b39fd php73: 7.3.6 -> 7.3.7
Changelog: https://www.php.net/ChangeLog-7.php#7.3.7
(cherry picked from commit c2ac19f432)
2019-07-06 13:37:55 -04:00
Lev Livnev
24be3d6cf4 oraclejdk/jdk8cpu: 8u201 -> 8u211
(cherry picked from commit 9e2ec2a2df)
2019-07-06 13:50:43 +02:00
Jonathan Ringer
4404f54a30 keybase-gui: 4.0.0 -> 4.1.0
(cherry picked from commit c5273fae16)
2019-07-06 11:26:20 +02:00
Jonathan Ringer
0ccf30a770 keybase: 4.0.0 -> 4.1.0
(cherry picked from commit 62ea7ba41b)
2019-07-06 11:26:07 +02:00
Georges Dubus
985a33dc9e keybase,keybase-gui: 3.2.2 -> 4.0.0
(cherry picked from commit 67406e2869)
2019-07-06 11:24:32 +02:00
Peter Spiess-Knafl
7b42e6b00f keybase,keybase-gui: 3.0.0 -> 3.2.2
(cherry picked from commit 59b235d793)
2019-07-06 11:22:21 +02:00
David McFarland
45a29e9589 steam: provide pidof and lsusb for Steam VR 2019-07-06 11:25:57 +03:00
nyanloutre
726beb66e9 steamrt: fix update script
The package.txt file doesn't exist anymore on upstream.
The new method is to install two metapackages and their dependencies.

Reference : 8849d366bf

Backported 87e35a1439.

Fixes #64356.
2019-07-06 10:59:50 +03:00
worldofpeace
a203bc741e cozy: fix runtime error
Workaround #56943

Fixes #57029

(cherry picked from commit c210b8b5f1)
2019-07-05 20:46:16 -04:00
Frederik Rietdijk
754763ff4b Docs Python: fix example on how to override the package set
Not passing in the newly created interpreter as `self` results in an
incorrect `passthru`. Solves #64334.

(cherry picked from commit f1ff85e61d)
2019-07-05 14:34:03 +02:00
Vladimír Čunát
2ae455069b knot-resolver: add a check for correct lua paths
(cherry picked from commit 6fdd315178)
It seems unlikely we would hit such a problem on a stable branch,
but I see no risk in adding the check anyway.
2019-07-05 11:03:02 +02:00
Peter Hoeg
799a18f3dc elisa: 0.3.0 -> 0.4.2
Also fixes #50726
2019-07-05 15:32:00 +08:00
Niklas Hambüchen
aef662d2eb consul: 1.4.1 -> 1.4.4 2019-07-04 20:02:05 +03:00
worldofpeace
b6aaee6d51 pantheon.pantheon-agent-geoclue2: 1.0.1 -> 1.0.2
https://github.com/elementary/pantheon-agent-geoclue2/releases/tag/1.0.2
(cherry picked from commit ddfe184efc)
2019-07-04 07:11:07 -04:00
worldofpeace
dce3651a21 pantheon.gala: 2019-05-31 -> 2019-07-01
Changes: 1024813560...5f1dbf15a7

Fixes:
https://github.com/elementary/gala/issues/444
https://github.com/elementary/gala/issues/561
https://github.com/elementary/gala/issues/13
https://github.com/elementary/gala/issues/487
(cherry picked from commit 1f43658c73)
2019-07-04 07:11:03 -04:00
worldofpeace
21ac8a15cc Merge pull request #64266 from risicle/ris-expat-CVE-2018-20843-r19.03
[r19.03] expat: add patch for CVE-2018-20843
2019-07-04 06:35:46 -04:00
worldofpeace
1956582ef4 Merge branch 'release-19.03' into staging-19.03 2019-07-04 06:33:43 -04:00
xrelkd
db1caa1452 youtube-dl: 2019.06.27 -> 2019.07.02
(cherry picked from commit 4f4ae9c156)
2019-07-04 05:55:53 -04:00
xrelkd
8effef1382 youtube-dl: 2019.06.21 -> 2019.06.27
(cherry picked from commit 5a5245ed8d)
2019-07-04 05:55:49 -04:00
Jake Waksbaum
2eea9b3ab9 google-music-scripts: fix build
(cherry picked from commit 2e729e7f1f)
2019-07-04 05:36:04 -04:00
Jake Waksbaum
2a0ca05c0e python3Packages.loguru: init at 0.3.0
(cherry picked from commit a96bab416a)
2019-07-04 05:35:58 -04:00
Alyssa Ross
5c0abc553c python3Packages.django: 1.11.21 -> 1.11.22
CVE-2019-12781

(cherry picked from commit 20a5961588)
Signed-off-by: Lancelot SIX <lsix@lancelotsix.com>
2019-07-04 11:17:13 +02:00
Alyssa Ross
c2f9536ea8 python3Packages.django_2_1: 2.1.9 -> 2.1.10
CVE-2019-12781

(cherry picked from commit 26b6cbad4b)
Signed-off-by: Lancelot SIX <lsix@lancelotsix.com>
2019-07-04 11:17:00 +02:00
Alyssa Ross
1ab0dd3e43 python3Packages.django_2_2: 2.2.2 -> 2.2.3
(cherry picked from commit b37c76fa7f)
Signed-off-by: Lancelot SIX <lsix@lancelotsix.com>
2019-07-04 11:16:47 +02:00
Alyssa Ross
2b6b923b29 python3Packages.django_1_8: add more known vulns
I'm just assuming that these affect 1.8, since they affect every later
version.

(cherry picked from commit 6bbeeb629e)
Signed-off-by: Lancelot SIX <lsix@lancelotsix.com>
2019-07-04 11:16:30 +02:00
Elis Hirwing
ece42b96d1 Merge pull request #63414 from etu/1903-gitea-183-update
[19.03] gitea: 1.8.2 -> 1.8.3
2019-07-04 09:19:37 +02:00
Tim Steinbach
a5b451165a docker: 18.09.6 -> 18.09.7 2019-07-03 20:16:08 -04:00
Robert Scott
e9c554a25f rdesktop: 1.8.3 -> 1.8.6
security release, fixing issue with as-yet-unassigned CVE. debian are using
DSA-4473-1/DLA-1837-1.

switching to github source because they don't seem to be keeping their
sourceforge tarballs up to date

(cherry picked from commit 44b450592c)
2019-07-03 23:23:32 +00:00
Robert Scott
b4bc98430c expat: add patch for CVE-2018-20843 2019-07-03 22:45:24 +01:00
Tim Steinbach
8edf24a379 linux: 5.1.15 -> 5.1.16 2019-07-03 09:02:51 -04:00
Tim Steinbach
314221356d linux: 4.19.56 -> 4.19.57 2019-07-03 09:02:50 -04:00
Tim Steinbach
519f339e06 linux: 4.14.131 -> 4.14.132 2019-07-03 09:02:50 -04:00
Mario Rodas
8383e5b488 terraform_0_12: 0.12.2 -> 0.12.3
(cherry picked from commit 1681e2c1d4)
Signed-off-by: Domen Kožar <domen@dev.si>
2019-07-03 14:40:03 +02:00
Mario Rodas
b7eb06a756 terraform_0_12: 0.12.1 -> 0.12.2
(cherry picked from commit 7da72a6b00)
Signed-off-by: Domen Kožar <domen@dev.si>
2019-07-03 14:39:48 +02:00
Kaspar Tint
5195cd9914 terraform: 0.12.0 -> 0.12.1
(cherry picked from commit f2c8817208)
Signed-off-by: Domen Kožar <domen@dev.si>
2019-07-03 14:39:33 +02:00
Michael Weiss
7d3f71cd7f Merge pull request #63828 from primeos/signal-desktop-backport
[19.03] signal-desktop: 1.25.1 -> 1.25.3 (backport)
2019-07-03 13:29:12 +02:00
Michael Weiss
66826cd2cc signal-desktop: 1.25.2 -> 1.25.3
(cherry picked from commit 1707911f97)
2019-07-03 12:40:52 +02:00
Graham Christensen
7152cb297a Merge pull request #62400 from grahamc/wireguard-stable-backports
Wireguard: stable backports
2019-07-02 21:54:11 -04:00
Dmitry Kalinkin
e6fe2df74f arrow-cpp: add fixDarwinDylibNames
(cherry picked from commit e884852ac4)

cc #64144
2019-07-02 12:58:53 -04:00
Alyssa Ross
859bc7b65a irssi: 1.1.2 -> 1.1.3
CVE-2019-13045
2019-07-02 15:17:26 +00:00
Nils ANDRÉ-CHANG
e0c7712eac alacritty: build on i686-linux, aarch64-linux (#63199, #61933) 2019-07-02 00:39:36 +03:00
Vladimír Čunát
fe797e0ade firefox: fix highly parallel make by upstream patch
(cherry picked from commit df1d27ac31)
2019-07-01 14:45:25 +02:00
Eelco Dolstra
b540b25550 Revert "mkshell: improve mergeInputs"
This reverts commit e65b6ff6ce.

https://github.com/NixOS/nixpkgs/pull/63718#issuecomment-507240192
2019-07-01 14:23:21 +02:00
Eelco Dolstra
da613b5c80 Revert "mkShell: compose shellHooks"
This reverts commit 000463186d.

https://github.com/NixOS/nixpkgs/pull/63718#issuecomment-507240192
2019-07-01 14:22:58 +02:00
Will Dietz
d1567794cc openjpeg: 2.3.0 -> 2.3.1
bug fixes, security fixes*

I /think/ we had patches for the mentioned CVE's,
but another pair of eyes is appreciated.

(cherry picked from commit 07540c0ca1)
2019-07-01 13:56:47 +02:00
Robert Scott
85f820d6e4 powerdns: 4.1.7 -> 4.1.9
fixing CVE-2019-10162, CVE-2019-10163

(cherry picked from commit 46dfe2bab9)
2019-07-01 07:17:02 +01:00
Will Dietz
bf62b51232 gnupg: 2.2.15 -> 2.2.16
https://dev.gnupg.org/T4509
(cherry picked from commit 3f7657d7fb)
2019-06-30 21:49:05 +00:00
Will Dietz
0ed03d72bc gnupg: 2.2.14 -> 2.2.15
https://dev.gnupg.org/T4434
(cherry picked from commit 4f1d76275e)
2019-06-30 21:49:04 +00:00
Will Dietz
9939781ca9 gnupg: 2.2.13 -> 2.2.14
https://lists.gnupg.org/pipermail/gnupg-announce/2019q1/000435.html
(cherry picked from commit 43ed5cb1df)
2019-06-30 21:49:02 +00:00
Robert Scott
37b61c9146 libvirt: add patches for CVE-2019-10132, CVE-2019-10161, CVE-2019-10166, CVE-2019-10167 & CVE-2019-10168 (#63909) 2019-06-30 21:18:00 +00:00
worldofpeace
d3d4c93e85 Merge pull request #63908 from worldofpeace/gnome-control-center-backports
[19.03] gnome3.gnome-control-center: fix hardcoded paths
2019-06-30 15:49:17 -04:00
Jan Tojnar
cb716d3cb9 gnome3.gnome-control-center: Add mutter to dependencies
make the gschemas available.

(cherry picked from commit fc4cc85bf8)
2019-06-30 15:47:25 -04:00
worldofpeace
7aba64f8ec gnome3.gnome-control-center: fix hardcoded paths
We're backporting fixes for the paths.patch from
f18aaa1c9f and a0bb3dd8ac.

Fixes crashes because of non-existant nm-connection-editor
and the correct GNOME3 version should be displayed in the
info panel.
2019-06-30 15:47:25 -04:00
Vladimír Čunát
2516c454c3 linux_testing_hardened: fix modDirVersion
and bring the linux-testing expression closer to the other versions.

(cherry picked from commit 241ffca67d)
2019-06-28 18:07:29 +02:00
Wout Mertens
8622ff8c8e environment.noXlibs: disable gnome3 for pinentry 2019-06-28 15:32:17 +02:00
Vladimír Čunát
24f13c23cc Merge branch 'staging-19.03' into release-19.03 2019-06-28 15:19:30 +02:00
Tim Steinbach
2e38c0e748 linux: 4.9.183 -> 4.9.184 2019-06-28 08:01:08 -04:00
Tim Steinbach
ece4bf2b0d linux: 4.4.183 -> 4.4.184 2019-06-28 08:01:08 -04:00
Tim Steinbach
ca45f9f9fc linux: 4.14.130 -> 4.14.131 2019-06-28 08:01:07 -04:00
Michael Weiss
ea37ce871c signal-desktop: 1.25.1 -> 1.25.2
(cherry picked from commit 4ae993455d)
2019-06-26 22:33:33 +02:00
Bas van Dijk
75a88c1b9d Merge pull request #63728 from basvandijk/cargo-license-0.2.0-release-19.03
Backport "cargo-license: init at 0.2.0" to release-19.03
2019-06-26 15:53:49 +02:00
WilliButz
1c6bdbc766 grafana: 6.2.4 -> 6.2.5
(cherry picked from commit d0683d4a87)
2019-06-26 10:59:36 +02:00
Marek Mahut
638bddf778 bluez: CVE-2018-10910
(cherry picked from commit 7fdb0d28d724998fdabce5868a19bf77c3115974)
2019-06-25 17:36:49 -04:00
Tim Steinbach
20c15d4e0f linux: 5.1.14 -> 5.1.15 2019-06-25 10:33:07 -04:00
Tim Steinbach
066bf9fc18 linux: 4.19.55 -> 4.19.56 2019-06-25 10:33:06 -04:00
Tim Steinbach
c18d73f3ce linux: 4.14.129 -> 4.14.130 2019-06-25 10:33:06 -04:00
Bas van Dijk
c46acba8b3 cargo-license: add meta.homepage
(cherry picked from commit b95c4ce302)
2019-06-25 15:35:09 +02:00
Bas van Dijk
4caebbeee2 cargo-license: init at 0.2.0
(cherry picked from commit 7720379005)
2019-06-25 15:27:07 +02:00
Domen Kožar
17be62f56c Add configurationLimit to systemd-boot to prevent running out of disk space
Refs #23926

(cherry picked from commit 224a6562a4)
Signed-off-by: Domen Kožar <domen@dev.si>
2019-06-25 15:16:16 +02:00
Domen Kožar
0c6161e00b duplicati: allow changing the user
(cherry picked from commit e8916cc6af)
Signed-off-by: Domen Kožar <domen@dev.si>
2019-06-25 14:41:02 +02:00
Jörg Thalheim
1dafc1e1ce rambox: 0.6.6 -> 0.6.9 (19.03 backport) (#63737)
rambox: 0.6.6 -> 0.6.9 (19.03 backport)
2019-06-25 07:40:13 +01:00
worldofpeace
fb8abc97af Merge pull request #63742 from florianjacob/backport-journalwatch
journalwatch: fix pytest checks
2019-06-24 18:25:05 -04:00
Florian Jacob
dbccbd5855 journalwatch: fix pytest checks
(cherry picked from commit ee20ba83144551497fcecedca277f5de32e81c0c)

Reason: The more strict dependency handling of buildPythonPackage in
19.03 uncovered the error of having pytest as buildInput instead of
checkInput, which leads to a broken package on 19.03.
2019-06-24 21:47:26 +02:00
Jörg Thalheim
cb629165e0 rambox: 0.6.7 -> 0.6.9
(cherry picked from commit dce97daeda)
2019-06-24 17:38:10 +01:00
Andy White
531c4488de rambox: 0.6.6 -> 0.6.7
(cherry picked from commit c0abf3c23e)
2019-06-24 17:38:03 +01:00
Domen Kožar
01966e8b79 duplicati: 2.0.3.3 -> 2.0.4.5
(cherry picked from commit 5a21a52074)
Signed-off-by: Domen Kožar <domen@dev.si>
2019-06-24 16:39:02 +02:00
Alyssa Ross
a383c3731c Merge #63484: linux_5_0: remove
(cherry picked from commit 57b1f53862)
2019-06-24 15:07:29 +02:00
Bas van Dijk
13781ee85c Merge pull request #63718 from basvandijk/composable-mkshell-shellHook-release-19.03
Backport "Improve composability of mkShell" to release-19.03
2019-06-24 09:44:03 +02:00
Bas van Dijk
000463186d mkShell: compose shellHooks
Running the following expression with nix-shell:

  let
    pkgs = import <nixpkgs> {};

    shell1 = pkgs.mkShell {
      shellHook = ''
        echo shell1
      '';
    };

    shell2 = pkgs.mkShell {
      shellHook = ''
        echo shell2
      '';
    };

    shell3 = pkgs.mkShell {
      inputsFrom = [ shell1 shell2 ];
      shellHook = ''
        echo shell3
      '';
    };
  in shell3

Will now results in:
shell2
shell1
shell3

Note that packages in the front of inputsFrom have precedence over
packages in the back. The outermost mkShell has precedence over all.

(cherry picked from commit 76ef802d3d)
2019-06-24 09:17:40 +02:00
Bas van Dijk
e65b6ff6ce mkshell: improve mergeInputs
mergeInputs is now simply defined in terms of `concatLists` and
`catAttrs` instead of a more complicated `foldr`.

Note that the order of PATH has also changed. For example running the
following with nix-shell:

  let
    pkgs = import <nixpkgs> {};

    shell1 = pkgs.mkShell {
      buildInputs = [ pkgs.htop ];
    };

    shell2 = pkgs.mkShell {
      buildInputs = [ pkgs.hello ];
    };

    shell3 = pkgs.mkShell {
      inputsFrom = [ shell1 shell2 ];
      buildInputs = [ pkgs.tree ];
    };

  in shell3

Results in the following PATH:

$ echo $PATH
...
/nix/store/yifq4bikf7m07160bpia7z48ciqddbfi-tree-1.8.0/bin:
/nix/store/vhxqk81234ivqw1a7j200a1c69k8mywi-htop-2.2.0/bin:
/nix/store/n9vm3m58y1n3rg3mlll17wanc9hln58k-hello-2.10/bin
...

Previously the order was:

/nix/store/n9vm3m58y1n3rg3mlll17wanc9hln58k-hello-2.10/bin
/nix/store/vhxqk81234ivqw1a7j200a1c69k8mywi-htop-2.2.0/bin:
/nix/store/yifq4bikf7m07160bpia7z48ciqddbfi-tree-1.8.0/bin:

I think the new order makes more sense because it allows to override
the PATH in the outermost mkShell.

(cherry picked from commit cee35739ff)
2019-06-24 09:17:26 +02:00
Johan Thomsen
53346d725f tomcat85: 8.5.35 -> 8.5.42 2019-06-24 08:51:29 +03:00
Johan Thomsen
c3446ff01e tomcat9: 9.0.13 -> 9.0.21 2019-06-24 08:51:12 +03:00
Vladimír Čunát
47d7882b52 Merge branch 'staging-19.03' into release-19.03 2019-06-24 07:21:40 +02:00
Matthew Bauer
d5a3e5f476 nixos: add hardware/network/intel-2200bg.nix to module-list
this is referenced by nixos-generate-config.pl. See
https://github.com/NixOS/nixpkgs/pull/63091 for more discussion.

(cherry picked from commit 8768d1c83a)
2019-06-23 20:35:11 -04:00
Mario Rodas
8634c3b619 postgresql_11: 11.3 -> 11.4 2019-06-23 18:19:35 +03:00
Mario Rodas
249060d454 postgresql_10: 10.8 -> 10.9 2019-06-23 18:19:19 +03:00
Mario Rodas
320bc19854 postgresql_9_6: 9.6.13 -> 9.6.14 2019-06-23 18:19:05 +03:00
Mario Rodas
f6df801ede postgresql_9_5: 9.5.17 -> 9.5.18 2019-06-23 18:18:50 +03:00
Mario Rodas
48473a1da0 postgresql_9_4: 9.4.22 -> 9.4.23 2019-06-23 18:18:23 +03:00
Matthew Bauer
d7752fc0eb buildGoPackage: keep string context (#63680)
In Nix, each string has a context that it carries of where it
originated. Some functions like filterAttrs modify the context of its
args when doing comparisons. That is important because we use the
string context of “name” to get where a derivation was defined. This
causes some builtins like unsafeGetAttrPos to report incorrectly that
the string was set in lib/attrsets.nix and reporting that as the
source file. Using removeAttrs avoids this problem.

Fixes #63679

(cherry picked from commit 1f46aaab1b)
The web list of packages shows the current stable branch, so we needed
to backport this to fix that effect soonish.  The change itself seems
very safe; only one rebuild is detected: `common-updater-scripts`
2019-06-23 10:49:25 +02:00
Vladimír Čunát
f49d8beff0 Merge #63205: dhcpcd: apply security fixes (release-19.03)
CVE-2019-11577
CVE-2019-11578
CVE-2019-11579
CVE-2019-11766
I checked the commit hashes agree with those linked from nvd.nist.gov
2019-06-23 10:23:31 +02:00
Jörg Thalheim
cc82829196 linux_4_{14,19}: restore __kernel_fpu_{begin,restore} (#63665)
linux_4_{14,19}: restore __kernel_fpu_{begin,restore}
2019-06-23 09:04:19 +01:00
Martin Weinelt
3ddd23719b microcodeIntel: 20190514 -> 20190618
(cherry picked from commit 6dbb142de4)
2019-06-22 22:45:06 +00:00
tilpner
e649185ab5 linux_4_19: restore __kernel_fpu_{begin,restore}
Linux commit 12209993e98c5fa1855c467f22a24e3d5b8be205 was backported to
4.19, so add the reverting patch to restore zfs performance.

(cherry picked from commit 0e6d0c12e4)
2019-06-22 20:54:24 +02:00
tilpner
f817fd00ff linux_4_14: restore __kernel_fpu_{begin,restore}
Linux commit 12209993e98c5fa1855c467f22a24e3d5b8be205 was backported to
4.14, so add the reverting patch to restore zfs performance.

(cherry picked from commit 71b4b7b4c7)
2019-06-22 20:54:10 +02:00
Tim Steinbach
54361cde92 linux: 5.1.12 -> 5.1.14 2019-06-22 12:31:39 -04:00
Tim Steinbach
a3edb07e86 linux: 4.9.182 -> 4.9.183 2019-06-22 12:31:39 -04:00
Tim Steinbach
37a7eab468 linux: 4.4.182 -> 4.4.183 2019-06-22 12:31:38 -04:00
Tim Steinbach
2260e1d6b6 linux: 4.19.53 -> 4.19.55 2019-06-22 12:31:37 -04:00
Tim Steinbach
f233a65644 linux: 4.14.128 -> 4.14.129 2019-06-22 12:31:37 -04:00
Vladimír Čunát
b41ca72ad4 Merge branch 'release-19.03' into staging-19.03 2019-06-22 11:59:19 +02:00
Vladimír Čunát
d7366bb08f bzip2: patch CVE-2019-12900
The vulnerability seems quite serious.
It isn't practical to use fetchpatch here due to bootstrapping,
so I just committed the small patch file.

(cherry picked from commit 4fd6cb7abd)
2019-06-22 11:58:55 +02:00
Vladimír Čunát
05fa60dea3 Merge #63640: thunderbird*: 60.7.1 -> 60.7.2 (security)
https://www.thunderbird.net/en-US/thunderbird/60.7.2/releasenotes/
https://www.mozilla.org/en-US/security/advisories/mfsa2019-20/
(cherry picked from commit 2873952068)
2019-06-22 10:33:56 +02:00
SLNOS
86191b5b91 firefoxPackages.tor-browser: 8.5.0 -> 8.5.2
(cherry picked from commit 2cec4ca4f4)
2019-06-21 20:48:35 +02:00
Joachim Fasting
514c297f07 tor-browser-bundle-bin: 8.5.1 -> 8.5.3
(cherry picked from commit 24434e85f6)
2019-06-21 20:48:33 +02:00
Will Dietz
552ee0a169 tor-browser-bundle-bin: 32bit hashfix
(cherry picked from commit f46793a32c)
2019-06-21 20:48:27 +02:00
Timo Kaufmann
ea18186b4a youtube-dl: 2019.06.08 -> 2019.06.21 (#63625)
Fixes yet another youtube issue.

(cherry picked from commit d3939637e4c9071aa35a0fbf7c4eb7c99fadd2e1)
2019-06-21 19:47:05 +02:00
Bas van Dijk
303729afa0 Merge pull request #63556 from basvandijk/cargo-graph-0.2.0-d895af1-release-19.03
Backport "cargo-graph: init at 0.2.0-d895af1" to 19.03
2019-06-21 10:41:12 +02:00
Bas van Dijk
633baf951a cargo-graph: update cargoSha256 for 19.03 2019-06-21 10:07:25 +02:00
Elis Hirwing
b00b7970e9 Merge pull request #63292 from etu/1903-nomachine-client
[19.03] nomachine-client: 6.5.6 -> 6.7.6
2019-06-21 08:41:23 +02:00
worldofpeace
0f1560fab2 pantheon.gala: 2018-05-14 -> 2019-05-31
Fixes minimize animation in HiDPI monitor

(cherry picked from commit c7b4b3bb16)
2019-06-20 18:31:13 -04:00
worldofpeace
9a7c5c8d26 pantheon.elementary-gtk-theme: 5.2.3 -> 5.2.4
https://github.com/elementary/stylesheet/releases/tag/5.2.4
(cherry picked from commit d72ef07d1e)
2019-06-20 18:30:52 -04:00
Alyssa Ross
f1a3fa1909 Merge pull request #63588 from alyssais/firefox-cve
firefox: CVE-2019-11708
2019-06-20 20:22:20 +00:00
Alyssa Ross
9c2d93b929 firefox-devedition-bin: 68.0b11 -> 68.0b12
CVE-2019-11708

(cherry picked from commit f5cf5c93fe)
2019-06-20 19:40:16 +00:00
Alyssa Ross
38fde032ab firefox-beta-bin: 68.0b11 -> 68.0b12
CVE-2019-11708

(cherry picked from commit 0364a89042)
2019-06-20 19:40:15 +00:00
Alyssa Ross
b602d6b43a firefox-bin: 67.0.3 -> 67.0.4
CVE-2019-11708

(cherry picked from commit 658d00efc9)
2019-06-20 19:40:13 +00:00
Alyssa Ross
fbe8714e58 firefox-esr: 60.7.1esr -> 60.7.2esr
CVE-2019-11708

(cherry picked from commit 2e8da9d6ec)
2019-06-20 19:40:11 +00:00
Alyssa Ross
7076c516cb firefox: 67.0.3 -> 67.0.4
CVE-2019-11708

(cherry picked from commit 5f69dc425c)
2019-06-20 19:40:08 +00:00
Alyssa Ross
b0eba669ed Merge pull request #63583 from alyssais/bind-stable
bind: 9.12.4-P1 -> 9.12.4-P2 (CVE-2019-6471)
2019-06-20 19:33:46 +00:00
Alyssa Ross
827d1886fd bind: 9.12.4-P1 -> 9.12.4-P2
CVE-2019-6471
2019-06-20 18:50:50 +00:00
Bas van Dijk
bf118bbb36 Merge pull request #63567 from knl/backport-fswatch
(backport) fswatch: Enable FSEvents API on Darwin
2019-06-20 18:15:12 +02:00
Bas van Dijk
61d57f8e52 Merge pull request #63327 from knl/backport-asciidoctor-upgrade
(backport) asciidoctor: 1.5.7.1 -> 2.0.10
2019-06-20 18:11:30 +02:00
Nikola Knezevic
04f800ebb6 fswatch: Enable FSEvents API on Darwin
On Darwin we can benefit from FSEvents API (that fswatch supports) in order to
have better monitoring of file system changes.

(cherry picked from commit a0bbe1aa27)
2019-06-20 15:12:48 +02:00
Timo Kaufmann
774d39092e Merge pull request #63561 from timokau/sage-threejs-r105-19.03
sage: fix threejs r105 [19.03]
2019-06-20 14:55:34 +02:00
Nikola Knezevic
fc7442d568 asciidoctor: bring back asciidoctor-bespoke 2019-06-20 14:48:29 +02:00
Michael Peyton Jones
257c2f6d61 asciidoctor: 1.5.7.1 -> 2.0.10
There has been a new major version, so it seems good to upgrade.

I had to drop two plugins:
- `asciidoctor-latex` seems dead, and hasn't had any commits since 2015.
- `asciidoctor-bespoke` also hasn't been updated for over a year, and
doesn't seem to be compatible with the new version.

(cherry picked from commit 3d1e0da1a7)
2019-06-20 14:46:33 +02:00
Timo Kaufmann
ee24b98f7f sage: fix online threejs
(cherry picked from commit 9955657209)
2019-06-20 12:53:23 +02:00
Timo Kaufmann
d7a2ea4073 sage: backport threejs r100 compatibility
https://github.com/NixOS/nixpkgs/issues/62736#issuecomment-503757429
(cherry picked from commit 2d78d928cd)
2019-06-20 12:53:14 +02:00
Lancelot SIX
cf82fcd3ae pythonPackages.django_2_1: 2.1.8 -> 2.1.9
See https://www.djangoproject.com/weblog/2019/jun/03/security-releases/

(cherry picked from commit 13859d3fd4)
Signed-off-by: Lancelot SIX <lsix@lancelotsix.com>
2019-06-20 11:04:37 +02:00
Lancelot SIX
03be9e385b pythonPackages.django_2_1: 2.1.7 -> 2.1.8
See https://docs.djangoproject.com/en/2.2/releases/2.1.8/ for release
information

(cherry picked from commit 952d983e77)
Signed-off-by: Lancelot SIX <lsix@lancelotsix.com>
2019-06-20 11:04:22 +02:00
Lancelot SIX
eea232f8c4 pythonPackages.django: 1.11.20 -> 1.11.21
See https://www.djangoproject.com/weblog/2019/jun/03/security-releases/

(cherry picked from commit 1a3e3345d3)
2019-06-20 11:03:22 +02:00
Bas van Dijk
ec8b820258 cargo-graph: init at 0.2.0-d895af1
(cherry picked from commit c2f3f169f9)
2019-06-20 08:40:47 +02:00
Tim Steinbach
cd5da0d166 linux: 5.1.11 -> 5.1.12 2019-06-19 08:54:47 -04:00
Tim Steinbach
d03f7cb995 linux: 4.19.52 -> 4.19.53 2019-06-19 08:54:47 -04:00
Tim Steinbach
03d8d32710 linux: 4.14.127 -> 4.14.128 2019-06-19 08:54:47 -04:00
Linus Heckemann
30a82bba73 dcm2niix: 1.0.20170130 -> 1.0.20190410 (#63479)
(cherry picked from commit 2458209c3e)
2019-06-19 12:07:36 +02:00
worldofpeace
be7c1a3e6b Merge pull request #63481 from worldofpeace/gvfs/security-fixes
[19.03] gvfs: security fixes
2019-06-18 22:29:23 -04:00
worldofpeace
6ac7c77345 gvfs: fix CVE-2019-12795
Vulnerability Description:
daemon/gvfsdaemon.c in gvfsd from GNOME gvfs before 1.38.3, 1.40.x before
1.40.2, and 1.41.x before 1.41.3 opened a private D-Bus server socket without
configuring an authorization rule. A local attacker could connect to this server
socket and issue D-Bus method calls. Note that the server socket only accepts
a single connection, so the attacker would have to discover the server and connect
to the socket before its owner does.

Closes #63301
2019-06-18 19:13:56 -04:00
worldofpeace
d2bfd7aa0b gvfs: fix CVE-2019-1244{7.8.9}
CVE-2019-12447:
daemon/gvfsbackendadmin.c mishandles file ownership because setfsuid is
not used.

CVE-2019-12448:
daemon/gvfsbackendadmin.c has race conditions because the admin backend
doesn't implement query_info_on_read/write.

CVE-2019-12449:
daemon/gvfsbackendadmin.c mishandles a file's user and group ownership
during move (and copy with G_FILE_COPY_ALL_METADATA) operations
from admin:// to file:// URIs, because root privileges are unavailable.

Upstream MR: https://gitlab.gnome.org/GNOME/gvfs/merge_requests/48
Closes #63067
2019-06-18 19:08:12 -04:00
Andreas Rammhold
d6da20c194 Merge pull request #63137 from ivan/chromium-75.0.3770.90-backport
[19.03] chromium: 75.0.3770.80 -> 75.0.3770.90 (backport)
2019-06-18 23:45:34 +02:00
Will Dietz
d77e3bd661 xpra: 2.3.4 -> 2.5, unbreak
(cherry picked from commit d48e8f67a2)
2019-06-18 23:08:17 +02:00
Alyssa Ross
f12e27b19d firefox: 67.0.2 -> 67.0.3
CVE-2019-11707

(cherry picked from commit 0ca0284580)
2019-06-18 20:38:53 +00:00
Alyssa Ross
bb2e38f3c4 firefox-esr: 60.7.0esr -> 60.7.1esr
CVE-2019-11707

(cherry picked from commit 087c619572)
2019-06-18 20:38:50 +00:00
Alyssa Ross
b6532c4779 firefox-devedition-bin: 68.0b9 -> 68.0b11
CVE-2019-11707

(cherry picked from commit dad5e84a3a)
2019-06-18 20:38:44 +00:00
Alyssa Ross
32c30070bd firefox-beta-bin: 68.0b9 -> 68.0b11
CVE-2019-11707

(cherry picked from commit 95da818dc2)
2019-06-18 20:38:28 +00:00
Alyssa Ross
d988e7bf8d firefox-bin: 67.0.2 -> 67.0.3
CVE-2019-11707

(cherry picked from commit 994a67da86)
2019-06-18 20:38:00 +00:00
WilliButz
c916ad9592 grafana: 6.2.3 -> 6.2.4
(cherry picked from commit ad6dad6f59)
2019-06-18 17:21:51 +02:00
WilliButz
9c8ea48b08 grafana: 6.2.2 -> 6.2.3
(cherry picked from commit adfcb01415)
2019-06-18 17:21:50 +02:00
Timo Kaufmann
f01ed7b38a sage: fix threejs integration (#63376)
Before this it didn't find the correct files. Unfortunately, the
interactive parts of sage are hard to test automatically.

(cherry picked from commit f2f26ac624fc9872c938f5a708ceae94cbebfb75)
2019-06-18 11:50:10 +02:00
Elis Hirwing
f6a23abf64 gitea: 1.8.2 -> 1.8.3
Changelog: https://github.com/go-gitea/gitea/releases/tag/v1.8.3
(cherry picked from commit bd1788c908)
2019-06-18 07:57:50 +02:00
Alyssa Ross
07103a2a29 linux_5_1: 5.1.10 -> 5.1.11
CVE-2019-11477
CVE-2019-11478
CVE-2019-11479

(cherry picked from commit 73e0f13bac)
2019-06-17 20:39:09 +00:00
Alyssa Ross
ee89a2fa05 linux_4_19: 4.19.51 -> 4.19.52
CVE-2019-11477
CVE-2019-11478
CVE-2019-11479

(cherry picked from commit d5bf0ae804)
2019-06-17 20:39:02 +00:00
Alyssa Ross
5465f19991 linux_4_14: 4.14.126 -> 4.14.127
CVE-2019-11477
CVE-2019-11478
CVE-2019-11479

(cherry picked from commit 84de6aed79)
2019-06-17 20:38:23 +00:00
Alyssa Ross
8e3c9b7735 linux_4_9: 4.9.181 -> 4.9.182
CVE-2019-11477
CVE-2019-11478
CVE-2019-11479

(cherry picked from commit 9ccdf3c9f5)
2019-06-17 20:38:20 +00:00
Alyssa Ross
eb1a0ff460 linux_4_4: 4.4.181 -> 4.4.182
CVE-2019-11477
CVE-2019-11478
CVE-2019-11479

(cherry picked from commit 4810809625)
2019-06-17 20:37:55 +00:00
R. RyanTM
a49d7d334a python37Packages.django_2_2: 2.2.1 -> 2.2.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-django/versions

(cherry picked from commit 9b98d400d1)
2019-06-17 22:04:40 +02:00
talyz
5ef01e7cc6 nomachine-client: 6.6.8 -> 6.7.6
(cherry picked from commit 93a680605d)
2019-06-17 09:36:09 +02:00
talyz
14f8e5dbb1 nomachine-client: 6.5.6 -> 6.6.8
(cherry picked from commit 9d1e509ecd)
2019-06-17 09:36:00 +02:00
Jörg Thalheim
3a58ffe14d zfsUnstable: 0.8.0 -> 0.8.1
(cherry picked from commit 05f7301a9e)
2019-06-17 07:46:31 +02:00
Marek Mahut
2cdb1ed132 bubblewrap: CVE-2019-12439 2019-06-17 05:35:36 +00:00
Frederik Rietdijk
35484898da grpc: build shared libs, fixes #58375
(cherry picked from commit 93d61e5c23)
2019-06-16 20:19:12 +02:00
Frederik Rietdijk
41c31b9045 grpc: 1.19.0 -> 1.19.1
(cherry picked from commit 38b0717d50)
2019-06-16 20:19:12 +02:00
R. RyanTM
ab7dfd7a27 grpc: 1.18.0 -> 1.19.0 (#56693)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/grpc/versions

(cherry picked from commit 64bf8ff4b4)
2019-06-16 20:19:12 +02:00
Vladimír Čunát
2f5a68c83a Merge #63203: curl: patch CVE-2019-5435
..into release-19.03
2019-06-16 18:14:00 +02:00
Vladimír Čunát
7b26850eca Merge #63200: glib: patch CVE-2019-12450
... into release-19.03
2019-06-16 18:09:53 +02:00
Bjørn Forsman
bfc68f778a nixos-generate-config: don't emit tmpfs entry for /tmp
Because it most likely comes from the boot.tmpOnTmpfs option in
configuration.nix (managed declaratively).

(cherry picked from commit 8f551be935)
2019-06-16 16:22:25 +02:00
Bjørn Forsman
4f65275bab nixos-generate-config: add dm-snapshot module if LVM is detected
Without this, the system becomes unbootable if the user creates a LVM
snapshot and reboots.

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

(The same kind of problem was fixed in RHEL a few years back:
https://bugzilla.redhat.com/show_bug.cgi?id=1287940)

(cherry picked from commit 4213e48dd9)
2019-06-16 15:35:28 +02:00
Bjørn Forsman
f8ebfd5585 nixos-generate-config: don't generate swapDevices for *files*
Up until now, the output has been the same for swap devices and swap
files:

  { device = "/var/swapfile"; }

Whereas for swap *files* it's easier to manage them declaratively in
configuration.nix:

  { device = "/var/swapfile"; size = 8192; }

(NixOS will create the swapfile, and later resize it, if the size
attribute is changed.)

With the assumption that swap files are specified in configuration.nix,
it's silly to output them to hardware-configuration.nix.

(cherry picked from commit 9e45f6feac)
2019-06-16 15:35:19 +02:00
Bjørn Forsman
1fd28063b9 nixos-generate-config: add support for bcache
Add "bcache" to boot.initrd.availableKernelModules if a bcache device is
detected.

This fixes a problem I've had one too many times: I install NixOS and
forget to add "bcache", resulting in an unbootable machine (until fixed
with Live CD). Now NixOS will do it for me.

(cherry picked from commit 4755811a12)
2019-06-16 15:34:34 +02:00
Marek Mahut
9eb5831310 curl: CVE-2019-5435 2019-06-16 14:28:38 +02:00
Marek Mahut
4683727693 dhcpcd: CVE-2019-11577 CVE-2019-11578 CVE-2019-11579 CVE-2019-11766 2019-06-16 14:03:05 +02:00
Florian Klink
2df2efc526 afew: 1.3.0 -> 2.0.0
(cherry picked from commit dc1228d1b1)
2019-06-16 13:37:03 +02:00
Marek Mahut
1305c1a73f glib: CVE-2019-12450 2019-06-16 13:09:39 +02:00
Franz Pletz
250988109b Merge pull request #63141 from tokudan/release-19.03-znc173
znc: 1.7.2 -> 1.7.3 Security, 19.03
2019-06-16 10:28:45 +00:00
Marek Mahut
152d76dd55 zziplib: patch CVE-2018-17828
Fixes https://github.com/NixOS/nixpkgs/issues/61961
Close https://github.com/NixOS/nixpkgs/pull/63190
vcunat amended some nitpicks into the original commit.

(cherry picked from commit 3aa8f9448c)
2019-06-16 12:20:33 +02:00
Vladimír Čunát
8992980c3f Merge #63131: thunderbird*: 60.7.0 -> 60.7.1 (security)
(cherry picked from commit 54802341b2)
2019-06-16 12:20:24 +02:00
Marek Mahut
394dfe9112 qemu: CVE-2019-12155
(cherry picked from commit a4e6261173)
2019-06-16 09:43:00 +02:00
Tim Steinbach
5e6f48c64f linux: 5.1.9 -> 5.1.10 2019-06-15 13:58:43 -04:00
Tim Steinbach
3f6da1add9 linux: 4.19.50 -> 4.19.51 2019-06-15 13:58:42 -04:00
Tim Steinbach
44cd622d60 linux: 4.14.125 -> 4.14.126 2019-06-15 13:58:42 -04:00
worldofpeace
f1707d8875 pantheon.wingpanel-applications-menu: drop libwnck3
Guess upstream documented that they used libwnck3 even
though it was removed years ago.

(cherry picked from commit 7e7efa6c6e)
2019-06-15 03:51:15 -04:00
R. RyanTM
3deecf143b znc: 1.7.2 -> 1.7.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/znc/versions

(cherry picked from commit 8419ae5f56)
2019-06-15 00:18:44 +02:00
Ivan Kozik
640c50b605 chromium: 75.0.3770.80 -> 75.0.3770.90 2019-06-14 21:19:20 +00:00
Edmund Wu
1601f559e8 vscodium: 1.34.0 -> 1.35.1
(cherry picked from commit a8fb5cb64e)
2019-06-14 16:14:30 -04:00
Edmund Wu
0ff6b8863a vscode: 1.35.0 -> 1.35.1
(cherry picked from commit 9ef46ec34e)
2019-06-14 16:14:25 -04:00
Vladimír Čunát
421314a934 Merge #63016: firefox: 67.0.1 -> 67.0.2
(cherry picked from commit 3e54aaad59)
There are also some less sever security fixes:
https://www.mozilla.org/en-US/security/advisories/mfsa2019-16/
2019-06-13 15:28:02 +02:00
Aaron Andersen
49dc8087a2 Merge pull request #62988 from aanderse/redmine-backport
redmine: 4.0.3 -> 4.0.4, 3.4.10 -> 3.4.11 [backport]
2019-06-12 21:05:22 -04:00
Marek Mahut
57132325b5 gitlab: 11.10.4 -> 11.10.5
(cherry picked from commit bf01a3ba94)
2019-06-13 01:53:10 +02:00
Tim Steinbach
817c777be8 linux: 5.1.8 -> 5.1.9
(cherry picked from commit 9ac722052e)
2019-06-12 13:41:36 -04:00
Tim Steinbach
d7a8f53546 linux: 4.9.180 -> 4.9.181
(cherry picked from commit 498910d4d1)
2019-06-12 13:41:36 -04:00
Tim Steinbach
ffe342d9ec linux: 4.4.180 -> 4.4.181
(cherry picked from commit 879ba019ab)
2019-06-12 13:41:35 -04:00
Tim Steinbach
3a423ff015 linux: 4.19.49 -> 4.19.50
(cherry picked from commit 225fc210f1)
2019-06-12 13:41:35 -04:00
Tim Steinbach
49ed4c28c6 linux: 4.14.124 -> 4.14.125
(cherry picked from commit a7ed499450)
2019-06-12 13:41:15 -04:00
taku0
f749923b9f flashplayer: 32.0.0.192 -> 32.0.0.207
(cherry picked from commit 1296f699e5)
2019-06-12 18:59:54 +02:00
Eelco Dolstra
6bbd89b7b1 nix: Add nixFlakes attribute for the flake branch
(cherry picked from commit abd51d042c)
2019-06-12 18:45:33 +02:00
Aaron Andersen
04f050ab8c redmine: 3.4.10 -> 3.4.11
(cherry picked from commit 49bd881166)
2019-06-11 13:18:02 -04:00
Aaron Andersen
2d7b710616 redmine: 4.0.3 -> 4.0.4
(cherry picked from commit b5ab8bc5e9)
2019-06-11 13:17:50 -04:00
Vladimír Čunát
c780db5337 Merge #62945: vlc: 3.0.6 -> 3.0.7
(cherry picked from commit feb949cd61)
2019-06-11 15:40:25 +02:00
Vladimír Čunát
411e12a444 faad2: apply security patches from Debian
(cherry picked from commit 57aa3ec33b)
2019-06-11 15:40:17 +02:00
worldofpeace
b02feb63fc pantheon.wingpanel: cleanup
(cherry picked from commit b0bea52821)
2019-06-11 03:03:00 -04:00
Dmitry Kalinkin
4649b6ef4b rivet: fix rivet-mkhtml runtime
(cherry picked from commit 73b5a2531c)
2019-06-10 18:02:20 -04:00
Kierán Meinhardt
4fb3b869e2 maintainers: add kmein
(cherry picked from commit f1b3f225cf)

Fixes tarball build https://hydra.nixos.org/build/94570955
2019-06-10 01:38:59 +02:00
Jörg Thalheim
2cc45e89e7 [19.03] ghostscript: link against "systemwide" liblcms2 (#57365)
[19.03] ghostscript: link against "systemwide" liblcms2
2019-06-09 17:32:11 +01:00
Tim Steinbach
29c700c61b linux: 5.1.7 -> 5.1.8 2019-06-09 12:29:06 -04:00
Tim Steinbach
5e07fed6e5 linux: 4.19.48 -> 4.19.49 2019-06-09 12:29:05 -04:00
Tim Steinbach
57951ab569 linux: 4.14.123 -> 4.14.124 2019-06-09 12:29:05 -04:00
Pierre Bourdon
80c7e984a2 ghostscript: link against "systemwide" liblcms2
GS ships with a fork of lcms2 ("lcms2mt"), but the ABI separation
between the fork and the original seems insufficient. If libgs is linked
alongside liblcms2 (for example, this is the case with imagemagick) then
it will call into the original library instead of the fork, causing
segfaults.

Follow the example of both Arch and Debian in this regard -- they both
use the systemwide lib instead of the fork.

(cherry picked from commit 128bb7be2a)
2019-06-09 17:27:03 +01:00
Vladimír Čunát
3ee495e865 Merge #61877: thunderbird*: 60.6.0 -> 60.7.0 (security)
(cherry picked from commit e8f8df0699)
thunderbird-bin gets actually bumped from 60.5.1
2019-06-09 15:08:45 +02:00
Vladimír Čunát
eae71ea809 Merge #62440: git-quick-stats: init at 2.0.8
(cherry picked from commit 2354bc69b3)
2019-06-09 15:03:46 +02:00
Vladimír Čunát
cb56ef188a Merge #62340: filezilla: add wrapper to set necessary FZ_DATADIR
(cherry picked from commit 4093d645b3)
2019-06-09 12:35:57 +02:00
Vladimír Čunát
58f7a0daf3 uae: fixup build
Fixes #62341.  I'm not sure why the problem happened,
but the solution seems fairly simple and risk-free.

(cherry picked from commit e596a33dc0)
2019-06-09 12:35:43 +02:00
Vladimír Čunát
30df265fc6 Merge #62862: doc: update nixpkgs-mozilla rev
(cherry picked from commit 17c0a1f812)
The problem happens on 19.03 as well.  This way we'll also update the
manual served on the web site.
2019-06-09 10:46:11 +02:00
Vladimír Čunát
fa986a8cb6 Merge #62858: backport wasmtime into release-19.03 2019-06-09 10:11:25 +02:00
Matthew Bauer
f494971d85 wasmtime: init
Co-authored-by: Lorenzo Manacorda <lorenzo@mailbox.org>
2019-06-09 10:09:46 +02:00
Andreas Rammhold
5121b483ed Merge pull request #62867 from andir/19.03/firefox
[19.03] firefox 67.0 -> 67.0.1
2019-06-08 23:08:26 +02:00
Will Dietz
b3b05a4ee5 tor-browser-bundle: 8.5 -> 8.5.1, security fix!
I think the source variant needs special handling, sorry.

(cherry picked from commit 88dc069219)
2019-06-08 21:54:38 +02:00
Joachim Fasting
fb679236ef eudev: use utillinuxMinimal
Presumably, the target audience for eudev are people who wish to avoid pulling
in systemd for whatever reason; it makes sense then to make the default build
not pull in systemd via utillinux.

(cherry picked from commit a37db0289f)
2019-06-08 21:54:27 +02:00
Tor Hedin Brønner
be89fd6a03 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)
2019-06-08 14:31:57 -04:00
Andreas Rammhold
08d9edbcd7 firefox: 67.0 -> 67.0.1
(cherry picked from commit 03128836bb)
2019-06-08 18:22:55 +02:00
Andreas Rammhold
1bcadd758e firefox-devedition-bin: 66.0b7 -> 68.0b8
(cherry picked from commit bb4dc7f7c0)
2019-06-08 18:22:54 +02:00
Andreas Rammhold
d3cb830f33 firefox-beta-bin: 67.0b18 -> 68.0b8
(cherry picked from commit 2779a3f26b)
2019-06-08 18:02:44 +02:00
Andreas Rammhold
96ddac80c0 firefox-bin: 67.0 -> 67.0.1
(cherry picked from commit d134af3aba)
2019-06-08 18:01:42 +02:00
nyanloutre
caacbe98ce riot-web: 1.1.0 -> 1.2.1
(cherry picked from commit 06195c925f)
2019-06-08 10:18:17 +02:00
nyanloutre
6bb2860824 riot-web: 1.0.8 -> 1.1.0
(cherry picked from commit adc9db2a3a)
2019-06-08 10:18:16 +02:00
R. RyanTM
035d45a91a riot-web: 1.0.7 -> 1.0.8
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 58d1128052)
2019-06-08 10:18:16 +02:00
pacien
59125047c0 riot-web: 1.0.6 -> 1.0.7
(cherry picked from commit f97effd53c)
2019-06-08 10:18:12 +02:00
Daniël de Kok
5f97866b13 nixos/tests/docker-tools: check layer sharing with buildLayeredImage
Adapted from grahamc's blog post on layered Docker images in Nix:

https://grahamc.com/blog/nix-and-layered-docker-images
(cherry picked from commit 3b0d5b5ed3)
2019-06-08 09:02:58 +02:00
Ivan Kozik
1ab6de18d2 youtube-dl: build the lazy_extractors module to improve startup time
(cherry picked from commit 840f4888c0)
2019-06-08 01:34:06 -04:00
Will Dietz
9ef0a6ffbe youtube-dl: 2019.05.20 -> 2019.06.08
(cherry picked from commit 9efd9de94a)
2019-06-08 01:15:31 -04:00
nyanloutre
6c3826d1c9 mautrix-telegram: 0.5.1 -> 0.5.2
(cherry picked from commit 024c1c3d2a)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-06-07 21:52:23 +02:00
nyanloutre
2b67378ee3 pythonPackages.mautrix-appservice: 0.3.8 -> 0.3.10.dev1
(cherry picked from commit dacad9860b)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-06-07 21:52:01 +02:00
Peter Simons
0563e6c907 esniper: update to latest git revision "Version_2_35_0-15-g91d2665"
The latest release no longer works.

(cherry picked from commit 3a64e98747)
2019-06-07 15:44:13 +02:00
Franz Pletz
4f2244c003 Merge pull request #62818 from johanot/kubernetes-1.13.7
kubernetes: 1.13.6 -> 1.13.7 (CVE-2019-11245)
2019-06-07 11:27:54 +00:00
Andreas Rammhold
5c0f5759ba Merge pull request #62745 from ivan/chromium-75.0.3770.80-backport
[19.03] chromium: 74.0.3729.157 -> 75.0.3770.80 (backport)
2019-06-07 10:46:51 +02:00
Johan Thomsen
2ce667c51d kubernetes: 1.13.6 -> 1.13.7 2019-06-07 10:30:03 +02:00
Franz Pletz
538639a55c pam_u2f: 1.0.8 -> 1.0.9
Fixes CVE-2019-12209 & CVE-2019-12210.

https://developers.yubico.com/pam-u2f/Release_Notes.html
(cherry picked from commit e7a0328c53)
2019-06-07 01:19:18 +02:00
Franz Pletz
8bd37df625 libressl_2_7: remove, not maintained anymore
Stable LibreSSL releases are supported one year after their OpenBSD release.
OpenBSD 6.3 with this branch was released on 2018-04-01.

(cherry picked from commit cea163252a)
2019-06-07 01:19:18 +02:00
Izorkin
ec84251ca0 libressl_2_9: 2.9.1 -> 2.9.2
(cherry picked from commit 67709c3c1b)
2019-06-07 01:19:17 +02:00
Ruud van Asseldonk
ead4b2bf26 libressl: ensure we can link against libtls
Without setting BUILD_SHARED_LIBS, the package would build file, but
when linking it into acme-client or nginx, I got the following error:

    libressl-2.9.1/lib/libtls.a(tls.c.o): undefined reference to symbol 'pthread_once@@GLIBC_2.2.5'
    binutils-2.31.1/bin/ld: glibc-2.27/lib/libpthread.so.0: error adding symbols: DSO missing from command line
    collect2: error: ld returned 1 exit status

After looking at the CMakeLists.txt in libressl/tls, I noticed the
BUILD_SHARED_LIBS option, and setting it resolves the linking error.

(cherry picked from commit 5f594be463)
2019-06-07 01:19:17 +02:00
Ruud van Asseldonk
289eeaf86a libressl: build with cmake
LibreSSL 2.9.1 no longer builds with the default autotools configuration.
When I searched for the error, I noticed that Buildroot ran into the
same issue, and they resolved the problem by building with CMake rather
than autotools. [1] I followed the same approach here.

[1]: e783d60473

(cherry picked from commit 8c7cde5df2)
2019-06-07 01:19:16 +02:00
Ruud van Asseldonk
e7885e44d2 libressl_2_9: 2.9.0 -> 2.9.1
This new version does not build as-is, it will need to be patched.

(cherry picked from commit 3415872fe4)
2019-06-07 01:19:11 +02:00
worldofpeace
0c7ceecdb8 pantheon.wingpanel: 2.2.4 -> 2.2.5
https://github.com/elementary/wingpanel/releases/tag/2.2.5
(cherry picked from commit cf96c40c14)
2019-06-06 18:25:36 -04:00
worldofpeace
71b879db78 pantheon.elementary-terminal: 5.3.4 -> 5.3.5
https://github.com/elementary/terminal/releases/tag/5.3.5
(cherry picked from commit 086d7696c5)
2019-06-06 18:25:32 -04:00
Edmund Wu
e9c812e477 vscode: 1.34.0 -> 1.35.0
(cherry picked from commit 7e0b2a66c7)
2019-06-06 16:19:01 -04:00
Edmund Wu
cc4ff6dee1 vscode: 1.33.1 -> 1.34.0
(cherry picked from commit d0e2c8ae27)
2019-06-06 16:18:58 -04:00
Edmund Wu
7e76488bbe vscodium: 1.33.1 -> 1.34.0
(cherry picked from commit d3e5fc1bfc)
2019-06-06 16:18:55 -04:00
Stanislas
96e952e4f0 vscodium: init at 1.33.1 (#60423)
(cherry picked from commit e4b146b125)
2019-06-06 16:18:53 -04:00
Edmund Wu
db269657f0 vscode: patch proper executable
(cherry picked from commit f8eed03044)
2019-06-06 16:18:50 -04:00
Jörg Thalheim
4155736d90 vscode: check if substitution succeeded
Co-Authored-By: Synthetica9 <git@hilhorst.be>
(cherry picked from commit bdb497f2d7)
2019-06-06 16:18:47 -04:00
Patrick Hilhorst
4216c65796 vscode: add Synthetica as maintainer
(cherry picked from commit 42584ba5b2)
2019-06-06 16:18:44 -04:00
Patrick Hilhorst
da0e2045f7 vscode: use absolute predetermined path instead of heuristic
Fixes #59725

(cherry picked from commit f9d9c61018)
2019-06-06 16:18:41 -04:00
Linus Heckemann
00322ccb73 Merge pull request #61474 from lheckemann/bcc-llvm7
linuxPackages.bcc: use llvm 7.x
2019-06-06 18:28:55 +02:00
Vladimír Čunát
df1598eb6a python*Packages.PyICU: switch patch URL
... to one that works and should keep working over long term.

(cherry picked from commit a94f0c68c7)
2019-06-06 15:43:51 +02:00
Daniël de Kok
09d1200056 dockerTools.buildLayeredImage: restore layer sharing
PR #58431 added /nix/store to each layer.tar. However, the timestamp was
not explicitly set while adding /nix and /nix/store to the archive. This
resulted in different SHA256 hashes of layer.tar between image builds.

This change sets time and owner when tar'ing /nix/store.

(cherry picked from commit d7f3186b48)
2019-06-06 15:02:52 +02:00
WilliButz
f2c1816136 grafana: 6.2.1 -> 6.2.2
(cherry picked from commit 27f3d7ae74)
2019-06-06 12:59:34 +02:00
Ivan Kozik
750db02111 chromium: 74.0.3729.157 -> 75.0.3770.80
CVE-2019-5828 CVE-2019-5829 CVE-2019-5830 CVE-2019-5831
CVE-2019-5832 CVE-2019-5833 CVE-2019-5834 CVE-2019-5835
CVE-2019-5836 CVE-2019-5837 CVE-2019-5838 CVE-2019-5839
CVE-2019-5840

Update a patch for Python 3, fixes #62347.

Update a GN arg to fix this warning:

warning: The GN arg 'remove_webcore_debug_symbols' is deprecated and
warning: will be removed April 15, 2019. Please change your args.gn
warning: to use 'blink_symbol_level = 0'. https://crbug.com/943869
2019-06-05 23:37:02 +00:00
talyz
17ebcb4b19 firefox-wayland: Add missing dependency libglvnd (libEGL)
Firefox running in wayland mode is unable to find and load
libEGL.so (and says so on stdout). This puts it in "basic"
mode (unaccelerated graphics) and disables WebGL. Fix this by adding
libglvnd to the LD_LIBRARY_PATH.

(cherry picked from commit ae2778c9e3)
2019-06-06 01:32:31 +02:00
Vladimír Čunát
e95bbcf5f8 vim_configurable: also apply the security patch 2019-06-05 22:11:17 +02:00
Tim Steinbach
b2ec3b6db2 linux: 5.1.6 -> 5.1.7 2019-06-05 09:31:21 -04:00
Tim Steinbach
a00704249a linux: 5.0.20 -> 5.0.21 2019-06-05 09:31:20 -04:00
Tim Steinbach
b1c42af738 linux: 4.19.47 -> 4.19.48 2019-06-05 09:31:20 -04:00
Andreas Rammhold
0d62805dbf Merge pull request #62713 from samueldr/stable/nvim-vim-ace
vim/neovim: Backports fix for ACE
2019-06-05 11:31:23 +02:00
Charles Strahan
1a27474d47 dropbox: fix tray menu with StatusNotifierItem trays
If dropbox can't load libappindicator, it will fallback to using the old
xembed protocol. If you (or your Desktop Environment) are running
something like KDE's XEmbed SNI Proxy, then you'll at least see an icon,
but clicking the icon won't give you menu.

Adding libappindicator to the env allows dropbox to fully integrate with
contemporary status trays, while still falling back to xembed if the
required DBus service is not present.

(cherry picked from commit 8f9a2f1358)
2019-06-04 22:46:22 -04:00
Samuel Dionne-Riel
eeb388e6b4 neovim: backports ACE patch from 0.3.6 2019-06-04 22:42:55 -04:00
Samuel Dionne-Riel
43264b1a74 vim: backports ACE patch from 8.1.1365 2019-06-04 22:42:06 -04:00
SLNOS
a46f286983 firefoxPackages.tor-browser: 8.0.9 -> 8.5.0
Actually, more like -> 8.5.0.1 as this version is made against the
branch with the pending fixup patch applied.

(cherry picked from commit c4962cd506)
2019-06-04 14:31:35 +02:00
Peter Simons
06602f4bc7 ghc: update 8.6.5-rc1 to 8.6.5
(cherry picked from commit ceb9440dfb)
Signed-off-by: Domen Kožar <domen@dev.si>
2019-06-03 23:00:08 +02:00
Peter Simons
834dfa6ff3 ghc: add release candidate for 8.6.5 and a corresponding package set
(cherry picked from commit 66c25cff94)
Signed-off-by: Domen Kožar <domen@dev.si>
2019-06-03 23:00:08 +02:00
pacien
5d44def4d7 matrix-synapse: 0.99.5.1 -> 0.99.5.2
(cherry picked from commit 435685942b)
2019-06-03 21:11:33 +02:00
Peter Hoeg
129cd2ae2f matrix-synapse: 0.95.5 -> 0.95.5.1
This version is needed for compatibility with 1.0.0 and the new v4 rooms.

Also, enable systemd support based on host OS.

(cherry picked from commit adddf5492b)
2019-06-03 21:11:25 +02:00
Chris Hodapp
a0e9a22419 gzdoom: Fix wrong fluidsynth version
(cherry picked from commit cbb4aca341)
2019-06-03 16:48:25 +01:00
Jörg Thalheim
1d5d94d4be skypeforlinux: 8.32.0.44 -> 8.45.0.41 [backport 19.03] (#62604)
skypeforlinux: 8.32.0.44 -> 8.45.0.41 [backport 19.03]
2019-06-03 16:20:48 +01:00
R. RyanTM
0c49758227 yed: 3.18.2 -> 3.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/yed/versions

(cherry picked from commit 69d110eeb5)
2019-06-03 17:56:06 +03:00
R. RyanTM
229c8609bc skypeforlinux: 8.44.0.40 -> 8.45.0.41
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/skypeforlinux/versions

(cherry picked from commit dcbb041636)
2019-06-03 13:26:52 +01:00
Chris Rendle-Short
bcb7a67497 skypeforlinux: 8.42.76.54 -> 8.44.0.40
Note that the supplied .desktop file has changed, so `postFixup` has
been tweaked accordingly.

(cherry picked from commit b5770c0f77)
2019-06-03 13:26:48 +01:00
Ryan Mulligan
3fa4c9046c skypeforlinux: add missing dynamically linked library at-spi2-atk
The error message fixed was:

./result/bin/skypeforlinux: error while loading shared libraries:
libatk-bridge-2.0.so.0: cannot open shared object file: No such file
or directory

(cherry picked from commit 6cfb8cf9ef)
2019-06-03 13:26:44 +01:00
R. RyanTM
6433d7bddd skypeforlinux: 8.34.0.78 -> 8.42.76.54
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/skypeforlinux/versions

(cherry picked from commit 1a714f16a4)
2019-06-03 13:26:37 +01:00
Emmanuel Rosa
c5cf3b2200 skypeforlinux: 8.32.0.44 -> 8.34.0.78
(cherry picked from commit dc60b62b2a)
2019-06-03 13:26:32 +01:00
Lorenzo Manacorda
0a99c65648 paperkey: use HTTPS
(cherry picked from commit 43a65d7b7a)
2019-06-03 13:19:40 +01:00
Jörg Thalheim
606306e0ea Merge pull request #62483 from taku0/adoptopenjdk-bin-11.0.3-fix-aarch64-hash
[19.03] adoptopenjdk-bin: Update source hashes for aarch64 (backport)
2019-06-02 09:28:33 +01:00
Daniel Schaefer
e4c4a394e8 adoptopenjdk-bin: Update source hashes for aarch64
Seems like they replaced the release file.
Updated with
pkgs/development/compilers/adoptopenjdk-bin/generate-sources.py
so should be reasonably safe.

(cherry picked from commit 069e1a7402)

aarch64 build is broken. See #62148.
2019-06-02 16:55:34 +09:00
Daniel Schaefer
3440ef2958 adoptopenjdk-jre-bin: Update source hashes for aarch64
Seems like they replaced the release file.
Updated with
pkgs/development/compilers/adoptopenjdk-bin/generate-sources.py
so should be reasonably safe.

(cherry picked from commit b67f792793)

aarch64 build is broken. See #62148.
2019-06-02 16:54:36 +09:00
Josef Kemetmüller
a0b7a7913c gcovr: Add alias to pythonPackages.gcovr
Since gcovr is most likely to be used as a script instead of a library,
we provide an alias to python3Packages.gcovr. We still keep
python2/3Packages.gcovr in case somebody really wants to import it as a
library, which can not entirely be ruled out.

(cherry picked from commit f10b0c6f8c)
2019-06-01 11:39:25 -04:00
Josef Kemetmüller
b50c2a82aa pythonPackages.gcovr: Fixup homepage
(cherry picked from commit f13fdf4b1d)
2019-06-01 11:39:21 -04:00
Josef Kemetmüller
c23891f49d pythonPackages.gcovr: Fix build
(cherry picked from commit 5e2ac86e5b)
2019-06-01 11:39:18 -04:00
Graham Christensen
fb1e7436dd Revert "wireguard: restart on failure"
This reverts commit ced7cfc025.

See: https://github.com/NixOS/nixpkgs/pull/62325
2019-06-01 10:41:09 -04:00
Graham Christensen
e012bfe5d0 wireguard-tools: 0.0.20190531 -> 0.0.20190601
(cherry picked from commit 14c352b527)
2019-06-01 10:40:45 -04:00
Graham Christensen
36e30c9648 wireguard: 0.0.20190406 -> 0.0.20190531
(cherry picked from commit 29eb4bcdb8)
2019-06-01 10:40:42 -04:00
Elis Hirwing
93bc1abdec Merge pull request #62294 from etu/gitea-upgrade-1903
[19.03] gitea: 1.8.1 -> 1.8.2
2019-06-01 15:54:50 +02:00
Franz Pletz
d4c38b6667 Merge pull request #62291 from etu/php-upgrades-1903
[19.03] php: 7.1.29 -> 7.1.30, 7.2.18 -> 7.2.19, 7.3.5 -> 7.3.6
2019-06-01 13:43:34 +00:00
Michael Weiss
1f91ccf85a Merge pull request #62384 from primeos/signal-desktop-backport
[19.03] signal-desktop: 1.25.0 -> 1.25.1 (backport)
2019-06-01 15:05:36 +02:00
Michael Weiss
52210d67e8 signal-desktop: 1.25.0 -> 1.25.1
(cherry picked from commit 87bb9234ab)
2019-06-01 14:15:03 +02:00
Michael Weiss
8e665ac720 Merge pull request #62328 from primeos/signal-desktop-backport
[19.03] signal-desktop: 1.24.1 -> 1.25.0 (backport)
2019-05-31 21:41:32 +02:00
Michael Weiss
112d9858af signal-desktop: 1.24.1 -> 1.25.0
(cherry picked from commit 37d232fb5f)
2019-05-31 21:22:01 +02:00
Tim Steinbach
fddecf6929 linux: 5.1.5 -> 5.1.6 2019-05-31 11:01:08 -04:00
Tim Steinbach
a179c25031 linux: 5.0.19 -> 5.0.20 2019-05-31 11:01:07 -04:00
Tim Steinbach
7b561ecdc3 linux: 4.9.179 -> 4.9.180 2019-05-31 11:01:07 -04:00
Tim Steinbach
841c013280 linux: 4.19.46 -> 4.19.47 2019-05-31 11:01:06 -04:00
Tim Steinbach
7f600b248b linux: 4.14.122 -> 4.14.123 2019-05-31 11:01:06 -04:00
Elis Hirwing
0bb039bbb0 gitea: 1.8.1 -> 1.8.2
Changelog: https://github.com/go-gitea/gitea/releases/tag/v1.8.2
(cherry picked from commit aa1ca7b972)
2019-05-31 10:48:38 +02:00
Elis Hirwing
3d2d895900 php73: 7.3.5 -> 7.3.6
Changelog: https://php.net/index.php#id2019-05-30-1
(cherry picked from commit 10deca4645)
2019-05-31 10:35:10 +02:00
Elis Hirwing
dc6e06a56c 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:34:56 +02:00
Elis Hirwing
fc3b947d4a 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:34:42 +02:00
Yarny0
55df3fe5f3 nixos/printing: fix CUPS SetEnv directive placement
With CUPS v2.3b5, the configuration directive `SetEnv`
moved from `cupsd.conf` to `cups-files.conf`.  See also
d47f6aec43 .

We have to follow up as `SetEnv` is now ignored in `cupsd.conf`.
Without this, executables called by cups
can't find other executables they depend on,
like `gs` or `perl`.

(cherry picked from commit 631c71da83)
2019-05-30 16:28:28 -04:00
Jörg Thalheim
50d5d73e22 Merge pull request #62222 from Mic92/zfs
zfsUnstable: 0.8.0-rc5 -> 0.8.0 [19.03 backport]
2019-05-30 07:39:29 +01:00
Ivan Jager
dc49c5ed3b zfsUnstable: 0.8.0-rc5 -> 0.8.0
Technically, this is a stable release, but it seems
prudent to test as zfsUnstable before upgrading zfsStable.

(cherry picked from commit 0c42941997)
2019-05-29 16:28:25 +01:00
WilliButz
89e6170b75 grafana: 6.2.0 -> 6.2.1
(cherry picked from commit 129a77eb1a)
2019-05-29 17:10:02 +02:00
Simon Lackerbauer
7113368829 atlassian-crowd: 3.4.3 -> 3.4.4
(cherry picked from commit 301c7a158a)
2019-05-29 17:09:53 +02:00
Jörg Thalheim
e8cc0692fc sysdig: 0.25 -> 0.26.1
(cherry picked from commit 16ea5a8ca3b90d48a246a926b624ff0b92724249)
(cherry picked from commit 101b2ff117)
2019-05-29 09:24:59 +01:00
Terje Larsen
0bb60dbb3f linuxPackages.sysdig: 0.24.2 -> 0.25
(cherry picked from commit 9e3fb456e3)
2019-05-29 09:24:54 +01:00
Robert Schütz
3651671291 spectre-meltdown-checker: 0.41 -> 0.42
(cherry picked from commit 6bed56dafc)
2019-05-28 20:41:14 +02:00
R. RyanTM
b23f07c1c7 vocal: 2.4.0 -> 2.4.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/vocal/versions

(cherry picked from commit 2c4c5a316d)
2019-05-28 12:43:45 -04:00
worldofpeace
f7c5427294 vocal: cleanup
(cherry picked from commit 991f77b19f)
2019-05-28 12:43:42 -04:00
Jon Banafato
d8b48bc106 vocal: 2.3.0 -> 2.4.0
Vocal has a new release featuring a number of bug fixes and new
features. See the full changelog at
https://github.com/needle-and-thread/vocal/releases/tag/2.4.0.

(cherry picked from commit 9404900cc4)
2019-05-28 12:43:39 -04:00
Lancelot SIX
0728c3e026 qgis: 3.4.7 -> 3.4.8
(cherry picked from commit 56835a890f)
2019-05-28 09:26:51 +02:00
R. RyanTM
f197f57bd3 heimdal: 7.5.0 -> 7.6.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/heimdal/versions

(cherry picked from commit 623d7c046e)
2019-05-28 03:14:34 +02:00
Dmitry Geurkov
1bc317d08a rtl8192eu: 4.4.1 -> 4.4.1.20190319 (#61195)
(cherry picked from commit 7e3dc85252)
2019-05-27 19:02:41 -04:00
Jonas Beyer
e2883c3162 rtl8821au: update for Linux 5.0
(cherry picked from commit 0778b2c9ea)

cc #60072
2019-05-27 17:09:30 -04:00
Bas van Dijk
89ec8c968a Merge pull request #62123 from basvandijk/terraform-provider-elasticsearch-0.6.0-release-19.03
Backport "terraform-provider-elasticsearch: init at 0.6.0" to release-19.03
2019-05-27 19:34:41 +02:00
aszlig
8e46cb3e26 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:20:47 +02:00
Tristan Helmich
866d7ff5c3 intel-ocl: fix source URL (#62097)
(cherry picked from commit 69796ba25d)
2019-05-27 19:06:46 +02:00
Bas van Dijk
3c389b8c8d terraform-provider-elasticsearch: init at 0.6.0
(cherry picked from commit d19b0b2ddf)
2019-05-27 17:54:27 +02:00
Florian Klink
c8124c1215 linuxPackages.nvidia_x11_legacy390: use patches from archlinux
Those seem to have gotten outdated, and don't build on current kernels
anymore.

Reported-In: https://github.com/NixOS/nixpkgs/issues/62012
(cherry picked from commit 00263c9306)
2019-05-27 15:10:58 +02:00
Maximilian Güntner
3769819871 matrix-synapse: 0.99.4 -> 0.99.5
(cherry picked from commit cff544bc99)
2019-05-26 22:08:05 +02:00
Tim Steinbach
f1090dc547 linux: 5.1.4 -> 5.1.5 2019-05-26 10:12:25 -04:00
Tim Steinbach
dc3de873e3 linux: 5.0.18 -> 5.0.19 2019-05-26 10:12:24 -04:00
Tim Steinbach
6853ab92bb linux: 4.9.178 -> 4.9.179 2019-05-26 10:12:24 -04:00
Tim Steinbach
e699e99864 linux: 4.19.45 -> 4.19.46 2019-05-26 10:12:23 -04:00
Tim Steinbach
9c01a0a1df linux: 4.14.121 -> 4.14.122 2019-05-26 10:12:23 -04:00
Joachim Fasting
f4c3482308 tor-browser-bundle-bin: 8.0.9 -> 8.5
(cherry picked from commit a9643e18af)
2019-05-26 08:17:34 +02:00
Corbin
41c8f218b8 services.tahoe: Use 1.13-compatible invocations.
(cherry picked from commit 00d6b4cbc7)
2019-05-25 21:54:08 +02:00
Corbin
2d44a7a8f4 services.tahoe: Use networking.hostName.
Previously we used nothing, leading to #25273.

Big thanks to @t184256 for developing and testing this fix.

Fixes #25273.

(cherry picked from commit fa6ad02951)
2019-05-25 21:54:02 +02:00
Vladimír Čunát
b081cbc4c8 Merge #62063: evince: patch CVE-2019-11459
(cherry picked from commit bb2a49d1e7)
backend/tiff/ hasn't seen any relevant changes in-between,
so I believe the backport should still be fairly safe.
2019-05-25 20:07:25 +02:00
sjau
ced7cfc025 wireguard: restart on failure
As a oneshot service, if the startup failed it would never be attempted again.
This is problematic when peer's addresses require DNS. DNS may not be reliably available at
the time wireguard starts. Converting this to a simple service with Restart
and RestartAfter directives allows the service to be reattempted, but at
the cost of losing the oneshot semantics.

Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
(cherry picked from commit 1bff53cb84)
2019-05-25 17:46:15 +02:00
Gabriel Ebner
c82689085c Merge pull request #62024 from risicle/ris-libheif-CVE-2019-11471-r19.03
[r19.03] libheif: add patch for CVE-2019-11471
2019-05-25 10:13:03 +02:00
Florian Klink
f70e66cccd shairport-sync: set sysconfdir to /etc/
since 2.8.5, shairport-sync uses the directory path sysconfdir to
determine where to place the configuration file shairport-sync.conf.

This led to shairport-sync complaining at startup:
> configuration file name "/nix/store/i8gb0hsb2zczdl8g1h73pbcb952585l9-shairport-sync-3.2.2/etc/shairport-sync.conf" can not be resolved.

Looking for a configuration file there doesn't make much sense, as we'd
have to include configuration in the shairport-sync derivation itself.

By setting sysconfdir to /etc/, shairport-sync will try to read its
configuration from /etc/shairport-sync.conf, which is a more sane
default.

(cherry picked from commit de05f6f2226c42f9f1f3ee5ea9790254aef899bf)
2019-05-24 23:37:34 +02:00
Robert Scott
75f610938e libheif: add patch for CVE-2019-11471 2019-05-24 21:30:33 +01:00
Florian Klink
3efdf45dbd nixosTests.signal-desktop: add test
(cherry picked from commit 5695696664)
2019-05-24 13:59:48 +02:00
Andreas Rammhold
c574f7805b firefox-wrapper: stop creating new profiles when the binary path changes
With a recent change to firefox (that landed in 67) a new profile is
created whenever the install location changes. Since our install
location (the binary path) always changes when we do a new build it is
rather annoying.

Setting the environment variable `SNAP_NAME` to `firefox` is supposed to
workaround the issue.

related to #58923

Woarkound taken from 1ff8b6c3d8

cc @rail

(cherry picked from commit 082ed38cb1)
2019-05-24 13:18:06 +02:00
worldofpeace
0ab85f4d87 Merge pull request #61874 from dasJ/bp-icingaweb-etc
nixos/icingaweb2: Fix environment.etc assignment
2019-05-23 23:08:20 -04:00
worldofpeace
47286ca50e wingpanel-indicator-bluetooth: 2.1.2 -> 2.1.3
https://github.com/elementary/wingpanel-indicator-bluetooth/releases/tag/2.1.3
(cherry picked from commit 54a50114c7)
2019-05-23 22:32:18 -04:00
xrelkd
e1cd559f9b youtube-dl: 2019.05.11 -> 2019.05.20
(cherry picked from commit 075d79aab0)
2019-05-23 16:20:06 -04:00
Bas van Dijk
a59b6608f9 Merge pull request #61946 from basvandijk/terraform-0.12-release-19.03
Backport terraform-0.12 and 0.11.14 to release-19.03
2019-05-23 15:50:57 +02:00
Bas van Dijk
54a3408e7f terraform_0_12: 0.12.0-rc1 -> 0.12.0
(cherry picked from commit 8669561bde)
2019-05-23 14:59:24 +02:00
Bas van Dijk
ad6ba0e895 terraform_0_11: 0.11.13 -> 0.11.14
(cherry picked from commit 2bcc8de182)
2019-05-23 14:59:13 +02:00
zimbatm
75846175ca terraform_0_12: 0.12.0-beta1 -> 0.12.0-rc1
(cherry picked from commit 25c08476c1)
2019-05-23 14:59:01 +02:00
Wael Nasreddine
d13f83f4bf terraform_0_12: 0.12.0-alpha4 -> 0.12.0-beta1 (#56767)
(cherry picked from commit 4545ae5ee2)
2019-05-23 14:58:48 +02:00
R. RyanTM
4f65d66ffd python37Packages.djangorestframework: 3.9.2 -> 3.9.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.7-djangorestframework/versions

(cherry picked from commit 38af84ad52)
2019-05-23 11:34:31 +02:00
R. RyanTM
29024ce353 python37Packages.djangorestframework: 3.9.1 -> 3.9.2 (#57403)
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-djangorestframework/versions

(cherry picked from commit d6a86be197)
2019-05-23 11:34:19 +02:00
Lancelot SIX
78a2563323 python3Packages.django_2_2: init at 2.2.1
This introduces Django-2.2, the new LTR version of django.

For the time being, django-1.11 continues to be LTR in nixpkgs
django-2.2 is introduced to prepare the migration.

(cherry picked from commit d2de73f42c)
2019-05-23 11:32:41 +02:00
Renaud
72718be021 Merge pull request #61864 from fadenb/graylog_3.0.2_backport
[19.03] graylog: 3.0.1 -> 3.0.2
2019-05-23 10:03:43 +02:00
Tom Bereknyei
e4ee5b9160 openssl: fix CVE-2019-1543
Originally from https://github.com/NixOS/nixpkgs/pull/61827.

(cherry picked from commit aae4c114a4)
Fixes https://github.com/NixOS/nixpkgs/issues/58269.
2019-05-23 09:10:25 +02:00
Andreas Rammhold
3a3353953f Merge branch staging-19.03 into release-19.03 2019-05-22 21:15:42 +02:00
WilliButz
b57f51c55f grafana: 6.1.6 -> 6.2.0
(cherry picked from commit 3871b7610c)
2019-05-22 21:06:27 +02:00
Malte Brandy
29200f0517 nixos/nextcloud: Improve autoUpdateApps description string
(cherry picked from commit ab5926ba67)
2019-05-22 19:08:55 +02:00
Florian Klink
a45bc20803 signal-desktop: bumps for 19.03 (#61886)
[19.03] signal-desktop: 1.22.0 -> 1.24.1
2019-05-22 16:49:02 +02:00
Michael Weiss
bb2ec08e3e signal-desktop: 1.24.0 -> 1.24.1
(cherry picked from commit fab6d810b5)
2019-05-22 16:08:18 +02:00
Michael Weiss
f10dcdf0f7 signal-desktop: 1.23.2 -> 1.24.0
(cherry picked from commit e98c2c8101)
2019-05-22 16:08:18 +02:00
Michael Weiss
870ed5cf08 signal-desktop: 1.23.1 -> 1.23.2
(cherry picked from commit cbeea5918d)
2019-05-22 16:08:18 +02:00
Michael Weiss
f89692fc78 signal-desktop: 1.23.0 -> 1.23.1
(cherry picked from commit ff7d16fb33)
2019-05-22 16:08:18 +02:00
Michael Weiss
b9d9811bed signal-desktop: 1.22.0 -> 1.23.0
(cherry picked from commit 078de9ce49)
2019-05-22 16:08:17 +02:00
Tim Steinbach
51202d89c3 docker: 18.09.5 -> 18.09.6
(cherry picked from commit d35692126f)
2019-05-22 09:17:15 -04:00
Neil Mayhew
99e2104079 docker: 18.09.2 -> 18.09.5
(cherry picked from commit 48415a20b9)
2019-05-22 09:17:07 -04:00
Neil Mayhew
4a16c82f21 docker: make overridable
(cherry picked from commit f100ec7939)
2019-05-22 09:17:07 -04:00
Tim Steinbach
4ddd3e1574 linux: 5.1.3 -> 5.1.4 2019-05-22 09:04:52 -04:00
Tim Steinbach
cdb1958d30 linux: 5.0.17 -> 5.0.18 2019-05-22 09:04:52 -04:00
Tim Steinbach
317270908f linux: 4.9.177 -> 4.9.178 2019-05-22 09:04:52 -04:00
Tim Steinbach
de7691d92a linux: 4.19.44 -> 4.19.45 2019-05-22 09:04:51 -04:00
Tim Steinbach
f7165fe62e linux: 4.14.120 -> 4.14.121 2019-05-22 09:04:51 -04:00
Janne Heß
f0b1dd9095 nixos/icingaweb2: Fix environment.etc assignment
(cherry picked from commit 5fbf306760)
2019-05-22 13:01:53 +02:00
Tristan Helmich (omniIT)
8cc317ec76 graylog: 3.0.1 -> 3.0.2
(cherry picked from commit d537c4ce46)
Reason: The update fixes a bug with the handling of quoted PaloAlto
input values.
2019-05-22 07:44:04 +00:00
Will Dietz
23a3bda4da b612: 1.003 -> 1.008, new home
(cherry picked from commit a93eeaf873)
2019-05-21 15:02:57 -04:00
Andreas Rammhold
3fab4f7e02 Merge remote-tracking branch 'andir/19.03/firefox67' into staging-19.03 2019-05-21 17:27:02 +02:00
Andreas Rammhold
7636c3c0bf Merge branch release-19.03 into staging-19.03 2019-05-21 17:26:11 +02:00
Malte Brandy
246ebba4f3 nixos/nextcloud: Add options services.nextcloud.autoUpdateApps
nixos/nextcloud: Add documentation for nextcloud app installation and updates

nixos/nextcloud: Enable autoUpdateApps in nextcloud test

nixos/nextcloud: Fix typo in nixos/modules/services/web-apps/nextcloud.xml

Co-Authored-By: Florian Klink <flokli@flokli.de>

nixos/nextcloud: Escape html in option description

nixos/nextcloud: Fix autoUpdateApps URL in documentation.

Co-Authored-By: Florian Klink <flokli@flokli.de>
(cherry picked from commit 49f05a1760)
2019-05-21 17:24:03 +02:00
John Ericson
9e20998c09 Merge pull request #61762 from Lassulus/openvpn-backport
[19.03] openvpn backport
2019-05-21 09:03:09 -04:00
Vladimír Čunát
f4ae91fb56 nixos/release-notes: mention length of release support
I took the date for 19.03 from the announcement:
https://discourse.nixos.org/t/nixos-19-03-release/2652

(cherry picked from commit dd917dc71a - PR #61700)
2019-05-21 12:08:23 +02:00
Florian Klink
642b36a6bc nextcloud: 15.0.7 -> 15.0.8
(cherry picked from commit 4bc40350ae)
2019-05-21 09:07:41 +02:00
Andreas Rammhold
c7ef4d52a7 firefox-esr-60: 60.6.3esr -> 60.7.0esr
(cherry picked from commit e57d93af0c)
2019-05-21 07:57:47 +02:00
Andreas Rammhold
ce2b6c3e4c firefox-bin: 66.0.5 -> 67.0
(cherry picked from commit 140096b91f)
2019-05-21 07:53:03 +02:00
lassulus
0f7dead98c openvpn: fix pkcs11 helper
(cherry picked from commit acc3eec8da)
2019-05-20 22:02:07 +02:00
Peter Hoeg
72649d3bd4 openvpn: support for updating systemd-resolved with DNS servers
(cherry picked from commit 36c344ac00)
2019-05-20 22:02:03 +02:00
R. RyanTM
3fd11c3cd7 openvpn: 2.4.6 -> 2.4.7
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/openvpn/versions

(cherry picked from commit ddc5666b28)
2019-05-20 21:59:29 +02:00
Andreas Rammhold
a67b519e55 firefox: 66.0.5 -> 67.0
(cherry picked from commit f353c0e958)
2019-05-20 21:26:49 +02:00
Andreas Rammhold
11ba7bd328 firefox: prepare for firefox 67.0 release
Firefox now requires `llvm-objdump` during the build phase.

(cherry picked from commit 7f65d06c4f)
2019-05-20 21:26:48 +02:00
c0bw3b
a71c6bcaef sqlite: 3.27.2 -> 3.28.0
Changelog: https://www.sqlite.org/releaselog/3_28_0.html

Security: includes fixes for CVE-2019-9936 and CVE-2019-9937
(cherry picked from commit fba13b5253)
2019-05-20 21:26:47 +02:00
Will Dietz
e6d6467933 sqlite: 3.27.1 -> 3.27.2
(cherry picked from commit f2f90f4cef)
2019-05-20 21:26:46 +02:00
Will Dietz
e0d925ae67 sqlite{,-analyzer}: 3.26.0 -> 3.27.1
https://sqlite.org/releaselog/3_27_1.html
https://sqlite.org/releaselog/3_27_0.html
(cherry picked from commit 148d8392c0)
2019-05-20 21:26:45 +02:00
R. RyanTM
5cfb484abe nspr: 4.20 -> 4.21 (#57335)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/nspr/versions

(cherry picked from commit 97fe2b0f95)
2019-05-20 21:26:44 +02:00
Graham Christensen
8500dd4a11 nspr: make reproducible
(cherry picked from commit 885d1dfe60)
2019-05-20 21:26:43 +02:00
R. RyanTM
475185cc89 rust-cbindgen: 0.8.0 -> 0.8.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/rust-cbindgen/versions

(cherry picked from commit d88289596f)
2019-05-20 21:26:37 +02:00
Linus Heckemann
2033835b5f linuxPackages.bcc: use llvm 7.x
This fixes a number of the tools on aarch64.
2019-05-20 16:36:56 +02:00
Vladimír Čunát
cdec6217d9 Merge #61715: linux_hardkernel_4_14: 4.14.102-156 -> 4.14.120-160
This contains fixes for the recent MDS vulnerabilities in Intel processors.

(cherry picked from commit 1741386f85)
2019-05-20 09:08:25 +02:00
samsonan-it
3366e982e8 Merge #60201: neo.map: fix URL
Current URL is no longer available.

(cherry picked from commit 6e100ae88f)
Close #61698.
2019-05-19 10:20:55 +02:00
worldofpeace
705986f5a9 Merge pull request #61692 from rycee/vscode-haskell
Backport vscode haskell extensions to 19.03
2019-05-18 20:38:59 -04:00
Robert Hensing
4e57c5e6f0 vscode-extensions.alanz.vscode-hie-server: init at 0.0.25
(cherry picked from commit 340e21473f)
2019-05-19 01:56:53 +02:00
Robert Hensing
7a4d1d0089 vscode-extensions.justusadam.language-haskell: init at 2.5.0
(cherry picked from commit 2864f5a967)
2019-05-19 01:56:31 +02:00
Robert Scott
cff7364526 libsass: add patch for CVE-2018-19827 (PR #61673)
vcunat switched to upstream commit that's reachable from master.

(cherry picked from commit f9f3d6b210)
2019-05-18 14:17:53 +02:00
Tristan Helmich (omniIT)
ccd94f5635 packer: 1.3.3 -> 1.4.0
(cherry picked from commit 9388ca29fc)
2019-05-18 10:38:20 +02:00
xbreak
d83533fdc6 sloccount: Wrap shell scripts
This fixes the issue that when `sloccount` is invoked it would fail
due to missing PATH to companion scripts.

(cherry picked from commit d54ea3e42b)
2019-05-18 10:31:56 +02:00
Aaron Andersen
51cc0ed146 devede: fix runtime error
(cherry picked from commit 619492c03e)
2019-05-17 22:12:22 -04:00
worldofpeace
de07276108 gnome3.mutter328: 3.28.3 -> 3.28.4
Changes since we pulled in everything from gnome-3.28 branch:
4af8d9d475...3.28.4

https://gitlab.gnome.org/GNOME/mutter/blob/3.28.4/NEWS
(cherry picked from commit 1a7c1989e9)
2019-05-17 17:39:58 -04:00
Will Dietz
c86f09d2d9 electrum: 3.3.5 -> 3.3.6
https://github.com/spesmilo/electrum/blob/3.3.6/RELEASE-NOTES
(cherry picked from commit 44d9383483)
2019-05-17 20:12:56 +02:00
Joachim Fasting
511d39d3f8 nixos/tests/hardened: check that apparmor is properly loaded
(cherry picked from commit 92d41f83fd)
2019-05-17 20:12:53 +02:00
Joachim Fasting
b905309bbd nixos/apparmor: ensure that apparmor is selected at boot
Otherwise we're subject to whatever defaults were selected at kernel build
time.

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

(cherry picked from commit 68f5d1fa4c)
2019-05-17 20:12:52 +02:00
Joachim Fasting
832bb7688d nixos/apparmor: order before sysinit.target
Otherwise, profiles may be loaded way too late in the init process.

(cherry picked from commit f824dad19a)
2019-05-17 20:12:51 +02:00
Andreas Rammhold
a07d80be01 fix two typos in "substituteInPlace" that should never landed
I am not sure how these two could ever work but at least the typo is
fixed now. They still fail to compile but that is a different issue.

(cherry picked from commit 48b9a4a4a5)
2019-05-17 20:12:50 +02:00
Renaud
b41a29a433 Merge pull request #61635 from c0bw3b/sec/zombieload
[19.03] spectre-meltdown-checker: 0.40 -> 0.41
2019-05-17 19:41:15 +02:00
Will Dietz
8f0d4052f7 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:35:27 +02:00
Bjørn Forsman
db85ded4aa saleae-logic: 1.2.28 -> 1.2.18
Yes, this is a downgrade. The .28 version is beta software, whereas .18
is the latest stable version.

(cherry picked from commit 03398be1b9)
2019-05-17 15:35:26 +02:00
Rostyslav Kurylo
38c2aacebe saleae-logic: 1.2.10 -> 1.2.28
The older 1.2.10 version does not support new Saleae devices well.

i686 platform was removed because Saleae stopped providing 32-bit
builds since 1.2.11.

(cherry picked from commit 91872f537c)
2019-05-17 15:35:26 +02:00
Markus Kowalewski
ec5cbc24de yandex-disk: update i386 hash for 0.1.5.1010
(cherry picked from commit 636042d265)
2019-05-17 13:17:28 +02:00
R. RyanTM
964a5f3c2a yandex-disk: 0.1.5.978 -> 0.1.5.1010
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/yandex-disk/versions

(cherry picked from commit ba54c96593)
2019-05-17 13:17:12 +02:00
worldofpeace
c478fe7f86 pantheon.wingpanel-applications-menu: 2.4.2 -> 2.4.3
Now finally builds with Meson, where it was available
since last release but needed several fixes to be release quality
IMHO.

Also dropped xdg patch since because meson [0].

https://github.com/elementary/applications-menu/releases/tag/2.4.3

[0]: 58cd96a4cc

(cherry picked from commit 4ce159c41d)
2019-05-16 19:13:10 -04:00
worldofpeace
d04b5fc164 pantheon.elementary-photos: 2.6.3 -> 2.6.4
Patch in tree is removed because it's included upstream.

https://github.com/elementary/photos/releases/tag/2.6.4
(cherry picked from commit 632591818a)
2019-05-16 19:13:05 -04:00
Ivan Kozik
19e114bf4b chromium: 74.0.3729.108 -> 74.0.3729.157
Fixes a security bug with no CVE at this time:
https://chromereleases.googleblog.com/2019/05/stable-channel-update-for-desktop.html

(cherry picked from commit 2db1a06136)
2019-05-16 21:01:41 +02:00
Tim Steinbach
f107c5b008 linux: 5.1.2 -> 5.1.3 2019-05-16 14:41:04 -04:00
Tim Steinbach
9c19ae0c99 linux: 5.0.16 -> 5.0.17 2019-05-16 14:41:03 -04:00
Tim Steinbach
cb10e77b8b linux: 4.9.176 -> 4.9.177 2019-05-16 14:41:03 -04:00
Tim Steinbach
b339647ad4 linux: 4.4.179 -> 4.4.180 2019-05-16 14:41:03 -04:00
Tim Steinbach
ee10e467b8 linux: 4.19.43 -> 4.19.44 2019-05-16 14:41:03 -04:00
Tim Steinbach
75e324e718 linux: 4.14.119 -> 4.14.120 2019-05-16 14:41:02 -04:00
worldofpeace
c21f08bfed Merge pull request #61542 from nixbitcoin/backport/1903/rednose
[19.03] pythonPackages.rednose: disable test suite
2019-05-15 20:01:03 -04:00
nixbitcoin
921d40dc75 pythonPackages.rednose: disable test suite
python test suite stalls when building rednose. The test suite had previously been disabled for Darwin because of a similar error. This commit disables it for all systems using python 2.7.

(cherry picked from commit 6600115a03b3046f401e464d101ef8dc13dc048c)

Reason: Building nixops without substitutes fails if the test suite stalls for rednose. This should be included in stable to prevent people building from release 19.03 from having stalled installations.
2019-05-15 19:59:57 -04:00
Will Dietz
efc84cb159 nasc: 0.5.2 -> 0.5.4
https://github.com/parnold-x/nasc/releases/tag/0.5.4
https://github.com/parnold-x/nasc/releases/tag/0.5.3
(cherry picked from commit 51202e96fa)
2019-05-15 19:32:29 -04:00
worldofpeace
c5a7d0beb1 nasc: 0.5.1 -> 0.5.2
Main improvment is that libqalculatenasc.so is now properly linked

Changelog: https://github.com/parnold-x/nasc/compare/0.5.1...0.5.2
(cherry picked from commit 0353967957)
2019-05-15 19:32:24 -04:00
Renaud
e497fc10e8 Merge pull request #61550 from c0bw3b/sec/1903/flash
flashplayer: 32.0.0.171 -> 32.0.0.192
2019-05-15 22:56:28 +02:00
taku0
45109de81e flashplayer: 32.0.0.171 -> 32.0.0.192
(cherry picked from commit 8be03860e4)
2019-05-15 21:58:01 +02:00
Renaud
08b14d4d36 Merge pull request #61476 from risicle/ris-k2pdfopt-leptonica-cve-r19.03
[r19.03] k2pdfopt: patch custom leptonica with security fixes
2019-05-15 18:23:51 +02:00
Austin Seipp
f5493bf614 Merge pull request #61514 from ggPeti/release-19.03
pg_partman: init at 4.1.0
2019-05-15 06:28:25 -05:00
Alyssa Ross
570811b1ca microcodeIntel: 20190312 -> 20190514
(cherry picked from commit 84cdfb8f31)
2019-05-15 08:19:44 +00:00
worldofpeace
68c8b687b7 pantheon.gala: 2019-02-09 -> 2019-05-14
Fixes notification settings being broken[0] and
many other things. See the changes[1]

[0]: https://github.com/elementary/switchboard-plug-notifications/issues/41
[1]: 1a96644c6a..3ae100da4b

(cherry picked from commit f797e8a30c)
2019-05-14 22:31:07 -04:00
Ambroz Bizjak
bfdb124045 kernel: Disable VirtualBox guest modules.
These break the modules from VirtualBox additions. Fixes issue https://github.com/NixOS/nixpkgs/issues/58127.

(cherry picked from commit c6934f347a)
2019-05-15 00:48:43 +02:00
Tim Steinbach
42f3827076 linux: 5.1.1 -> 5.1.2 2019-05-14 18:40:12 -04:00
Tim Steinbach
b8c3795a1c linux: 5.0.15 -> 5.0.16 2019-05-14 18:39:48 -04:00
Tim Steinbach
5847af45ae linux: 4.9.175 -> 4.9.176 2019-05-14 18:39:47 -04:00
Tim Steinbach
242fc8840a linux: 4.19.42 -> 4.19.43 2019-05-14 18:39:47 -04:00
Tim Steinbach
36132f123c linux: 4.14.118 -> 4.14.119 2019-05-14 18:39:46 -04:00
Peter Ferenczy
775addb670 maintainers: add ggpeti 2019-05-15 00:18:53 +02:00
Tor Hedin Brønner
9afcb0b727 gnome3.gnome-desktop: 3.30.2.1 -> 3.30.2.2 (#61496)
- Fix thumbnailer sandbox escape, CVE-2019-11460

closes #60836
2019-05-14 23:19:02 +02:00
Peter Ferenczy
d5079353a5 pg_partman: init at 4.1.0 2019-05-14 22:40:35 +02:00
Alexey Shmalko
4ed066fd40 Merge pull request #61465 from stefano-m/release-19.03
awesome: add optional gtk3 support (port to 19.03 branch)
2019-05-14 19:44:38 +03:00
Linus Heckemann
2d445885ad kernel/common-config: PREEMPT -> PREEMPT_VOLUNTARY
(sort of cherry picked from commit
e4c269813c)
PR #61162
2019-05-14 17:39:51 +02:00
rnhmjoj
625024654e procps: lower priority to solve collisions with coreutils
(cherry picked from commit 87bfe6e115)
2019-05-14 10:21:47 +02:00
rnhmjoj
f481d27800 systemd: lower priority to solve collisions with openresolv
(cherry picked from commit d16a24379a)
2019-05-14 10:21:47 +02:00
Matthew Bauer
fb328e2502 nixos/system-path.nix: add 3 to every priority
We can’t use lowPrio here because it erases the differences in
priority of the packages by setting it to a constant value. see this
comment for info:

https://github.com/NixOS/nixpkgs/issues/55886#issuecomment-464766877
(cherry picked from commit 6fc5ce2c4f)
2019-05-14 10:21:47 +02:00
Matthew Bauer
b382eec59a coreutils: set low priority
(cherry picked from commit fce294caab)
2019-05-14 10:21:47 +02:00
Matthew Bauer
a14185ea03 gnutar: set low priority
(cherry picked from commit 83254ec1af)
2019-05-14 10:21:47 +02:00
Matthew Bauer
238ba9ea0e bintools-wrapper: set low priority
(cherry picked from commit 9f6f223c18)
2019-05-14 10:21:47 +02:00
Matthew Bauer
1eaaf4ed4a unix-tools: set low priority
(cherry picked from commit 228f2ea6a7)
2019-05-14 10:21:47 +02:00
Matthew Bauer
ab28cfaac7 darwin.binutils: set low priority
(cherry picked from commit a4fbfe4217)
2019-05-14 10:21:47 +02:00
Matthew Bauer
6196b731a5 darwin.binutils: add myself as maintainer
(cherry picked from commit c5639650b8)
2019-05-14 10:21:47 +02:00
Frederik Rietdijk
1d8f4defaf Merge release-19.03 into staging-19.03 2019-05-14 10:08:54 +02:00
Mario Rodas
822243a9ab postgresql_11: 11.2 -> 11.3
(cherry picked from commit fa9015f511)
2019-05-14 09:56:51 +02:00
Mario Rodas
e9778d96f9 postgresql_10: 10.7 -> 10.8
(cherry picked from commit 34309d7373)
2019-05-14 09:56:51 +02:00
Mario Rodas
dbcb19faf0 postgresql_9_6: 9.6.12 -> 9.6.13
(cherry picked from commit 04cc838523)
2019-05-14 09:56:51 +02:00
Mario Rodas
81bd3bc582 postgresql_9_5: 9.5.16 -> 9.5.17
(cherry picked from commit 63f8f36c3d)
2019-05-14 09:56:50 +02:00
Mario Rodas
9c51f7cc26 postgresql_9_4: 9.4.21 -> 9.4.22
(cherry picked from commit e6cf849d8b)
2019-05-14 09:56:50 +02:00
Robert Scott
3a0628c323 k2pdfopt: patch custom leptonica with security fixes
this is what you get to inherit if you insist on old versions.

(cherry picked from commit a7b397295b)
2019-05-13 23:49:03 +01:00
worldofpeace
3adb08ffbf Merge pull request #61450 from alexeymuranov/backport-gdm_pam_fix-to-19.03
[19.03] Backport GDM PAM fix (cherry-picked from master)
2019-05-13 18:44:33 -04:00
Linus Heckemann
7cd2e4ebe8 netperf: remove libsmbios on non-x86
This fixes building on ARM systems.

(cherry picked from commit a94c9ad2de)
2019-05-14 00:18:11 +02:00
Linus Heckemann
a544eb453f libaudit: enable arm (including aarch64) support
(cherry picked from commit 972c0ca809)
2019-05-14 00:13:19 +02:00
Stefano Mazzucco
648cbeb36a awesome: add optional gtk3 support
Add optional gtk3 support to Awesome so that the `beautiful.gtk` module can be
used.

The `beautiful.gtk` uses `lgi` to obtain Gtk via gobject-introspect:

    return require('lgi').Gtk

Since the current build does not include the typelib files needed, the above
call fails.

It turns out that both `gtk3` and `atk` (Accessibility toolkit) are needed, so
this commit adds them as optional build inputs.

Setting `gtk3Support` to `true` e.g. in an overlay will make `beautiful.gtk`
work at the cost of an increased closure size (currently 99.6M vs 223.4M).

Fixes https://github.com/NixOS/nixpkgs/issues/60538
2019-05-13 20:59:17 +01:00
Roman Volosatovs
af657b78d4 kitty: symlink the deref binary
(cherry picked from commit 240fce7ba7)

cc #61369
2019-05-13 10:23:59 -04:00
Roman Volosatovs
8fd6e72c91 kitty: apply patch on Darwin for running as symlink
(cherry picked from commit 7da57081fe)

cc #61369
2019-05-13 10:23:48 -04:00
strager
620c95c002 kitty: support macOS (#56740)
Install the `kitty` command-line utility and the `kitty.app` macOS
application.

* Prefer libicns (png2icns) over Apple's non-free iconutil.
* Work around warnings from Apple headers by disabling -pedantic-errors
  and -Werror.
* Work around ld not support LLVM-LTO by disabling LTO.
* Make Kitty and glfw compile for macOS 10.11 (and macOS 10.10).

(cherry picked from commit 75aa8460ac)

cc #56740
2019-05-13 10:23:34 -04:00
Antoine Eiche
39d3dd40a4 dockerTools: Fix the layer order
The layer order was not correct when a parent image was used: parent
image layers were above the new created layer.

This commits simplifies the code related to layer ordering. In
particular, layers in `layer-list` are ordered from bottom-most to
top-most. This is also the order of layers in the `rootfs.diff_ids`
attribute of the image configuration.

(cherry picked from commit a5a5820048)
2019-05-13 15:31:59 +02:00
Antoine Eiche
bf8a0be4f1 nixos/tests/docker-tools: verify order of layers in stacked images
(cherry picked from commit 5ef1223f30)
2019-05-13 15:31:47 +02:00
Joachim F
d64a36a2e7 Merge pull request #61437 from joachifm/electrum-release-19.03
[Backport] Electrum bumps for 19.03
2019-05-13 11:45:24 +00:00
Joachim F
7ec6169b88 Merge pull request #61436 from joachifm/tor-browser-release-19.03
[Backport] Tor browser related stuff for 19.03
2019-05-13 11:45:13 +00:00
Alexander Kahl
65eacddf31 nixos/pam: Add GNOME keyring use_authtok directive to password group
(cherry picked from commit 56bd0110e7)
2019-05-13 13:42:11 +02:00
Alexander Kahl
6ceb13436f nixos/gdm: use provided PAM login configuration wherever possible
Fixes #21859

(cherry picked from commit 5b9895b1a0)
2019-05-13 13:42:11 +02:00
Izorkin
90be3405d9 zfsUnstable: 0.8.0-rc4 -> 0.8.0-rc5 2019-05-13 09:49:40 +01:00
Joachim Fasting
c2f6e4ac0b tor-browser-bundle-bin: meta.homepage is a regular string
(cherry picked from commit 7defc47944)
2019-05-13 08:48:50 +02:00
Joachim Fasting
3c5ddf363a tor-browser-bundle-bin: 8.0.8 -> 8.0.9
(cherry picked from commit 501c2c28a4)
2019-05-13 08:48:48 +02:00
Jan Malakhovski
30abdb8e38 tor-browser-bundle: inherit meta
(cherry picked from commit e975d058cd)
2019-05-13 08:48:47 +02:00
SLNOS
5726f09740 firefoxPackages.tor-browser: 8.0.8 -> 8.0.9
(cherry picked from commit 8b4d53168a)
2019-05-13 08:48:46 +02:00
SLNOS
7471a5cbea firefoxPackages.tor-browser: carry over more configureFlags from upstream
These are taken from `tor-browser-build.git` repository.

(cherry picked from commit ec4a7a02ca)
2019-05-13 08:48:46 +02:00
SLNOS
8d77a34ad4 firefoxPackages.tor-browser: 8.0.6 -> 8.0.8
(cherry picked from commit 6ed479de0c)
2019-05-13 08:48:45 +02:00
Will Dietz
2ee408d416 electrum: grab tests from github, but use signed sources
Not crazy about this solution, but seems better than
not running tests or ignoring upstream's signatures.

(cherry picked from commit 66493d7bff)
2019-05-13 08:47:33 +02:00
Will Dietz
e1d5e302df electrum: fixup Exec lines in .desktop
Not sure why upstream added $HOME/.local/bin to $PATH for these,
but IMO that is for users to handle as they see fit.

And it's not very nix-like :).

(cherry picked from commit a879c72552)
2019-05-13 08:47:32 +02:00
Will Dietz
265b4d3149 electrum: fetch from official site, check signature (manually)
(cherry picked from commit 9cae933ce7)
2019-05-13 08:47:31 +02:00
Will Dietz
49dd634b1f electrum: 3.3.4 -> 3.3.5
https://github.com/spesmilo/electrum/blob/3.3.5/RELEASE-NOTES
(cherry picked from commit d6ec298e3e)
2019-05-13 08:47:31 +02:00
Pierre Bourdon
5287da06e1 zbar: 0.10 -> 0.22
The original upstream at http://zbar.sourceforge.net/ has not produced a
new release or a new commit on their repository in about 7 years. Most
distros (Debian, Gentoo, Arch, ...) have switched already to the more
maintained fork at https://github.com/mchehab/zbar

Update dependencies from qt4 to qt5, reducing "electrum" closure size in
the process (now only depends on one Qt version).

(cherry picked from commit 57ffe86efa)
2019-05-13 08:47:30 +02:00
Will Dietz
f1ba980d70 python3Packages.aiorpcx: 0.10.5 -> 0.17.0 (electrum dep)
(cherry picked from commit ae98b68b62)
2019-05-13 08:47:30 +02:00
R. RyanTM
9e565d9759 python37Packages.aiorpcx: 0.10.4 -> 0.10.5 (#57380)
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-aiorpcx/versions

(cherry picked from commit 5b0502dc85)
2019-05-13 08:47:25 +02:00
xrelkd
7ab08db51a youtube-dl: 2019.04.30 -> 2019.05.11
(cherry picked from commit 17b3c055cd)
2019-05-12 16:09:03 -04:00
Edmund Wu
727e5bce88 nvidia_x11: partial revert of 0f9672d28d
Only long-lived branches should be backported to release branches.
2019-05-12 17:45:38 +02:00
Edmund Wu
b0641e04e1 nvidia_x11: 418.56 -> 418.74
(cherry picked from commit f81836cc30)
2019-05-12 17:45:38 +02:00
Edmund Wu
cd31b65e5b nvidia_x11_beta: stable -> 430.09
(cherry picked from commit 0f9672d28d)
2019-05-12 17:45:38 +02:00
Edmund Wu
552c7c576e nvidia_x11_legacy390: 390.87 -> 390.116
(cherry picked from commit 9629324536)
2019-05-12 17:45:38 +02:00
Vladimír Čunát
b531a3bbd6 Merge #61181: spl: fix build with linux 5.1
(cherry picked from commit 359a7340d7)
2019-05-12 14:14:20 +02:00
Dmitry Kalinkin
c2570ef907 Merge pull request #61140 from LumiGuide/1903-nvidiastable
nvidia_x11: 415.27 -> 418.43 - backport from master
2019-05-11 18:02:18 -04:00
Bas van Dijk
6f45d8d9e3 Merge pull request #61315 from basvandijk/elk-old-upgrades-release-19.03
Backport "elk5: 5.6.9 -> 5.6.16 & elk6: 6.7.1 -> 6.7.2 & elasticsearchPlugins fix" to release-19.03
2019-05-11 21:42:20 +02:00
Bas van Dijk
07f649b8fe elasticsearchPlugins.elasticsearch_analysis_lemmagen: add alias
For 19.03 backwards compatibility.
2019-05-11 20:50:13 +02:00
Jaka Hudoklin
e01fd40ef1 elasticsearchPlugins: fix plugins, add s3-repository and gcs-repository plugin
(cherry picked from commit e3f6239631)
2019-05-11 20:33:02 +02:00
Bas van Dijk
5866190c45 elk6: 6.7.1 -> 6.7.2
(cherry picked from commit 1a0818e941)
2019-05-11 20:30:38 +02:00
Bas van Dijk
f913871a75 elk5: 5.6.9 -> 5.6.16
(cherry picked from commit 8673d82bc1)
2019-05-11 20:30:22 +02:00
Bas van Dijk
802d57710d Merge pull request #61244 from basvandijk/journalbeat-fixes-release-19.03
Backports "NixOS: support journalbeat >= 6" to release-19.03
2019-05-11 20:20:05 +02:00
Bas van Dijk
d4ecde0914 journalbeat: set version to 5 because that's the default in 19.03 2019-05-11 20:15:52 +02:00
Tim Steinbach
312a059bef jenkins: 2.164.2 -> 2.164.3 2019-05-11 09:22:59 -04:00
Tim Steinbach
b322b4f000 linux: 5.1 -> 5.1.1 2019-05-11 09:22:58 -04:00
Tim Steinbach
bb047923a6 linux: 5.0.14 -> 5.0.15 2019-05-11 09:22:58 -04:00
Tim Steinbach
67e117e613 linux: 4.9.174 -> 4.9.175 2019-05-11 09:22:57 -04:00
Tim Steinbach
db37a9ee98 linux: 4.19.41 -> 4.19.42 2019-05-11 09:22:57 -04:00
Tim Steinbach
47b9b5a47c linux: 4.14.117 -> 4.14.118 2019-05-11 09:22:56 -04:00
Stanislas
111412e1db Add minecraft-server_1_14 in all-packages.nix
(cherry picked from commit df792914a3)
2019-05-11 09:12:15 -04:00
Stanislas
356010e0a9 Add minecraft-server_1_14
(cherry picked from commit e6e3673e5b)
2019-05-11 09:11:30 -04:00
R. RyanTM
3f05ea61c3 libssh2: 1.8.1 -> 1.8.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/libssh2/versions

(cherry picked from commit 75bbd766f5)
Seems suitable: https://www.libssh2.org/changes.html#1.8.2
2019-05-11 12:28:49 +02:00
Vladimír Čunát
de0f3b9366 Merge #60740: ffmpeg*: 4.1.x -> 4.1.3
(cherry picked from commit 58213cd9ca)
2019-05-11 11:41:49 +02:00
Vladimír Čunát
2c3fe2d0df ffmpeg-full: fix the build phase
I was surprised the build is so slow, and I see it's single-threaded
due to all work being done in install phase :-/
Please, do *not* rewrite phases unless you're really confident it's
a good approach; typically postFoo and preFoo is much better.

I considered filing this ffmpeg-related string of changes as a PR,
but in the end it doesn't seem likely to need review and we have too
many PRs as it is...

(cherry picked from commit 5236232eea)
2019-05-11 11:40:21 +02:00
Vladimír Čunát
8ce6566d41 Merge ffmpeg-full: nvenc doesn't imply nonfree licensing
It's a port of #55442 to master.

(cherry picked from commit b1565e5af8)
2019-05-11 11:40:00 +02:00
Renaud
0f50b680bc Merge pull request #61217 from risicle/ris-leptonica-fix-19.03-backport
[r19.03 backport] leptonica: patch multiple CVEs
2019-05-11 10:52:52 +02:00
lewo
f7e5530acb Merge pull request #61182 from johanot/kubernetes-1.13.6
kubernetes: 1.13.5 -> 1.13.6
2019-05-11 09:21:24 +02:00
Vladimír Čunát
2f6e53c5aa Merge branch 'staging-19.03' into release-19.03
Security patches.
2019-05-11 08:59:31 +02:00
kolaente
93c0abfba8 maintainers: add kolaente
(cherry picked from commit 29d35a9ddb)
2019-05-11 02:27:07 +02:00
kolaente
18e026edef gitea: 1.8.0 -> 1.8.1
(cherry picked from commit bad4902dc2)
2019-05-11 02:27:06 +02:00
Robert Scott
0861ad591a 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
2019-05-10 19:35:14 +01:00
Bas van Dijk
f565fa5b5b nixos/journalbeat: support journalbeat >= 6 & add test
(cherry picked from commit 477c552c7d)
2019-05-10 18:51:13 +02:00
Bas van Dijk
504be3a9bb journalbeat: make journalbeat6 the default
Version 6.x is also the default for the other beats.

(cherry picked from commit a662f99139)
2019-05-10 18:50:44 +02:00
Bas van Dijk
25c0ce11c8 journalbeat7: fix binary by setting RPATH to systemd using patchelf
(cherry picked from commit 42c9c6df73)
2019-05-10 18:47:42 +02:00
Bas van Dijk
8e7067e648 journalbeat6: fix binary by setting RPATH to systemd using patchelf
(cherry picked from commit 42f357d1ac)
2019-05-10 18:47:32 +02:00
Bas van Dijk
c33ba88667 journalbeat: patchelf the binary instead of using a wrapper
(cherry picked from commit 6f0a6bfc60)
2019-05-10 18:47:15 +02:00
Bas van Dijk
482e21883f Merge pull request #61241 from basvandijk/elk-7.0.1-release-19.03
Backport "elk: 7.0.0 -> 7.0.1" to release-19.03
2019-05-10 18:41:53 +02:00
Bas van Dijk
4ff7faba5b elk: 7.0.0 -> 7.0.1
(cherry picked from commit 78cb9b7898)
2019-05-10 17:47:14 +02:00
angristan
72c2c58356 minecraft-server: remove 1.13.0 and 1.13.1
It does not make sense to keep outdated minor versions

(cherry picked from commit c7b36b71ef)
2019-05-10 07:20:42 -04:00
Florian Klink
7bb74e6536 wireguard: 0.0.20190123 -> 0.0.20190406 [backport 19.03] (#59762)
wireguard: 0.0.20190123 -> 0.0.20190406 [backport 19.03]
2019-05-09 22:13:25 +02:00
Maximilian Bosch
8334fa0c04 linuxPackages.wireguard: fix build
Ensure that only module-related targets from the project's Makefile are
built.

Co-authored-by: elseym <elseym@me.com>
Co-authored-by: Franz Pletz <fpletz@fnordicwalking.de>
(cherry picked from commit 2c3ab523d3)
2019-05-09 14:34:29 +02:00
R. RyanTM
67c9139a41 wireguard-tools: 0.0.20190227 -> 0.0.20190406
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/wireguard-tools/versions

(cherry picked from commit 08a62e0578)
2019-05-09 14:34:29 +02:00
elseym
3b15f9ab8a wireguard-tools: 0.0.20190123 -> 0.0.20190227
(cherry picked from commit f96f14f69e)
2019-05-09 14:34:29 +02:00
Jörg Thalheim
2ec36d2105 linux_{5_0,5_1,testing}: restore __kernel_fpu_{begin,restore} [19.03] (#61187)
linux_{5_0,5_1,testing}: restore __kernel_fpu_{begin,restore} [19.03]
2019-05-09 12:53:31 +01:00
Jörg Thalheim
797a946613 linux_{5_1,testing}: enable kernel fpu functions
same motivation as in 7b77c27caa

(cherry picked from commit 8e1852ac7e)
2019-05-09 11:17:15 +01:00
Jörg Thalheim
13062a4148 linux_5_0: restore __kernel_fpu_{begin,restore}
In 5.0er these function were removed from the public interface also zfs needs
them for AVX/AES-NI support. Without this patch for example throughput on a
encrypted zfs dataset drops to 200 MB/s from 1.2 GB/s. These functions were
removed as their was no user within the linux kernel tree itself.

(cherry picked from commit 7b77c27caa)
2019-05-09 11:17:14 +01:00
Johan Thomsen
92ae826247 kubernetes: 1.13.5 -> 1.13.6 2019-05-09 09:50:27 +02:00
Eelco Dolstra
8e99c9ebac Merge #60860: gcc9: init at 9.1.0
(cherry picked from commits f7d3fb876a 5964b3a 64f7cb24d)
I think C(++) devs may appreciate this, including myself :-)
2019-05-09 09:35:48 +02:00
Dmitry Kalinkin
096e2f137b gcc48, gfortran48: add myself as maintainer
cc #61130

(cherry picked from commit bf1818dd5d)
2019-05-08 19:14:27 -04:00
Andreas Rammhold
7cdc2d8186 Merge pull request #61150 from andir/19.03/firefox-esr
[19.03] firefox-esr-60: 60.6.2esr -> 60.6.3esr
2019-05-08 18:37:53 +02:00
Andreas Rammhold
48b25d78aa firefox-esr-60: 60.6.2esr -> 60.6.3esr
(cherry picked from commit 34012380f596e0db66e8cb876756028e363e29bf)
2019-05-08 17:54:19 +02:00
Tim Steinbach
e94ecca11d linux: 5.0.13 -> 5.0.14 2019-05-08 10:14:32 -04:00
Tim Steinbach
0bccda757b linux: 4.9.173 -> 4.9.174 2019-05-08 10:14:32 -04:00
Tim Steinbach
f96ac31fea linux: 4.19.40 -> 4.19.41 2019-05-08 10:14:31 -04:00
Tim Steinbach
d6f60b771f linux: 4.14.116 -> 4.14.117 2019-05-08 10:14:31 -04:00
Austin Seipp
52ac2d9dcc linuxPackages.perf: add libopcodes as a buildInput
Newer versions of perf in Linux 5.1+ support disassembling and
annotating eBPF programs inside the kernel. In order to do this, it uses
libbfd's support for bpf disassembly. There are two parts: libopcodes
and libbfd.

The 'perf' build system seems to expect libopcodes/libbfd to go "hand in
hand" -- always together, if one or the other is installed. If the build
system detects libbfd is available, then an import of <dis-asm.h> is
performed, but this fails since it wasn't in the buildInput. Fixing this
should be an easy, backwards-compatible change.

Fixes #60891, allowing linuxPackages_testing.perf to build again
(currently kernel version 5.1.0-rc7).

Signed-off-by: Austin Seipp <aseipp@pobox.com>
(cherry picked from commit c8cb015ff6)
2019-05-08 15:05:20 +02:00
Edmund Wu
063c3394dd nvidia_x11: 418.43 -> 418.56
(cherry picked from commit 928d51a9cb)
2019-05-08 14:14:50 +02:00
Edmund Wu
811a52012e nvidia_x11: 415.27 -> 418.43
(cherry picked from commit 48e66e5184)
2019-05-08 14:14:45 +02:00
Bas van Dijk
7095449a57 Merge pull request #59567 from LumiGuide/release-19.03-unbreak-ghcjs
ghcjs-ng: unbreak - Backport from master
2019-05-08 13:46:47 +02:00
Eelco Dolstra
16ecfeb8ff Merge pull request #61132 from andir/19.03/firefox
[19.03] firefox: 66.0.4 -> 66.0.5, firefox-bin: 66.0.4 -> 66.0.5, firefox-beta-bin: 67.0b7 -> 670b18
2019-05-08 13:09:29 +02:00
Austin Seipp
482765bdc2 linux: add 5.1 release
Signed-off-by: Austin Seipp <aseipp@pobox.com>
(cherry picked from commit 181e971755)
2019-05-08 11:44:11 +02:00
c0bw3b
5820efe2fb gnupatch: add patch for CVE-2018-6952
Refs:
https://nvd.nist.gov/vuln/detail/CVE-2018-6952
https://savannah.gnu.org/bugs/index.php?53133
(cherry picked from commit 6a2a4e82c9)
2019-05-08 11:40:45 +02:00
Andreas Rammhold
ba383c7c00 firefox: 66.0.4 -> 66.0.5
(cherry picked from commit 67201d0de6e4bd695330ba0e0602be1eca83d5ec)
2019-05-08 11:34:41 +02:00
Andreas Rammhold
d0fdae646d firefox-bin: 66.0.4 -> 66.0.5
Signed-off-by: Andreas Rammhold <andreas@rammhold.de>
2019-05-08 11:34:41 +02:00
Andreas Rammhold
516bfe4cd3 firefox-beta-bin: 67.0b7 -> 670b18
(cherry picked from commit c771c1dcc2bafc6854f68036581d30227c364d9c)
2019-05-08 11:34:38 +02:00
c0bw3b
87b79be3c6 libxslt: add patch for CVE-2019-11068
References:
https://nvd.nist.gov/vuln/detail/CVE-2019-11068
e03553605b
(cherry picked from commit 84b810f8e3)
2019-05-08 10:49:48 +02:00
Vladimír Čunát
940d8c9088 Merge branch 'staging-19.03' into release-19.03 2019-05-08 10:49:03 +02:00
Robert Schütz
aade6ded79 qutebrowser: 1.6.1 -> 1.6.2
https://lists.schokokeks.org/pipermail/qutebrowser/2019-May/000622.html
(cherry picked from commit 929fe5ca21)
2019-05-08 05:06:35 +09:00
Robert Schütz
a6afce2c2f qutebrowser: 1.6.0 -> 1.6.1 (#58019)
https://github.com/qutebrowser/qutebrowser/releases/tag/v1.6.1
(cherry picked from commit 39cb31eac6)
2019-05-08 05:06:35 +09:00
Matthew Bauer
a04ef7100d Merge pull request #61061 from witkamp/release-19.03
gcc-arm-embedded: add darwin support
2019-05-07 12:21:14 -04:00
Alexey Shmalko
3e7300cf04 Merge pull request #61043 from stefano-m/release-19.03
awesome: refactor LUA_PATH env var and don't expose it at runtime (19.03 branch)
2019-05-07 10:39:13 +03:00
Jörg Thalheim
2dcbd447e4 nix-review: 2.0.0 -> 2.0.1
(cherry picked from commit cf5ed1d004)
2019-05-07 07:19:57 +01:00
Stefano Mazzucco
49a91551e1 awesome: use makeWrapper rather than wrapProgram
Using wrapProgram makes so that the generated "awesome" wrapper duplicates its
command line options at every restart.

As @psychon puts it:

> AwesomeWM restarts via execvp(argv[0], argv). In NixOS, wrapProgram is used
> to generate a wrapper around the real binary. wrapProgram calls makeWrapper
> with --argv0 '$0'. I guess this is what makes awesomeWM run the wrapper again
> on restart. Without this --argv0 awesomeWM would directly restart itself
> instead of the wrapper, I think.

(cherry picked from commit 88f84c08d7)
2019-05-07 07:08:19 +01:00
Theodore Witkamp
5a3a1f9ce0 gcc-arm-embedded: add darwin support 2019-05-06 14:00:48 -07:00
Robin Gloster
2df17ecf1b gitaly: fix build
(cherry picked from commit 2ec5786a4d)
2019-05-06 21:15:12 +02:00
Florian Klink
0d2573d6ce gitlab-ee: 11.9.11 -> 11.10.4
(cherry picked from commit d237c8a182)
2019-05-06 21:15:12 +02:00
Florian Klink
2c4094afab gitlab-ce: 11.9.11 -> 11.10.4
(cherry picked from commit 02124aa8fb)
2019-05-06 21:15:12 +02:00
Florian Klink
abe03f8992 gitlab-workhorse: 8.3.3 -> 8.5.2
(cherry picked from commit 41d95302c0)
2019-05-06 21:15:12 +02:00
Florian Klink
e07ddcf52f gitaly: 1.27.2 -> 1.34.1
(cherry picked from commit 030bc8086b)
2019-05-06 21:15:12 +02:00
Florian Klink
42533b6864 gitlab-shell: 8.7.1 -> 9.0.0
(cherry picked from commit 61bf39c5a1)
2019-05-06 21:15:11 +02:00
Florian Klink
5ece8164c4 gitlab: update.py: properly sort version numbers, ignore invalid versions
(cherry picked from commit 847eb76cf8)
2019-05-06 21:15:11 +02:00
Robert Schütz
8c6c85de4d restic: 0.9.4 -> 0.9.5 (#60156)
(cherry picked from commit 5847b2a590)
2019-05-06 17:23:42 +02:00
Franz Pletz
ba9d0c6c16 unifiStable: 5.10.19 -> 5.10.23
(cherry picked from commit 6b24a1aca5)
2019-05-06 16:15:20 +02:00
Franz Pletz
4891e2822c unifiLTS: 5.6.39 -> 5.6.42
(cherry picked from commit f30f120b9b)
2019-05-06 16:15:20 +02:00
Pascal Bach
859563f4c3 unifiStable: 5.10.17 -> 5.10.19 (#56992)
(cherry picked from commit 87cb443497)
2019-05-06 16:15:19 +02:00
Peter Simons
0cad24e248 Merge pull request #60492 from dotlambda/dovecot-CVE-2019-11494
dovecot: fix CVE-2019-11494 and CVE-2019-11499
2019-05-06 14:39:37 +02:00
taku0
6ec0970062 firefox-esr: 60.6.1esr -> 60.6.2esr
(cherry picked from commit 07458c2f38)
2019-05-06 12:52:16 +02:00
taku0
e7924d3ec8 firefox-bin: 66.0.3 -> 66.0.4
(cherry picked from commit ad042f186f)
2019-05-06 12:51:21 +02:00
Stefano Mazzucco
8b5ec800c6 awesome: refactor LUA_PATH env var and don't expose it at runtime
This commit partly reinstates changes from 5465d6f that had been somehow
reverted in 17d3eb2.  Also, a comment has been added in the hope that future
changes won't do the same.

Additionally, refactor the LUA_PATH env var to ensure that the internal lgi lua
files can't be required explicitly and to avoid possible name clashes (this
fixes issue #60232).

Finally, rather than using prepending `?.lua` append `;;` to LUA_PATH. Quoting
@psychon:

> This is interpreted by Lua as "add the default search path here" (which does
> indeed contain ?.lua, but also contains more).

Testing done:

- Build with `nix-build -I /path/to/repo -A awesome`
- Start an X session with xterm only
- Start xephyr, e.g. `Xephyr :1 -name xephyr -screen 512x384 -ac -br -noreset &`
- Run awesome like `DISPLAY=:1.0 ./result/bin/awesome`. Additionally, add
  `--search` options to expose lua modules that have a name clash with lgi's
  internal ones (see #60232 for more details) and `require` them in `rc.lua` to
  prove that they are loaded correctly
2019-05-06 11:47:18 +01:00
Eelco Dolstra
8838032e90 firefox: 66.0.3 -> 66.0.4
(cherry picked from commit 1f6ddfc7e0)
2019-05-06 00:01:37 +02:00
Robert Schütz
a5e80d3579 nixos/home-assistant: account for introduction of manifest.json
The `availableComponents` now only contain a single attribute for
every integration.

(cherry picked from commit d280603bd1)
2019-05-05 23:32:25 +02:00
R. RyanTM
0ee4b21b13 pantheon.elementary-files: 4.1.7 -> 4.1.8
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/elementary-files/versions

(cherry picked from commit c9c6325e78)
2019-05-05 13:13:28 -04:00
Renaud
53c1367d16 Merge pull request #60995 from c0bw3b/backport/1903/matrix
[19.03] matrix-synapse: 0.99.3 -> 0.99.3.2
2019-05-05 18:56:19 +02:00
Maximilian Güntner
dd71c3b95c matrix-synapse: 0.99.3 -> 0.99.3.2
(cherry picked from commit f91b7984b4)
2019-05-05 18:08:29 +02:00
Tim Steinbach
519db265e8 linux: 5.0.12 -> 5.0.13 2019-05-05 11:29:56 -04:00
Tim Steinbach
44bafe8afc linux: 4.19.39 -> 4.19.40 2019-05-05 11:29:56 -04:00
Elis Hirwing
a177da6b86 Merge pull request #60881 from etu/1903-php-upgrades
[19.03] php: 7.1.27 -> 7.1.29, 7.2.16 -> 7.2.18, 7.3.3 -> 7.3.5
2019-05-05 11:44:03 +02:00
Vincent Demeester
6e29f22551 runc: 1.0.0-rc7 -> 1.0.0-rc8
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit c64087b4a3)
2019-05-05 09:24:07 +02:00
Aaron Andersen
04954e39df kupfer: fix broken build
(cherry picked from commit 545af899c2)
2019-05-04 20:25:55 -04:00
Renaud
817bc54a84 Merge pull request #60911 from Nekdo/update-browserpass
browserpass: 3.0.1 -> 3.0.6
2019-05-04 23:47:43 +02:00
Frederik Rietdijk
78b0673cb9 Merge release-19.03 into staging-19.03 2019-05-04 20:49:36 +02:00
Renaud
fa5fd6b485 Merge pull request #60910 from matklad/update-fish
Backport: fish: 3.0.1 -> 3.0.2
2019-05-04 20:36:06 +02:00
Tim Steinbach
a0b92744f0 linux: 5.0.11 -> 5.0.12
(cherry picked from commit 59e9fb1d52)
2019-05-04 10:41:40 -04:00
Tim Steinbach
0c9608d102 linux: 4.9.172 -> 4.9.173
(cherry picked from commit 5ee553b280)
2019-05-04 10:41:40 -04:00
Tim Steinbach
51ef0cc428 linux: 4.19.38 -> 4.19.39
(cherry picked from commit 7d0a77cd36)
2019-05-04 10:41:39 -04:00
Tim Steinbach
118a19c9ad linux: 4.14.115 -> 4.14.116
(cherry picked from commit a03324e9ba)
2019-05-04 10:41:39 -04:00
John Wiegley
a892c42049 browserpass: 3.0.1 -> 3.0.6
Cherry pick commit a10239f92cf04a10f0a92ee986629afef35f1399
2019-05-04 13:22:03 +02:00
Pascal Wittmann
a1411aea92 Merge pull request #60779 from NixOS/fix-classy-prelude-yesod-and-esqueleto
Fix build of  classy prelude yesod and esqueleto
2019-05-04 11:49:30 +02:00
qolii
a14fdb772a fish: 3.0.1 -> 3.0.2 2019-05-04 11:20:45 +03:00
Vladimír Čunát
918b4e294f pinentry: update patch url
I verified the hash did NOT change as suggested in #60699.

(cherry picked from commit 0b9c477719)
2019-05-04 00:23:07 +02:00
Renaud
3b5974a481 Merge pull request #60880 from c0bw3b/backport/1903/fixes
[19.03] backport fixes from #59367, #60638, #60832
2019-05-03 23:15:20 +02:00
Renaud
e7e7c71429 pax-rs: restrict to Linux platforms
It fails to build on Darwin

(cherry picked from commit a851074541)
2019-05-03 22:18:34 +02:00
Benjamin Staffin
1ec4af135f emacs: backport hunspell 1.7.0 support from upstream (#60558)
NixOS 19.03 has hunspell 1.7.0 which is incompatible with emacs 26.1.
This issue has been fixed in upstream and we should drop this patch
after emacs is updated too.

(cherry picked from commit 4952378a87)
2019-05-03 14:56:49 -04:00
Elis Hirwing
bf23569897 php73: 7.3.4 -> 7.3.5
Changelog: https://www.php.net/ChangeLog-7.php#7.3.5
(cherry picked from commit a320372e17)
2019-05-03 19:40:30 +02:00
Will Dietz
3ceef5e92d php73: 7.3.3 -> 7.3.4
security release, see:
https://www.php.net/archive/2019.php#id2019-04-04-1

(cherry picked from commit d1a539fef1)
2019-05-03 19:40:20 +02:00
Elis Hirwing
78c53cf919 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:39:26 +02:00
Will Dietz
60530a3bdd 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:39:16 +02:00
Elis Hirwing
0fad70e569 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:38:06 +02:00
Will Dietz
a42f3e8338 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:37:55 +02:00
Mario Rodas
1de46907c8 looking-glass-client: fix build
spice-protocol removed the spice/error_codes.h header file [1], which
looking-glass-client was still using.

[1] 334cef51d0

(cherry picked from commit 6e90393ead)
2019-05-03 19:32:49 +02:00
Maximilian Bosch
0d6993a9c6 nixos/hostapd: escape interface names for hostapd
Same problem as described in acbadcdbba.

When using multiple interfaces for wifi with `networking.wlanInterfaces`
and the interface for `hostapd` contains a dash, this will fail as
systemd escapes dashes in its device names.

(cherry picked from commit f975bbae11)
2019-05-03 19:32:37 +02:00
klntsky
5eee6de143 pax-rs: fix missing Cargo.lock
(cherry picked from commit b8c99fb0eb)
2019-05-03 19:32:13 +02:00
Matthew Bauer
959b5a13b9 vagrant: only use libvirt on linux
Fixes #55751

(cherry picked from commit 55fc5b54ee)
2019-05-03 10:57:20 -04:00
Dmitry Kalinkin
cdf6ac4759 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:20 -04:00
Dmitry Kalinkin
528cdc8dc2 texlive: add missing perl dependencies for latexindent
(cherry picked from commit dbc2c1c4b8)

cc #59537
2019-05-03 08:05:03 -04:00
Elis Hirwing
c2c4ff88c7 Merge pull request #60658 from etu/backport-gitea-updates
[19.03] gitea: 1.7.6 -> 1.8.0
2019-05-03 07:58:56 +02:00
worldofpeace
86101e2787 Merge pull request #60797 from herrwiese/kk-ham-for-19.03
[19.03] ham: init at (unstable-)2019-01-22
2019-05-02 16:29:49 -04:00
Pascal Wittmann
11ac0c09a8 yesod-markdown: unbreak as it builds fine 2019-05-02 22:16:45 +02:00
Andreas Wiese
14af84240e ham: init at (unstable-)2019-01-22
(cherry picked from commit 8d53c34743)
2019-05-02 21:37:20 +02:00
Andreas Wiese
c6952eb753 maintainers: Add myself to maintainers list.
(cherry picked from commit 305b401ef8)
2019-05-02 21:37:19 +02:00
Andreas Wiese
f44f2a62da perlPackages.XMLMini: init at 1.38
(cherry picked from commit 67fb9ec80c)
2019-05-02 21:37:17 +02:00
Andreas Wiese
9276cd20e0 perlPackages.GitRepository: init at 1.323
(cherry picked from commit 193b974344)
2019-05-02 21:37:15 +02:00
Andreas Wiese
8c0cf07152 perlPackages.SystemCommand: init at 1.119
(cherry picked from commit 7abee46bc0)
2019-05-02 21:37:13 +02:00
Andreas Wiese
94f5caa262 perlPackages.TestRequiresGit: init at 1.008
(cherry picked from commit 402a492f53)
2019-05-02 21:37:11 +02:00
Andreas Wiese
09a5be4b45 perlPackages.GitVersionCompare: init at 1.004
(cherry picked from commit 877a62d05e)
2019-05-02 21:37:09 +02:00
Pascal Wittmann
a3bedc41ea esqueleto: fix build by skipping tests and haddock 2019-05-02 20:14:15 +02:00
Pascal Wittmann
324a831cd9 classy-prelude-yesod: fix build by skipping haddock 2019-05-02 20:14:01 +02:00
Renaud
a5a715e6bb Merge pull request #60783 from c0bw3b/backport/1903/ntfs3g
[19.03] ntfs3g: remove obsolete CVE-2017-0358 patch
2019-05-02 20:13:27 +02:00
Tim Steinbach
7cb9962aa8 linux: 5.0.10 -> 5.0.11
(cherry picked from commit 6494ad9996)
2019-05-02 13:59:06 -04:00
Tim Steinbach
0176a3c950 linux: 4.14.114 -> 4.14.115
(cherry picked from commit 5d03bfd653)
2019-05-02 13:59:06 -04:00
Tim Steinbach
bff1dd6d7c linux: 4.19.37 -> 4.19.38
(cherry picked from commit e0bf73dbde)
2019-05-02 13:59:05 -04:00
Tim Steinbach
c5c38532a8 linux: 4.9.171 -> 4.9.172
(cherry picked from commit 9d7638371f)
2019-05-02 13:59:05 -04:00
Markus Schmidl
fb3b220fde ntfs3g: remove obsolete CVE-2017-0358 patch
* ntfs-3g: remove patch as it been fixed  (#60697)

* ntfs3g: fetchpatch is unused

(cherry picked from commit 3e5a0bea6e)
2019-05-02 19:29:17 +02:00
Jörg Thalheim
915ce0f1e1 Merge pull request #60408 from schmittlauch/soundkonverter-backport
[soundkonverter] init at 3.0.1
2019-05-02 14:42:29 +01:00
Tim Steinbach
10291a7e19 zoom-us: 2.8.182821.0412 -> 2.8.183302.0415
(cherry picked from commit 2633767b60)
2019-05-02 14:52:51 +02:00
Tim Steinbach
2e469f9f7e zoom-us: 2.7.162522.0121 -> 2.8.182821.0412
(cherry picked from commit 1f219af304)
2019-05-02 14:52:51 +02:00
Renaud
2e6afa8cb1 Merge pull request #60672 from c0bw3b/backport/1903/thinprovtools
[19.03] thin-provisioning-tools: fix patch url
2019-05-02 00:17:44 +02:00
Mario Rodas
86b58d00c7 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:07:37 +02:00
Florian Klink
0eff475b6c gitaly: 1.27.1 -> 1.27.2
(cherry picked from commit cc785b3b9a)
2019-05-01 23:01:52 +02:00
Florian Klink
30bd4d844d gitlab-ee: 11.9.8 -> 11.9.11
(cherry picked from commit 5d6f6d5d94)
2019-05-01 23:01:51 +02:00
Florian Klink
259bdbdbac gitlab-ce: 11.9.8 -> 11.9.11
(cherry picked from commit b9df035cb7)
2019-05-01 23:01:51 +02:00
Florian Klink
e4e7a7ea56 gitaly: 1.27.0 -> 1.27.1
(cherry picked from commit e558347243)
2019-05-01 23:01:48 +02:00
Elis Hirwing
b2b5c1d5af Merge pull request #60657 from etu/backport-testssl-upgrades
[19.03] testssl: 2.9.5-7 -> 2.9.5-8
2019-05-01 20:12:42 +02:00
Elis Hirwing
ff6cdb5447 gitea: 1.7.6 -> 1.8.0
Changelog: https://github.com/go-gitea/gitea/releases/tag/v1.8.0
(cherry picked from commit fe691b13b2)
2019-05-01 19:39:57 +02:00
Elis Hirwing
848efde9c9 nixos/gitea: Don't include not needed database options depending on type
This was discovered in https://github.com/NixOS/nixpkgs/pull/60014

(cherry picked from commit 71450b1c1a)
2019-05-01 19:39:42 +02:00
Elis Hirwing
4323cf27c0 testssl: 2.9.5-7 -> 2.9.5-8
Changelog: https://github.com/drwetter/testssl.sh/releases/tag/v2.9.5-8
(cherry picked from commit 4fbde5bb37)
2019-05-01 19:24:06 +02:00
Matthew Bauer
f87a18bde2 Merge pull request #60645 from obsidiansystems/km-androidndk-fixes-backport-19.03
Fix Android NDK for 19.03
2019-05-01 11:24:27 -04:00
Michael Weiss
a07df8e001 Merge pull request #60647 from primeos/security-backports-for-19.03
[19.03] Security backport for signing-party
2019-05-01 17:21:53 +02:00
Michael Weiss
430e814673 signing-party: 2.9 -> 2.10 (security, CVE-2019-11627)
I switched to fetchFromGitLab for more transparency and because 2.10 is
not yet available on any Debian mirrors.
A drawback is that any dates in the man pages will now always be
set to 1970-01-01, because fetchFromGitLab removes the timestamps from
$src (not manually but by unpacking the archive).

(cherry picked from commit 3b3a6367c8)
2019-05-01 16:56:11 +02:00
Michael Weiss
7629cc1a0f signing-party: 2.8 -> 2.9
(cherry picked from commit f1e72eff33)
2019-05-01 16:56:10 +02:00
Matthew Bauer
2529c0ccda llvm: don’t use targetPlatform
LLVM should be target independent because it will work with all
machine types. This is different from GCC where it needs to know what
target to build ahead of time.
2019-05-01 09:29:18 -04:00
Florian Klink
ca0a44d304 [19.03] virtualbox: 5.2.26 -> 5.2.28 (#60635)
[19.03] virtualbox: 5.2.26 -> 5.2.28
2019-05-01 15:14:42 +02:00
worldofpeace
65adcb9132 pantheon.wingpanel: 2.2.3 -> 2.2.4
https://github.com/elementary/wingpanel/releases/tag/2.2.4
(cherry picked from commit 0b39de48af)
2019-05-01 09:08:07 -04:00
worldofpeace
6d0332f46b pantheon.switchboard-plug-display: 2.1.7 -> 2.1.8
Just translations

https://github.com/elementary/switchboard-plug-display/releases/tag/2.1.8
(cherry picked from commit e9fca994ae)
2019-05-01 09:08:03 -04:00
Florian Klink
d740b2ee85 masterpdfeditor: 5.4.04 -> 5.4.10
(cherry picked from commit 314e06b782)
2019-05-01 14:36:30 +02:00
R. RyanTM
92e2d8b527 masterpdfeditor: 5.3.22 -> 5.4.04
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/masterpdfeditor/versions

(cherry picked from commit 48b138ba15)
2019-05-01 14:36:30 +02:00
R. RyanTM
9b3b4c75ab masterpdfeditor: 5.2.20 -> 5.3.22
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/masterpdfeditor/versions

(cherry picked from commit 7f1a7b1d7d)
2019-05-01 14:36:30 +02:00
Artemis Tosini
46213946c7 virtualbox: 5.2.26 → 5.2.28
(cherry picked from commit ea29d811b5)
2019-05-01 14:12:27 +02:00
Jan Solanti
82eade85f8 pycdio: fix build
(cherry picked from commit c48ad78588)
2019-05-01 12:38:18 +02:00
Ken Micklas
f07df17b74 androidndk-pkgs: Remove -mfloat flag 2019-04-30 16:51:18 -04:00
Matthew Bauer
9e1dd3b7c6 systems: remove android armv5te platform
this isn’t useful any more because the ndk we use no longer supports it.
2019-04-30 16:51:18 -04:00
Matthew Bauer
54b18fff9a readline: add android patch 2019-04-30 16:51:18 -04:00
Matthew Bauer
fcbe865414 androidndk: fixup mess
New android ndk (18) now uses clang. We were going through the wrapper
that are provided. This lead to surprising errors when building.
Ideally we could use the llvm linker as well, but this leads to errors
as many packages don’t support the llvm linker.
2019-04-30 16:51:18 -04:00
Ken Micklas
7fdf74bb93 androidndk-pkgs: Fix cc-wrapper flags
(cherry picked from commit 5f4bf240f5)
2019-04-30 16:51:18 -04:00
xrelkd
6d7ed96429 youtube-dl: 2019.04.24 -> 2019.04.30
(cherry picked from commit 860e1d38a8)
2019-04-30 12:40:50 -04:00
Robert Schütz
b47f00f0df dovecot: fix CVE-2019-11494 and CVE-2019-11499
https://dovecot.org/pipermail/dovecot-news/2019-April/000409.html
https://dovecot.org/pipermail/dovecot-news/2019-April/000410.html
2019-04-30 15:54:32 +02:00
Franz Pletz
6c23d699ac matrix-synapse: 0.99.2 -> 0.99.3
(cherry picked from commit 5344fcfeb1)

Fixes #60443.
2019-04-30 03:57:58 +02:00
WilliButz
61a9c2d954 grafana: 6.1.4 -> 6.1.6 (#60426)
Includes security fix for CVE-2018-19039.

(cherry picked from commit 5be7fd4d86)
2019-04-29 19:31:14 +02:00
WilliButz
aa14597867 grafana: 6.1.3 -> 6.1.4
(cherry picked from commit 4cec876ba2)
2019-04-29 19:30:50 +02:00
Robin Gloster
005eedeb5f django-picklefield: fix build
fixes #60424

(cherry picked from commit e4218a22a6)
2019-04-29 15:52:46 +02:00
Markus Kowalewski
28a5c36d1d openblas: turn off AVX512 optimizations
The AVX512 optimization has a bug in openblas-0.3.5
and can also lead to slower code on Xeon Silver CPUs.

See https://github.com/xianyi/OpenBLAS/issues/1955
and https://github.com/xianyi/OpenBLAS/issues/2029

(cherry picked from commit 7035aa7de4fa8668b6d7feab7b1ed58015689d09)
2019-04-29 12:31:08 +02:00
Peter Hoeg
eb7bfb5fb5 Merge pull request #60402 from peterhoeg/f/wol_stable
wol: fix manpage generation
2019-04-29 15:42:22 +08:00
Trolli Schmittlauch
e028941c42 [soundkonverter] init at 3.0.1
(cherry picked from commit 7218dec132)
2019-04-29 09:31:58 +02:00
Peter Hoeg
58f55edc13 wol: fix manpage generation
(cherry picked from commit 8086169413)
2019-04-29 10:21:39 +08:00
worldofpeace
ad2b05365a gnome3.mutter328: backport changes from 3.32
gsettings-desktop-schemas made the following change in 3.32[0]
> Change tablets'/touchscreens' "display" setting to "output" one
> with different semantics.

That coincides with GNOME/mutter#133[1]

This caused a segmentation fault in gala on Fedora[2]
> Settings schema 'org.gnome.desktop.peripherals.touchscreen'
> does not contain a key named 'display'

I haven't experienced said segfault here in NixOS but I don't see
a reason not to use the solution reached there, which was to backport
relevant change[1] to mutter 3.28.

[0]: c7eee129c6
[1]: https://gitlab.gnome.org/GNOME/mutter/merge_requests/133
[2]: https://bugzilla.redhat.com/show_bug.cgi?id=1700337

(cherry picked from commit b2dc8c0fa3)
2019-04-28 10:54:58 -04:00
Sarah Brofeldt
88d9ce6b6a Merge pull request #60362 from cdepillabout/add-xmobar-toplevel
xmobar: Add xmobar toplevel (backport to 19.03)
2019-04-28 16:50:46 +02:00
Michael Weiss
0943e4adc6 nixos/sks: Fix another regression from ab5dcc7068
The two directories KDB and PTree do not exist before the SKS DB is
build for the first time. If /var/db/sks is empty and the module is
enabled via "services.sks.enable = true;" the following error will
occur:
...-unit-script-sks-db-pre-start[xxx]:
ln: failed to create symbolic link 'KDB/DB_CONFIG': No such file or directory

To avoid this both links have to be created after the DB is build.
Note: Creating the directories manually might be better but the initial
build might be skipped as a result:
unit-script-sks-db-pre-start[xxxxx]: KeyDB directory already exists.  Exiting.
unit-script-sks-db-pre-start[xxxxx]: PTree directory already exists.  Exiting.

(cherry picked from commit 6852c080d8)
2019-04-28 14:50:14 +02:00
Michael Weiss
47e9779536 nixos/sks: Fix the module (the pre-start script was broken)
Unfortunately the changes in ab5dcc7068
introduced a typo (took me a while to spot that...) that broke the
whole module (or at least the sks-db systemd unit).

The systemd unit was failing with the following error message:
...-unit-script-sks-db-pre-start[xxx]: KDB/DB_CONFIG exists but is not a symlink.

(cherry picked from commit 753e1e0bab)
2019-04-28 14:03:29 +02:00
Spencer Baugh
43cd1c7808 xmobar: add to all-packages so it shows up in search
People are confused when they "nix search" for xmobar (a standalone
application which just happens to be written in Haskell) and don't
find it; they assume xmobar is not actually packaged. They have to
have special Nix knowledge to know that they should look in
haskellPackages for xmobar.

Let's just put xmobar in all-packages.nix so it shows up in search,
and people can install it straightforwardly without knowing about
haskellPackages.

(cherry picked from commit 8e530a43e9)
2019-04-28 18:20:48 +09:00
Samuel Dionne-Riel
f5e5318ef6 Merge pull request #60341 from andir/19.03/bind
[19.03] bind: 9.12.3-P1 -> 9.12.4-P1
2019-04-27 17:48:07 -04:00
Andreas Rammhold
3a04df6fb9 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 20:54:42 +02:00
Will Dietz
81774e98b6 bind: 9.12.3-P1 -> 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 20:54:40 +02:00
Andreas Wiese
881be04ed4 nextcloud: 15.0.6 -> 15.0.7
(cherry picked from commit e0bdb4d05e)
2019-04-27 15:08:12 +02:00
Will Dietz
13728d2d1e wpa_supplicant: patch already applied :)
(cherry picked from commit 10dde5a1cc)
2019-04-27 08:46:47 -04:00
Will Dietz
9a96ceeb2f wpa_supplicant: 2.7 -> 2.8
(cherry picked from commit 1448b0583b)
2019-04-27 08:46:47 -04:00
Tim Steinbach
f215d91299 linux: Remove i2c-oops patch
(cherry picked from commit c08aa32c90)
2019-04-27 08:37:14 -04:00
Tim Steinbach
1d61c66223 linux: 5.0.9 -> 5.0.10
(cherry picked from commit 264367b15e)
2019-04-27 08:36:55 -04:00
Tim Steinbach
a98e3a3869 linux: 4.9.170 -> 4.9.171
(cherry picked from commit 8d98033d99)
2019-04-27 08:36:55 -04:00
Tim Steinbach
5913bd8483 linux: 4.4.178 -> 4.4.179
(cherry picked from commit 3d829058a1)
2019-04-27 08:36:54 -04:00
Tim Steinbach
688b2aaa74 linux: 4.19.36 -> 4.19.37
(cherry picked from commit d43faab5ef)
2019-04-27 08:36:54 -04:00
Tim Steinbach
fecff61216 linux: 4.14.113 -> 4.14.114
(cherry picked from commit ae7baea76f)
2019-04-27 08:36:50 -04:00
Lancelot SIX
0f8a6e4841 qgis: 3.4.6 -> 3.4.7
(cherry picked from commit 2014975789)
2019-04-26 15:17:10 +02:00
Lancelot SIX
1600fe5877 qgis: 3.4.5 -> 3.4.6
(cherry picked from commit 37aebd002a)
2019-04-26 15:16:50 +02:00
Florian Franzen
4ddc253a0b pythonPackages.joblib: skip flaky test
fixes https://github.com/NixOS/nixpkgs/issues/60248

(cherry picked from commit 604dae6797)
2019-04-26 12:29:47 +02:00
Frederik Rietdijk
336d98c2e8 python: Jinja2: 2.10 -> 2.10.1
(cherry picked from commit 5bcf82723a)
2019-04-26 12:10:51 +02:00
Ambroz Bizjak
1e8a080589 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.
2019-04-25 20:21:51 -04:00
Linus Heckemann
69682e92c5 doc: fix syntax error in python documentation 2019-04-25 22:38:44 +02:00
Renaud
e3591d809f Merge pull request #59620 from moyamo/fix-subdirs.el-19.03
[19.03] emacs: Link subdirs.el into emacs-packages-deps
2019-04-25 22:28:58 +02:00
Daniel Schaefer
b12b1e2f42 orca: Set strictDeps to false
Wouldn't find the proper libraries/namespaces otherwise because of
https://github.com/NixOS/nixpkgs/issues/56943

(cherry picked from commit 634b21f6ac)
2019-04-25 19:38:53 +02:00
Kirill Elagin
02adc5618a gitlab-runner: 11.8.0 -> 11.9.2 (release branch) (#60078)
Fixes issues with git lfs.
2019-04-25 18:16:04 +02:00
Jan Tojnar
cf3e277dd0 buildPython*: allow overriding strictDeps
(cherry picked from commit 83914f2c56)
2019-04-24 23:55:21 +02:00
Renaud
aff2ba0cd2 Merge pull request #60179 from c0bw3b/backport/torcs
[19.03] torcs: fetch patch from stable source
2019-04-24 22:11:48 +02:00
Herwig Hochleitner
d1e25d9606 chromium: 73.0.3683.103 -> 74.0.3729.108
CVE-2019-5805 CVE-2019-5806 CVE-2019-5807 CVE-2019-5808 CVE-2019-5809
CVE-2019-5810 CVE-2019-5811 CVE-2019-5812 CVE-2019-5813 CVE-2019-5814
CVE-2019-5815 CVE-2019-5816 CVE-2019-5817 CVE-2019-5818 CVE-2019-5819
CVE-2019-5820 CVE-2019-5821 CVE-2019-5822 CVE-2019-5823

(cherry picked from commit d77256c604)
2019-04-24 22:03:28 +02:00
eri!
e60c4f5a6a torcs: anonscm.debian.org has moved (#59316)
* torcs: anonscm.debian.org has moved

the patch links returned a HTTP error 401 as
anonscm.debian.org moved to a gitlab at salsa.debian.org
I used the non access required download link generated by the new instance
As @worldofpeace suggested in #58978 I used the last commit involving the files.

* torcs: add patch on OpenALMusicPlayer.cpp

Unbreak builds with GCC7

(cherry picked from commit 99b9166dd2)
2019-04-24 21:30:20 +02:00
eri!
941ff832c5 torcs: anonscm.debian.org has moved
the patch links where somewhat broken
my guess it is due to the move to a gitlab at salsa.debian.org
I used the non access required download link generated by gitlab

(cherry picked from commit acbdaa569f)
2019-04-24 21:30:07 +02:00
Joachim F
3f2a7aa64e Merge pull request #60120 from bjpbakker/release-19.03
factorio: alpha 0.16.51 -> 0.17.32
2019-04-24 19:05:09 +00:00
Michael Weiss
2f1eacc949 Merge pull request #60150 from primeos/security-backports-for-19.03
[19.03] Security backports for gollum, jekyll, and html-proofer
2019-04-24 11:23:05 +02:00
Michael Weiss
29d41992f8 html-proofer: Update the dependencies (security, CVE-2019-11068)
(cherry picked from commit e0e5dca235)
2019-04-24 10:57:19 +02:00
Michael Weiss
f5751bdc9c jekyll: Update the dependencies (security, CVE-2019-11068)
(cherry picked from commit 9d720a9221)
2019-04-24 10:57:19 +02:00
Michael Weiss
0672cdda60 gollum: Update the dependencies (security, CVE-2019-11068)
(cherry picked from commit 87cb3b33f1)
2019-04-24 10:57:19 +02:00
Silvan Mosberger
5ad94f3351 Merge pull request #59801 from cdepillabout/backport-stretcly
stretchly: init at 0.19.1 (backport to 19.03)
2019-04-24 07:22:37 +02:00
xrelkd
8935414160 youtube-dl: 2019.04.17 -> 2019.04.24
(cherry picked from commit e452aa0de7)
2019-04-24 00:09:38 -04:00
Bart Bakker
98bcc60f3a factorio: alpha 0.16.51 -> 0.17.32 2019-04-23 21:25:12 +02:00
cdyson37
7936400662 python-docs: typo
(cherry picked from commit 6ea4aa481d)
2019-04-23 10:59:17 +01:00
Florian Klink
c0ef5a377e Merge pull request #60073 from flokli/19.03/gitlab-11.9.8
[19.03] gitlab: 11.9.1 -> 11.9.8
2019-04-23 11:24:49 +02:00
Florian Klink
3a8e9901b5 gitlab-ce: 11.9.1 -> 11.9.8
(cherry picked from commit 04b5eb10c0)
2019-04-23 09:47:00 +02:00
Florian Klink
42ea5c816c gitlab-ee: 11.9.1 -> 11.9.8
(cherry picked from commit 33423e52c6)
2019-04-23 09:47:00 +02:00
Florian Klink
6df0af888a gitlab-workhorse: 8.3.1 -> 8.3.3
(cherry picked from commit 74eb807f83)
2019-04-23 09:46:59 +02:00
Samuel Dionne-Riel
19cb786b9a Merge pull request #60037 from samueldr/backport/nixpkgs-59215
Backport perl: add .withPackages #59215 #60028
2019-04-22 19:42:53 -04:00
Silvan Mosberger
ae8b2749fd ideviceinstaller: 2018-06-01 -> 2018-10-01
(cherry picked from commit 768e9b1505)
2019-04-22 18:42:52 -04:00
Silvan Mosberger
e45f4271be ifuse: 1.1.3 -> 2018-10-08
Switching to latest master, as there hasn't been a new release in a
while, see https://github.com/libimobiledevice/ifuse/issues/34

(cherry picked from commit 8d5252be82)
2019-04-22 18:42:52 -04:00
Silvan Mosberger
4274faea52 usbmuxd: 2018-10-10 -> 2019-03-05
(cherry picked from commit 71c1b44349)
2019-04-22 18:42:52 -04:00
Silvan Mosberger
155513d8a9 libimobiledevice: 2018-07-24 -> 2019-04-04
(cherry picked from commit 173e96075c)
2019-04-22 18:42:52 -04:00
Silvan Mosberger
ece4bde1a4 libusbmuxd: 2019-01-18 -> 2019-03-23
(cherry picked from commit dd03b216e5)
2019-04-22 18:42:52 -04:00
Silvan Mosberger
9956d1c84e libplist 2019-01-20 -> 2019-04-04
(cherry picked from commit 2013c91c6b)
2019-04-22 18:42:52 -04:00
Will Dietz
b4a42a91cf libusbmuxd: 2018-07-23 -> 2019-01-18
(cherry picked from commit 668f759678)
2019-04-22 18:42:52 -04:00
Will Dietz
5b080ed54e libplist: 2018-07-25 -> 2019-01-20
(cherry picked from commit 7634357343)
2019-04-22 18:42:07 -04:00
Silvan Mosberger
c19fad41d1 Merge pull request #60033 from aanderse/automysqlbackup-backport
automysqlinit: init at 3.0_rc6 (19.03 backport)
2019-04-23 00:36:26 +02:00
Silvan Mosberger
ba56744abd Merge pull request #59885 from AmineChikhaoui/cp-ec2-19.03-amis
cherry-pick ec2-amis.nix: add 19.03 amis
2019-04-23 00:13:25 +02:00
Silvan Mosberger
46379ddb8c Merge pull request #59910 from aanderse/libapreq2-backport
perlPackages.libapreq2: install the perl & apache modules (19.03 backport)
2019-04-23 00:10:28 +02:00
Daniel Schaefer
f3c9a7b767 libpst: Fix build
Disable Python integration because it can't find -lboost_python.

(cherry picked from commit 43d4132929)
2019-04-23 00:07:11 +02:00
Daniel Schaefer
9d09f02f11 pythonPackages.sounddevice: 0.3.12 -> 0.3.13
(cherry picked from commit 29ad469b43)
2019-04-23 00:02:09 +02:00
Izorkin
d8cf9d8b10 phpPackages.oci8: 2.1.8 -> 2.2.0
(cherry picked from commit 7fb1b02165)

Backported because it oci8 is broken on 19.03, see https://github.com/NixOS/nixpkgs/pull/59926 as well
2019-04-22 23:55:21 +02:00
taku0
63f8025e23 adoptopenjdk-bin: 11.0.2 -> 11.0.3
(cherry picked from commit 25b5dfa43e)
2019-04-22 23:34:42 +02:00
Aaron Andersen
5dd001a0f6 perl: add missing 'self' reference to perldevel 2019-04-22 16:49:52 -04:00
Robert Schütz
3ebbd45cb0 dovecot: 2.3.5.1 -> 2.3.5.2
https://dovecot.org/pipermail/dovecot-news/2019-April/000407.html
fixes CVE-2019-10691

(cherry picked from commit 041fc67610)
2019-04-22 22:43:33 +02:00
Silvan Mosberger
2461d60795 Merge pull request #59894 from Yarny0/hylafax-updates-19.03
HylaFAX: fix ModemGroup, also minor metadata updates (backport to release-19.03)
2019-04-22 22:19:54 +02:00
volth
32be67f6d6 perl.meta.priority += 1
give priority to perl libraries when they meet the perl derivation in `buildEnv`.

The notable case is `buildEnv` inside `perl.withPackages`.

The `perl' derivation includes obsolete versions of some CPAN packages
which leads to collissions when there are newer versions
of the same libraries are on the right hand side
of `perl.withPackages` (perhaps indirectly).

Fixes #60025

(cherry picked from commit 0fad0b4e5b)
2019-04-22 15:43:58 -04:00
volth
0b42d3c02f perl.pkgs.Encode: fix typo
(cherry picked from commit d23ff47908)
2019-04-22 15:42:34 -04:00
volth
a13cab4006 perl.pkgs.Encode: fix buildEnv collision with perl
fix https://github.com/NixOS/nixpkgs/pull/59215#issuecomment-481485707

(cherry picked from commit f73eb61113)
2019-04-22 15:42:34 -04:00
volth
246f5a5ad3 perl: add .withPackages
(cherry picked from commit 03eaa480bd)
2019-04-22 15:42:05 -04:00
Aaron Andersen
dba66e2998 automysqlinit: init at 3.0_rc6
(cherry picked from commit 5f4df8e509)
2019-04-22 13:34:42 -04:00
Markus Kowalewski
4c57db81b1 guake: fix by setting strictDeps to false
Strict deps breaks guake.
See https://github.com/NixOS/nixpkgs/issues/59930
and https://github.com/NixOS/nixpkgs/issues/56943

(cherry picked from commit 184f7f2ad8)
2019-04-21 23:27:43 -04:00
worldofpeace
330b9fac60 lightlocker: compile schemas
(cherry picked from commit ce14f9a9be)
2019-04-21 19:35:46 -04:00
Vaibhav Sagar
734211d2ab ghcjs-ng: unbreak
(cherry picked from commit e4975aac68)
2019-04-21 12:13:14 +02:00
Vladimír Čunát
454eea84a7 Merge #58631: djview: fix mozilla plugin path
(cherry picked from commit 9960ff9c83)
2019-04-21 10:26:46 +02:00
Tim Steinbach
83e778c7aa linux: 5.0.8 -> 5.0.9
(cherry picked from commit 297f8c55e5)
2019-04-20 08:40:53 -04:00
Tim Steinbach
e8dd95aee3 linux: 4.9.169 -> 4.9.170
(cherry picked from commit 24867c60e4)
2019-04-20 08:40:53 -04:00
Tim Steinbach
4f8dcd8774 linux: 4.19.35 -> 4.19.36
(cherry picked from commit d5bbae8308)
2019-04-20 08:40:53 -04:00
Tim Steinbach
8a81fbee4b linux: 4.14.112 -> 4.14.113
(cherry picked from commit ab17efc087)
2019-04-20 08:40:52 -04:00
Timo Kaufmann
73c885246f Merge pull request #58119 from rnhmjoj/spectral
[backport] spectral: 2018-09-24 -> 2019-03-03
2019-04-20 11:03:31 +02:00
worldofpeace
b807bc8a53 Merge pull request #59888 from joachifm/aws-sams-cli-backport
[release-19.03] Backport aws-sam-cli
2019-04-19 22:45:35 -04:00
Aaron Andersen
2be3fc7a3b perlPackages.libapreq2: install the perl & apache modules
(cherry picked from commit 2f25d58fc8)
2019-04-19 21:00:01 -04:00
Yarny0
437f5c3fe5 hylafaxplus: update meta
* move meta attrset into curly brackets
* update homepage (finally supports https)
* add downloadPage
* add longDescription

(cherry picked from commit 729ce1cc58)
2019-04-19 17:07:59 +02:00
Yarny0
05459ce36b nixos/hylafax: fix faxq ModemGroup setting
The manpage claims that the "limit" in the setting::
  <name>:[<limit>:]<regex>
is optional and defaults to zero, implying no limit.
However, tests confirmed that it actually isn't optional.

Without limit, the setting ``any:.*`` places
outbound jobs on infinite hold if no particular
modem was specified on the sendfax command line.
The new default value ``any:0:.*`` from
this commit uses any available modem to
send jobs if not modem was given to sendfax.

(cherry picked from commit e57156bcaa)
2019-04-19 17:07:38 +02:00
Yarny0
803d10f624 nixos/hylafax: add 'yarny' (= myself) as maintainer
I forgot to do this when I submitted this module with
commit 12fa95f2d6.

(cherry picked from commit 1438f7b664)
2019-04-19 17:06:41 +02:00
Jethro Kuan
2cef8127e0 steamrt 1.1 -> 1.2
(cherry picked from commit f785ba1d74)
2019-04-19 16:34:25 +02:00
David Leung
dd1d40b447 aws-sam-cli: 0.5.0 -> 0.14.2
(cherry picked from commit e5c07b8754)
2019-04-19 15:42:44 +02:00
R. RyanTM
20d042a679 python27Packages.aws-sam-translator: 1.9.1 -> 1.10.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/python2.7-aws-sam-translator/versions

(cherry picked from commit b83973990f)
2019-04-19 15:42:42 +02:00
David Leung
68cd44c3d2 pythonPackages.serverlessrepo: init at 0.1.8
A Python library with convenience helpers for working with the AWS Serverless
Application Repository.

(cherry picked from commit 0d1ec03d1a)
2019-04-19 15:42:40 +02:00
David Leung
05a440b1bb pythonPackages.chevron: init at 0.13.1
A Python implementation of mustache

(cherry picked from commit 7033cf04dd)
2019-04-19 15:42:40 +02:00
David Leung
dd45b02d80 pythonPackages.aws-lambda-builders: init at 0.2.1
(cherry picked from commit 6663765dbb)
2019-04-19 15:42:39 +02:00
David Leung
e29f6ddf73 maintainers: add dhkl
(cherry picked from commit cc26f5fda9)
2019-04-19 15:42:38 +02:00
worldofpeace
2f0eda84b6 Merge pull request #59753 from worldofpeace/qsynth-backport
Qsynth backport
2019-04-19 09:08:00 -04:00
AmineChikhaoui
f9432d125b ec2-amis.nix: add 19.03 amis
(cherry picked from commit 548932640b)
2019-04-19 07:52:56 -04:00
Joachim Fasting
1fa9a0819e tor-browser-bundle-bin: defaults for XAUTHORITY and DBUS_SESSION_BUS_ADDRESS
See https://github.com/NixOS/nixpkgs/issues/55082
and https://github.com/NixOS/nixpkgs/issues/20157#issuecomment-272767442

(cherry picked from commit bce47ea9d5)
2019-04-19 12:36:04 +02:00
Bruno Bigras
27a28c1748 rofi: fix homepage URL (#59837)
(cherry picked from commit bbc7ba5aeb)
2019-04-19 12:36:02 +02:00
Peter Hoeg
7949402dfd rubber: fix build
(cherry picked from commit 074f57b4a8)
2019-04-19 12:35:57 +02:00
jD91mZM2
286366e7e2 xidlehook: v0.6.1 -> v0.6.2 (#57599)
(cherry picked from commit b9887d9fd1)
2019-04-19 11:26:19 +02:00
xrelkd
fe334ad075 go-ethereum: 1.8.26 -> 1.8.27
(cherry picked from commit c41784a321)
2019-04-19 08:59:32 +01:00
Jörg Thalheim
70546dbd6b rambox: 0.6.3 -> 0.6.6
(cherry picked from commit 975734c665)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-04-19 08:49:01 +02:00
adisbladis
8ea36d7325 zfsUnstable: 0.8.0-rc3 -> 0.8.0-rc4
(cherry picked from commit e3a83b5bc0)
2019-04-18 22:37:03 +01:00
Sarah Brofeldt
bc866ab334 Merge pull request #59822 from srhb/backport-steam-fix-missing-setupsh
[19.03] steam: fix steamrt trying to use a missing setup.sh
2019-04-18 22:11:21 +02:00
Linus Heckemann
2f0eaa072f Merge pull request #59848 from AmineChikhaoui/ec2-fix-resize2fs
ec2 image: fix resize2fs (cherry pick PR#57633)
2019-04-18 21:53:59 +02:00
talyz
74ef29ec38 amazon-image.nix: Resolve failure to include resize2fs
Since 34234dcb51, for resize2fs to be automatically included in
initrd, a filesystem needed for boot must be explicitly defined as an
ext* type filesystem.

(cherry picked from commit 261372b69c)
2019-04-18 14:03:19 -04:00
worldofpeace
f5a69a98d9 Merge pull request #59841 from worldofpeace/pantheon-backport
backport #59339
2019-04-18 12:44:20 -04:00
worldofpeace
a4984f0b50 pantheon.elementary-gtk-theme: 5.2.2 -> 5.2.3
https://github.com/elementary/stylesheet/releases/tag/5.2.3
(cherry picked from commit f8e61c28ca)
2019-04-18 12:18:00 -04:00
worldofpeace
47d290ff61 pantheon.elementary-photos: fix issue introduced in elementary/photos#498
(cherry picked from commit 75cc84b3b7)
2019-04-18 12:02:58 -04:00
worldofpeace
d62e3c806f lightlocker: 1.8.0 -> 1.9.0
* meson!
* enabled UPower functionality

https://github.com/the-cavalry/light-locker/releases/tag/v1.9.0
(cherry picked from commit 26463d0736)
2019-04-18 12:02:53 -04:00
worldofpeace
5aa4a8dd0a pantheon.elementary-music: 5.0.3 -> 5.0.4
https://github.com/elementary/music/releases/tag/5.0.4
(cherry picked from commit 5dc1b85f3f)
2019-04-18 12:02:50 -04:00
worldofpeace
89ea5bddac pantheon.switchboard-plug-mouse-touchpad: 2.1.4 -> 2.2.0
Uses org.gnome.settings-daemon.plugins.xsettings
for middle click paste. I've hardcoded this with a patch.

https://github.com/elementary/switchboard-plug-mouse-touchpad/releases/tag/2.2.0
(cherry picked from commit 97eb1c1af8)
2019-04-18 12:02:47 -04:00
worldofpeace
3ba413dcec networkmanagerapplet: hardcode for eap gschema
This is needed for the networking plug in pantheon.switchboard
and the related indicator in pantheon.wingpanel

(cherry picked from commit cb3579d8c4)
2019-04-18 12:02:45 -04:00
worldofpeace
152d2ae8c0 pantheon.wingpanel-indicators: use placeholder
(cherry picked from commit 4a690093b1)
2019-04-18 12:02:41 -04:00
worldofpeace
3c8643fea6 pantheon.switchboard-plugs: use placeholder
(cherry picked from commit b335d5640c)
2019-04-18 12:02:38 -04:00
worldofpeace
d8a0995254 pantheon.elementary-photos: 2.6.2 -> 2.6.3
Drop gexiv2 0.12 patch, fix is upstream.

https://github.com/elementary/photos/releases/tag/2.6.3
(cherry picked from commit 69edf51963)
2019-04-18 12:02:34 -04:00
Török Edwin
534d8ff742 linux: Fix update script
The script was wrecking `modDirVersion`, putting them back and
ensuring it will not break again.

(cherry picked from commit 922c07d2d2)
2019-04-18 14:29:18 +00:00
worldofpeace
5d1c54ff32 Merge pull request #59805 from das-g/add-mutter-keybindings
gnome3.gnome-control-center: Add mutter keybindings (backport to release-19.03)
2019-04-18 09:20:49 -04:00
Bas van Dijk
31b53e0f4b Merge pull request #59832 from basvandijk/prometheus-pushgateway-module-release-19.03
Backport "Prometheus pushgateway 0.4.0 -> 0.8.0 & module" to release 19.03
2019-04-18 14:41:30 +02:00
Bas van Dijk
5776161ae9 nixos/prometheus/pushgateway: add module and test
(cherry picked from commit d1940beb3a)
2019-04-18 14:12:32 +02:00
Bas van Dijk
a3178b02f9 prometheus-pushgateway: 0.7.0 -> 0.8.0
(cherry picked from commit b0fbe1df3f)
2019-04-18 14:12:32 +02:00
Ivan Kozik
ae14052161 prometheus-pushgateway: 0.4.0 -> 0.7.0
Add some tests to make sure the --version output includes the values
passed in with -X.

Add myself as a maintainer.

(cherry picked from commit 8b4b12ed7a)
2019-04-18 14:12:32 +02:00
Bas van Dijk
1cbe0fe172 Merge pull request #59831 from basvandijk/prometheus-refactoring-release-19.03
Backport "nixos/prometheus: refactored & added more missing options" to release 19.03
2019-04-18 14:10:52 +02:00
Bas van Dijk
c99b5b4a5d nixos/prometheus: add more missing options
(cherry picked from commit cdd82681b3)
2019-04-18 13:46:57 +02:00
Bas van Dijk
cf444536f6 nixos/prometheus: abstract over optional option creation
(cherry picked from commit 285fd3c05a)
2019-04-18 13:46:57 +02:00
Bas van Dijk
3a253af8f0 nixos/prometheus: set optional attributes to type types.nullOr
This makes sure that when a user hasn't set a Prometheus option it
won't show up in the prometheus.yml configuration file. This results
in smaller and easier to understand configuration files.

(cherry picked from commit 55ef5d4246)
2019-04-18 13:46:57 +02:00
Bas van Dijk
c8e2dc05c6 nixos/prometheus: filter out the _module attr in a central place
We previously filtered out the `_module` attribute in a NixOS
configuration by filtering it using the option's `apply` function.

This meant that every option that had a submodule type needed to have
this apply function. Adding this function is easy to forget thus this
mechanism is error prone.

We now recursively filter out the `_module` attributes at the place we
construct the Prometheus configuration file. Since we now do the filtering
centrally we don't have to do it per option making it less prone to errors.

(cherry picked from commit 57e5b75f9c)
2019-04-18 13:46:57 +02:00
Bas van Dijk
bcd5fe6471 Merge pull request #59769 from basvandijk/prometheus-ec2-release-19.03
Backport prometheus ec2_sd_config and tls_config options to release-19.03
2019-04-18 13:44:31 +02:00
Brian McKenna
595da06f69 steam: fix steamrt trying to use a missing setup.sh (#59326)
I was getting the following error after a Steam update:

    internal error: /steamrt/setup.sh is missing, this runtime is invalid or corrupted

The script is used to put things on PATH but it doesn't seem we need to do that.

(cherry picked from commit 098cf3b348)
2019-04-18 11:38:50 +02:00
Domen Kožar
6866a74a85 atom: bump
(cherry picked from commit f27690a252)
Signed-off-by: Domen Kožar <domen@dev.si>
2019-04-18 16:22:44 +07:00
worldofpeace
80e68d5723 Merge pull request #59788 from worldofpeace/stable-tracker-update
[19.03] gnome3.tracker: 2.1.6 -> 2.1.8
2019-04-18 05:08:10 -04:00
bb010g
cb00048c0a python3{5,6}: Reintroduce bytecode determinism
Originally introduced in 8970a9c and 1531b5e, these patches were lost in
efbe87f when the CPython version files were merged, likely due to
CPython 3.7 not needing them anymore. These patches should remain
in-tree until CPython 3.5 and 3.6 support is dropped completely.

Found with the diffoscope ( https://diffoscope.org/ ).

(cherry picked from commit 28ac309309)
2019-04-18 08:14:15 +02:00
Yurii Izorkin
7990c3ea40 nixos/datadog-agent: change start command (#57871)
(cherry picked from commit f56d507e06)
Signed-off-by: Domen Kožar <domen@dev.si>
2019-04-18 09:55:34 +07:00
Izorkin
3c626720b8 datadog-agent: add old version pg8000 2019-04-18 09:55:34 +07:00
Jan Tojnar
69a2258a5c gnome3.gnome-control-center: Add mutter keybindings
fixes #19590 for release-19.03

(cherry picked from commit 1e6fec059d)
2019-04-18 03:54:38 +02:00
(cdep)illabout
00de4d19c4 stretchly: init at 0.19.1
This commit adds the program `stretchly`:

https://github.com/hovancik/stretchly

`stretchly` is an Electron app, so this commit just packages the binary
version for Linux.

(cherry picked from commit e48cfb5c5 and 1c39349)
2019-04-18 09:33:44 +09:00
Amar1729
76c2fb2508 hivex: add perl to wrapper and libiconv dependency
(cherry picked from commit 3dbeaad7e4)
2019-04-17 23:04:16 +02:00
Eelco Dolstra
d50813aa0b youtube-dl: 2019.04.07 -> 2019.04.17
(cherry picked from commit dd9192c55c)
2019-04-17 16:19:55 -04:00
Lorenzo
4c62718aee pythonPackages.azure-mgmt-network: remove patch (#59614)
The patched file has been removed in [0].

 [0]: 09b09a5839

(cherry picked from commit 6c6f13e9c4)
2019-04-17 20:47:31 +02:00
Timo Kaufmann
899d385559 Merge pull request #59786 from timokau/sage-bugfix-19.03
[19.03] sage: fix another transient sig_on bug
2019-04-17 20:39:39 +02:00
worldofpeace
a0e8dfd186 gnome3.tracker: 2.1.6 -> 2.1.8
Fixes https://github.com/NixOS/nixpkgs/issues/59772

Also fix path to gdbus in the autostart.

https://gitlab.gnome.org/GNOME/tracker/blob/2.1.8/NEWS
2019-04-17 14:27:53 -04:00
Timo Kaufmann
2b6f75c1f0 sage: fix another transient sig_on bug
Caused a test failure on hydra, backporting upstream fix.

(cherry picked from commit e0e5445667)
2019-04-17 19:58:42 +02:00
Graham Christensen
fc2771314b Merge pull request #59779 from AmineChikhaoui/cherrypick-nixops-1.7
cherry pick nixops update to 1.7
2019-04-17 12:57:33 -04:00
AmineChikhaoui
5e094b97eb nixopsUnstable: 1.6.1pre2728_8ed39f9 -> 1.7pre2764_932bf43
(cherry picked from commit 5b5ca459d2)
2019-04-17 11:49:31 -04:00
AmineChikhaoui
46581941a7 nixops: 1.6.1 -> 1.7
Add release 1.7, also keep version 1.6.1 available for Azure
backend users. Azure backend was disabled in v1.7 due to the
python API changes.

(cherry picked from commit 0db54f93fb)
2019-04-17 11:49:25 -04:00
Tim Steinbach
820226eb93 openjdk: 11.0.2-b9 -> 11.0.3-ga
(cherry picked from commit eb970c5887)
2019-04-17 10:06:49 -04:00
Tim Steinbach
dd64c5d911 openjdk: 8u202 -> 8u212
(cherry picked from commit 0540650f22)
2019-04-17 10:06:49 -04:00
Tim Steinbach
354f1febdc dotty: 0.10.0-RC1 -> 0.14.0-RC1
(cherry picked from commit 9429f15f31)
2019-04-17 10:06:49 -04:00
Tim Steinbach
8169e976e8 linux: 5.0.7 -> 5.0.8
(cherry picked from commit e9621b2c96)
2019-04-17 10:06:48 -04:00
Tim Steinbach
92ed0caa74 linux: 4.9.168 -> 4.9.169
(cherry picked from commit 41336064ab)
2019-04-17 10:06:48 -04:00
Tim Steinbach
d40b384143 linux: 4.19.34 -> 4.19.35
(cherry picked from commit f9c38693da)
2019-04-17 10:06:48 -04:00
Tim Steinbach
349c05cd1f linux: 4.14.111 -> 4.14.112
(cherry picked from commit dd3964e885)
2019-04-17 10:06:47 -04:00
Bas van Dijk
2a0742b141 nixos/prometheus: filter out empty srcape_configs attributes
This results in a smaller prometheus.yml config file.

It also allows us to use the same options for both prometheus-1 and
prometheus-2 since the new options for prometheus-2 default to null
and will be filtered out if they are not set.

(cherry picked from commit a913d0891c)
2019-04-17 13:27:53 +02:00
Bas van Dijk
84414b3ba7 nixos/prometheus: add new ec2_sd_config options for prometheus2
(cherry picked from commit a23db5db08)
2019-04-17 13:27:53 +02:00
Andrew Childs
67d1bcbf97 nixos/prometheus: add ec2_sd_configs section to scrape_configs
(cherry picked from commit ad7e232f88)
2019-04-17 13:27:53 +02:00
Enno Lohmeier
47139454e4 prometheus: add tls_config
(cherry picked from commit da7aeb1b7d)
2019-04-17 13:27:52 +02:00
mtrsk
3d98c52b23 No need for xorg.libX11.dev
(cherry picked from commit 2f54c28ddf)
2019-04-17 05:37:36 +02:00
mtrsk
b40f65b3fb Fixed fatal error with X11 and libGL while building playonlinux on unstable
(cherry picked from commit dc4b9b30ed)
2019-04-17 05:37:26 +02:00
R. RyanTM
3656049b8c qsynth: 0.5.5 -> 0.5.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/qsynth/versions

(cherry picked from commit 50c0eafb08)
2019-04-16 21:31:46 -04:00
Bart Brouns
03ec02a89e qsynth: 0.5.2 -> 0.5.5
(cherry picked from commit b0fbc3517c)
2019-04-16 21:31:42 -04:00
R. RyanTM
54a6b443cd gnome3.gdm: 3.30.2 -> 3.30.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/gdm/versions

(cherry picked from commit 15ad7d3e7d)
2019-04-16 21:24:23 -04:00
R. RyanTM
7b36963e7a wire-desktop: 3.7.2891 -> 3.9.2895
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/wire-desktop/versions

(cherry picked from commit b3408d088c)
2019-04-16 18:17:45 -04:00
Silvan Mosberger
f40cae4c67 Merge pull request #59640 from edwintorok/opam-19.03
opam: fix sandboxing in release-19.03
2019-04-16 22:37:10 +02:00
Bas van Dijk
f47f7aff2c Merge pull request #59698 from basvandijk/fluentd-1.4.2-release-19.03
Backport "fluentd: 1.2.3 -> 1.4.2" to release-19.03
2019-04-16 12:44:21 +02:00
Kirill Elagin
dc11f48753 telegraf: 1.9.2 -> 1.10.2
Note: For some reason, I had to manually tweak the hash of
      ApplicationInsights-Go generated by dep2nix.
(cherry picked from commit 335373c965)
2019-04-16 11:20:09 +01:00
Bas van Dijk
7d28283ca6 fluentd: 1.2.3 -> 1.4.2
(cherry picked from commit ad41c1f1c0)
2019-04-16 11:51:07 +02:00
Bas van Dijk
012e05a994 Merge pull request #59262 from basvandijk/prometheus2-release-19.03
Backport prometheus2 to release-19.03
2019-04-16 09:23:37 +02:00
strager
2db665b693 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:12:40 -04:00
R. RyanTM
63cb4180c7 nodejs-slim-11_x: 11.11.0 -> 11.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/nodejs-slim/versions

(cherry picked from commit 0aa97a84ed)
2019-04-15 22:56:15 +01:00
Matthew Glazar
e152a7a7d0 python37: fix build on macOS
The upstream patch for distutils does not apply cleanly to Python
3.7.3's sources. (The patch applies cleanly to Python 3.7.2's sources,
but nixpkgs commit 0ddae82e6a upgraded
Python to 3.7.3.) Fix the patch to make python37 build on macOS.

(cherry picked from commit fdbcf5ba36)
2019-04-15 23:34:04 +02:00
Uma Zalakain
c29798a7d2 opam: put the whole /nix in OPAM_USER_PATH_RO
Some symlinks point to /nix/var/profiles/per-user/…, these have be
readable too.
2019-04-15 22:14:14 +01:00
Eelco Dolstra
6987e52d40 nix: 2.2 -> 2.2.2
(cherry picked from commit 5399f34ad9)
2019-04-15 19:11:33 +02:00
Mohammed Yaseen Mowzer
b33e1ac83f emacs: Link subdirs.el into emacs-packages-deps
Emacs loads all the elisp files in the top-level of the site-lisp
directory. However some packages (e.g. mu4e) put their elisp files in a
subdirectory of site-lisp. Emacs will not load these packages unless
subdirs.el is present.

This commit links the subdirs.el file from the emacs package into the
emacs-package-deps package so that packages that put their elisp files
in a subdirectory of site-lisp are loaded.
2019-04-15 18:57:36 +02:00
Dmitry Kalinkin
2bb5cc2874 Merge pull request #59407 from veprbl/pr/static-proot_backport_staging
[19.03] Static proot, wafHook cross compilation
2019-04-15 12:26:37 -04:00
Bas van Dijk
ea497998e4 Merge pull request #59572 from basvandijk/elk-7.0.0-release-19.03
Backport "elk7: init at 7.0.0" to release-19.03
2019-04-15 09:24:40 +02:00
Bas van Dijk
ab63f14470 elk7: init at 7.0.0
This adds the following new packages:

+ elasticsearch7
+ elasticsearch7-oss
+ logstash7
+ logstash7-oss
+ kibana7
+ kibana7-oss
+ filebeat7
+ heartbeat7
+ metricbeat7
+ packetbeat7
+ journalbeat7

The default major version of the ELK stack stays at 6. We should
probably set it to 7 in a next commit.

(cherry picked from commit 13352f28d2)
2019-04-15 07:59:56 +02:00
Timo Kaufmann
b8debacbf4 xonsh: 0.8.3 -> 0.8.12 (#58824) (#59509)
(cherry picked from commit aa4af91d50)
2019-04-14 22:47:11 +02:00
Tim Steinbach
8b4bd5e3be linux: 5.1-rc3 -> 5.1-rc4
(cherry picked from commit f5d208d754)
2019-04-14 20:51:13 +02:00
Tim Steinbach
a129769324 linux: 5.1-rc2 -> 5.1-rc3
(cherry picked from commit e072c23804)
2019-04-14 20:51:13 +02:00
Tim Steinbach
b34f4e9d5f linux: 5.0-rc8 -> 5.1-rc2
(cherry picked from commit 9ba43c07cb)
2019-04-14 20:51:13 +02:00
Samuel Dionne-Riel
ebcadadf55 dbeaver: 5.3.0 -> 6.0.2
With the required changes for the eclipse update.

(cherry picked from commit 6a6d6cdc0d)
2019-04-14 14:13:16 -04:00
Aaron Andersen
81f30595c7 otter-browser: fix broken build
(cherry picked from commit a52504df93)
2019-04-14 19:41:24 +02:00
Silvan Mosberger
42bf842eae nixos/znc: Fix URL XML for config option
(cherry picked from commit b8dc0f9a5b)
2019-04-14 17:34:17 +02:00
Bas van Dijk
e5e49d7313 Merge pull request #59261 from basvandijk/elk-6.7.1-release-19.03
Backport elk: 6.5.1 -> 6.7.1 to release-19.03
2019-04-14 15:58:10 +02:00
Jesper Geertsen Jonsson
88498c0a9f resilio-sync: 2.6.2 -> 2.6.3
(cherry picked from commit 0fe4d42513)
2019-04-14 09:45:29 +02:00
worldofpeace
0ef3b4d4c8 aliases: add throw for font-droid
(cherry picked from commit 33e2b1acfb)
2019-04-13 14:20:09 -04:00
Matthew Bauer
c90e7a3de0 waf: use wafConfigureFlags for waf flags
This avoids the potential conflict between autoconf flags and the waf
flags. There is some overlap between the two but waf errors when it
doesn’t recognize the flag.

(cherry picked from commit a79a8f29bc)
2019-04-13 12:30:35 -04:00
Symphorien Gibol
05fa593272 proot: fix cross compilation
(cherry picked from commit 52566c3b7b)
2019-04-13 12:30:35 -04:00
Symphorien Gibol
25ec19f4d9 talloc, tdb: fix cross-compilation after wafHook improvements
(cherry picked from commit cbd9409086)
2019-04-13 12:30:34 -04:00
Symphorien Gibol
ca5148a987 wafHook: cross compilation support
for this to work, wafHook must be in nativeBuildInputs.

(cherry picked from commit 3d60a00c63)
2019-04-13 12:30:34 -04:00
Symphorien Gibol
c5bfc48102 wafHook: ignore configurePlatforms
waf does support --build and --host, but the only effect of these
options is an error message telling to use --cross-compile instead.
So we ignore these flags.

(cherry picked from commit 1001d0034c)
2019-04-13 12:30:33 -04:00
Symphorien Gibol
17fb45d9c6 wafHook: ignore --disable-static and such options
These options are forcefully added by pkgsStatic but are not understood
by waf.

(cherry picked from commit f23a21514c)
2019-04-13 12:30:33 -04:00
Symphorien Gibol
2f8b886a13 wafHook: let derivations use an existing waf in a non-standard location
this is necessary for talloc

(cherry picked from commit f075de5c25)
2019-04-13 12:30:33 -04:00
Andreas Rammhold
09820b0d88 Merge pull request #59393 from andir/19.03/firefox
[19.03] firefox: 66.0.2 -> 66.0.3, firefox-bin: 66.0.2 -> 66.0.3
2019-04-13 16:30:33 +02:00
Florian Klink
cd79d70a4a Merge pull request #59391 from flokli/19.03/gitea-1.7.6
[19.03]: gitea: 1.7.5 -> 1.7.6
2019-04-13 13:22:38 +02:00
Florian Klink
1b46aab073 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 12:57:51 +02:00
taku0
f52c66233e firefox-bin: 66.0.2 -> 66.0.3
(cherry picked from commit 7b49c78dad)
2019-04-13 12:32:00 +02:00
taku0
6f13c16cb0 firefox: 66.0.2 -> 66.0.3
(cherry picked from commit 3412a2cfcc)
2019-04-13 12:31:59 +02:00
rnhmjoj
bb2b48c610 spectral: disable darwin support
The build started to fail since the update to 2019-03-03.
2019-04-13 10:26:40 +02:00
rnhmjoj
6eb444de7f treewide: fixup bcf54ce
fix the executable bit for scripts installed with substituteAll
and some remaining shebangs.

(cherry picked from commit 5ea4160b33)
2019-04-13 02:03:38 -04:00
Michael Eden
53980bc3f2 writeShellScriptBin: use build-time shell in check phase
(cherry picked from commit 53b0027fb4)
2019-04-12 22:58:49 -04:00
Maximilian Bosch
0b8977564d codimd: js-sequence-diagrams: use git source rather than the NPM tarball
It seems as NPM just removed the tarballs of the unpublished package,
hence `codimd` isn't buildable. The sources for the package are
available on github[1] and fix the build.

For further information about the `js-sequence-diagrams` workarounds,
please refer to 5feec424de.

[1] https://github.com/Moeditor/js-sequence-diagrams

(cherry picked from commit c68bc18213)
2019-04-12 23:42:13 +02:00
worldofpeace
43a797b8bb Merge pull request #59350 from hedning/gvfs-bump
[19.03]  gvfs: 1.38.1 -> 1.38.2
2019-04-12 16:27:51 -04:00
Boris Babic
386a21d370 terminator: fix missing gobject bindings
See: https://github.com/NixOS/nixpkgs/issues/56943
(cherry picked from commit 34898d58ca)
2019-04-12 14:32:03 -04:00
Graham Christensen
aa3e6bfe59 Merge pull request #59365 from mogorman/upgrading_manual
(backport) nixos/manual: update 17.03 -> 19.03 in upgrading section
2019-04-12 12:40:17 -04:00
Matthew O'Gorman
9fee502aab nixos/manual: update 17.03 -> 19.03 in upgrading section 2019-04-12 12:37:40 -04:00
Emanuel Evans
8bb9a8adda nixos/gnupg: set SSH_AUTH_SOCK in non-interactive settings
`SSH_AUTH_SOCK` is useful in some non-interactive settings, for instance
daemonized Emacs. Fixes #55733.

(cherry picked from commit ddabdc0a1e)
2019-04-12 18:06:36 +02:00
Tor Hedin Brønner
ef3a463db5 gvfs: 1.38.1 -> 1.38.2
fix https://nvd.nist.gov/vuln/detail/CVE-2019-3827
2019-04-12 13:26:55 +02:00
Peter Simons
10c1a4115c Merge pull request #59303 from cdepillabout/disable-library-for-ghci-19.03
haskell-generic-builder: backport disable-library-for-ghci
2019-04-12 11:59:44 +02:00
Edmund Wu
447923f2c6 vscode: 1.33.0 -> 1.33.1
(cherry picked from commit 13923b54fb)
2019-04-12 01:02:07 -04:00
Will Dietz
0850ab6173 sddm: 0.18.0 -> 0.18.1
(cherry picked from commit 60a9e6177d)
Hotfix for crashes when creating a user session.

https://github.com/sddm/sddm/blob/v0.18.1/ChangeLog
https://github.com/sddm/sddm/releases/tag/v0.18.1
2019-04-12 00:15:52 -04:00
Graham Christensen
ae38c98f05 check-env: don't execute check-meta.nix 15,000 times
Generated from https://github.com/NixOS/nix/pull/2761:

```
                                                                                          ns     calls ns/call
- /home/grahamc/projects/github.com/NixOS/nixpkgs/pkgs/stdenv/generic/check-meta.nix:22:5 591200 15026 39.3451
+ /home/grahamc/projects/github.com/NixOS/nixpkgs/pkgs/stdenv/generic/check-meta.nix:22:5 8744   308   28.3896
```

more, generated by:

```
$ NIX_SHOW_STATS=1 NIX_COUNT_CALLS=1 nix-instantiate ./pkgs/top-level/release.nix -A unstable > before 2>&1
$ jq -r '.functions | map((.name + ":" + .file + ":" + (.line|tostring) + ":" + (.column|tostring) + " " + (.count|tostring))) | .[]' before | sort  > before.list
```

applying this patch, then:

```
$ NIX_SHOW_STATS=1 NIX_COUNT_CALLS=1 nix-instantiate ./pkgs/top-level/release.nix -A unstable > after 2>&1
$ jq -r '.functions | map((.name + ":" + .file + ":" + (.line|tostring) + ":" + (.column|tostring) + " " + (.count|tostring))) | .[]' after | sort  > after.list
```

and then diffing before.list and after.list to get:

```
                                                                                                        calls
- :/home/grahamc/projects/github.com/NixOS/nixpkgs/pkgs/stdenv/generic/check-meta.nix:4:1               7513
+ :/home/grahamc/projects/github.com/NixOS/nixpkgs/pkgs/stdenv/generic/check-meta.nix:4:1               154

- mutuallyExclusive:/home/grahamc/projects/github.com/NixOS/nixpkgs/lib/lists.nix:658:23                7513
+ mutuallyExclusive:/home/grahamc/projects/github.com/NixOS/nixpkgs/lib/lists.nix:658:23                154

- mutuallyExclusive:/home/grahamc/projects/github.com/NixOS/nixpkgs/lib/lists.nix:658:26                7513
+ mutuallyExclusive:/home/grahamc/projects/github.com/NixOS/nixpkgs/lib/lists.nix:658:26                154

- onlyLicenses:/home/grahamc/projects/github.com/NixOS/nixpkgs/pkgs/stdenv/generic/check-meta.nix:21:18 15026
+ onlyLicenses:/home/grahamc/projects/github.com/NixOS/nixpkgs/pkgs/stdenv/generic/check-meta.nix:21:18 308
```

The following information is from `NIX_SHOW_STATS=1 GC_INITIAL_HEAP_SIZE=4g nix-env -f ./outpaths.nix -qaP --no-name --out-path --arg checkMeta true`:

| stat                       | before         | after          | Δ               | Δ%      |
|:---------------------------|---------------:|---------------:|:----------------|--------:|
| **cpuTime**                |        179.915 |        145.543 | 🡖 34.372        | -19.10% |
| **envs-bytes**             |  3,900,878,824 |  3,599,483,208 | 🡖 301,395,616   |  -7.73% |
| **envs-elements**          |    214,426,071 |    185,881,709 | 🡖 28,544,362    | -13.31% |
| **envs-number**            |    136,591,891 |    132,026,846 | 🡖 4,565,045     |  -3.34% |
| **gc-heapSize**            | 11,400,048,640 | 12,314,890,240 | 🡕 914,841,600   |   8.02% |
| **gc-totalBytes**          | 25,976,902,560 | 24,510,740,176 | 🡖 1,466,162,384 |  -5.64% |
| **list-bytes**             |  1,665,290,080 |  1,665,290,080 | 0               |         |
| **list-concats**           |      7,264,417 |      7,264,417 | 0               |         |
| **list-elements**          |    208,161,260 |    208,161,260 | 0               |         |
| **nrAvoided**              |    191,359,386 |    179,693,661 | 🡖 11,665,725    |  -6.10% |
| **nrFunctionCalls**        |    119,665,062 |    116,348,547 | 🡖 3,316,515     |  -2.77% |
| **nrLookups**              |     80,996,257 |     76,069,825 | 🡖 4,926,432     |  -6.08% |
| **nrOpUpdateValuesCopied** |    213,930,649 |    213,930,649 | 0               |         |
| **nrOpUpdates**            |     12,025,937 |     12,025,937 | 0               |         |
| **nrPrimOpCalls**          |     88,105,604 |     86,451,598 | 🡖 1,654,006     |  -1.88% |
| **nrThunks**               |    196,842,044 |    175,126,701 | 🡖 21,715,343    | -11.03% |
| **sets-bytes**             |  7,678,425,776 |  7,285,767,928 | 🡖 392,657,848   |  -5.11% |
| **sets-elements**          |    310,241,340 |    294,373,227 | 🡖 15,868,113    |  -5.11% |
| **sets-number**            |     29,079,202 |     27,601,310 | 🡖 1,477,892     |  -5.08% |
| **sizes-Attr**             |             24 |             24 | 0               |         |
| **sizes-Bindings**         |              8 |              8 | 0               |         |
| **sizes-Env**              |             16 |             16 | 0               |         |
| **sizes-Value**            |             24 |             24 | 0               |         |
| **symbols-bytes**          |     16,474,666 |     16,474,676 | 🡕 10            |   0.00% |
| **symbols-number**         |        376,426 |        376,427 | 🡕 1             |   0.00% |
| **values-bytes**           |  6,856,506,288 |  6,316,585,560 | 🡖 539,920,728   |  -7.87% |
| **values-number**          |    285,687,762 |    263,191,065 | 🡖 22,496,697    |  -7.87% |

The following information is from `NIX_SHOW_STATS=1 GC_INITIAL_HEAP_SIZE=4g nix-instantiate ./nixos/release-combined.nix -A tested`:

| stat                       | before         | after          | Δ               | Δ%     |
|:---------------------------|---------------:|---------------:|:----------------|-------:|
| **cpuTime**                |        256.071 |        237.531 | 🡖 18.54         | -7.24% |
| **envs-bytes**             |  7,111,004,192 |  7,041,478,520 | 🡖 69,525,672    | -0.98% |
| **envs-elements**          |    346,236,940 |    339,588,487 | 🡖 6,648,453     | -1.92% |
| **envs-number**            |    271,319,292 |    270,298,164 | 🡖 1,021,128     | -0.38% |
| **gc-heapSize**            |  8,995,291,136 | 10,110,009,344 | 🡕 1,114,718,208 | 12.39% |
| **gc-totalBytes**          | 37,172,737,408 | 36,878,391,888 | 🡖 294,345,520   | -0.79% |
| **list-bytes**             |  1,886,162,656 |  1,886,163,472 | 🡕 816           |  0.00% |
| **list-concats**           |      6,898,114 |      6,898,114 | 0               |        |
| **list-elements**          |    235,770,332 |    235,770,434 | 🡕 102           |  0.00% |
| **nrAvoided**              |    328,829,821 |    326,618,157 | 🡖 2,211,664     | -0.67% |
| **nrFunctionCalls**        |    240,850,845 |    239,998,495 | 🡖 852,350       | -0.35% |
| **nrLookups**              |    144,849,632 |    142,126,339 | 🡖 2,723,293     | -1.88% |
| **nrOpUpdateValuesCopied** |    251,032,504 |    251,032,504 | 0               |        |
| **nrOpUpdates**            |     17,903,110 |     17,903,110 | 0               |        |
| **nrPrimOpCalls**          |    140,674,913 |    139,485,975 | 🡖 1,188,938     | -0.85% |
| **nrThunks**               |    294,643,131 |    288,678,022 | 🡖 5,965,109     | -2.02% |
| **sets-bytes**             |  9,464,322,192 |  9,456,172,048 | 🡖 8,150,144     | -0.09% |
| **sets-elements**          |    377,474,889 |    377,134,877 | 🡖 340,012       | -0.09% |
| **sets-number**            |     50,615,607 |     50,616,875 | 🡕 1,268         |  0.00% |
| **sizes-Attr**             |             24 |             24 | 0               |        |
| **sizes-Bindings**         |              8 |              8 | 0               |        |
| **sizes-Env**              |             16 |             16 | 0               |        |
| **sizes-Value**            |             24 |             24 | 0               |        |
| **symbols-bytes**          |      3,147,102 |      3,147,064 | 🡖 38            | -0.00% |
| **symbols-number**         |         82,819 |         82,819 | 0               |        |
| **values-bytes**           | 11,147,448,768 | 10,996,111,512 | 🡖 151,337,256   | -1.36% |
| **values-number**          |    464,477,032 |    458,171,313 | 🡖 6,305,719     | -1.36% |

(cherry picked from commit 817c933878)
2019-04-11 19:45:32 -04:00
Lancelot SIX
002ad2e561 pythonPackages.qscintilla: fix build
(cherry picked from commit 029aba960a)
2019-04-11 22:27:31 +02:00
Aaron Andersen
877504bdbb perlPackages.DBDOracle: init at 1.76 (#59319)
(cherry picked from commit 73d45ab1b0618c273e0d9212ad9568f42247ea14)
2019-04-11 22:02:58 +02:00
Aaron Andersen
22aebaf09f perlPackages.CGIMinimal: init at 1.29 (#59318)
(cherry picked from commit 26db6d87d805b21acaf5a1d15909afbe4a2753ad)
2019-04-11 22:01:57 +02:00
Christopher A. Williamson
bc5e2df902 jenkins: 2.164.1 -> 2.164.2 (#59309)
(cherry picked from commit c2b1f0079f)
2019-04-11 21:57:22 +02:00
worldofpeace
6f6e99e36c Merge pull request #59274 from erosennin/backport-renpy-update
[backport] renpy: 7.1.3 -> 7.2.0
2019-04-11 14:05:01 -04:00
WilliButz
d934d0818b grafana: 6.1.2 -> 6.1.3 (#59307)
(cherry picked from commit a14e37538e)
2019-04-11 19:24:49 +02:00
WilliButz
0d2e999752 grafana: 6.1.1 -> 6.1.2
(cherry picked from commit a9247d09ef)
2019-04-11 19:24:44 +02:00
Dan Callahan
d6975222fe renpy: 7.1.3 -> 7.2.0
(cherry picked from commit 154a7d3cfb)

Fixes build of renpy and pygame_sdl2.
2019-04-11 17:40:54 +02:00
Frederik Rietdijk
246ac89c2b libr3: propagate pcre
(cherry picked from commit 1f7b8c71a9)
2019-04-11 17:23:34 +02:00
Frederik Rietdijk
edc0f8ebb3 libr3: init at 1.3.4
(cherry picked from commit 645ac131dd)
2019-04-11 17:23:33 +02:00
Frederik Rietdijk
b439244264 flatcc: init at 0.5.2
(cherry picked from commit f2a1d5b0c6)
2019-04-11 17:21:17 +02:00
AmineChikhaoui
d638b10c39 pythonPackages.azure-mgmt-storage: remove patch.
as suggested in the comment.

(cherry picked from commit 02bb5e35ea)
2019-04-11 16:42:15 +02:00
Frederik Rietdijk
eb3a5b863e hiredis-vip: init at 0.3.0
(cherry picked from commit f6dcb5f70b)
2019-04-11 13:53:39 +02:00
(cdep)illabout
353e20089f haskell-generic-builder: disable library-for-ghci by default
This commit disables the library-for-ghci flag passed to
`Setup configure` in the Haskell generic-builder.nix file.

This stops the HSfoo.o file from being built.  Building this
HSfoo.o file caused doctest to take an extremely long time
to load dependencies when running.

This is a follow-up from https://github.com/NixOS/nixpkgs/pull/58743.

(cherry picked from commit 0698b5438bdbed31786fe883332408583f8e6535)
2019-04-11 18:20:30 +09:00
Peter Simons
44588a4b97 Merge pull request #59146 from cdepillabout/backport-library-for-ghci
haskell-generic-builder: backport to 19.03 add option to disable library-for-ghci
2019-04-11 10:36:33 +02:00
Vladyslav M
1acf6547d0 Merge pull request #59283 from booxter/flash-19
[19.03] flashplayer: 32.0.0.156 -> 32.0.0.171
2019-04-11 01:41:39 +03:00
taku0
abc7b1526b flashplayer: 32.0.0.156 -> 32.0.0.171
(cherry picked from commit 3eb4e958b4)
2019-04-10 14:48:18 -07:00
adisbladis
d50bc0afd2 python3Packages.nixpkgs: Fix ImportError with recent pythonix versions
(cherry picked from commit 7bd2c5a604)
2019-04-10 17:51:55 +01:00
adisbladis
d450c17b88 pythonPackages.pythonix: 0.1.4 -> 0.1.6
(cherry picked from commit f15bd3cca3)
2019-04-10 17:32:08 +01:00
Sarah Brofeldt
97dca2ca54 Merge pull request #59061 from aanderse/redmine-19.03-backport
redmine: 3.4.9 -> 3.4.10 (19.03 backport)
2019-04-10 17:42:13 +02:00
Robert Schütz
173fb6dfea nixos/home-assistant: account for "The Great Migration"
See https://developers.home-assistant.io/blog/2019/02/19/the-great-migration.html
and https://github.com/NixOS/nixpkgs/issues/55958#issuecomment-466793526.

(cherry picked from commit 971187eada)

closes #59251
2019-04-10 17:00:05 +02:00
Herwig Hochleitner
99f15dc517 webkitgtk: 2.24.0 -> 2.24.1
(cherry picked from commit 63ad043e41)
2019-04-10 16:39:05 +02:00
Robert Schütz
8a71ce3cae python3.pkgs.asynctest: 0.12.2 -> 0.12.3
(cherry picked from commit 3d81cc7a2e)
2019-04-10 14:41:33 +02:00
Bas van Dijk
f93c6bd89c nixos/doc: add info about prometheus to the 19.03 release notes 2019-04-10 14:01:30 +02:00
Bas van Dijk
d41b4f7921 nixos/prometheus: add back the option services.prometheus.dataDir
This is to ensure more backwards compatibility. Note this is not 100%
backwards compatible because we now require dataDir to begin with /var/lib/.

(cherry picked from commit c95179b52f)
2019-04-10 13:54:43 +02:00
Bas van Dijk
da30293131 nixos/prometheus: fix indentation and unnecessary parenthesis
(cherry picked from commit eed84d1f8d)
2019-04-10 13:53:44 +02:00
Bas van Dijk
a8af1f05b2 nixos/tests: register the prometheus2 test
(cherry picked from commit 394970047e)
2019-04-10 13:53:33 +02:00
Bas van Dijk
705495ed77 nixos/prometheus: get rid of empty arguments
Previously the prometheus.service file looked like:

  ExecStart=/nix/store/wjkhfw3xgkmavz1akkqir99w4lbqhak7-prometheus-1.8.2-bin/bin/prometheus -storage.local.path=/var/lib/prometheus/metrics \
    -config.file=/nix/store/zsnvzw51mk3n1cxjd0351bj39k1j6j27-prometheus.yml-check-config-checked \
    -web.listen-address=0.0.0.0:9090 \
    -alertmanager.notification-queue-capacity=10000 \
    -alertmanager.timeout=10s \
     \

  Restart=always

Now it's:

  ExecStart=/nix/store/wjkhfw3xgkmavz1akkqir99w4lbqhak7-prometheus-1.8.2-bin/bin/prometheus \
    -storage.local.path=/var/lib/prometheus/metrics \
    -config.file=/nix/store/zsnvzw51mk3n1cxjd0351bj39k1j6j27-prometheus.yml-check-config-checked \
    -web.listen-address=0.0.0.0:9090 \
    -alertmanager.notification-queue-capacity=10000 \
    -alertmanager.timeout=10s
  Restart=always

(cherry picked from commit 7cf27feb2f)
2019-04-10 13:53:22 +02:00
Bas van Dijk
d500efd1b8 nixos/prometheus: use ExecStart instead of a shell script
This uses fewer lines of code and one less process.

(cherry picked from commit a59c92903e)
2019-04-10 13:53:12 +02:00
Jean-Baptiste Giraudeau
54a14ac036 Use same user for both prometheus 1 and 2. Use StateDirectory.
(cherry picked from commit 0333d877c2)
2019-04-10 13:53:01 +02:00
Jean-Baptiste Giraudeau
b9ee1949a3 Prometheus2: --web.external-url need two dash.
(cherry picked from commit 5ae25922b5)
2019-04-10 13:52:52 +02:00
Jean-Baptiste Giraudeau
30bdcf5986 Rollback versionning of services.prometheus.{exporters, alertmanager}.
(cherry picked from commit bfbae97cfa)
2019-04-10 13:52:44 +02:00
Alberto Berti
534ff38324 Fix alertmanager service definition. Thanks to @eonpatapon
(cherry picked from commit e17b464a43)
2019-04-10 13:52:34 +02:00
Alberto Berti
3581db1e3c Make it pass a minimal test
(cherry picked from commit 1b6ce80c2b)
2019-04-10 13:52:25 +02:00
Alberto Berti
cb42867f9f Add prometheus2 configuration to the prometheus modules
As the configuration for the exporters and alertmanager is unchanged
between the two major versions this patch tries to minimize
duplication while at the same time as there's no upgrade path from 1.x
to 2.x, it allows running the two services in parallel. See also #56037

(cherry picked from commit 11b89720b7)
2019-04-10 13:50:48 +02:00
Bas van Dijk
ad51138b58 prometheus_2: 2.6.0 -> 2.8.1
See: https://github.com/prometheus/prometheus/releases/tag/v2.8.1
(cherry picked from commit 2a722175cd)
2019-04-10 13:50:10 +02:00
Bas van Dijk
e67d8b0473 prometheus: rename the generic function to buildPrometheus
Since the `generic` function is now exported it should have a less
generic name, pun intended.

(cherry picked from commit b6fdd1a0fc)
2019-04-10 13:49:39 +02:00
Jean-Baptiste Giraudeau
f03540b097 Expose prometheus generic builder.
So that people can easily try newer prometheus version
 in overlays:

 self: super: {
   prometheus_2 = (super.callPackage <nixpkgs/pkgs/servers/monitoring/prometheus> {}).generic {
     version = "2.8.1";
     sha256 = "0x8w0qdh4lcf19nmdlhvgzpy08c2a932d3k49cjwhi5npcsf858n";
     doCheck = false;
   };
 }

(cherry picked from commit 670359e8da)
2019-04-10 13:49:39 +02:00
Bas van Dijk
4f4d4ccb9d elk: 6.5.1 -> 6.7.1
(cherry picked from commit 7062a073e8)
2019-04-10 13:20:20 +02:00
Domen Kožar
70cff41feb Merge pull request #59260 from domenkozar/python37-darwin
python37: get it to build again on darwin
2019-04-10 17:31:35 +07:00
Domen Kožar
125248c204 python37: get it to build again on darwin 2019-04-10 17:19:02 +07:00
Linus Heckemann
55f4df0b3a rl-1903: pantheon notes phrasing/organisation
(cherry picked from commit 0ce382d868)
2019-04-10 09:37:13 +02:00
worldofpeace
9db4cedcbf nixos/pantheon: add warning when not using LightDM
(cherry picked from commit 8f93650fe4)
2019-04-10 09:37:05 +02:00
worldofpeace
c7de6984f5 nixos/lightdm-greeters/pantheon: add warning
(cherry picked from commit d3d5c674ba)
2019-04-10 09:37:00 +02:00
worldofpeace
9fa96de609 nixos/pantheon: enable lightdm gtk greeter
Pantheon's greeter has numerous issues that cannot be
fixed in a timely manner, and users are better off if they just
didn't use it by default.

(cherry picked from commit 099cc0482b)
2019-04-10 09:36:54 +02:00
worldofpeace
1d8204f2a5 pantheon.switchboard-plug-bluetooth: 2.2.1 -> 2.2.2
https://github.com/elementary/switchboard-plug-bluetooth/releases/tag/2.2.2
(cherry picked from commit ead2380ae9)
2019-04-10 01:19:26 -04:00
worldofpeace
7966e524b6 pantheon.switchboard-plug-sound: 2.2.0 -> 2.2.1
https://github.com/elementary/switchboard-plug-sound/releases/tag/2.2.1
(cherry picked from commit 03653d68a9)
2019-04-10 01:19:23 -04:00
worldofpeace
f88f1b809d pantheon.switchboard-plug-display: 2.1.6 -> 2.1.7
https://github.com/elementary/switchboard-plug-display/releases/tag/2.1.7
(cherry picked from commit ebf3da486f)
2019-04-10 01:19:20 -04:00
worldofpeace
2a2ac9fd2e pantheon.elementary-files: 4.1.6 -> 4.1.7
https://github.com/elementary/files/releases/tag/4.1.7
(cherry picked from commit 5274d8eb17)
2019-04-10 01:19:16 -04:00
worldofpeace
79055af57e plank: cleanup
* placeholder
* vala should be native
* no aliases
* drop gobject-introspection

(cherry picked from commit d269620c62)
2019-04-10 01:19:13 -04:00
Vincent Demeester
5c52b25283 containerd: 1.2.2 -> 1.2.6
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit 6adf0f3e9a)
and resolved conflict
2019-04-09 21:48:56 +02:00
Vincent Demeester
23493498c6 runc: 1.0.0-rc6 -> 1.0.0-rc7
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit 28a2dd8024)
2019-04-09 20:49:25 +02:00
Maximilian Bosch
8a21566fe5 roundcube: don't resolve symlinks in update.sh
A side-effect of this is that the derivation required a rewrite in order
to apply the patch properly.

(cherry picked from commit 324e6dba04)
2019-04-09 20:31:10 +02:00
Maximilian Bosch
8111202040 nixos/roundcube: only configure postgres config if localhost is used as database
When using a different database, the evaluation fails as
`config.services.postgresql.package` is only set if `services.postgresql` is enabled.

Also, the systemd service shouldn't have a relation to postgres if a
remote database is used.

(cherry picked from commit 6b6348eaba)
2019-04-09 20:31:10 +02:00
Vladimír Čunát
dc13a051a5 Merge #59003: pidgin: fix gst plugin path for audio/video
Fixes #32015.

(cherry picked from commit 2e3515456f)
2019-04-09 20:21:30 +02:00
Vladimír Čunát
63f250ed6c knot-dns: 2.8.0 -> 2.8.1 (maintenance)
https://lists.nic.cz/pipermail/knot-dns-users/2019-April/001660.html
(cherry picked from commit 6e9f6a63a2)
2019-04-09 16:21:30 +02:00
Ryan Mulligan
cd14d4cd9c Merge pull request #56974 from vcunat/p/knot-dns-2.8
knot-dns: 2.7.6 -> 2.8.0
(cherry picked from commit 08c589b90f)
This had been tested in master for a month, without any complaints,
and 19.03 hasn't been officially released yet AFAIK.
2019-04-09 16:20:19 +02:00
Damien Biasotto
095bc4f00d brackets: add missing dependencies.
libexpat and libXdamage seems to be required for brackets to run

(cherry picked from commit 433566f89e)
2019-04-08 22:43:52 -04:00
Nick Hu
7f35ea8756 zsh-prezto: 2017-12-03 -> 2019-03-18
(cherry picked from commit 1d03cbb875)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2019-04-09 02:30:11 +02:00
Linus Heckemann
f52505fac8 README: update for 19.03 2019-04-08 22:08:49 +02:00
Simon Lackerbauer
0363abe66b atlassian-jira: 8.0.1 -> 8.1.0
(cherry picked from commit e683811972)
2019-04-08 20:58:29 +02:00
Simon Lackerbauer
cde9f13617 atlassian-confluence: 6.14.2 -> 6.15.2
(cherry picked from commit b31ab2050a)
2019-04-08 20:58:29 +02:00
Simon Lackerbauer
8c0f37546f atlassian-crowd: 3.3.4 -> 3.4.3
(cherry picked from commit 774a29944e)
2019-04-08 20:58:29 +02:00
worldofpeace
80f91b4dda doc/python: cleanup examples, references
(cherry picked from commit 63f244193b)
(cherry picked from commit 94a409450a)
(cherry picked from commit 0ccfebf9f2)
2019-04-08 13:01:40 -04:00
R. RyanTM
99af80a476 teamviewer: 14.1.3399 -> 14.2.2558
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/teamviewer/versions

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pipewire was accidentally in buildInputs when it has
been disabled

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

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

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

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

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

* minikube: 0.34.1 -> 0.35.0

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

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

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

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

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

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

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

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

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

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

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

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

This is fully backwards compatible.

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

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

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

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

cc @srhb as initial author:

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

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

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

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

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

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

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

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

Requests was added in:
28b5f69333

(cherry picked from commit 11f0d36737)
Fixed build.

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

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

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

[0]: ebf0ad5991

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  @samueldr:

    Via pull request comment[1]:

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

    Via IRC:

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

  @lheckemann:

    Via pull request comment[2]:

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

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

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

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

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

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

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

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

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

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

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

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

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

(cherry picked from commit d3ca36bd64)

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

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

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

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

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

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

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

fixes #57783

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

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

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

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

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

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

The patch for 5.12 is only tested to apply.

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

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

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

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

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

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

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

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

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

* Enable vala bindings

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

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

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

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

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

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

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

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

Fixes #58262
Fixes #58089

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

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

When resolving package through overlays, we figure out that

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

and we enter infinite recursion of nixpkgs evaluations.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

(cherry picked from commit e0c3c2ed52)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

This PR is for #57939.

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

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

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

CVE-2019-3811, see notes.

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

Fixes #55290

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

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

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

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

(cherry picked from commit 8519983a31)
2019-03-22 11:01:16 +01:00
Will Dietz
09255d4009 spectral: 2018-09-24 -> 2019-03-03
Recent redesign, features, fixes.

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

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

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

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

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

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

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

Cc: @samueldr, @lheckemann

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

See 9382d2ea76

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Closes #52990

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Also add programs like geary to removePackagesByName.

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

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

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

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

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

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

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

This also unbreaks `sasview` and `pybitmessage`.

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

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

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

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

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

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

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

The following problems were fixed:

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

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

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

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

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

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

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

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

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

(see notes for all versions after 11.7.0)

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

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

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

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

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

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

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

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

   775531c1e3 ('qt58: extend darwin compatibility')

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

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

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

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

- plasma: clear ksycoca cache before building

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

- Add the above + the icon cache cleanup to plasmaSetup

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

cc #56826

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

This fixes a few regressions from 5c7531872f

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

This change should be backported to older NixOS versions!

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

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

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

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

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

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

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

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

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

Having a correct SSL configuration prevents the warnings.

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

Forgot to remove this from my list of updates.

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

Forgot to remove this from my list of upgrades.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

(cherry picked from commit 1d1c909bf8)
2019-02-27 14:35:03 +00:00
Peter Simons
2fbd339171 Merge #56414: openssl: 1.0.2q -> 1.0.2r, 1.1.1a -> 1.1.1b
(cherry picked from commit 8c4b12b8d0)
The 1.0.2 bump is a security fix.
2019-02-27 09:57:42 +01:00
Robert Schütz
1348641d50 Revert "nixos/fish: generate autocompletions from man pages" (#56439)
System rebuilds currently fail due to collisions.
See also https://github.com/NixOS/nixpkgs/issues/56432.

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

(cherry picked from commit 0ea3b395372cc1e400340c8b04d17c1277bf3f03)
2019-02-26 20:52:35 -05:00
worldofpeace
9e21816c7b pantheon.elementary-music: 5.0.2 -> 5.0.3
(cherry picked from commit d53aefd534)
2019-02-26 20:37:36 -05:00
worldofpeace
6b65079f17 pantheon.gala: 2018-12-16 -> 2019-02-09
Changes: 7f1e392e03...1a96644c6a
(cherry picked from commit f995b919fc)
2019-02-26 20:36:58 -05:00
John Ericson
89f928582b Merge pull request #56443 from Ericson2314/runtimeShell
treewide: use runtimeShell instead of stdenv.shell whenever possible for 19.03
2019-02-26 18:44:18 -05:00
John Ericson
fb14ed75fc Merge commit 'f07097902cf7355ec02341c0e6576f8d5bc0ccc6' into release-19.03 2019-02-26 18:10:58 -05:00
Vladimír Čunát
07e2b59812 Merge #56143: luajit, lmdb, knot-resolver: cross-fixes
Master commit: e52396ce2c.  It's bugfixes, basically.
2019-02-26 15:31:33 +01:00
Linus Heckemann
7f35ed9df4 Set channel and version to 19.03 2019-02-25 22:50:22 +01:00
35733 changed files with 939376 additions and 2697290 deletions

View File

@@ -1,5 +1,5 @@
# EditorConfig configuration for nixpkgs
# https://EditorConfig.org
# http://EditorConfig.org
# Top-most EditorConfig file
root = true
@@ -11,84 +11,18 @@ insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
# Ignore diffs/patches
[*.{diff,patch}]
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
# see https://nixos.org/nixpkgs/manual/#chap-conventions
# Match json/lockfiles/markdown/nix/perl/python/ruby/shell/docbook files, set indent to spaces
[*.{json,lock,md,nix,pl,pm,py,rb,sh,xml}]
# Match nix/ruby/docbook files, set indent to spaces with width of two
[*.{nix,rb,xml}]
indent_style = space
# Match docbook files, set indent width of one
[*.xml]
indent_size = 1
# Match json/lockfiles/markdown/nix/ruby files, set indent width of two
[*.{json,lock,md,nix,rb}]
indent_size = 2
# Match perl/python/shell scripts, set indent width of four
[*.{pl,pm,py,sh}]
# Match shell/python/perl scripts, set indent to spaces with width of four
[*.{sh,py,pl}]
indent_style = space
indent_size = 4
# Match gemfiles, set indent to spaces with width of two
[Gemfile]
indent_size = 2
indent_style = space
# Disable file types or individual files
# some of these files may be auto-generated and/or require significant changes
[*.{c,h}]
insert_final_newline = unset
trim_trailing_whitespace = unset
[*.{asc,key,ovpn}]
insert_final_newline = unset
end_of_line = unset
trim_trailing_whitespace = unset
[*.lock]
indent_size = unset
# trailing whitespace is an actual syntax element of classic Markdown/
# CommonMark to enforce a line break
[*.md]
trim_trailing_whitespace = unset
# binaries
[*.nib]
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
charset = unset
[eggs.nix]
trim_trailing_whitespace = unset
[nixos/modules/services/networking/ircd-hybrid/*.{conf,in}]
trim_trailing_whitespace = unset
[pkgs/build-support/dotnetenv/Wrapper/**]
end_of_line = unset
indent_style = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
[pkgs/development/compilers/elm/registry.dat]
end_of_line = unset
insert_final_newline = unset
[pkgs/development/haskell-modules/hackage-packages.nix]
indent_style = unset
trim_trailing_whitespace = unset
[pkgs/servers/dict/wordnet_structures.py]
trim_trailing_whitespace = unset
[pkgs/tools/misc/timidity/timidity.cfg]
trim_trailing_whitespace = unset
# Match diffs, avoid to trim trailing whitespace
[*.{diff,patch}]
trim_trailing_whitespace = false

View File

@@ -1,41 +0,0 @@
# This file contains a list of commits that are not likely what you
# are looking for in a blame, such as mass reformatting or renaming.
# You can set this file as a default ignore file for blame by running
# the following command.
#
# $ git config blame.ignoreRevsFile .git-blame-ignore-revs
#
# To temporarily not use this file add
# --ignore-revs-file=""
# to your blame command.
#
# The ignoreRevsFile can't be set globally due to blame failing if the file isn't present.
# To not have to set the option in every repository it is needed in,
# save the following script in your path with the name "git-bblame"
# now you can run
# $ git bblame $FILE
# to use the .git-blame-ignore-revs file if it is present.
#
# #!/usr/bin/env bash
# repo_root=$(git rev-parse --show-toplevel)
# if [[ -e $repo_root/.git-blame-ignore-revs ]]; then
# git blame --ignore-revs-file="$repo_root/.git-blame-ignore-revs" $@
# else
# git blame $@
# fi
# nixos/modules/rename: Sort alphabetically
1f71224fe86605ef4cd23ed327b3da7882dad382
# manual: fix typos
feddd5e7f8c6f8167b48a077fa2a5394dc008999
# nixos: fix module paths in rename.nix
d08ede042b74b8199dc748323768227b88efcf7c
# fix indentation in mk-python-derivation.nix
d1c1a0c656ccd8bd3b25d3c4287f2d075faf3cf3
# fix indentation in meteor default.nix
a37a6de881ec4c6708e6b88fd16256bbc7f26bbd

277
.github/CODEOWNERS vendored
View File

@@ -6,59 +6,33 @@
#
# For documentation on this file, see https://help.github.com/articles/about-codeowners/
# Mentioned users will get code review requests.
#
# IMPORTANT NOTE: in order to actually get pinged, commit access is required.
# This also holds true for GitHub teams. Since almost none of our teams have write
# permissions, you need to list all members of the team with commit access individually.
# This file
/.github/CODEOWNERS @edolstra
# GitHub actions
/.github/workflows @NixOS/Security @Mic92 @zowoq
/.github/workflows/merge-staging @FRidh
# EditorConfig
/.editorconfig @Mic92 @zowoq
# Libraries
/lib @edolstra @nbp @infinisil
/lib/systems @alyssais @nbp @ericson2314 @matthewbauer
/lib @edolstra @nbp
/lib/systems @nbp @ericson2314 @matthewbauer
/lib/generators.nix @edolstra @nbp @Profpatsch
/lib/cli.nix @edolstra @nbp @Profpatsch
/lib/debug.nix @edolstra @nbp @Profpatsch
/lib/asserts.nix @edolstra @nbp @Profpatsch
# Nixpkgs Internals
/default.nix @nbp
/pkgs/top-level/default.nix @nbp @Ericson2314
/pkgs/top-level/impure.nix @nbp @Ericson2314
/pkgs/top-level/stage.nix @nbp @Ericson2314 @matthewbauer
/pkgs/top-level/splice.nix @Ericson2314 @matthewbauer
/pkgs/top-level/release-cross.nix @Ericson2314 @matthewbauer
/pkgs/stdenv/generic @Ericson2314 @matthewbauer
/pkgs/stdenv/generic/check-meta.nix @Ericson2314 @matthewbauer @piegamesde
/pkgs/stdenv/cross @Ericson2314 @matthewbauer
/pkgs/build-support/cc-wrapper @Ericson2314
/pkgs/build-support/bintools-wrapper @Ericson2314
/pkgs/build-support/setup-hooks @Ericson2314
/pkgs/build-support/setup-hooks/auto-patchelf.sh @layus
/pkgs/build-support/setup-hooks/auto-patchelf.py @layus
# Nixpkgs build-support
/pkgs/build-support/writers @lassulus @Profpatsch
# Nixpkgs documentation
/doc @fricklerhandwerk
/maintainers/scripts/db-to-md.sh @jtojnar @ryantm
/maintainers/scripts/doc @jtojnar @ryantm
/doc/build-aux/pandoc-filters @jtojnar
/doc/contributing/contributing-to-documentation.chapter.md @jtojnar
/default.nix @nbp
/pkgs/top-level/default.nix @nbp @Ericson2314
/pkgs/top-level/impure.nix @nbp @Ericson2314
/pkgs/top-level/stage.nix @nbp @Ericson2314 @matthewbauer
/pkgs/top-level/splice.nix @Ericson2314 @matthewbauer
/pkgs/top-level/release-cross.nix @Ericson2314 @matthewbauer
/pkgs/stdenv/generic @Ericson2314 @matthewbauer
/pkgs/stdenv/cross @Ericson2314 @matthewbauer
/pkgs/build-support/cc-wrapper @Ericson2314 @orivej
/pkgs/build-support/bintools-wrapper @Ericson2314 @orivej
/pkgs/build-support/setup-hooks @Ericson2314
# NixOS Internals
/nixos/default.nix @nbp @infinisil
/nixos/lib/from-env.nix @nbp @infinisil
/nixos/lib/eval-config.nix @nbp @infinisil
/nixos/default.nix @nbp
/nixos/lib/from-env.nix @nbp
/nixos/lib/eval-config.nix @nbp
/nixos/doc/manual/configuration/abstractions.xml @nbp
/nixos/doc/manual/configuration/config-file.xml @nbp
/nixos/doc/manual/configuration/config-syntax.xml @nbp
@@ -72,57 +46,43 @@
/nixos/doc/manual/development/writing-modules.xml @nbp
/nixos/doc/manual/man-nixos-option.xml @nbp
/nixos/modules/installer/tools/nixos-option.sh @nbp
/nixos/modules/system @dasJ
# NixOS integration test driver
/nixos/lib/test-driver @tfc
# Systemd
/nixos/modules/system/boot/systemd.nix @NixOS/systemd
/nixos/modules/system/boot/systemd @NixOS/systemd
/nixos/lib/systemd-*.nix @NixOS/systemd
/pkgs/os-specific/linux/systemd @NixOS/systemd
# Updaters
## update.nix
/maintainers/scripts/update.nix @jtojnar
/maintainers/scripts/update.py @jtojnar
## common-updater-scripts
/pkgs/common-updater/scripts/update-source-version @jtojnar
# NixOS modules
/nixos/modules @Infinisil
# Python-related code and docs
/maintainers/scripts/update-python-libraries @FRidh
/pkgs/top-level/python-packages.nix @FRidh @jonringer
/pkgs/development/interpreters/python @FRidh
/pkgs/development/python-modules @FRidh @jonringer
/doc/languages-frameworks/python.section.md @FRidh
/pkgs/development/tools/poetry2nix @adisbladis
/pkgs/development/interpreters/python/hooks @FRidh @jonringer
/maintainers/scripts/update-python-libraries @FRidh
/pkgs/top-level/python-packages.nix @FRidh
/pkgs/development/interpreters/python @FRidh
/pkgs/development/python-modules @FRidh
/doc/languages-frameworks/python.section.md @FRidh
# Haskell
/doc/languages-frameworks/haskell.section.md @cdepillabout @sternenseemann @maralorn
/maintainers/scripts/haskell @cdepillabout @sternenseemann @maralorn
/pkgs/development/compilers/ghc @cdepillabout @sternenseemann @maralorn
/pkgs/development/haskell-modules @cdepillabout @sternenseemann @maralorn
/pkgs/test/haskell @cdepillabout @sternenseemann @maralorn
/pkgs/top-level/release-haskell.nix @cdepillabout @sternenseemann @maralorn
/pkgs/top-level/haskell-packages.nix @cdepillabout @sternenseemann @maralorn
/pkgs/development/compilers/ghc @peti @ryantm @basvandijk
/pkgs/development/haskell-modules @peti @ryantm @basvandijk
/pkgs/development/haskell-modules/default.nix @peti @ryantm @basvandijk
/pkgs/development/haskell-modules/generic-builder.nix @peti @ryantm @basvandijk
/pkgs/development/haskell-modules/hoogle.nix @peti @ryantm @basvandijk
# Perl
/pkgs/development/interpreters/perl @stigtsp @zakame @dasJ
/pkgs/top-level/perl-packages.nix @stigtsp @zakame @dasJ
/pkgs/development/perl-modules @stigtsp @zakame @dasJ
/pkgs/development/interpreters/perl @volth
/pkgs/top-level/perl-packages.nix @volth
/pkgs/development/perl-modules @volth
# R
/pkgs/applications/science/math/R @jbedo
/pkgs/development/r-modules @jbedo
/pkgs/applications/science/math/R @peti
/pkgs/development/r-modules @peti
# Ruby
/pkgs/development/interpreters/ruby @marsam
/pkgs/development/ruby-modules @marsam
/pkgs/development/interpreters/ruby @alyssais @zimbatm
/pkgs/development/ruby-modules @alyssais @zimbatm
# Rust
/pkgs/development/compilers/rust @Mic92 @LnL7 @zowoq
/pkgs/development/compilers/rust @Mic92 @LnL7
# Darwin-related
/pkgs/stdenv/darwin @NixOS/darwin-maintainers
/pkgs/os-specific/darwin @NixOS/darwin-maintainers
# C compilers
/pkgs/development/compilers/gcc @matthewbauer
@@ -132,20 +92,23 @@
/pkgs/top-level/unix-tools.nix @matthewbauer
/pkgs/development/tools/xcbuild @matthewbauer
# Audio
/nixos/modules/services/audio/botamusique.nix @mweinelt
/nixos/modules/services/audio/snapserver.nix @mweinelt
/nixos/tests/modules/services/audio/botamusique.nix @mweinelt
/nixos/tests/snapcast.nix @mweinelt
# Browsers
/pkgs/applications/networking/browsers/firefox @mweinelt
# Beam-related (Erlang, Elixir, LFE, etc)
/pkgs/development/beam-modules @gleber
/pkgs/development/interpreters/erlang @gleber
/pkgs/development/interpreters/lfe @gleber
/pkgs/development/interpreters/elixir @gleber
/pkgs/development/tools/build-managers/rebar @gleber
/pkgs/development/tools/build-managers/rebar3 @gleber
/pkgs/development/tools/erlang @gleber
# Jetbrains
/pkgs/applications/editors/jetbrains @edwtjo
# Licenses
/lib/licenses.nix @alyssais
# Eclipse
/pkgs/applications/editors/eclipse @rycee
# https://github.com/NixOS/nixpkgs/issues/31401
/lib/licenses.nix @ghost
# Qt / KDE
/pkgs/applications/kde @ttuegel
@@ -154,143 +117,17 @@
/pkgs/development/libraries/qt-5 @ttuegel
# PostgreSQL and related stuff
/pkgs/servers/sql/postgresql @thoughtpolice @marsam
/pkgs/servers/sql/postgresql @thoughtpolice
/nixos/modules/services/databases/postgresql.xml @thoughtpolice
/nixos/modules/services/databases/postgresql.nix @thoughtpolice
/nixos/tests/postgresql.nix @thoughtpolice
# Hardened profile & related modules
/nixos/modules/profiles/hardened.nix @joachifm
/nixos/modules/security/hidepid.nix @joachifm
/nixos/modules/security/lock-kernel-modules.nix @joachifm
/nixos/modules/security/misc.nix @joachifm
/nixos/tests/hardened.nix @joachifm
/pkgs/os-specific/linux/kernel/hardened-config.nix @joachifm
# Home Automation
/nixos/modules/services/misc/home-assistant.nix @mweinelt
/nixos/modules/services/misc/zigbee2mqtt.nix @mweinelt
/nixos/tests/home-assistant.nix @mweinelt
/nixos/tests/zigbee2mqtt.nix @mweinelt
/pkgs/servers/home-assistant @mweinelt
/pkgs/tools/misc/esphome @mweinelt
# Network Time Daemons
/pkgs/tools/networking/chrony @thoughtpolice
/pkgs/tools/networking/ntp @thoughtpolice
/pkgs/tools/networking/openntpd @thoughtpolice
/nixos/modules/services/networking/ntp @thoughtpolice
# Network
/pkgs/tools/networking/kea/default.nix @mweinelt
/pkgs/tools/networking/babeld/default.nix @mweinelt
/nixos/modules/services/networking/babeld.nix @mweinelt
/nixos/modules/services/networking/kea.nix @mweinelt
/nixos/modules/services/networking/knot.nix @mweinelt
/nixos/modules/services/monitoring/prometheus/exporters/kea.nix @mweinelt
/nixos/tests/babeld.nix @mweinelt
/nixos/tests/kea.nix @mweinelt
/nixos/tests/knot.nix @mweinelt
# Dhall
/pkgs/development/dhall-modules @Gabriella439 @Profpatsch @ehmry
/pkgs/development/interpreters/dhall @Gabriella439 @Profpatsch @ehmry
/pkgs/development/dhall-modules @Gabriel439 @Profpatsch
/pkgs/development/interpreters/dhall @Gabriel439 @Profpatsch
# Idris
/pkgs/development/idris-modules @Infinisil
# Bazel
/pkgs/development/tools/build-managers/bazel @Profpatsch
# NixOS modules for e-mail and dns services
/nixos/modules/services/mail/mailman.nix @peti
/nixos/modules/services/mail/postfix.nix @peti
/nixos/modules/services/networking/bind.nix @peti
/nixos/modules/services/mail/rspamd.nix @peti
# Emacs
/pkgs/applications/editors/emacs/elisp-packages @adisbladis
/pkgs/applications/editors/emacs @adisbladis
/pkgs/top-level/emacs-packages.nix @adisbladis
# Neovim
/pkgs/applications/editors/neovim @jonringer @teto
# VimPlugins
/pkgs/applications/editors/vim/plugins @jonringer
# VsCode Extensions
/pkgs/applications/editors/vscode/extensions @jonringer
# Prometheus exporter modules and tests
/nixos/modules/services/monitoring/prometheus/exporters.nix @WilliButz
/nixos/modules/services/monitoring/prometheus/exporters.xml @WilliButz
/nixos/tests/prometheus-exporters.nix @WilliButz
# PHP interpreter, packages, extensions, tests and documentation
/doc/languages-frameworks/php.section.md @aanderse @etu @globin @ma27 @talyz
/nixos/tests/php @aanderse @etu @globin @ma27 @talyz
/pkgs/build-support/build-pecl.nix @aanderse @etu @globin @ma27 @talyz
/pkgs/development/interpreters/php @jtojnar @aanderse @etu @globin @ma27 @talyz
/pkgs/development/php-packages @aanderse @etu @globin @ma27 @talyz
/pkgs/top-level/php-packages.nix @jtojnar @aanderse @etu @globin @ma27 @talyz
# Podman, CRI-O modules and related
/nixos/modules/virtualisation/containers.nix @zowoq @adisbladis
/nixos/modules/virtualisation/cri-o.nix @zowoq @adisbladis
/nixos/modules/virtualisation/podman @zowoq @adisbladis
/nixos/tests/cri-o.nix @zowoq @adisbladis
/nixos/tests/podman @zowoq @adisbladis
# Docker tools
/pkgs/build-support/docker @roberth
/nixos/tests/docker-tools* @roberth
/doc/builders/images/dockertools.section.md @roberth
# Blockchains
/pkgs/applications/blockchains @mmahut @RaghavSood
# Go
/doc/languages-frameworks/go.section.md @kalbasit @Mic92 @zowoq
/pkgs/build-support/go @kalbasit @Mic92 @zowoq
/pkgs/development/compilers/go @kalbasit @Mic92 @zowoq
# GNOME
/pkgs/desktops/gnome @jtojnar
/pkgs/desktops/gnome/extensions @piegamesde @jtojnar
# Cinnamon
/pkgs/desktops/cinnamon @mkg20001
# nim
/pkgs/development/compilers/nim @ehmry
/pkgs/development/nim-packages @ehmry
/pkgs/top-level/nim-packages.nix @ehmry
# terraform providers
/pkgs/applications/networking/cluster/terraform-providers @zowoq
# kubernetes
/nixos/doc/manual/configuration/kubernetes.chapter.md @zowoq
/nixos/modules/services/cluster/kubernetes @zowoq
/nixos/tests/kubernetes @zowoq
/pkgs/applications/networking/cluster/kubernetes @zowoq
# Matrix
/pkgs/servers/heisenbridge @piegamesde
/pkgs/servers/matrix-conduit @piegamesde
/pkgs/servers/matrix-synapse/matrix-appservice-irc @piegamesde
/nixos/modules/services/misc/heisenbridge.nix @piegamesde
/nixos/modules/services/misc/matrix-appservice-irc.nix @piegamesde
/nixos/modules/services/misc/matrix-conduit.nix @piegamesde
/nixos/tests/matrix-appservice-irc.nix @piegamesde
/nixos/tests/matrix-conduit.nix @piegamesde
# Dotnet
/pkgs/build-support/dotnet @IvarWithoutBones
/pkgs/development/compilers/dotnet @IvarWithoutBones
# Node.js
/pkgs/build-support/node/build-npm-package @winterqt
/pkgs/build-support/node/fetch-npm-deps @winterqt
/doc/languages-frameworks/javascript.section.md @winterqt
/pkgs/development/tools/build-managers/bazel @mboes @Profpatsch

54
.github/CONTRIBUTING.md vendored Normal file
View File

@@ -0,0 +1,54 @@
# How to contribute
Note: contributing implies licensing those contributions
under the terms of [COPYING](../COPYING), which is an MIT-like license.
## Opening issues
* Make sure you have a [GitHub account](https://github.com/signup/free)
* [Submit an issue](https://github.com/NixOS/nixpkgs/issues) - assuming one does not already exist.
* Clearly describe the issue including steps to reproduce when it is a bug.
* Include information what version of nixpkgs and Nix are you using (nixos-version or git revision).
## Submitting changes
* Format the commit messages in the following way:
```
(pkg-name | nixos/<module>): (from -> to | init at version | refactor | etc)
(Motivation for change. Additional information.)
```
For consistency, there should not be a period at the end of the commit message's summary line (the first line of the commit message).
Examples:
* nginx: init at 2.0.1
* firefox: 54.0.1 -> 55.0
* nixos/hydra: add bazBaz option
Dual baz behavior is needed to do foo.
* nixos/nginx: refactor config generation
The old config generation system used impure shell scripts and could break in specific circumstances (see #1234).
* `meta.description` should:
* Be capitalized.
* Not start with the package name.
* Not have a period at the end.
* `meta.license` must be set and fit the upstream license.
* If there is no upstream license, `meta.license` should default to `stdenv.lib.licenses.unfree`.
* `meta.maintainers` must be set.
See the nixpkgs manual for more details on [standard meta-attributes](https://nixos.org/nixpkgs/manual/#sec-standard-meta-attributes) and on how to [submit changes to nixpkgs](https://nixos.org/nixpkgs/manual/#chap-submitting-changes).
## Writing good commit messages
In addition to writing properly formatted commit messages, it's important to include relevant information so other developers can later understand *why* a change was made. While this information usually can be found by digging code, mailing list/Discourse archives, pull request discussions or upstream changes, it may require a lot of work.
For package version upgrades and such a one-line commit message is usually sufficient.
## Reviewing contributions
See the nixpkgs manual for more details on how to [Review contributions](https://nixos.org/nixpkgs/manual/#sec-reviewing-contributions).

View File

@@ -8,4 +8,5 @@
## Technical details
Please run `nix-shell -p nix-info --run "nix-info -m"` and paste the result.
Please run `nix-shell -p nix-info --run "nix-info -m"` and paste the
results.

View File

@@ -1,40 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: '0.kind: bug'
assignees: ''
---
### Describe the bug
A clear and concise description of what the bug is.
### Steps To Reproduce
Steps to reproduce the behavior:
1. ...
2. ...
3. ...
### Expected behavior
A clear and concise description of what you expected to happen.
### Screenshots
If applicable, add screenshots to help explain your problem.
### Additional context
Add any other context about the problem here.
### Notify maintainers
<!--
Please @ people who are in the `meta.maintainers` list of the offending package or module.
If in doubt, check `git blame` for whoever last touched something.
-->
### Metadata
Please run `nix-shell -p nix-info --run "nix-info -m"` and paste the result.
```console
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output here
```

View File

@@ -1,34 +0,0 @@
---
name: Build failure
about: Create a report to help us improve
title: ''
labels: '0.kind: build failure'
assignees: ''
---
### Steps To Reproduce
Steps to reproduce the behavior:
1. build *X*
### Build log
```
log here if short otherwise a link to a gist
```
### Additional context
Add any other context about the problem here.
### Notify maintainers
<!--
Please @ people who are in the `meta.maintainers` list of the offending package or module.
If in doubt, check `git blame` for whoever last touched something.
-->
### Metadata
Please run `nix-shell -p nix-info --run "nix-info -m"` and paste the result.
```console
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output here
```

View File

@@ -1,32 +0,0 @@
---
name: Missing or incorrect documentation
about: Help us improve the Nixpkgs and NixOS reference manuals
title: ''
labels: '9.needs: documentation'
assignees: ''
---
## Problem
<!-- describe your problem -->
## Checklist
<!-- make sure this issue is not redundant or obsolete -->
- [ ] checked [latest Nixpkgs manual] \([source][nixpkgs-source]) and [latest NixOS manual] \([source][nixos-source])
- [ ] checked [open documentation issues] for possible duplicates
- [ ] checked [open documentation pull requests] for possible solutions
[latest Nixpkgs manual]: https://nixos.org/manual/nixpkgs/unstable/
[latest NixOS manual]: https://nixos.org/manual/nixos/unstable/
[nixpkgs-source]: https://github.com/NixOS/nixpkgs/tree/master/doc
[nixos-source]: https://github.com/NixOS/nixpkgs/tree/master/nixos/doc/manual
[open documentation issues]: https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+label%3A%229.needs%3A+documentation%22
[open documentation pull requests]: https://github.com/NixOS/nixpkgs/pulls?q=is%3Aopen+is%3Apr+label%3A%228.has%3A+documentation%22%2C%226.topic%3A+documentation%22
## Proposal
<!-- propose a solution -->

View File

@@ -1,48 +0,0 @@
---
name: Out-of-date package reports
about: For packages that are out-of-date
title: ''
labels: '9.needs: package (update)'
assignees: ''
---
###### Checklist
<!-- Note that these are hard requirements -->
<!--
You can use the "Go to file" functionality on GitHub to find the package
Then you can go to the history for this package
Find the latest "package_name: old_version -> new_version" commit
The "new_version" is the current version of the package
-->
- [ ] Checked the [nixpkgs master branch](https://github.com/NixOS/nixpkgs)
<!--
Type the name of your package and try to find an open pull request for the package
If you find an open pull request, you can review it!
There's a high chance that you'll have the new version right away while helping the community!
-->
- [ ] Checked the [nixpkgs pull requests](https://github.com/NixOS/nixpkgs/pulls)
###### Project name
`nix search` name:
<!--
The current version can be found easily with the same process as above for checking the master branch
If an open PR is present for the package, take this version as the current one and link to the PR
-->
current version:
desired version:
###### Notify maintainers
<!--
Search your package here: https://search.nixos.org/packages?channel=unstable
If no maintainer is listed for your package, tag the person that last updated the package
-->
maintainers:
###### Note for maintainers
Please tag this issue in your PR.

View File

@@ -1,18 +0,0 @@
---
name: Packaging requests
about: For packages that are missing
title: ''
labels: '0.kind: packaging request'
assignees: ''
---
**Project description**
_describe the project a little_
**Metadata**
* homepage URL:
* source URL:
* license: mit, bsd, gpl2+ , ...
* platforms: unix, linux, darwin, ...

View File

@@ -1,41 +1,21 @@
###### Description of changes
###### Motivation for this change
<!--
For package updates please link to a changelog or describe changes, this helps your fellow maintainers discover breaking updates.
For new packages please briefly describe the package or provide a link to its homepage.
-->
###### Things done
<!-- Please check what applies. Note that these are not hard requirements but merely serve as information for reviewers. -->
- [ ] Tested using sandboxing ([nix.useSandbox](http://nixos.org/nixos/manual/options.html#opt-nix.useSandbox) on NixOS, or option `sandbox` in [`nix.conf`](http://nixos.org/nix/manual/#sec-conf-file) on non-NixOS)
- Built on platform(s)
- [ ] x86_64-linux
- [ ] aarch64-linux
- [ ] x86_64-darwin
- [ ] aarch64-darwin
- [ ] For non-Linux: Is `sandbox = true` set in `nix.conf`? (See [Nix manual](https://nixos.org/manual/nix/stable/command-ref/conf-file.html))
- [ ] Tested, as applicable:
- [NixOS test(s)](https://nixos.org/manual/nixos/unstable/index.html#sec-nixos-tests) (look inside [nixos/tests](https://github.com/NixOS/nixpkgs/blob/master/nixos/tests))
- and/or [package tests](https://nixos.org/manual/nixpkgs/unstable/#sec-package-tests)
- or, for functions and "core" functionality, tests in [lib/tests](https://github.com/NixOS/nixpkgs/blob/master/lib/tests) or [pkgs/test](https://github.com/NixOS/nixpkgs/blob/master/pkgs/test)
- made sure NixOS tests are [linked](https://nixos.org/manual/nixpkgs/unstable/#ssec-nixos-tests-linking) to the relevant packages
- [ ] Tested compilation of all packages that depend on this change using `nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"`. Note: all changes have to be committed, also see [nixpkgs-review usage](https://github.com/Mic92/nixpkgs-review#usage)
- [ ] Tested basic functionality of all binary files (usually in `./result/bin/`)
- [22.11 Release Notes (or backporting 22.05 Release notes)](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#generating-2211-release-notes)
- [ ] (Package updates) Added a release notes entry if the change is major or breaking
- [ ] (Module updates) Added a release notes entry if the change is significant
- [ ] (Module addition) Added a release notes entry if adding a new NixOS module
- [ ] (Release notes changes) Ran `nixos/doc/manual/md-to-db.sh` to update generated release notes
- [ ] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md).
- [ ] NixOS
- [ ] macOS
- [ ] other Linux distributions
- [ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside [nixos/tests](https://github.com/NixOS/nixpkgs/blob/master/nixos/tests))
- [ ] Tested compilation of all pkgs that depend on this change using `nix-shell -p nox --run "nox-review wip"`
- [ ] Tested execution of all binary files (usually in `./result/bin/`)
- [ ] Determined the impact on package closure size (by running `nix path-info -S` before and after)
- [ ] Assured whether relevant documentation is up to date
- [ ] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md).
<!--
To help with the large amounts of pull requests, we would appreciate your
reviews of other pull requests, especially simple package updates. Just leave a
comment describing what you have tested in the relevant package/service.
Reviewing helps to reduce the average time-to-merge for everyone.
Thanks a lot if you do!
---
List of open PRs: https://github.com/NixOS/nixpkgs/pulls
Reviewing guidelines: https://nixos.org/manual/nixpkgs/unstable/#chap-reviewing-contributions
-->

36
.github/STALE-BOT.md vendored
View File

@@ -1,36 +0,0 @@
# Stale bot information
- Thanks for your contribution!
- Our stale bot will never close an issue or PR.
- To remove the stale label, just leave a new comment.
- _How to find the right people to ping?_ &rarr; [`git blame`](https://git-scm.com/docs/git-blame) to the rescue! (or GitHub's history and blame buttons.)
- You can always ask for help on [our Discourse Forum](https://discourse.nixos.org/), [our Matrix room](https://matrix.to/#/#nix:nixos.org), or on the [#nixos IRC channel](https://web.libera.chat/#nixos).
## Suggestions for PRs
1. GitHub sometimes doesn't notify people who commented / reviewed a PR previously, when you (force) push commits. If you have addressed the reviews you can [officially ask for a review](https://docs.github.com/en/free-pro-team@latest/github/collaborating-with-issues-and-pull-requests/requesting-a-pull-request-review) from those who commented to you or anyone else.
2. If it is unfinished but you plan to finish it, please mark it as a draft.
3. If you don't expect to work on it any time soon, closing it with a short comment may encourage someone else to pick up your work.
4. To get things rolling again, rebase the PR against the target branch and address valid comments.
5. If you need a review to move forward, ask in [the Discourse thread for PRs that need help](https://discourse.nixos.org/t/prs-in-distress/3604).
6. If all you need is a merge, check the git history to find and [request reviews](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/requesting-a-pull-request-review) from people who usually merge related contributions.
## Suggestions for issues
1. If it is resolved (either for you personally, or in general), please consider closing it.
2. If this might still be an issue, but you are not interested in promoting its resolution, please consider closing it while encouraging others to take over and reopen an issue if they care enough.
3. If you still have interest in resolving it, try to ping somebody who you believe might have an interest in the topic. Consider discussing the problem in [our Discourse Forum](https://discourse.nixos.org/).
4. As with all open source projects, your best option is to submit a Pull Request that addresses this issue. We :heart: this attitude!
**Memorandum on closing issues**
Don't be afraid to close an issue that holds valuable information. Closed issues stay in the system for people to search, read, cross-reference, or even reopen--nothing is lost! Closing obsolete issues is an important way to help maintainers focus their time and effort.
## Useful GitHub search queries
- [Open PRs with any stale-bot interaction](https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+commenter%3Aapp%2Fstale+)
- [Open PRs with any stale-bot interaction and `2.status: stale`](https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+commenter%3Aapp%2Fstale+label%3A%222.status%3A+stale%22)
- [Open PRs with any stale-bot interaction and NOT `2.status: stale`](https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+commenter%3Aapp%2Fstale+-label%3A%222.status%3A+stale%22+)
- [Open Issues with any stale-bot interaction](https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+commenter%3Aapp%2Fstale+)
- [Open Issues with any stale-bot interaction and `2.status: stale`](https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+commenter%3Aapp%2Fstale+label%3A%222.status%3A+stale%22+)
- [Open Issues with any stale-bot interaction and NOT `2.status: stale`](https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+commenter%3Aapp%2Fstale+-label%3A%222.status%3A+stale%22+)

View File

@@ -1,6 +0,0 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

163
.github/labeler.yml vendored
View File

@@ -1,163 +0,0 @@
"6.topic: agda":
- doc/languages-frameworks/agda.section.md
- nixos/tests/agda.nix
- pkgs/build-support/agda/**/*
- pkgs/development/libraries/agda/**/*
- pkgs/top-level/agda-packages.nix
"6.topic: cinnamon":
- pkgs/desktops/cinnamon/**/*
- nixos/modules/services/x11/desktop-managers/cinnamon.nix
- nixos/tests/cinnamon.nix
"6.topic: emacs":
- nixos/modules/services/editors/emacs.nix
- nixos/modules/services/editors/emacs.xml
- nixos/tests/emacs-daemon.nix
- pkgs/applications/editors/emacs/elisp-packages/**/*
- pkgs/applications/editors/emacs/**/*
- pkgs/build-support/emacs/**/*
- pkgs/top-level/emacs-packages.nix
"6.topic: erlang":
- doc/languages-frameworks/beam.section.md
- pkgs/development/beam-modules/**/*
- pkgs/development/interpreters/elixir/**/*
- pkgs/development/interpreters/erlang/**/*
- pkgs/development/tools/build-managers/rebar/**/*
- pkgs/development/tools/build-managers/rebar3/**/*
- pkgs/development/tools/erlang/**/*
- pkgs/top-level/beam-packages.nix
"6.topic: fetch":
- pkgs/build-support/fetch*/**/*
"6.topic: GNOME":
- doc/languages-frameworks/gnome.section.md
- nixos/modules/services/desktops/gnome/**/*
- nixos/modules/services/x11/desktop-managers/gnome.nix
- nixos/tests/gnome-xorg.nix
- nixos/tests/gnome.nix
- pkgs/desktops/gnome/**/*
"6.topic: golang":
- doc/languages-frameworks/go.section.md
- pkgs/build-support/go/**/*
- pkgs/development/compilers/go/**/*
"6.topic: haskell":
- doc/languages-frameworks/haskell.section.md
- maintainers/scripts/haskell/**/*
- pkgs/development/compilers/ghc/**/*
- pkgs/development/haskell-modules/**/*
- pkgs/development/tools/haskell/**/*
- pkgs/test/haskell/**/*
- pkgs/top-level/haskell-packages.nix
- pkgs/top-level/release-haskell.nix
"6.topic: kernel":
- pkgs/build-support/kernel/**/*
- pkgs/os-specific/linux/kernel/**/*
"6.topic: lua":
- pkgs/development/interpreters/lua-5/**/*
- pkgs/development/interpreters/luajit/**/*
- pkgs/development/lua-modules/**/*
- pkgs/top-level/lua-packages.nix
"6.topic: nixos":
- nixos/**/*
- pkgs/os-specific/linux/nixos-rebuild/**/*
"6.topic: nim":
- doc/languages-frameworks/nim.section.md
- pkgs/development/compilers/nim/*
- pkgs/development/nim-packages/**/*
- pkgs/top-level/nim-packages.nix
"6.topic: ocaml":
- doc/languages-frameworks/ocaml.section.md
- pkgs/development/compilers/ocaml/**/*
- pkgs/development/compilers/reason/**/*
- pkgs/development/ocaml-modules/**/*
- pkgs/development/tools/ocaml/**/*
- pkgs/top-level/ocaml-packages.nix
"6.topic: pantheon":
- nixos/modules/services/desktops/pantheon/**/*
- nixos/modules/services/x11/desktop-managers/pantheon.nix
- nixos/modules/services/x11/display-managers/lightdm-greeters/pantheon.nix
- nixos/tests/pantheon.nix
- pkgs/desktops/pantheon/**/*
"6.topic: policy discussion":
- .github/**/*
"6.topic: printing":
- nixos/modules/services/printing/cupsd.nix
- pkgs/misc/cups/**/*
"6.topic: python":
- doc/languages-frameworks/python.section.md
- pkgs/development/interpreters/python/**/*
- pkgs/development/python-modules/**/*
- pkgs/top-level/python-packages.nix
"6.topic: qt/kde":
- doc/languages-frameworks/qt.section.md
- nixos/modules/services/x11/desktop-managers/plasma5.nix
- nixos/tests/plasma5.nix
- pkgs/applications/kde/**/*
- pkgs/desktops/plasma-5/**/*
- pkgs/development/libraries/kde-frameworks/**/*
- pkgs/development/libraries/qt-5/**/*
"6.topic: ruby":
- doc/languages-frameworks/ruby.section.md
- pkgs/development/interpreters/ruby/**/*
- pkgs/development/ruby-modules/**/*
"6.topic: rust":
- doc/languages-frameworks/rust.section.md
- pkgs/build-support/rust/**/*
- pkgs/development/compilers/rust/**/*
"6.topic: stdenv":
- pkgs/stdenv/**/*
"6.topic: steam":
- pkgs/games/steam/**/*
"6.topic: systemd":
- pkgs/os-specific/linux/systemd/**/*
- nixos/modules/system/boot/systemd*/**/*
"6.topic: TeX":
- doc/languages-frameworks/texlive.section.md
- pkgs/tools/typesetting/tex/**/*
"6.topic: vim":
- doc/languages-frameworks/vim.section.md
- pkgs/applications/editors/vim/**/*
- pkgs/applications/editors/vim/plugins/**/*
- nixos/modules/programs/neovim.nix
- pkgs/applications/editors/neovim/**/*
"6.topic: vscode":
- pkgs/applications/editors/vscode/**/*
"6.topic: xfce":
- nixos/doc/manual/configuration/xfce.xml
- nixos/modules/services/x11/desktop-managers/xfce.nix
- nixos/tests/xfce.nix
- pkgs/desktops/xfce/**/*
"8.has: changelog":
- nixos/doc/manual/release-notes/**/*
"8.has: documentation":
- doc/**/*
- nixos/doc/**/*
"8.has: module (update)":
- nixos/modules/**/*

9
.github/stale.yml vendored
View File

@@ -1,9 +0,0 @@
# Configuration for probot-stale - https://github.com/probot/stale
daysUntilStale: 180
daysUntilClose: false
exemptLabels:
- "1.severity: security"
- "2.status: never-stale"
staleLabel: "2.status: stale"
markComment: false
closeComment: false

View File

@@ -1,38 +0,0 @@
name: Backport
on:
pull_request_target:
types: [closed, labeled]
# WARNING:
# When extending this action, be aware that $GITHUB_TOKEN allows write access to
# the GitHub repository. This means that it should not evaluate user input in a
# way that allows code injection.
permissions:
contents: read
jobs:
backport:
permissions:
contents: write # for zeebe-io/backport-action to create branch
pull-requests: write # for zeebe-io/backport-action to create PR to backport
name: Backport Pull Request
if: github.repository_owner == 'NixOS' && github.event.pull_request.merged == true && (github.event_name != 'labeled' || startsWith('backport', github.event.label.name))
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
# required to find all branches
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- name: Create backport PRs
uses: zeebe-io/backport-action@v0.0.8
with:
# Config README: https://github.com/zeebe-io/backport-action#backport-action
github_token: ${{ secrets.GITHUB_TOKEN }}
github_workspace: ${{ github.workspace }}
pull_description: |-
Bot-based backport to `${target_branch}`, triggered by a label in #${pull_number}.
* [ ] Before merging, ensure that this backport complies with the [Criteria for Backporting](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#criteria-for-backporting-changes).
* Even as a non-commiter, if you find that it does not comply, leave a comment.

View File

@@ -1,29 +0,0 @@
name: Basic evaluation checks
on:
workflow_dispatch
# pull_request:
# branches:
# - master
# - release-**
# push:
# branches:
# - master
# - release-**
permissions:
contents: read
jobs:
tests:
runs-on: ubuntu-latest
# we don't limit this action to only NixOS repo since the checks are cheap and useful developer feedback
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
- uses: cachix/cachix-action@v12
with:
# This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
name: nixpkgs-ci
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
# explicit list of supportedSystems is needed until aarch64-darwin becomes part of the trunk jobset
- run: nix-build pkgs/top-level/release.nix -A tarball.nixpkgs-basic-release-checks --arg supportedSystems '[ "aarch64-darwin" "aarch64-linux" "x86_64-linux" "x86_64-darwin" ]'

View File

@@ -1,21 +0,0 @@
#!/usr/bin/env nix-shell
#! nix-shell -i bash -p html-tidy
set -euo pipefail
shopt -s inherit_errexit
normalize() {
tidy \
--anchor-as-name no \
--coerce-endtags no \
--escape-scripts no \
--fix-backslash no \
--fix-style-tags no \
--fix-uri no \
--indent yes \
--wrap 0 \
< "$1" \
2> /dev/null
}
diff -U3 <(normalize "$1") <(normalize "$2")

View File

@@ -1,37 +0,0 @@
name: "Direct Push Warning"
on:
push:
branches:
- master
- release-**
permissions:
contents: read
jobs:
build:
permissions:
contents: write # for peter-evans/commit-comment to comment on commit
runs-on: ubuntu-latest
if: github.repository_owner == 'NixOS'
env:
GITHUB_SHA: ${{ github.sha }}
GITHUB_REPOSITORY: ${{ github.repository }}
steps:
- name: Check if commit is a merge commit
id: ismerge
run: |
ISMERGE=$(curl -H 'Accept: application/vnd.github.groot-preview+json' -H "authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/${{ env.GITHUB_REPOSITORY }}/commits/${{ env.GITHUB_SHA }}/pulls | jq -r '.[] | select(.merge_commit_sha == "${{ env.GITHUB_SHA }}") | any')
echo "ismerge=$ISMERGE" >> $GITHUB_OUTPUT
# github events are eventually consistent, so wait until changes propagate to thier DB
- run: sleep 60
if: steps.ismerge.outputs.ismerge != 'true'
- name: Warn if the commit was a direct push
if: steps.ismerge.outputs.ismerge != 'true'
uses: peter-evans/commit-comment@v2
with:
body: |
@${{ github.actor }}, you pushed a commit directly to master/release branch
instead of going through a Pull Request.
That's highly discouraged beyond the few exceptions listed
on https://github.com/NixOS/nixpkgs/issues/118661

View File

@@ -1,43 +0,0 @@
name: "Checking EditorConfig"
permissions: read-all
on:
# avoids approving first time contributors
pull_request_target:
branches-ignore:
- 'release-**'
jobs:
tests:
runs-on: ubuntu-latest
if: "github.repository_owner == 'NixOS' && !contains(github.event.pull_request.title, '[skip editorconfig]')"
steps:
- name: Get list of changed files from PR
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh api \
repos/NixOS/nixpkgs/pulls/${{github.event.number}}/files --paginate \
| jq '.[] | select(.status != "removed") | .filename' \
> "$HOME/changed_files"
- name: print list of changed files
run: |
cat "$HOME/changed_files"
- uses: actions/checkout@v3
with:
# pull_request_target checks out the base branch by default
ref: refs/pull/${{ github.event.pull_request.number }}/merge
- uses: cachix/install-nix-action@v18
with:
# nixpkgs commit is pinned so that it doesn't break
# editorconfig-checker 2.4.0
nix_path: nixpkgs=https://github.com/NixOS/nixpkgs/archive/c473cc8714710179df205b153f4e9fa007107ff9.tar.gz
- name: install editorconfig-checker
run: nix-env -iA editorconfig-checker -f '<nixpkgs>'
- name: Checking EditorConfig
run: |
cat "$HOME/changed_files" | xargs -r editorconfig-checker -disable-indent-size
- if: ${{ failure() }}
run: |
echo "::error :: Hey! It looks like your changes don't follow our editorconfig settings. Read https://editorconfig.org/#download to configure your editor so you never see this error again."

View File

@@ -1,24 +0,0 @@
name: "Label PR"
on:
pull_request_target:
types: [edited, opened, synchronize, reopened]
# WARNING:
# When extending this action, be aware that $GITHUB_TOKEN allows some write
# access to the GitHub API. This means that it should not evaluate user input in
# a way that allows code injection.
permissions:
contents: read
pull-requests: write
jobs:
labels:
runs-on: ubuntu-latest
if: github.repository_owner == 'NixOS'
steps:
- uses: actions/labeler@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
sync-labels: true

View File

@@ -1,39 +0,0 @@
name: "Build NixOS manual"
permissions: read-all
on:
pull_request_target:
branches:
- master
paths:
- 'nixos/**'
jobs:
nixos:
runs-on: ubuntu-latest
if: github.repository_owner == 'NixOS'
steps:
- uses: actions/checkout@v3
with:
# pull_request_target checks out the base branch by default
ref: refs/pull/${{ github.event.pull_request.number }}/merge
- uses: cachix/install-nix-action@v18
with:
# explicitly enable sandbox
extra_nix_config: sandbox = true
- uses: cachix/cachix-action@v12
with:
# This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
name: nixpkgs-ci
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: Building NixOS manual with DocBook options
run: NIX_PATH=nixpkgs=$(pwd) nix-build --option restrict-eval true nixos/release.nix -A manual.x86_64-linux
- name: Building NixOS manual with Markdown options
run: |
export NIX_PATH=nixpkgs=$(pwd)
nix-build \
--option restrict-eval true \
--arg configuration '{ documentation.nixos.options.allowDocBook = false; }' \
nixos/release.nix \
-A manual.x86_64-linux

View File

@@ -1,31 +0,0 @@
name: "Build Nixpkgs manual"
permissions: read-all
on:
pull_request_target:
branches:
- master
paths:
- 'doc/**'
jobs:
nixpkgs:
runs-on: ubuntu-latest
if: github.repository_owner == 'NixOS'
steps:
- uses: actions/checkout@v3
with:
# pull_request_target checks out the base branch by default
ref: refs/pull/${{ github.event.pull_request.number }}/merge
- uses: cachix/install-nix-action@v18
with:
# explicitly enable sandbox
extra_nix_config: sandbox = true
- uses: cachix/cachix-action@v12
with:
# This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
name: nixpkgs-ci
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: Building Nixpkgs manual
run: NIX_PATH=nixpkgs=$(pwd) nix-build --option restrict-eval true pkgs/top-level/release.nix -A manual

View File

@@ -1,64 +0,0 @@
name: "Check NixOS Manual DocBook rendering against MD rendering"
on:
schedule:
# * is a special character in YAML so you have to quote this string
# Check every 24 hours
- cron: '0 0 * * *'
permissions:
contents: read
jobs:
check-rendering-equivalence:
permissions:
pull-requests: write # for peter-evans/create-or-update-comment to create or update comment
if: github.repository_owner == 'NixOS'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
with:
# explicitly enable sandbox
extra_nix_config: sandbox = true
- uses: cachix/cachix-action@v12
with:
# This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
name: nixpkgs-ci
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: Build DocBook and MD manuals
run: |
export NIX_PATH=nixpkgs=$(pwd)
nix-build \
--option restrict-eval true \
-o docbook nixos/release.nix \
-A manual.x86_64-linux
nix-build \
--option restrict-eval true \
--arg configuration '{ documentation.nixos.options.allowDocBook = false; }' \
-o md nixos/release.nix \
-A manual.x86_64-linux
- name: Compare DocBook and MD manuals
id: check
run: |
export NIX_PATH=nixpkgs=$(pwd)
.github/workflows/compare-manuals.sh \
docbook/share/doc/nixos/options.html \
md/share/doc/nixos/options.html
# if the manual can't be built we don't want to notify anyone.
# while this may temporarily hide rendering failures it will be a lot
# less noisy until all nixpkgs pull requests have stopped using
# docbook for option docs.
- name: Comment on failure
uses: peter-evans/create-or-update-comment@v2
if: ${{ failure() && steps.check.conclusion == 'failure' }}
with:
issue-number: 189318
body: |
Markdown and DocBook manuals do not agree.
Check https://github.com/NixOS/nixpkgs/actions/runs/${{ github.run_id }} for details.

View File

@@ -1,34 +0,0 @@
name: NixOS manual checks
permissions: read-all
on:
pull_request_target:
branches-ignore:
- 'release-**'
paths:
- 'nixos/**/*.xml'
- 'nixos/**/*.md'
jobs:
tests:
runs-on: ubuntu-latest
if: github.repository_owner == 'NixOS'
steps:
- uses: actions/checkout@v3
with:
# pull_request_target checks out the base branch by default
ref: refs/pull/${{ github.event.pull_request.number }}/merge
- uses: cachix/install-nix-action@v18
- name: Check DocBook files generated from Markdown are consistent
run: |
nixos/doc/manual/md-to-db.sh
git diff --exit-code || {
echo
echo 'Generated manual files are out of date.'
echo 'Please run'
echo
echo ' nixos/doc/manual/md-to-db.sh'
echo
exit 1
}

View File

@@ -1,26 +0,0 @@
name: "No channel PR"
on:
pull_request:
branches:
- 'nixos-**'
- 'nixpkgs-**'
permissions:
contents: read
jobs:
fail:
permissions:
contents: none
name: "This PR is is targeting a channel branch"
runs-on: ubuntu-latest
steps:
- run: |
cat <<EOF
The nixos-* and nixpkgs-* branches are pushed to by the channel
release script and should not be merged into directly.
Please target the equivalent release-* branch or master instead.
EOF
exit 1

View File

@@ -1,33 +0,0 @@
name: "Set pending OfBorg status"
on:
pull_request_target:
# Sets the ofborg-eval status to "pending" to signal that we are waiting for
# OfBorg even if it is running late. The status will be overwritten by OfBorg
# once it starts evaluation.
# WARNING:
# When extending this action, be aware that $GITHUB_TOKEN allows (restricted) write access to
# the GitHub repository. This means that it should not evaluate user input in a
# way that allows code injection.
permissions:
contents: read
jobs:
action:
if: github.repository_owner == 'NixOS'
permissions:
statuses: write
runs-on: ubuntu-latest
steps:
- name: "Set pending OfBorg status"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
curl \
-X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: Bearer $GITHUB_TOKEN" \
-d '{"context": "ofborg-eval", "state": "pending", "description": "Waiting for OfBorg..."}' \
"https://api.github.com/repos/NixOS/nixpkgs/commits/${{ github.event.pull_request.head.sha }}/statuses"

View File

@@ -1,59 +0,0 @@
# This action periodically merges base branches into staging branches.
# This is done to
# * prevent conflicts or rather resolve them early
# * make all potential breakage happen on the staging branch
# * and make sure that all major rebuilds happen before the staging
# branch gets merged back into its base branch.
name: "Periodic Merges (24h)"
on:
schedule:
# * is a special character in YAML so you have to quote this string
# Merge every 24 hours
- cron: '0 0 * * *'
permissions:
contents: read
jobs:
periodic-merge:
permissions:
contents: write # for devmasx/merge-branch to merge branches
pull-requests: write # for peter-evans/create-or-update-comment to create or update comment
if: github.repository_owner == 'NixOS'
runs-on: ubuntu-latest
strategy:
# don't fail fast, so that all pairs are tried
fail-fast: false
# certain branches need to be merged in order, like master->staging-next->staging
# and disabling parallelism ensures the order of the pairs below.
max-parallel: 1
matrix:
pairs:
- from: master
into: haskell-updates
- from: release-22.05
into: staging-next-22.05
- from: staging-next-22.05
into: staging-22.05
name: ${{ matrix.pairs.from }} → ${{ matrix.pairs.into }}
steps:
- uses: actions/checkout@v3
- name: ${{ matrix.pairs.from }} → ${{ matrix.pairs.into }}
uses: devmasx/merge-branch@1.4.0
with:
type: now
from_branch: ${{ matrix.pairs.from }}
target_branch: ${{ matrix.pairs.into }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Comment on failure
uses: peter-evans/create-or-update-comment@v2
if: ${{ failure() }}
with:
issue-number: 105153
body: |
Periodic merge from `${{ matrix.pairs.from }}` into `${{ matrix.pairs.into }}` has [failed](https://github.com/NixOS/nixpkgs/actions/runs/${{ github.run_id }}).

View File

@@ -1,57 +0,0 @@
# This action periodically merges base branches into staging branches.
# This is done to
# * prevent conflicts or rather resolve them early
# * make all potential breakage happen on the staging branch
# * and make sure that all major rebuilds happen before the staging
# branch gets merged back into its base branch.
name: "Periodic Merges (6h)"
on:
schedule:
# * is a special character in YAML so you have to quote this string
# Merge every 6 hours
- cron: '0 */6 * * *'
permissions:
contents: read
jobs:
periodic-merge:
permissions:
contents: write # for devmasx/merge-branch to merge branches
pull-requests: write # for peter-evans/create-or-update-comment to create or update comment
if: github.repository_owner == 'NixOS'
runs-on: ubuntu-latest
strategy:
# don't fail fast, so that all pairs are tried
fail-fast: false
# certain branches need to be merged in order, like master->staging-next->staging
# and disabling parallelism ensures the order of the pairs below.
max-parallel: 1
matrix:
pairs:
- from: master
into: staging-next
- from: staging-next
into: staging
name: ${{ matrix.pairs.from }} → ${{ matrix.pairs.into }}
steps:
- uses: actions/checkout@v3
- name: ${{ matrix.pairs.from }} → ${{ matrix.pairs.into }}
uses: devmasx/merge-branch@1.4.0
with:
type: now
from_branch: ${{ matrix.pairs.from }}
target_branch: ${{ matrix.pairs.into }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Comment on failure
uses: peter-evans/create-or-update-comment@v2
if: ${{ failure() }}
with:
issue-number: 105153
body: |
Periodic merge from `${{ matrix.pairs.from }}` into `${{ matrix.pairs.into }}` has [failed](https://github.com/NixOS/nixpkgs/actions/runs/${{ github.run_id }}).

View File

@@ -1,55 +0,0 @@
name: "Update terraform-providers"
on:
schedule:
- cron: "0 3 * * *"
workflow_dispatch:
permissions:
contents: read
jobs:
tf-providers:
permissions:
contents: write # for peter-evans/create-pull-request to create branch
pull-requests: write # for peter-evans/create-pull-request to create a PR, for peter-evans/create-or-update-comment to create or update comment
if: github.repository_owner == 'NixOS' && github.ref == 'refs/heads/master' # ensure workflow_dispatch only runs on master
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: setup
id: setup
run: |
echo "title=terraform-providers: update $(date -u +"%Y-%m-%d")" >> $GITHUB_OUTPUT
- name: update terraform-providers
run: |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
echo | nix-shell \
maintainers/scripts/update.nix \
--argstr commit true \
--argstr keep-going true \
--argstr max-workers 2 \
--argstr path terraform-providers
- name: clean repo
run: |
git clean -f
- name: create PR
uses: peter-evans/create-pull-request@v4
with:
body: |
Automatic update by [update-terraform-providers](https://github.com/NixOS/nixpkgs/blob/master/.github/workflows/update-terraform-providers.yml) action.
https://github.com/NixOS/nixpkgs/actions/runs/${{ github.run_id }}
Check that all providers build with:
```
@ofborg build terraform.full
```
branch: terraform-providers-update
delete-branch: false
title: ${{ steps.setup.outputs.title }}
token: ${{ secrets.GITHUB_TOKEN }}

16
.gitignore vendored
View File

@@ -2,30 +2,16 @@
,*
.*.swp
.*.swo
.idea/
.vscode/
outputs/
result-*
result
!pkgs/development/python-modules/result
result-*
/doc/NEWS.html
/doc/NEWS.txt
/doc/manual.html
/doc/manual.pdf
/result
/source/
.version-suffix
.DS_Store
.mypy_cache
__pycache__
/pkgs/development/libraries/qt-5/*/tmp/
/pkgs/desktops/kde-5/*/tmp/
/pkgs/development/mobile/androidenv/xml/*
# generated by pkgs/common-updater/update-script.nix
update-git-commits.txt
# JetBrains IDEA module declaration file
/nixpkgs.iml

View File

@@ -1,3 +0,0 @@
Daniel Løvbrøtte Olsen <me@dandellion.xyz> <daniel.olsen99@gmail.com>
R. RyanTM <ryantm-bot@ryantm.com>
Sandro <sandro.jaeckel@gmail.com>

View File

@@ -1 +1 @@
22.11
19.03

View File

@@ -1,135 +0,0 @@
# How to contribute
Note: contributing implies licensing those contributions
under the terms of [COPYING](COPYING), which is an MIT-like license.
## Opening issues
* Make sure you have a [GitHub account](https://github.com/signup/free)
* Make sure there is no open issue on the topic
* [Submit a new issue](https://github.com/NixOS/nixpkgs/issues/new/choose) by choosing the kind of topic and fill out the template
## Submitting changes
Read the ["Submitting changes"](https://nixos.org/nixpkgs/manual/#chap-submitting-changes) section of the nixpkgs manual. It explains how to write, test, and iterate on your change, and which branch to base your pull request against.
Below is a short excerpt of some points in there:
* Format the commit messages in the following way:
```
(pkg-name | nixos/<module>): (from -> to | init at version | refactor | etc)
(Motivation for change. Link to release notes. Additional information.)
```
For consistency, there should not be a period at the end of the commit message's summary line (the first line of the commit message).
Examples:
* nginx: init at 2.0.1
* firefox: 54.0.1 -> 55.0
https://www.mozilla.org/en-US/firefox/55.0/releasenotes/
* nixos/hydra: add bazBaz option
Dual baz behavior is needed to do foo.
* nixos/nginx: refactor config generation
The old config generation system used impure shell scripts and could break in specific circumstances (see #1234).
* `meta.description` should:
* Be capitalized.
* Not start with the package name.
* Not have a period at the end.
* `meta.license` must be set and fit the upstream license.
* If there is no upstream license, `meta.license` should default to `lib.licenses.unfree`.
* `meta.maintainers` must be set.
See the nixpkgs manual for more details on [standard meta-attributes](https://nixos.org/nixpkgs/manual/#sec-standard-meta-attributes).
## Writing good commit messages
In addition to writing properly formatted commit messages, it's important to include relevant information so other developers can later understand *why* a change was made. While this information usually can be found by digging code, mailing list/Discourse archives, pull request discussions or upstream changes, it may require a lot of work.
For package version upgrades and such a one-line commit message is usually sufficient.
## Rebasing between branches (i.e. from master to staging)
From time to time, changes between branches must be rebased, for example, if the
number of new rebuilds they would cause is too large for the target branch. When
rebasing, care must be taken to include only the intended changes, otherwise
many CODEOWNERS will be inadvertently requested for review. To achieve this,
rebasing should not be performed directly on the target branch, but on the merge
base between the current and target branch.
In the following example, we assume that the current branch, called `feature`,
is based on `master`, and we rebase it onto the merge base between
`master` and `staging` so that the PR can eventually be retargeted to
`staging` without causing a mess. The example uses `upstream` as the remote for `NixOS/nixpkgs.git`
while `origin` is the remote you are pushing to.
```console
# Rebase your commits onto the common merge base
git rebase --onto upstream/staging... upstream/master
# Force push your changes
git push origin feature --force-with-lease
```
The syntax `upstream/staging...` is equivalent to `upstream/staging...HEAD` and
stands for the merge base between `upstream/staging` and `HEAD` (hence between
`upstream/staging` and `upstream/master`).
Then change the base branch in the GitHub PR using the *Edit* button in the upper
right corner, and switch from `master` to `staging`. *After* the PR has been
retargeted it might be necessary to do a final rebase onto the target branch, to
resolve any outstanding merge conflicts.
```console
# Rebase onto target branch
git rebase upstream/staging
# Review and fixup possible conflicts
git status
# Force push your changes
git push origin feature --force-with-lease
```
## Backporting changes
Follow these steps to backport a change into a release branch in compliance with the [commit policy](https://nixos.org/nixpkgs/manual/#submitting-changes-stable-release-branches).
You can add a label such as `backport release-22.05` to a PR, so that merging it will
automatically create a backport (via [a GitHub Action](.github/workflows/backport.yml)).
This also works for PR's that have already been merged, and might take a couple of minutes to trigger.
You can also create the backport manually:
1. Take note of the commits in which the change was introduced into `master` branch.
2. Check out the target _release branch_, e.g. `release-22.05`. Do not use a _channel branch_ like `nixos-22.05` or `nixpkgs-22.05-darwin`.
3. Create a branch for your change, e.g. `git checkout -b backport`.
4. When the reason to backport is not obvious from the original commit message, use `git cherry-pick -xe <original commit>` and add a reason. Otherwise use `git cherry-pick -x <original commit>`. That's fine for minor version updates that only include security and bug fixes, commits that fixes an otherwise broken package or similar. Please also ensure the commits exists on the master branch; in the case of squashed or rebased merges, the commit hash will change and the new commits can be found in the merge message at the bottom of the master pull request.
5. Push to GitHub and open a backport pull request. Make sure to select the release branch (e.g. `release-22.05`) as the target branch of the pull request, and link to the pull request in which the original change was comitted to `master`. The pull request title should be the commit title with the release version as prefix, e.g. `[22.05]`.
6. When the backport pull request is merged and you have the necessary privileges you can also replace the label `9.needs: port to stable` with `8.has: port to stable` on the original pull request. This way maintainers can keep track of missing backports easier.
## Criteria for Backporting changes
Anything that does not cause user or downstream dependency regressions can be backported. This includes:
- New Packages / Modules
- Security / Patch updates
- Version updates which include new functionality (but no breaking changes)
- Services which require a client to be up-to-date regardless. (E.g. `spotify`, `steam`, or `discord`)
- Security critical applications (E.g. `firefox`)
## Generating 22.11 Release Notes
Documentation in nixpkgs is transitioning to a markdown-centric workflow. Release notes now require a translation step to convert from markdown to a compatible docbook document.
Steps for updating 22.11 Release notes:
1. Edit `nixos/doc/manual/release-notes/rl-2211.section.md` with the desired changes
2. Run `./nixos/doc/manual/md-to-db.sh` to render `nixos/doc/manual/from_md/release-notes/rl-2211.section.xml`
3. Include changes to `rl-2211.section.md` and `rl-2211.section.xml` in the same commit.
## Reviewing contributions
See the nixpkgs manual for more details on how to [Review contributions](https://nixos.org/nixpkgs/manual/#chap-reviewing-contributions).

View File

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

150
README.md
View File

@@ -1,119 +1,47 @@
<p align="center">
<a href="https://nixos.org#gh-light-mode-only">
<img src="https://raw.githubusercontent.com/NixOS/nixos-homepage/master/logo/nixos-hires.png" width="500px" alt="NixOS logo"/>
</a>
<a href="https://nixos.org#gh-dark-mode-only">
<img src="https://raw.githubusercontent.com/NixOS/nixos-artwork/master/logo/nixos-white.png" width="500px" alt="NixOS logo"/>
</a>
</p>
[<img src="https://nixos.org/logo/nixos-hires.png" width="500px" alt="logo" />](https://nixos.org/nixos)
<p align="center">
<a href="https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md"><img src="https://img.shields.io/github/contributors-anon/NixOS/nixpkgs" alt="Contributors badge" /></a>
<a href="https://opencollective.com/nixos"><img src="https://opencollective.com/nixos/tiers/supporter/badge.svg?label=supporters&color=brightgreen" alt="Open Collective supporters" /></a>
</p>
[![Code Triagers Badge](https://www.codetriage.com/nixos/nixpkgs/badges/users.svg)](https://www.codetriage.com/nixos/nixpkgs)
[Nixpkgs](https://github.com/nixos/nixpkgs) is a collection of over
80,000 software packages that can be installed with the
[Nix](https://nixos.org/nix/) package manager. It also implements
[NixOS](https://nixos.org/nixos/), a purely-functional Linux distribution.
Nixpkgs is a collection of packages for the [Nix](https://nixos.org/nix/) package
manager. It is periodically built and tested by the [Hydra](https://hydra.nixos.org/)
build daemon as so-called channels. To get channel information via git, add
[nixpkgs-channels](https://github.com/NixOS/nixpkgs-channels.git) as a remote:
# Manuals
```
% git remote add channels https://github.com/NixOS/nixpkgs-channels.git
```
* [NixOS Manual](https://nixos.org/nixos/manual) - how to install, configure, and maintain a purely-functional Linux distribution
* [Nixpkgs Manual](https://nixos.org/nixpkgs/manual/) - contributing to Nixpkgs and using programming-language-specific Nix expressions
* [Nix Package Manager Manual](https://nixos.org/nix/manual) - how to write Nix expressions (programs), and how to use Nix command line tools
For stability and maximum binary package support, it is recommended to maintain
custom changes on top of one of the channels, e.g. `nixos-19.03` for the latest
release and `nixos-unstable` for the latest successful build of master:
# Community
```
% git remote update channels
% git rebase channels/nixos-19.03
```
For pull requests, please rebase onto nixpkgs `master`.
[NixOS](https://nixos.org/nixos/) Linux distribution source code is located inside
`nixos/` folder.
* [NixOS installation instructions](https://nixos.org/nixos/manual/#ch-installation)
* [Documentation (Nix Expression Language chapter)](https://nixos.org/nix/manual/#ch-expression-language)
* [Manual (How to write packages for Nix)](https://nixos.org/nixpkgs/manual/)
* [Manual (NixOS)](https://nixos.org/nixos/manual/)
* [Community maintained wiki](https://nixos.wiki/)
* [Continuous package builds for unstable/master](https://hydra.nixos.org/jobset/nixos/trunk-combined)
* [Continuous package builds for 19.03 release](https://hydra.nixos.org/jobset/nixos/release-19.03)
* [Tests for unstable/master](https://hydra.nixos.org/job/nixos/trunk-combined/tested#tabs-constituents)
* [Tests for 19.03 release](https://hydra.nixos.org/job/nixos/release-19.03/tested#tabs-constituents)
Communication:
* [Discourse Forum](https://discourse.nixos.org/)
* [Matrix Chat](https://matrix.to/#/#community:nixos.org)
* [NixOS Weekly](https://weekly.nixos.org/)
* [Community-maintained wiki](https://nixos.wiki/)
* [Community-maintained list of ways to get in touch](https://nixos.wiki/wiki/Get_In_Touch#Chat) (Discord, Telegram, IRC, etc.)
* [IRC - #nixos on freenode.net](irc://irc.freenode.net/#nixos)
# Other Project Repositories
The sources of all official Nix-related projects are in the [NixOS
organization on GitHub](https://github.com/NixOS/). Here are some of
the main ones:
* [Nix](https://github.com/NixOS/nix) - the purely functional package manager
* [NixOps](https://github.com/NixOS/nixops) - the tool to remotely deploy NixOS machines
* [nixos-hardware](https://github.com/NixOS/nixos-hardware) - NixOS profiles to optimize settings for different hardware
* [Nix RFCs](https://github.com/NixOS/rfcs) - the formal process for making substantial changes to the community
* [NixOS homepage](https://github.com/NixOS/nixos-homepage) - the [NixOS.org](https://nixos.org) website
* [hydra](https://github.com/NixOS/hydra) - our continuous integration system
* [NixOS Artwork](https://github.com/NixOS/nixos-artwork) - NixOS artwork
# Continuous Integration and Distribution
Nixpkgs and NixOS are built and tested by our continuous integration
system, [Hydra](https://hydra.nixos.org/).
* [Continuous package builds for unstable/master](https://hydra.nixos.org/jobset/nixos/trunk-combined)
* [Continuous package builds for the NixOS 22.05 release](https://hydra.nixos.org/jobset/nixos/release-22.05)
* [Tests for unstable/master](https://hydra.nixos.org/job/nixos/trunk-combined/tested#tabs-constituents)
* [Tests for the NixOS 22.05 release](https://hydra.nixos.org/job/nixos/release-22.05/tested#tabs-constituents)
Artifacts successfully built with Hydra are published to cache at
https://cache.nixos.org/. When successful build and test criteria are
met, the Nixpkgs expressions are distributed via [Nix
channels](https://nixos.org/manual/nix/stable/package-management/channels.html).
# Contributing
Nixpkgs is among the most active projects on GitHub. While thousands
of open issues and pull requests might seem a lot at first, it helps
consider it in the context of the scope of the project. Nixpkgs
describes how to build tens of thousands of pieces of software and implements a
Linux distribution. The [GitHub Insights](https://github.com/NixOS/nixpkgs/pulse)
page gives a sense of the project activity.
Community contributions are always welcome through GitHub Issues and
Pull Requests. When pull requests are made, our tooling automation bot,
[OfBorg](https://github.com/NixOS/ofborg) will perform various checks
to help ensure expression quality.
The *Nixpkgs maintainers* are people who have assigned themselves to
maintain specific individual packages. We encourage people who care
about a package to assign themselves as a maintainer. When a pull
request is made against a package, OfBorg will notify the appropriate
maintainer(s). The *Nixpkgs committers* are people who have been given
permission to merge.
Most contributions are based on and merged into these branches:
* `master` is the main branch where all small contributions go
* `staging` is branched from master, changes that have a big impact on
Hydra builds go to this branch
* `staging-next` is branched from staging and only fixes to stabilize
and security fixes with a big impact on Hydra builds should be
contributed to this branch. This branch is merged into master when
deemed of sufficiently high quality
For more information about contributing to the project, please visit
the [contributing page](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md).
# Donations
The infrastructure for NixOS and related projects is maintained by a
nonprofit organization, the [NixOS
Foundation](https://nixos.org/nixos/foundation.html). To ensure the
continuity and expansion of the NixOS infrastructure, we are looking
for donations to our organization.
You can donate to the NixOS foundation through [SEPA bank
transfers](https://nixos.org/donate.html) or by using Open Collective:
<a href="https://opencollective.com/nixos#support"><img src="https://opencollective.com/nixos/tiers/supporter.svg?width=890" /></a>
# License
Nixpkgs is licensed under the [MIT License](COPYING).
Note: MIT license does not apply to the packages built by Nixpkgs,
merely to the files in this repository (the Nix expressions, build
scripts, NixOS modules, etc.). It also might not apply to patches
included in Nixpkgs, which may be derivative works of the packages to
which they apply. The aforementioned artifacts are all covered by the
licenses of the respective packages.
Note: MIT license does not apply to the packages built by Nixpkgs, merely to
the package descriptions (Nix expressions, build scripts, and so on). It also
might not apply to patches included in Nixpkgs, which may be derivative works
of the packages to which they apply. The aforementioned artifacts are all
covered by the licenses of the respective packages.

View File

@@ -14,7 +14,7 @@ if ! builtins ? nixVersion || builtins.compareVersions requiredVersion builtins.
- If you installed Nix using the install script (https://nixos.org/nix/install),
it is safe to upgrade by running it again:
curl -L https://nixos.org/nix/install | sh
curl https://nixos.org/nix/install | sh
For more information, please see the NixOS release notes at
https://nixos.org/nixos/manual or locally at

7
doc/.gitignore vendored
View File

@@ -1,8 +1,7 @@
*.chapter.xml
*.section.xml
.version
functions/library/generated
functions/library/locations.xml
highlightjs
manual-full.xml
out
manual-full.xml
highlightjs
functions/library/locations.xml

View File

@@ -1,20 +1,4 @@
MD_TARGETS=$(addsuffix .xml, $(basename $(shell find . -type f -regex '.*\.md$$' -not -name README.md)))
PANDOC ?= pandoc
pandoc_media_dir = media
# NOTE: Keep in sync with NixOS manual (/nixos/doc/manual/md-to-db.sh) and conversion script (/maintainers/scripts/db-to-md.sh).
# TODO: Remove raw-attribute when we can get rid of DocBook altogether.
pandoc_commonmark_enabled_extensions = +attributes+fenced_divs+footnotes+bracketed_spans+definition_lists+pipe_tables+raw_attribute
# Not needed:
# - docbook-reader/citerefentry-to-rst-role.lua (only relevant for DocBook → MarkDown/rST/MyST)
pandoc_flags = --extract-media=$(pandoc_media_dir) \
--lua-filter=$(PANDOC_LUA_FILTERS_DIR)/diagram-generator.lua \
--lua-filter=build-aux/pandoc-filters/myst-reader/roles.lua \
--lua-filter=build-aux/pandoc-filters/link-unix-man-references.lua \
--lua-filter=build-aux/pandoc-filters/docbook-writer/rst-roles.lua \
--lua-filter=build-aux/pandoc-filters/docbook-writer/labelless-link-is-xref.lua \
-f commonmark$(pandoc_commonmark_enabled_extensions)+smart
MD_TARGETS=$(addsuffix .xml, $(basename $(wildcard ./*.md ./**/*.md)))
.PHONY: all
all: validate format out/html/index.html out/epub/manual.epub
@@ -24,10 +8,10 @@ debug:
nix-shell --run "xmloscopy --docbook5 ./manual.xml ./manual-full.xml"
.PHONY: format
format: doc-support/result
format:
find . -iname '*.xml' -type f | while read f; do \
echo $$f ;\
xmlformat --config-file "doc-support/result/xmlformat.conf" -i $$f ;\
xmlformat --config-file "$$XMLFORMAT_CONFIG" -i $$f ;\
done
.PHONY: fix-misc-xml
@@ -37,80 +21,92 @@ fix-misc-xml:
.PHONY: clean
clean:
rm -f ${MD_TARGETS} doc-support/result .version manual-full.xml functions/library/locations.xml functions/library/generated
rm -rf ./out/ ./highlightjs ./media
rm -f ${MD_TARGETS} .version manual-full.xml functions/library/locations.xml functions/library/generated
rm -rf ./out/ ./highlightjs
.PHONY: validate
validate: manual-full.xml doc-support/result
jing doc-support/result/docbook.rng manual-full.xml
validate: manual-full.xml
jing "$$RNG" manual-full.xml
out/html/index.html: doc-support/result manual-full.xml style.css highlightjs
out/html/index.html: manual-full.xml style.css highlightjs
mkdir -p out/html
xsltproc \
xsltproc ${xsltFlags} \
--nonet --xinclude \
--output $@ \
doc-support/result/xhtml.xsl \
"$$XSL/docbook/xhtml/docbook.xsl" \
./manual-full.xml
mkdir -p out/html/highlightjs/
cp -r highlightjs out/html/
cp -r $(pandoc_media_dir) out/html/
cp ./overrides.css out/html/
cp ./style.css out/html/style.css
mkdir -p out/html/images/callouts
cp doc-support/result/xsl/docbook/images/callouts/*.svg out/html/images/callouts/
cp "$$XSL/docbook/images/callouts/"*.svg out/html/images/callouts/
chmod u+w -R out/html/
out/epub/manual.epub: manual-full.xml
mkdir -p out/epub/scratch
xsltproc --nonet \
xsltproc ${xsltFlags} --nonet \
--output out/epub/scratch/ \
doc-support/result/epub.xsl \
"$$XSL/docbook/epub/docbook.xsl" \
./manual-full.xml
cp -r $(pandoc_media_dir) out/epub/scratch/OEBPS
cp ./overrides.css out/epub/scratch/OEBPS
cp ./style.css out/epub/scratch/OEBPS
mkdir -p out/epub/scratch/OEBPS/images/callouts/
cp doc-support/result/xsl/docbook/images/callouts/*.svg out/epub/scratch/OEBPS/images/callouts/
cp "$$XSL/docbook/images/callouts/"*.svg out/epub/scratch/OEBPS/images/callouts/
echo "application/epub+zip" > mimetype
zip -0Xq "out/epub/manual.epub" mimetype
rm mimetype
cd "out/epub/scratch/" && zip -Xr9D "../manual.epub" *
rm -rf "out/epub/scratch/"
highlightjs: doc-support/result
highlightjs:
mkdir -p highlightjs
cp -r doc-support/result/highlightjs/highlight.pack.js highlightjs/
cp -r doc-support/result/highlightjs/LICENSE highlightjs/
cp -r doc-support/result/highlightjs/mono-blue.css highlightjs/
cp -r doc-support/result/highlightjs/loader.js highlightjs/
cp -r "$$HIGHLIGHTJS/highlight.pack.js" highlightjs/
cp -r "$$HIGHLIGHTJS/LICENSE" highlightjs/
cp -r "$$HIGHLIGHTJS/mono-blue.css" highlightjs/
cp -r "$$HIGHLIGHTJS/loader.js" highlightjs/
manual-full.xml: ${MD_TARGETS} .version functions/library/locations.xml functions/library/generated *.xml **/*.xml **/**/*.xml
xmllint --nonet --xinclude --noxincludenode manual.xml --output manual-full.xml
.version: doc-support/result
ln -rfs ./doc-support/result/version .version
.version:
nix-instantiate --eval \
-E '(import ../lib).version' > .version
doc-support/result: doc-support/default.nix
(cd doc-support; nix-build)
function_locations := $(shell nix-build --no-out-link ./lib-function-locations.nix)
functions/library/locations.xml: doc-support/result
ln -rfs ./doc-support/result/function-locations.xml functions/library/locations.xml
functions/library/locations.xml:
ln -s $(function_locations) ./functions/library/locations.xml
functions/library/generated: doc-support/result
ln -rfs ./doc-support/result/function-docs functions/library/generated
functions/library/generated:
nix-build ./lib-function-docs.nix \
--arg locationsXml $(function_locations)\
--out-link ./functions/library/generated
%.section.xml: %.section.md
$(PANDOC) $^ -t docbook \
$(pandoc_flags) \
-o $@
pandoc $^ -w docbook+smart \
-f markdown+smart \
| sed -e 's|<ulink url=|<link xlink:href=|' \
-e 's|</ulink>|</link>|' \
-e 's|<sect. id=|<section xml:id=|' \
-e 's|</sect[0-9]>|</section>|' \
-e '1s| id=| xml:id=|' \
-e '1s|\(<[^ ]* \)|\1xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" |' \
| cat > $@
%.chapter.xml: %.chapter.md
$(PANDOC) $^ -t docbook \
pandoc $^ -w docbook+smart \
--top-level-division=chapter \
$(pandoc_flags) \
-o $@
-f markdown+smart \
| sed -e 's|<ulink url=|<link xlink:href=|' \
-e 's|</ulink>|</link>|' \
-e 's|<sect. id=|<section xml:id=|' \
-e 's|</sect[0-9]>|</section>|' \
-e '1s| id=| xml:id=|' \
-e '1s|\(<[^ ]* \)|\1|' \
| cat > $@

View File

@@ -1,12 +0,0 @@
# Nixpkgs/doc
This directory houses the sources files for the Nixpkgs manual.
You can find the [rendered documentation for Nixpkgs `unstable` on nixos.org](https://nixos.org/manual/nixpkgs/unstable/).
[Docs for Nixpkgs stable](https://nixos.org/manual/nixpkgs/stable/) are also available.
If you want to contribute to the documentation, [here's how to do it](https://nixos.org/manual/nixpkgs/unstable/#chap-contributing).
If you're only getting started with Nix, go to [nixos.org/learn](https://nixos.org/learn).

View File

@@ -1,23 +0,0 @@
--[[
Converts Code AST nodes produced by pandocs DocBook reader
from citerefentry elements into AST for corresponding role
for reStructuredText.
We use subset of MyST syntax (CommonMark with features from rST)
so lets use the rST AST for rST features.
Reference: https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html#role-manpage
]]
function Code(elem)
elem.classes = elem.classes:map(function (x)
if x == 'citerefentry' then
elem.attributes['role'] = 'manpage'
return 'interpreted-text'
else
return x
end
end)
return elem
end

View File

@@ -1,11 +0,0 @@
--[[
Converts some HTML elements commonly used in Markdown to corresponding DocBook elements.
]]
function RawInline(elem)
if elem.format == 'html' and elem.text == '<kbd>' then
return pandoc.RawInline('docbook', '<keycap>')
elseif elem.format == 'html' and elem.text == '</kbd>' then
return pandoc.RawInline('docbook', '</keycap>')
end
end

View File

@@ -1,34 +0,0 @@
--[[
Converts Link AST nodes with empty label to DocBook xref elements.
This is a temporary script to be able use cross-references conveniently
using syntax taken from MyST, while we still use docbook-xsl
for generating the documentation.
Reference: https://myst-parser.readthedocs.io/en/latest/using/syntax.html#targets-and-cross-referencing
]]
local function starts_with(start, str)
return str:sub(1, #start) == start
end
local function escape_xml_arg(arg)
amps = arg:gsub('&', '&amp;')
amps_quotes = amps:gsub('"', '&quot;')
amps_quotes_lt = amps_quotes:gsub('<', '&lt;')
return amps_quotes_lt
end
function Link(elem)
has_no_content = #elem.content == 0
targets_anchor = starts_with('#', elem.target)
has_no_attributes = elem.title == '' and elem.identifier == '' and #elem.classes == 0 and #elem.attributes == 0
if has_no_content and targets_anchor and has_no_attributes then
-- xref expects idref without the pound-sign
target_without_hash = elem.target:sub(2, #elem.target)
return pandoc.RawInline('docbook', '<xref linkend="' .. escape_xml_arg(target_without_hash) .. '" />')
end
end

View File

@@ -1,44 +0,0 @@
--[[
Converts AST for reStructuredText roles into corresponding
DocBook elements.
Currently, only a subset of roles is supported.
Reference:
List of roles:
https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html
manpage:
https://tdg.docbook.org/tdg/5.1/citerefentry.html
file:
https://tdg.docbook.org/tdg/5.1/filename.html
]]
function Code(elem)
if elem.classes:includes('interpreted-text') then
local tag = nil
local content = elem.text
if elem.attributes['role'] == 'manpage' then
tag = 'citerefentry'
local title, volnum = content:match('^(.+)%((%w+)%)$')
if title == nil then
-- No volnum in parentheses.
title = content
end
content = '<refentrytitle>' .. title .. '</refentrytitle>' .. (volnum ~= nil and ('<manvolnum>' .. volnum .. '</manvolnum>') or '')
elseif elem.attributes['role'] == 'file' then
tag = 'filename'
elseif elem.attributes['role'] == 'command' then
tag = 'command'
elseif elem.attributes['role'] == 'option' then
tag = 'option'
elseif elem.attributes['role'] == 'var' then
tag = 'varname'
elseif elem.attributes['role'] == 'env' then
tag = 'envar'
end
if tag ~= nil then
return pandoc.RawInline('docbook', '<' .. tag .. '>' .. content .. '</' .. tag .. '>')
end
end
end

View File

@@ -1,17 +0,0 @@
--[[
Turns a manpage reference into a link, when a mapping is defined below.
]]
local man_urls = {
["tmpfiles.d(5)"] = "https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html",
["nix.conf(5)"] = "https://nixos.org/manual/nix/stable/#sec-conf-file",
["systemd.time(7)"] = "https://www.freedesktop.org/software/systemd/man/systemd.time.html",
["systemd.timer(5)"] = "https://www.freedesktop.org/software/systemd/man/systemd.timer.html",
}
function Code(elem)
local is_man_role = elem.classes:includes('interpreted-text') and elem.attributes['role'] == 'manpage'
if is_man_role and man_urls[elem.text] ~= nil then
return pandoc.Link(elem, man_urls[elem.text])
end
end

View File

@@ -1,29 +0,0 @@
--[[
Replaces Str AST nodes containing {role}, followed by a Code node
by a Code node with attrs that would be produced by rST reader
from the role syntax.
This is to emulate MyST syntax in Pandoc.
(MyST is a CommonMark flavour with rST features mixed in.)
Reference: https://myst-parser.readthedocs.io/en/latest/syntax/syntax.html#roles-an-in-line-extension-point
]]
function Inlines(inlines)
for i = #inlines-1,1,-1 do
local first = inlines[i]
local second = inlines[i+1]
local correct_tags = first.tag == 'Str' and second.tag == 'Code'
if correct_tags then
-- docutils supports alphanumeric strings separated by [-._:]
-- We are slightly more liberal for simplicity.
local role = first.text:match('^{([-._+:%w]+)}$')
if role ~= nil then
inlines:remove(i)
second.attributes['role'] = role
second.classes:insert('interpreted-text')
end
end
end
return inlines
end

View File

@@ -1,25 +0,0 @@
--[[
Replaces Code nodes with attrs that would be produced by rST reader
from the role syntax by a Str AST node containing {role}, followed by a Code node.
This is to emulate MyST syntax in Pandoc.
(MyST is a CommonMark flavour with rST features mixed in.)
Reference: https://myst-parser.readthedocs.io/en/latest/syntax/syntax.html#roles-an-in-line-extension-point
]]
function Code(elem)
local role = elem.attributes['role']
if elem.classes:includes('interpreted-text') and role ~= nil then
elem.classes = elem.classes:filter(function (c)
return c ~= 'interpreted-text'
end)
elem.attributes['role'] = nil
return {
pandoc.Str('{' .. role .. '}'),
elem,
}
end
end

View File

@@ -1,165 +0,0 @@
# Fetchers {#chap-pkgs-fetchers}
Building software with Nix often requires downloading source code and other files from the internet.
`nixpkgs` provides *fetchers* for different protocols and services. Fetchers are functions that simplify downloading files.
## Caveats
Fetchers create [fixed output derivations](https://nixos.org/manual/nix/stable/#fixed-output-drvs) from downloaded files.
Nix can reuse the downloaded files via the hash of the resulting derivation.
The fact that the hash belongs to the Nix derivation output and not the file itself can lead to confusion.
For example, consider the following fetcher:
```nix
fetchurl {
url = "http://www.example.org/hello-1.0.tar.gz";
sha256 = "0v6r3wwnsk5pdjr188nip3pjgn1jrn5pc5ajpcfy6had6b3v4dwm";
};
```
A common mistake is to update a fetchers URL, or a version parameter, without updating the hash.
```nix
fetchurl {
url = "http://www.example.org/hello-1.1.tar.gz";
sha256 = "0v6r3wwnsk5pdjr188nip3pjgn1jrn5pc5ajpcfy6had6b3v4dwm";
};
```
**This will reuse the old contents**.
Remember to invalidate the hash argument, in this case by setting the `sha256` attribute to an empty string.
```nix
fetchurl {
url = "http://www.example.org/hello-1.1.tar.gz";
sha256 = "";
};
```
Use the resulting error message to determine the correct hash.
```
error: hash mismatch in fixed-output derivation '/path/to/my.drv':
specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
got: sha256-RApQUm78dswhBLC/rfU9y0u6pSAzHceIJqgmetRD24E=
```
A similar problem arises while testing changes to a fetcher's implementation. If the output of the derivation already exists in the Nix store, test failures can go undetected. The [`invalidateFetcherByDrvHash`](#tester-invalidateFetcherByDrvHash) function helps prevent reusing cached derivations.
## `fetchurl` and `fetchzip` {#fetchurl}
Two basic fetchers are `fetchurl` and `fetchzip`. Both of these have two required arguments, a URL and a hash. The hash is typically `sha256`, although many more hash algorithms are supported. Nixpkgs contributors are currently recommended to use `sha256`. This hash will be used by Nix to identify your source. A typical usage of `fetchurl` is provided below.
```nix
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "hello";
src = fetchurl {
url = "http://www.example.org/hello.tar.gz";
sha256 = "1111111111111111111111111111111111111111111111111111";
};
}
```
The main difference between `fetchurl` and `fetchzip` is in how they store the contents. `fetchurl` will store the unaltered contents of the URL within the Nix store. `fetchzip` on the other hand, will decompress the archive for you, making files and directories directly accessible in the future. `fetchzip` can only be used with archives. Despite the name, `fetchzip` is not limited to .zip files and can also be used with any tarball.
## `fetchpatch` {#fetchpatch}
`fetchpatch` works very similarly to `fetchurl` with the same arguments expected. It expects patch files as a source and performs normalization on them before computing the checksum. For example, it will remove comments or other unstable parts that are sometimes added by version control systems and can change over time.
- `relative`: Similar to using `git-diff`'s `--relative` flag, only keep changes inside the specified directory, making paths relative to it.
- `stripLen`: Remove the first `stripLen` components of pathnames in the patch.
- `extraPrefix`: Prefix pathnames by this string.
- `excludes`: Exclude files matching these patterns (applies after the above arguments).
- `includes`: Include only files matching these patterns (applies after the above arguments).
- `revert`: Revert the patch.
Note that because the checksum is computed after applying these effects, using or modifying these arguments will have no effect unless the `sha256` argument is changed as well.
Most other fetchers return a directory rather than a single file.
## `fetchsvn` {#fetchsvn}
Used with Subversion. Expects `url` to a Subversion directory, `rev`, and `sha256`.
## `fetchgit` {#fetchgit}
Used with Git. Expects `url` to a Git repo, `rev`, and `sha256`. `rev` in this case can be full the git commit id (SHA1 hash) or a tag name like `refs/tags/v1.0`.
Additionally, the following optional arguments can be given: `fetchSubmodules = true` makes `fetchgit` also fetch the submodules of a repository. If `deepClone` is set to true, the entire repository is cloned as opposing to just creating a shallow clone. `deepClone = true` also implies `leaveDotGit = true` which means that the `.git` directory of the clone won't be removed after checkout.
If only parts of the repository are needed, `sparseCheckout` can be used. This will prevent git from fetching unnecessary blobs from server, see [git sparse-checkout](https://git-scm.com/docs/git-sparse-checkout) for more information:
```nix
{ stdenv, fetchgit }:
stdenv.mkDerivation {
name = "hello";
src = fetchgit {
url = "https://...";
sparseCheckout = ''
directory/to/be/included
another/directory
'';
sha256 = "0000000000000000000000000000000000000000000000000000";
};
}
```
## `fetchfossil` {#fetchfossil}
Used with Fossil. Expects `url` to a Fossil archive, `rev`, and `sha256`.
## `fetchcvs` {#fetchcvs}
Used with CVS. Expects `cvsRoot`, `tag`, and `sha256`.
## `fetchhg` {#fetchhg}
Used with Mercurial. Expects `url`, `rev`, and `sha256`.
A number of fetcher functions wrap part of `fetchurl` and `fetchzip`. They are mainly convenience functions intended for commonly used destinations of source code in Nixpkgs. These wrapper fetchers are listed below.
## `fetchFromGitea` {#fetchfromgitea}
`fetchFromGitea` expects five arguments. `domain` is the gitea server name. `owner` is a string corresponding to the Gitea user or organization that controls this repository. `repo` corresponds to the name of the software repository. These are located at the top of every Gitea HTML page as `owner`/`repo`. `rev` corresponds to the Git commit hash or tag (e.g `v1.0`) that will be downloaded from Git. Finally, `sha256` corresponds to the hash of the extracted directory. Again, other hash algorithms are also available but `sha256` is currently preferred.
## `fetchFromGitHub` {#fetchfromgithub}
`fetchFromGitHub` expects four arguments. `owner` is a string corresponding to the GitHub user or organization that controls this repository. `repo` corresponds to the name of the software repository. These are located at the top of every GitHub HTML page as `owner`/`repo`. `rev` corresponds to the Git commit hash or tag (e.g `v1.0`) that will be downloaded from Git. Finally, `sha256` corresponds to the hash of the extracted directory. Again, other hash algorithms are also available, but `sha256` is currently preferred.
`fetchFromGitHub` uses `fetchzip` to download the source archive generated by GitHub for the specified revision. If `leaveDotGit`, `deepClone` or `fetchSubmodules` are set to `true`, `fetchFromGitHub` will use `fetchgit` instead. Refer to its section for documentation of these options.
## `fetchFromGitLab` {#fetchfromgitlab}
This is used with GitLab repositories. The arguments expected are very similar to `fetchFromGitHub` above.
## `fetchFromGitiles` {#fetchfromgitiles}
This is used with Gitiles repositories. The arguments expected are similar to `fetchgit`.
## `fetchFromBitbucket` {#fetchfrombitbucket}
This is used with BitBucket repositories. The arguments expected are very similar to fetchFromGitHub above.
## `fetchFromSavannah` {#fetchfromsavannah}
This is used with Savannah repositories. The arguments expected are very similar to `fetchFromGitHub` above.
## `fetchFromRepoOrCz` {#fetchfromrepoorcz}
This is used with repo.or.cz repositories. The arguments expected are very similar to `fetchFromGitHub` above.
## `fetchFromSourcehut` {#fetchfromsourcehut}
This is used with sourcehut repositories. Similar to `fetchFromGitHub` above,
it expects `owner`, `repo`, `rev` and `sha256`, but don't forget the tilde (~)
in front of the username! Expected arguments also include `vc` ("git" (default)
or "hg"), `domain` and `fetchSubmodules`.
If `fetchSubmodules` is `true`, `fetchFromSourcehut` uses `fetchgit`
or `fetchhg` with `fetchSubmodules` or `fetchSubrepos` set to `true`,
respectively. Otherwise, the fetcher uses `fetchzip`.

View File

@@ -1,13 +0,0 @@
<chapter xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="chap-images">
<title>Images</title>
<para>
This chapter describes tools for creating various types of images.
</para>
<xi:include href="images/appimagetools.section.xml" />
<xi:include href="images/dockertools.section.xml" />
<xi:include href="images/ocitools.section.xml" />
<xi:include href="images/snaptools.section.xml" />
<xi:include href="images/portableservice.section.xml" />
</chapter>

View File

@@ -1,48 +0,0 @@
# pkgs.appimageTools {#sec-pkgs-appimageTools}
`pkgs.appimageTools` is a set of functions for extracting and wrapping [AppImage](https://appimage.org/) files. They are meant to be used if traditional packaging from source is infeasible, or it would take too long. To quickly run an AppImage file, `pkgs.appimage-run` can be used as well.
::: {.warning}
The `appimageTools` API is unstable and may be subject to backwards-incompatible changes in the future.
:::
## AppImage formats {#ssec-pkgs-appimageTools-formats}
There are different formats for AppImages, see [the specification](https://github.com/AppImage/AppImageSpec/blob/74ad9ca2f94bf864a4a0dac1f369dd4f00bd1c28/draft.md#image-format) for details.
- Type 1 images are ISO 9660 files that are also ELF executables.
- Type 2 images are ELF executables with an appended filesystem.
They can be told apart with `file -k`:
```ShellSession
$ file -k type1.AppImage
type1.AppImage: ELF 64-bit LSB executable, x86-64, version 1 (SYSV) ISO 9660 CD-ROM filesystem data 'AppImage' (Lepton 3.x), scale 0-0,
spot sensor temperature 0.000000, unit celsius, color scheme 0, calibration: offset 0.000000, slope 0.000000, dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.18, BuildID[sha1]=d629f6099d2344ad82818172add1d38c5e11bc6d, stripped\012- data
$ file -k type2.AppImage
type2.AppImage: ELF 64-bit LSB executable, x86-64, version 1 (SYSV) (Lepton 3.x), scale 232-60668, spot sensor temperature -4.187500, color scheme 15, show scale bar, calibration: offset -0.000000, slope 0.000000 (Lepton 2.x), scale 4111-45000, spot sensor temperature 412442.250000, color scheme 3, minimum point enabled, calibration: offset -75402534979642766821519867692934234112.000000, slope 5815371847733706829839455140374904832.000000, dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.18, BuildID[sha1]=79dcc4e55a61c293c5e19edbd8d65b202842579f, stripped\012- data
```
Note how the type 1 AppImage is described as an `ISO 9660 CD-ROM filesystem`, and the type 2 AppImage is not.
## Wrapping {#ssec-pkgs-appimageTools-wrapping}
Depending on the type of AppImage you're wrapping, you'll have to use `wrapType1` or `wrapType2`.
```nix
appimageTools.wrapType2 { # or wrapType1
name = "patchwork";
src = fetchurl {
url = "https://github.com/ssbc/patchwork/releases/download/v3.11.4/Patchwork-3.11.4-linux-x86_64.AppImage";
sha256 = "1blsprpkvm0ws9b96gb36f0rbf8f5jgmw4x6dsb1kswr4ysf591s";
};
extraPkgs = pkgs: with pkgs; [ ];
}
```
- `name` specifies the name of the resulting image.
- `src` specifies the AppImage file to extract.
- `extraPkgs` allows you to pass a function to include additional packages inside the FHS environment your AppImage is going to run in. There are a few ways to learn which dependencies an application needs:
- Looking through the extracted AppImage files, reading its scripts and running `patchelf` and `ldd` on its executables. This can also be done in `appimage-run`, by setting `APPIMAGE_DEBUG_EXEC=bash`.
- Running `strace -vfefile` on the wrapped executable, looking for libraries that can't be found.

View File

@@ -1,396 +0,0 @@
# pkgs.dockerTools {#sec-pkgs-dockerTools}
`pkgs.dockerTools` is a set of functions for creating and manipulating Docker images according to the [Docker Image Specification v1.2.0](https://github.com/moby/moby/blob/master/image/spec/v1.2.md#docker-image-specification-v120). Docker itself is not used to perform any of the operations done by these functions.
## buildImage {#ssec-pkgs-dockerTools-buildImage}
This function is analogous to the `docker build` command, in that it can be used to build a Docker-compatible repository tarball containing a single image with one or multiple layers. As such, the result is suitable for being loaded in Docker with `docker load`.
The parameters of `buildImage` with relative example values are described below:
[]{#ex-dockerTools-buildImage}
[]{#ex-dockerTools-buildImage-runAsRoot}
```nix
buildImage {
name = "redis";
tag = "latest";
fromImage = someBaseImage;
fromImageName = null;
fromImageTag = "latest";
copyToRoot = pkgs.buildEnv {
name = "image-root";
paths = [ pkgs.redis ];
pathsToLink = [ "/bin" ];
};
runAsRoot = ''
#!${pkgs.runtimeShell}
mkdir -p /data
'';
config = {
Cmd = [ "/bin/redis-server" ];
WorkingDir = "/data";
Volumes = { "/data" = { }; };
};
diskSize = 1024;
buildVMMemorySize = 512;
}
```
The above example will build a Docker image `redis/latest` from the given base image. Loading and running this image in Docker results in `redis-server` being started automatically.
- `name` specifies the name of the resulting image. This is the only required argument for `buildImage`.
- `tag` specifies the tag of the resulting image. By default it's `null`, which indicates that the nix output hash will be used as tag.
- `fromImage` is the repository tarball containing the base image. It must be a valid Docker image, such as exported by `docker save`. By default it's `null`, which can be seen as equivalent to `FROM scratch` of a `Dockerfile`.
- `fromImageName` can be used to further specify the base image within the repository, in case it contains multiple images. By default it's `null`, in which case `buildImage` will peek the first image available in the repository.
- `fromImageTag` can be used to further specify the tag of the base image within the repository, in case an image contains multiple tags. By default it's `null`, in which case `buildImage` will peek the first tag available for the base image.
- `copyToRoot` is a derivation that will be copied in the new layer of the resulting image. This can be similarly seen as `ADD contents/ /` in a `Dockerfile`. By default it's `null`.
- `runAsRoot` is a bash script that will run as root in an environment that overlays the existing layers of the base image with the new resulting layer, including the previously copied `contents` derivation. This can be similarly seen as `RUN ...` in a `Dockerfile`.
> **_NOTE:_** Using this parameter requires the `kvm` device to be available.
- `config` is used to specify the configuration of the containers that will be started off the built image in Docker. The available options are listed in the [Docker Image Specification v1.2.0](https://github.com/moby/moby/blob/master/image/spec/v1.2.md#image-json-field-descriptions).
- `diskSize` is used to specify the disk size of the VM used to build the image in megabytes. By default it's 1024 MiB.
- `buildVMMemorySize` is used to specify the memory size of the VM to build the image in megabytes. By default it's 512 MiB.
After the new layer has been created, its closure (to which `contents`, `config` and `runAsRoot` contribute) will be copied in the layer itself. Only new dependencies that are not already in the existing layers will be copied.
At the end of the process, only one new single layer will be produced and added to the resulting image.
The resulting repository will only list the single image `image/tag`. In the case of [the `buildImage` example](#ex-dockerTools-buildImage), it would be `redis/latest`.
It is possible to inspect the arguments with which an image was built using its `buildArgs` attribute.
> **_NOTE:_** If you see errors similar to `getProtocolByName: does not exist (no such protocol name: tcp)` you may need to add `pkgs.iana-etc` to `contents`.
> **_NOTE:_** If you see errors similar to `Error_Protocol ("certificate has unknown CA",True,UnknownCa)` you may need to add `pkgs.cacert` to `contents`.
By default `buildImage` will use a static date of one second past the UNIX Epoch. This allows `buildImage` to produce binary reproducible images. When listing images with `docker images`, the newly created images will be listed like this:
```ShellSession
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
hello latest 08c791c7846e 48 years ago 25.2MB
```
You can break binary reproducibility but have a sorted, meaningful `CREATED` column by setting `created` to `now`.
```nix
pkgs.dockerTools.buildImage {
name = "hello";
tag = "latest";
created = "now";
copyToRoot = pkgs.buildEnv {
name = "image-root";
paths = [ pkgs.hello ];
pathsToLink = [ "/bin" ];
};
config.Cmd = [ "/bin/hello" ];
}
```
Now the Docker CLI will display a reasonable date and sort the images as expected:
```ShellSession
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
hello latest de2bf4786de6 About a minute ago 25.2MB
```
However, the produced images will not be binary reproducible.
## buildLayeredImage {#ssec-pkgs-dockerTools-buildLayeredImage}
Create a Docker image with many of the store paths being on their own layer to improve sharing between images. The image is realized into the Nix store as a gzipped tarball. Depending on the intended usage, many users might prefer to use `streamLayeredImage` instead, which this function uses internally.
`name`
: The name of the resulting image.
`tag` _optional_
: Tag of the generated image.
*Default:* the output path's hash
`fromImage` _optional_
: The repository tarball containing the base image. It must be a valid Docker image, such as one exported by `docker save`.
*Default:* `null`, which can be seen as equivalent to `FROM scratch` of a `Dockerfile`.
`contents` _optional_
: Top-level paths in the container. Either a single derivation, or a list of derivations.
*Default:* `[]`
`config` _optional_
: Run-time configuration of the container. A full list of the options are available at in the [Docker Image Specification v1.2.0](https://github.com/moby/moby/blob/master/image/spec/v1.2.md#image-json-field-descriptions).
*Default:* `{}`
`created` _optional_
: Date and time the layers were created. Follows the same `now` exception supported by `buildImage`.
*Default:* `1970-01-01T00:00:01Z`
`maxLayers` _optional_
: Maximum number of layers to create.
*Default:* `100`
*Maximum:* `125`
`extraCommands` _optional_
: Shell commands to run while building the final layer, without access to most of the layer contents. Changes to this layer are "on top" of all the other layers, so can create additional directories and files.
`fakeRootCommands` _optional_
: Shell commands to run while creating the archive for the final layer in a fakeroot environment. Unlike `extraCommands`, you can run `chown` to change the owners of the files in the archive, changing fakeroot's state instead of the real filesystem. The latter would require privileges that the build user does not have. Static binaries do not interact with the fakeroot environment. By default all files in the archive will be owned by root.
`enableFakechroot` _optional_
: Whether to run in `fakeRootCommands` in `fakechroot`, making programs behave as though `/` is the root of the image being created, while files in the Nix store are available as usual. This allows scripts that perform installation in `/` to work as expected. Considering that `fakechroot` is implemented via the same mechanism as `fakeroot`, the same caveats apply.
*Default:* `false`
### Behavior of `contents` in the final image {#dockerTools-buildLayeredImage-arg-contents}
Each path directly listed in `contents` will have a symlink in the root of the image.
For example:
```nix
pkgs.dockerTools.buildLayeredImage {
name = "hello";
contents = [ pkgs.hello ];
}
```
will create symlinks for all the paths in the `hello` package:
```ShellSession
/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
```
### Automatic inclusion of `config` references {#dockerTools-buildLayeredImage-arg-config}
The closure of `config` is automatically included in the closure of the final image.
This allows you to make very simple Docker images with very little code. This container will start up and run `hello`:
```nix
pkgs.dockerTools.buildLayeredImage {
name = "hello";
config.Cmd = [ "${pkgs.hello}/bin/hello" ];
}
```
### Adjusting `maxLayers` {#dockerTools-buildLayeredImage-arg-maxLayers}
Increasing the `maxLayers` increases the number of layers which have a chance to be shared between different images.
Modern Docker installations support up to 128 layers, but older versions support as few as 42.
If the produced image will not be extended by other Docker builds, it is safe to set `maxLayers` to `128`. However, it will be impossible to extend the image further.
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.
Docker's Layers are not inherently ordered, they are content-addressable and are not explicitly layered until they are composed in to an Image.
## streamLayeredImage {#ssec-pkgs-dockerTools-streamLayeredImage}
Builds a script which, when run, will stream an uncompressed tarball of a Docker image to stdout. The arguments to this function are as for `buildLayeredImage`. This method of constructing an image does not realize the image into the Nix store, so it saves on IO and disk/cache space, particularly with large images.
The image produced by running the output script can be piped directly into `docker load`, to load it into the local docker daemon:
```ShellSession
$(nix-build) | docker load
```
Alternatively, the image be piped via `gzip` into `skopeo`, e.g., to copy it into a registry:
```ShellSession
$(nix-build) | gzip --fast | skopeo copy docker-archive:/dev/stdin docker://some_docker_registry/myimage:tag
```
## pullImage {#ssec-pkgs-dockerTools-fetchFromRegistry}
This function is analogous to the `docker pull` command, in that it can be used to pull a Docker image from a Docker registry. By default [Docker Hub](https://hub.docker.com/) is used to pull images.
Its parameters are described in the example below:
```nix
pullImage {
imageName = "nixos/nix";
imageDigest =
"sha256:20d9485b25ecfd89204e843a962c1bd70e9cc6858d65d7f5fadc340246e2116b";
finalImageName = "nix";
finalImageTag = "1.11";
sha256 = "0mqjy3zq2v6rrhizgb9nvhczl87lcfphq9601wcprdika2jz7qh8";
os = "linux";
arch = "x86_64";
}
```
- `imageName` specifies the name of the image to be downloaded, which can also include the registry namespace (e.g. `nixos`). This argument is required.
- `imageDigest` specifies the digest of the image to be downloaded. This argument is required.
- `finalImageName`, if specified, this is the name of the image to be created. Note it is never used to fetch the image since we prefer to rely on the immutable digest ID. By default it's equal to `imageName`.
- `finalImageTag`, if specified, this is the tag of the image to be created. Note it is never used to fetch the image since we prefer to rely on the immutable digest ID. By default it's `latest`.
- `sha256` is the checksum of the whole fetched image. This argument is required.
- `os`, if specified, is the operating system of the fetched image. By default it's `linux`.
- `arch`, if specified, is the cpu architecture of the fetched image. By default it's `x86_64`.
`nix-prefetch-docker` command can be used to get required image parameters:
```ShellSession
$ nix run nixpkgs.nix-prefetch-docker -c nix-prefetch-docker --image-name mysql --image-tag 5
```
Since a given `imageName` may transparently refer to a manifest list of images which support multiple architectures and/or operating systems, you can supply the `--os` and `--arch` arguments to specify exactly which image you want. By default it will match the OS and architecture of the host the command is run on.
```ShellSession
$ nix-prefetch-docker --image-name mysql --image-tag 5 --arch x86_64 --os linux
```
Desired image name and tag can be set using `--final-image-name` and `--final-image-tag` arguments:
```ShellSession
$ nix-prefetch-docker --image-name mysql --image-tag 5 --final-image-name eu.gcr.io/my-project/mysql --final-image-tag prod
```
## exportImage {#ssec-pkgs-dockerTools-exportImage}
This function is analogous to the `docker export` command, in that it can be used to flatten a Docker image that contains multiple layers. It is in fact the result of the merge of all the layers of the image. As such, the result is suitable for being imported in Docker with `docker import`.
> **_NOTE:_** Using this function requires the `kvm` device to be available.
The parameters of `exportImage` are the following:
```nix
exportImage {
fromImage = someLayeredImage;
fromImageName = null;
fromImageTag = null;
name = someLayeredImage.name;
}
```
The parameters relative to the base image have the same synopsis as described in [buildImage](#ssec-pkgs-dockerTools-buildImage), except that `fromImage` is the only required argument in this case.
The `name` argument is the name of the derivation output, which defaults to `fromImage.name`.
## Environment Helpers {#ssec-pkgs-dockerTools-helpers}
Some packages expect certain files to be available globally.
When building an image from scratch (i.e. without `fromImage`), these files are missing.
`pkgs.dockerTools` provides some helpers to set up an environment with the necessary files.
You can include them in `copyToRoot` like this:
```nix
buildImage {
name = "environment-example";
copyToRoot = with pkgs.dockerTools; [
usrBinEnv
binSh
caCertificates
fakeNss
];
}
```
### usrBinEnv {#sssec-pkgs-dockerTools-helpers-usrBinEnv}
This provides the `env` utility at `/usr/bin/env`.
### binSh {#sssec-pkgs-dockerTools-helpers-binSh}
This provides `bashInteractive` at `/bin/sh`.
### caCertificates {#sssec-pkgs-dockerTools-helpers-caCertificates}
This sets up `/etc/ssl/certs/ca-certificates.crt`.
### fakeNss {#sssec-pkgs-dockerTools-helpers-fakeNss}
Provides `/etc/passwd` and `/etc/group` that contain root and nobody.
Useful when packaging binaries that insist on using nss to look up
username/groups (like nginx).
### shadowSetup {#ssec-pkgs-dockerTools-shadowSetup}
This constant string is a helper for setting up the base files for managing users and groups, only if such files don't exist already. It is suitable for being used in a [`buildImage` `runAsRoot`](#ex-dockerTools-buildImage-runAsRoot) script for cases like in the example below:
```nix
buildImage {
name = "shadow-basic";
runAsRoot = ''
#!${pkgs.runtimeShell}
${pkgs.dockerTools.shadowSetup}
groupadd -r redis
useradd -r -g redis redis
mkdir /data
chown redis:redis /data
'';
}
```
Creating base files like `/etc/passwd` or `/etc/login.defs` is necessary for shadow-utils to manipulate users and groups.
## fakeNss {#ssec-pkgs-dockerTools-fakeNss}
If your primary goal is providing a basic skeleton for user lookups to work,
and/or a lesser privileged user, adding `pkgs.fakeNss` to
the container image root might be the better choice than a custom script
running `useradd` and friends.
It provides a `/etc/passwd` and `/etc/group`, containing `root` and `nobody`
users and groups.
It also provides a `/etc/nsswitch.conf`, configuring NSS host resolution to
first check `/etc/hosts`, before checking DNS, as the default in the absence of
a config file (`dns [!UNAVAIL=return] files`) is quite unexpected.
You can pair it with `binSh`, which provides `bin/sh` as a symlink
to `bashInteractive` (as `/bin/sh` is configured as a shell).
```nix
buildImage {
name = "shadow-basic";
copyToRoot = pkgs.buildEnv {
name = "image-root";
paths = [ binSh pkgs.fakeNss ];
pathsToLink = [ "/bin" "/etc" "/var" ];
};
}
```

View File

@@ -1,37 +0,0 @@
# pkgs.ociTools {#sec-pkgs-ociTools}
`pkgs.ociTools` is a set of functions for creating containers according to the [OCI container specification v1.0.0](https://github.com/opencontainers/runtime-spec). Beyond that, it makes no assumptions about the container runner you choose to use to run the created container.
## buildContainer {#ssec-pkgs-ociTools-buildContainer}
This function creates a simple OCI container that runs a single command inside of it. An OCI container consists of a `config.json` and a rootfs directory. The nix store of the container will contain all referenced dependencies of the given command.
The parameters of `buildContainer` with an example value are described below:
```nix
buildContainer {
args = [
(with pkgs;
writeScript "run.sh" ''
#!${bash}/bin/bash
exec ${bash}/bin/bash
'').outPath
];
mounts = {
"/data" = {
type = "none";
source = "/var/lib/mydata";
options = [ "bind" ];
};
};
readonly = false;
}
```
- `args` specifies a set of arguments to run inside the container. This is the only required argument for `buildContainer`. All referenced packages inside the derivation will be made available inside the container.
- `mounts` specifies additional mount points chosen by the user. By default only a minimal set of necessary filesystems are mounted into the container (e.g procfs, cgroupfs)
- `readonly` makes the container\'s rootfs read-only if it is set to true. The default value is false `false`.

View File

@@ -1,81 +0,0 @@
# pkgs.portableService {#sec-pkgs-portableService}
`pkgs.portableService` is a function to create _portable service images_,
as read-only, immutable, `squashfs` archives.
systemd supports a concept of [Portable Services](https://systemd.io/PORTABLE_SERVICES/).
Portable Services are a delivery method for system services that uses two specific features of container management:
* Applications are bundled. I.e. multiple services, their binaries and
all their dependencies are packaged in an image, and are run directly from it.
* Stricter default security policies, i.e. sandboxing of applications.
This allows using Nix to build images which can be run on many recent Linux distributions.
The primary tool for interacting with Portable Services is `portablectl`,
and they are managed by the `systemd-portabled` system service.
::: {.note}
Portable services are supported starting with systemd 239 (released on 2018-06-22).
:::
A very simple example of using `portableService` is described below:
[]{#ex-pkgs-portableService}
```nix
pkgs.portableService {
pname = "demo";
version = "1.0";
units = [ demo-service demo-socket ];
}
```
The above example will build an squashfs archive image in `result/$pname_$version.raw`. The image will contain the
file system structure as required by the portable service specification, and a subset of the Nix store with all the
dependencies of the two derivations in the `units` list.
`units` must be a list of derivations, and their names must be prefixed with the service name (`"demo"` in this case).
Otherwise `systemd-portabled` will ignore them.
::: {.note}
The `.raw` file extension of the image is required by the portable services specification.
:::
Some other options available are:
- `description`, `homepage`
Are added to the `/etc/os-release` in the image and are shown by the portable services tooling.
Default to empty values, not added to os-release.
- `symlinks`
A list of attribute sets {object, symlink}. Symlinks will be created in the root filesystem of the image to
objects in the Nix store. Defaults to an empty list.
- `contents`
A list of additional derivations to be included in the image Nix store, as-is. Defaults to an empty list.
- `squashfsTools`
Defaults to `pkgs.squashfsTools`, allows you to override the package that provides `mksquashfs`.
- `squash-compression`, `squash-block-size`
Options to `mksquashfs`. Default to `"xz -Xdict-size 100%"` and `"1M"` respectively.
A typical usage of `symlinks` would be:
```nix
symlinks = [
{ object = "${pkgs.cacert}/etc/ssl"; symlink = "/etc/ssl"; }
{ object = "${pkgs.bash}/bin/bash"; symlink = "/bin/sh"; }
{ object = "${pkgs.php}/bin/php"; symlink = "/usr/bin/php"; }
];
```
to create these symlinks for legacy applications that assume them existing globally.
Once the image is created, and deployed on a host in `/var/lib/portables/`, you can attach the image and run the service. As root run:
```console
portablectl attach demo_1.0.raw
systemctl enable --now demo.socket
systemctl enable --now demo.service
```
::: {.note}
See the [man page](https://www.freedesktop.org/software/systemd/man/portablectl.html) of `portablectl` for more info on its usage.
:::

View File

@@ -1,71 +0,0 @@
# pkgs.snapTools {#sec-pkgs-snapTools}
`pkgs.snapTools` is a set of functions for creating Snapcraft images. Snap and Snapcraft is not used to perform these operations.
## The makeSnap Function {#ssec-pkgs-snapTools-makeSnap-signature}
`makeSnap` takes a single named argument, `meta`. This argument mirrors [the upstream `snap.yaml` format](https://docs.snapcraft.io/snap-format) exactly.
The `base` should not be specified, as `makeSnap` will force set it.
Currently, `makeSnap` does not support creating GUI stubs.
## Build a Hello World Snap {#ssec-pkgs-snapTools-build-a-snap-hello}
The following expression packages GNU Hello as a Snapcraft snap.
``` {#ex-snapTools-buildSnap-hello .nix}
let
inherit (import <nixpkgs> { }) snapTools hello;
in snapTools.makeSnap {
meta = {
name = "hello";
summary = hello.meta.description;
description = hello.meta.longDescription;
architectures = [ "amd64" ];
confinement = "strict";
apps.hello.command = "${hello}/bin/hello";
};
}
```
`nix-build` this expression and install it with `snap install ./result --dangerous`. `hello` will now be the Snapcraft version of the package.
## Build a Graphical Snap {#ssec-pkgs-snapTools-build-a-snap-firefox}
Graphical programs require many more integrations with the host. This example uses Firefox as an example because it is one of the most complicated programs we could package.
``` {#ex-snapTools-buildSnap-firefox .nix}
let
inherit (import <nixpkgs> { }) snapTools firefox;
in snapTools.makeSnap {
meta = {
name = "nix-example-firefox";
summary = firefox.meta.description;
architectures = [ "amd64" ];
apps.nix-example-firefox = {
command = "${firefox}/bin/firefox";
plugs = [
"pulseaudio"
"camera"
"browser-support"
"avahi-observe"
"cups-control"
"desktop"
"desktop-legacy"
"gsettings"
"home"
"network"
"mount-observe"
"removable-media"
"x11"
];
};
confinement = "strict";
};
}
```
`nix-build` this expression and install it with `snap install ./result --dangerous`. `nix-example-firefox` will now be the Snapcraft version of the Firefox package.
The specific meaning behind plugs can be looked up in the [Snapcraft interface documentation](https://docs.snapcraft.io/supported-interfaces).

View File

@@ -1,129 +0,0 @@
# Cataclysm: Dark Days Ahead {#cataclysm-dark-days-ahead}
## How to install Cataclysm DDA {#how-to-install-cataclysm-dda}
To install the latest stable release of Cataclysm DDA to your profile, execute
`nix-env -f "<nixpkgs>" -iA cataclysm-dda`. For the curses build (build
without tiles), install `cataclysmDDA.stable.curses`. Note: `cataclysm-dda` is
an alias to `cataclysmDDA.stable.tiles`.
If you like access to a development build of your favorite git revision,
override `cataclysm-dda-git` (or `cataclysmDDA.git.curses` if you like curses
build):
```nix
cataclysm-dda-git.override {
version = "YYYY-MM-DD";
rev = "YOUR_FAVORITE_REVISION";
sha256 = "CHECKSUM_OF_THE_REVISION";
}
```
The sha256 checksum can be obtained by
```sh
nix-prefetch-url --unpack "https://github.com/CleverRaven/Cataclysm-DDA/archive/${YOUR_FAVORITE_REVISION}.tar.gz"
```
The default configuration directory is `~/.cataclysm-dda`. If you prefer
`$XDG_CONFIG_HOME/cataclysm-dda`, override the derivation:
```nix
cataclysm-dda.override {
useXdgDir = true;
}
```
## Important note for overriding packages {#important-note-for-overriding-packages}
After applying `overrideAttrs`, you need to fix `passthru.pkgs` and
`passthru.withMods` attributes either manually or by using `attachPkgs`:
```nix
let
# You enabled parallel building.
myCDDA = cataclysm-dda-git.overrideAttrs (_: {
enableParallelBuilding = true;
});
# Unfortunately, this refers to the package before overriding and
# parallel building is still disabled.
badExample = myCDDA.withMods (_: []);
inherit (cataclysmDDA) attachPkgs pkgs wrapCDDA;
# You can fix it by hand
goodExample1 = myCDDA.overrideAttrs (old: {
passthru = old.passthru // {
pkgs = pkgs.override { build = goodExample1; };
withMods = wrapCDDA goodExample1;
};
});
# or by using a helper function `attachPkgs`.
goodExample2 = attachPkgs pkgs myCDDA;
in
# badExample # parallel building disabled
# goodExample1.withMods (_: []) # parallel building enabled
goodExample2.withMods (_: []) # parallel building enabled
```
## Customizing with mods {#customizing-with-mods}
To install Cataclysm DDA with mods of your choice, you can use `withMods`
attribute:
```nix
cataclysm-dda.withMods (mods: with mods; [
tileset.UndeadPeople
])
```
All mods, soundpacks, and tilesets available in nixpkgs are found in
`cataclysmDDA.pkgs`.
Here is an example to modify existing mods and/or add more mods not available
in nixpkgs:
```nix
let
customMods = self: super: lib.recursiveUpdate super {
# Modify existing mod
tileset.UndeadPeople = super.tileset.UndeadPeople.overrideAttrs (old: {
# If you like to apply a patch to the tileset for example
patches = [ ./path/to/your.patch ];
});
# Add another mod
mod.Awesome = cataclysmDDA.buildMod {
modName = "Awesome";
version = "0.x";
src = fetchFromGitHub {
owner = "Someone";
repo = "AwesomeMod";
rev = "...";
sha256 = "...";
};
# Path to be installed in the unpacked source (default: ".")
modRoot = "contents/under/this/path/will/be/installed";
};
# Add another soundpack
soundpack.Fantastic = cataclysmDDA.buildSoundPack {
# ditto
};
# Add another tileset
tileset.SuperDuper = cataclysmDDA.buildTileSet {
# ditto
};
};
in
cataclysm-dda.withMods (mods: with mods.extend customMods; [
tileset.UndeadPeople
mod.Awesome
soundpack.Fantastic
tileset.SuperDuper
])
```

View File

@@ -1,32 +0,0 @@
# Citrix Workspace {#sec-citrix}
The [Citrix Workspace App](https://www.citrix.com/products/workspace-app/) is a remote desktop viewer which provides access to [XenDesktop](https://www.citrix.com/products/xenapp-xendesktop/) installations.
## Basic usage {#sec-citrix-base}
The tarball archive needs to be downloaded manually, as the license agreements of the vendor for [Citrix Workspace](https://www.citrix.de/downloads/workspace-app/linux/workspace-app-for-linux-latest.html) needs to be accepted first. Then run `nix-prefetch-url file://$PWD/linuxx64-$version.tar.gz`. With the archive available in the store, the package can be built and installed with Nix.
## Citrix Self-service {#sec-citrix-selfservice}
The [self-service](https://support.citrix.com/article/CTX200337) is an application managing Citrix desktops and applications. Please note that this feature only works with at least citrix_workspace_20_06_0 and later versions.
In order to set this up, you first have to [download the `.cr` file from the Netscaler Gateway](https://its.uiowa.edu/support/article/102186). After that, you can configure the `selfservice` like this:
```ShellSession
$ storebrowse -C ~/Downloads/receiverconfig.cr
$ selfservice
```
## Custom certificates {#sec-citrix-custom-certs}
The `Citrix Workspace App` in `nixpkgs` trusts several certificates [from the Mozilla database](https://curl.haxx.se/docs/caextract.html) by default. However, several companies using Citrix might require their own corporate certificate. On distros with imperative packaging, these certs can be stored easily in [`$ICAROOT`](https://developer-docs.citrix.com/projects/receiver-for-linux-command-reference/en/13.7/), however this directory is a store path in `nixpkgs`. In order to work around this issue, the package provides a simple mechanism to add custom certificates without rebuilding the entire package using `symlinkJoin`:
```nix
with import <nixpkgs> { config.allowUnfree = true; };
let
extraCerts = [
./custom-cert-1.pem
./custom-cert-2.pem # ...
];
in citrix_workspace.override { inherit extraCerts; }
```

View File

@@ -1,13 +0,0 @@
# DLib {#dlib}
[DLib](http://dlib.net/) is a modern, C++-based toolkit which provides several machine learning algorithms.
## Compiling without AVX support {#compiling-without-avx-support}
Especially older CPUs don\'t support [AVX](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions) (Advanced Vector Extensions) instructions that are used by DLib to optimize their algorithms.
On the affected hardware errors like `Illegal instruction` will occur. In those cases AVX support needs to be disabled:
```nix
self: super: { dlib = super.dlib.override { avxSupport = false; }; }
```

View File

@@ -1,64 +0,0 @@
# Eclipse {#sec-eclipse}
The Nix expressions related to the Eclipse platform and IDE are in [`pkgs/applications/editors/eclipse`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/eclipse).
Nixpkgs provides a number of packages that will install Eclipse in its various forms. These range from the bare-bones Eclipse Platform to the more fully featured Eclipse SDK or Scala-IDE packages and multiple version are often available. It is possible to list available Eclipse packages by issuing the command:
```ShellSession
$ nix-env -f '<nixpkgs>' -qaP -A eclipses --description
```
Once an Eclipse variant is installed, it can be run using the `eclipse` command, as expected. From within Eclipse, it is then possible to install plugins in the usual manner by either manually specifying an Eclipse update site or by installing the Marketplace Client plugin and using it to discover and install other plugins. This installation method provides an Eclipse installation that closely resemble a manually installed Eclipse.
If you prefer to install plugins in a more declarative manner, then Nixpkgs also offer a number of Eclipse plugins that can be installed in an _Eclipse environment_. This type of environment is created using the function `eclipseWithPlugins` found inside the `nixpkgs.eclipses` attribute set. This function takes as argument `{ eclipse, plugins ? [], jvmArgs ? [] }` where `eclipse` is a one of the Eclipse packages described above, `plugins` is a list of plugin derivations, and `jvmArgs` is a list of arguments given to the JVM running the Eclipse. For example, say you wish to install the latest Eclipse Platform with the popular Eclipse Color Theme plugin and also allow Eclipse to use more RAM. You could then add:
```nix
packageOverrides = pkgs: {
myEclipse = with pkgs.eclipses; eclipseWithPlugins {
eclipse = eclipse-platform;
jvmArgs = [ "-Xmx2048m" ];
plugins = [ plugins.color-theme ];
};
}
```
to your Nixpkgs configuration (`~/.config/nixpkgs/config.nix`) and install it by running `nix-env -f '<nixpkgs>' -iA myEclipse` and afterward run Eclipse as usual. It is possible to find out which plugins are available for installation using `eclipseWithPlugins` by running:
```ShellSession
$ nix-env -f '<nixpkgs>' -qaP -A eclipses.plugins --description
```
If there is a need to install plugins that are not available in Nixpkgs then it may be possible to define these plugins outside Nixpkgs using the `buildEclipseUpdateSite` and `buildEclipsePlugin` functions found in the `nixpkgs.eclipses.plugins` attribute set. Use the `buildEclipseUpdateSite` function to install a plugin distributed as an Eclipse update site. This function takes `{ name, src }` as argument, where `src` indicates the Eclipse update site archive. All Eclipse features and plugins within the downloaded update site will be installed. When an update site archive is not available, then the `buildEclipsePlugin` function can be used to install a plugin that consists of a pair of feature and plugin JARs. This function takes an argument `{ name, srcFeature, srcPlugin }` where `srcFeature` and `srcPlugin` are the feature and plugin JARs, respectively.
Expanding the previous example with two plugins using the above functions, we have:
```nix
packageOverrides = pkgs: {
myEclipse = with pkgs.eclipses; eclipseWithPlugins {
eclipse = eclipse-platform;
jvmArgs = [ "-Xmx2048m" ];
plugins = [
plugins.color-theme
(plugins.buildEclipsePlugin {
name = "myplugin1-1.0";
srcFeature = fetchurl {
url = "http:///features/myplugin1.jar";
sha256 = "123";
};
srcPlugin = fetchurl {
url = "http:///plugins/myplugin1.jar";
sha256 = "123";
};
});
(plugins.buildEclipseUpdateSite {
name = "myplugin2-1.0";
src = fetchurl {
stripRoot = false;
url = "http:///myplugin2.zip";
sha256 = "123";
};
});
];
};
}
```

View File

@@ -1,11 +0,0 @@
# Elm {#sec-elm}
To start a development environment, run:
```ShellSession
nix-shell -p elmPackages.elm elmPackages.elm-format
```
To update the Elm compiler, see `nixpkgs/pkgs/development/compilers/elm/README.md`.
To package Elm applications, [read about elm2nix](https://github.com/hercules-ci/elm2nix#elm2nix).

View File

@@ -1,119 +0,0 @@
# Emacs {#sec-emacs}
## Configuring Emacs {#sec-emacs-config}
The Emacs package comes with some extra helpers to make it easier to configure. `emacs.pkgs.withPackages` allows you to manage packages from ELPA. This means that you will not have to install that packages from within Emacs. For instance, if you wanted to use `company` `counsel`, `flycheck`, `ivy`, `magit`, `projectile`, and `use-package` you could use this as a `~/.config/nixpkgs/config.nix` override:
```nix
{
packageOverrides = pkgs: with pkgs; {
myEmacs = emacs.pkgs.withPackages (epkgs: (with epkgs.melpaStablePackages; [
company
counsel
flycheck
ivy
magit
projectile
use-package
]));
}
}
```
You can install it like any other packages via `nix-env -iA myEmacs`. However, this will only install those packages. It will not `configure` them for us. To do this, we need to provide a configuration file. Luckily, it is possible to do this from within Nix! By modifying the above example, we can make Emacs load a custom config file. The key is to create a package that provides a `default.el` file in `/share/emacs/site-start/`. Emacs knows to load this file automatically when it starts.
```nix
{
packageOverrides = pkgs: with pkgs; rec {
myEmacsConfig = writeText "default.el" ''
;; initialize package
(require 'package)
(package-initialize 'noactivate)
(eval-when-compile
(require 'use-package))
;; load some packages
(use-package company
:bind ("<C-tab>" . company-complete)
:diminish company-mode
:commands (company-mode global-company-mode)
:defer 1
:config
(global-company-mode))
(use-package counsel
:commands (counsel-descbinds)
:bind (([remap execute-extended-command] . counsel-M-x)
("C-x C-f" . counsel-find-file)
("C-c g" . counsel-git)
("C-c j" . counsel-git-grep)
("C-c k" . counsel-ag)
("C-x l" . counsel-locate)
("M-y" . counsel-yank-pop)))
(use-package flycheck
:defer 2
:config (global-flycheck-mode))
(use-package ivy
:defer 1
:bind (("C-c C-r" . ivy-resume)
("C-x C-b" . ivy-switch-buffer)
:map ivy-minibuffer-map
("C-j" . ivy-call))
:diminish ivy-mode
:commands ivy-mode
:config
(ivy-mode 1))
(use-package magit
:defer
:if (executable-find "git")
:bind (("C-x g" . magit-status)
("C-x G" . magit-dispatch-popup))
:init
(setq magit-completing-read-function 'ivy-completing-read))
(use-package projectile
:commands projectile-mode
:bind-keymap ("C-c p" . projectile-command-map)
:defer 5
:config
(projectile-global-mode))
'';
myEmacs = emacs.pkgs.withPackages (epkgs: (with epkgs.melpaStablePackages; [
(runCommand "default.el" {} ''
mkdir -p $out/share/emacs/site-lisp
cp ${myEmacsConfig} $out/share/emacs/site-lisp/default.el
'')
company
counsel
flycheck
ivy
magit
projectile
use-package
]));
};
}
```
This provides a fairly full Emacs start file. It will load in addition to the user's personal config. You can always disable it by passing `-q` to the Emacs command.
Sometimes `emacs.pkgs.withPackages` is not enough, as this package set has some priorities imposed on packages (with the lowest priority assigned to Melpa Unstable, and the highest for packages manually defined in `pkgs/top-level/emacs-packages.nix`). But you can't control these priorities when some package is installed as a dependency. You can override it on a per-package-basis, providing all the required dependencies manually, but it's tedious and there is always a possibility that an unwanted dependency will sneak in through some other package. To completely override such a package, you can use `overrideScope'`.
```nix
overrides = self: super: rec {
haskell-mode = self.melpaPackages.haskell-mode;
...
};
((emacsPackagesFor emacs).overrideScope' overrides).withPackages
(p: with p; [
# here both these package will use haskell-mode of our own choice
ghc-mod
dante
])
```

View File

@@ -1,18 +0,0 @@
# /etc files {#etc}
Certain calls in glibc require access to runtime files found in `/etc` such as `/etc/protocols` or `/etc/services` -- [getprotobyname](https://linux.die.net/man/3/getprotobyname) is one such function.
On non-NixOS distributions these files are typically provided by packages (i.e., [netbase](https://packages.debian.org/sid/netbase)) if not already pre-installed in your distribution. This can cause non-reproducibility for code if they rely on these files being present.
If [iana-etc](https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.iana-etc.x86_64-linux) is part of your `buildInputs`, then it will set the environment variables `NIX_ETC_PROTOCOLS` and `NIX_ETC_SERVICES` to the corresponding files in the package through a setup hook.
```bash
> nix-shell -p iana-etc
[nix-shell:~]$ env | grep NIX_ETC
NIX_ETC_SERVICES=/nix/store/aj866hr8fad8flnggwdhrldm0g799ccz-iana-etc-20210225/etc/services
NIX_ETC_PROTOCOLS=/nix/store/aj866hr8fad8flnggwdhrldm0g799ccz-iana-etc-20210225/etc/protocols
```
Nixpkg's version of [glibc](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/glibc/default.nix) has been patched to check for the existence of these environment variables. If the environment variables are *not* set, then it will attempt to find the files at the default location within `/etc`.

View File

@@ -1,55 +0,0 @@
# Firefox {#sec-firefox}
## Build wrapped Firefox with extensions and policies {#build-wrapped-firefox-with-extensions-and-policies}
The `wrapFirefox` function allows to pass policies, preferences and extensions that are available to Firefox. With the help of `fetchFirefoxAddon` this allows to build a Firefox version that already comes with add-ons pre-installed:
```nix
{
# Nix firefox addons only work with the firefox-esr package.
myFirefox = wrapFirefox firefox-esr-unwrapped {
nixExtensions = [
(fetchFirefoxAddon {
name = "ublock"; # Has to be unique!
url = "https://addons.mozilla.org/firefox/downloads/file/3679754/ublock_origin-1.31.0-an+fx.xpi";
sha256 = "1h768ljlh3pi23l27qp961v1hd0nbj2vasgy11bmcrlqp40zgvnr";
})
];
extraPolicies = {
CaptivePortal = false;
DisableFirefoxStudies = true;
DisablePocket = true;
DisableTelemetry = true;
DisableFirefoxAccounts = true;
FirefoxHome = {
Pocket = false;
Snippets = false;
};
UserMessaging = {
ExtensionRecommendations = false;
SkipOnboarding = true;
};
SecurityDevices = {
# Use a proxy module rather than `nixpkgs.config.firefox.smartcardSupport = true`
"PKCS#11 Proxy Module" = "${pkgs.p11-kit}/lib/p11-kit-proxy.so";
};
};
extraPrefs = ''
// Show more ssl cert infos
lockPref("security.identityblock.show_extended_validation", true);
'';
};
}
```
If `nixExtensions != null`, then all manually installed add-ons will be uninstalled from your browser profile.
To view available enterprise policies, visit [enterprise policies](https://github.com/mozilla/policy-templates#enterprisepoliciesenabled)
or type into the Firefox URL bar: `about:policies#documentation`.
Nix installed add-ons do not have a valid signature, which is why signature verification is disabled. This does not compromise security because downloaded add-ons are checksummed and manual add-ons can't be installed. Also, make sure that the `name` field of `fetchFirefoxAddon` is unique. If you remove an add-on from the `nixExtensions` array, rebuild and start Firefox: the removed add-on will be completely removed with all of its settings.
## Troubleshooting {#sec-firefox-troubleshooting}
If add-ons are marked as broken or the signature is invalid, make sure you have Firefox ESR installed. Normal Firefox does not provide the ability anymore to disable signature verification for add-ons thus nix add-ons get disabled by the normal Firefox binary.
If add-ons do not appear installed despite being defined in your nix configuration file, reset the local add-on state of your Firefox profile by clicking `Help -> More Troubleshooting Information -> Refresh Firefox`. This can happen if you switch from manual add-on mode to nix add-on mode and then back to manual mode and then again to nix add-on mode.

View File

@@ -1,50 +0,0 @@
# Fish {#sec-fish}
Fish is a "smart and user-friendly command line shell" with support for plugins.
## Vendor Fish scripts {#sec-fish-vendor}
Any package may ship its own Fish completions, configuration snippets, and
functions. Those should be installed to
`$out/share/fish/vendor_{completions,conf,functions}.d` respectively.
When the `programs.fish.enable` and
`programs.fish.vendor.{completions,config,functions}.enable` options from the
NixOS Fish module are set to true, those paths are symlinked in the current
system environment and automatically loaded by Fish.
## Packaging Fish plugins {#sec-fish-plugins-pkg}
While packages providing standalone executables belong to the top level,
packages which have the sole purpose of extending Fish belong to the
`fishPlugins` scope and should be registered in
`pkgs/shells/fish/plugins/default.nix`.
The `buildFishPlugin` utility function can be used to automatically copy Fish
scripts from `$src/{completions,conf,conf.d,functions}` to the standard vendor
installation paths. It also sets up the test environment so that the optional
`checkPhase` is executed in a Fish shell with other already packaged plugins
and package-local Fish functions specified in `checkPlugins` and
`checkFunctionDirs` respectively.
See `pkgs/shells/fish/plugins/pure.nix` for an example of Fish plugin package
using `buildFishPlugin` and running unit tests with the `fishtape` test runner.
## Fish wrapper {#sec-fish-wrapper}
The `wrapFish` package is a wrapper around Fish which can be used to create
Fish shells initialized with some plugins as well as completions, configuration
snippets and functions sourced from the given paths. This provides a convenient
way to test Fish plugins and scripts without having to alter the environment.
```nix
wrapFish {
pluginPkgs = with fishPlugins; [ pure foreign-env ];
completionDirs = [];
functionDirs = [];
confDirs = [ "/path/to/some/fish/init/dir/" ];
}
```

View File

@@ -1,45 +0,0 @@
# FUSE {#sec-fuse}
Some packages rely on
[FUSE](https://www.kernel.org/doc/html/latest/filesystems/fuse.html) to provide
support for additional filesystems not supported by the kernel.
In general, FUSE software are primarily developed for Linux but many of them can
also run on macOS. Nixpkgs supports FUSE packages on macOS, but it requires
[macFUSE](https://osxfuse.github.io) to be installed outside of Nix. macFUSE
currently isn't packaged in Nixpkgs mainly because it includes a kernel
extension, which isn't supported by Nix outside of NixOS.
If a package fails to run on macOS with an error message similar to the
following, it's a likely sign that you need to have macFUSE installed.
dyld: Library not loaded: /usr/local/lib/libfuse.2.dylib
Referenced from: /nix/store/w8bi72bssv0bnxhwfw3xr1mvn7myf37x-sshfs-fuse-2.10/bin/sshfs
Reason: image not found
[1] 92299 abort /nix/store/w8bi72bssv0bnxhwfw3xr1mvn7myf37x-sshfs-fuse-2.10/bin/sshfs
Package maintainers may often encounter the following error when building FUSE
packages on macOS:
checking for fuse.h... no
configure: error: No fuse.h found.
This happens on autoconf based projects that use `AC_CHECK_HEADERS` or
`AC_CHECK_LIBS` to detect libfuse, and will occur even when the `fuse` package
is included in `buildInputs`. It happens because libfuse headers throw an error
on macOS if the `FUSE_USE_VERSION` macro is undefined. Many projects do define
`FUSE_USE_VERSION`, but only inside C source files. This results in the above
error at configure time because the configure script would attempt to compile
sample FUSE programs without defining `FUSE_USE_VERSION`.
There are two possible solutions for this problem in Nixpkgs:
1. Pass `FUSE_USE_VERSION` to the configure script by adding
`CFLAGS=-DFUSE_USE_VERSION=25` in `configureFlags`. The actual value would
have to match the definition used in the upstream source code.
2. Remove `AC_CHECK_HEADERS` / `AC_CHECK_LIBS` for libfuse.
However, a better solution might be to fix the build script upstream to use
`PKG_CHECK_MODULES` instead. This approach wouldn't suffer from the problem that
`AC_CHECK_HEADERS`/`AC_CHECK_LIBS` has at the price of introducing a dependency
on pkg-config.

View File

@@ -1,38 +0,0 @@
# ibus-engines.typing-booster {#sec-ibus-typing-booster}
This package is an ibus-based completion method to speed up typing.
## Activating the engine {#sec-ibus-typing-booster-activate}
IBus needs to be configured accordingly to activate `typing-booster`. The configuration depends on the desktop manager in use. For detailed instructions, please refer to the [upstream docs](https://mike-fabian.github.io/ibus-typing-booster/documentation.html).
On NixOS, you need to explicitly enable `ibus` with given engines before customizing your desktop to use `typing-booster`. This can be achieved using the `ibus` module:
```nix
{ pkgs, ... }: {
i18n.inputMethod = {
enabled = "ibus";
ibus.engines = with pkgs.ibus-engines; [ typing-booster ];
};
}
```
## Using custom hunspell dictionaries {#sec-ibus-typing-booster-customize-hunspell}
The IBus engine is based on `hunspell` to support completion in many languages. By default, the dictionaries `de-de`, `en-us`, `fr-moderne` `es-es`, `it-it`, `sv-se` and `sv-fi` are in use. To add another dictionary, the package can be overridden like this:
```nix
ibus-engines.typing-booster.override { langs = [ "de-at" "en-gb" ]; }
```
_Note: each language passed to `langs` must be an attribute name in `pkgs.hunspellDicts`._
## Built-in emoji picker {#sec-ibus-typing-booster-emoji-picker}
The `ibus-engines.typing-booster` package contains a program named `emoji-picker`. To display all emojis correctly, a special font such as `noto-fonts-emoji` is needed:
On NixOS, it can be installed using the following expression:
```nix
{ pkgs, ... }: { fonts.fonts = with pkgs; [ noto-fonts-emoji ]; }
```

View File

@@ -1,29 +0,0 @@
<chapter xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="chap-packages">
<title>Packages</title>
<para>
This chapter contains information about how to use and maintain the Nix expressions for a number of specific packages, such as the Linux kernel or X.org.
</para>
<xi:include href="citrix.section.xml" />
<xi:include href="dlib.section.xml" />
<xi:include href="eclipse.section.xml" />
<xi:include href="elm.section.xml" />
<xi:include href="emacs.section.xml" />
<xi:include href="firefox.section.xml" />
<xi:include href="fish.section.xml" />
<xi:include href="fuse.section.xml" />
<xi:include href="ibus.section.xml" />
<xi:include href="kakoune.section.xml" />
<xi:include href="linux.section.xml" />
<xi:include href="locales.section.xml" />
<xi:include href="etc-files.section.xml" />
<xi:include href="nginx.section.xml" />
<xi:include href="opengl.section.xml" />
<xi:include href="shell-helpers.section.xml" />
<xi:include href="steam.section.xml" />
<xi:include href="cataclysm-dda.section.xml" />
<xi:include href="urxvt.section.xml" />
<xi:include href="weechat.section.xml" />
<xi:include href="xorg.section.xml" />
</chapter>

View File

@@ -1,9 +0,0 @@
# Kakoune {#sec-kakoune}
Kakoune can be built to autoload plugins:
```nix
(kakoune.override {
plugins = with pkgs.kakounePlugins; [ parinfer-rust ];
})
```

View File

@@ -1,41 +0,0 @@
# Linux kernel {#sec-linux-kernel}
The Nix expressions to build the Linux kernel are in [`pkgs/os-specific/linux/kernel`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel).
The function that builds the kernel has an argument `kernelPatches` which should be a list of `{name, patch, extraConfig}` attribute sets, where `name` is the name of the patch (which is included in the kernels `meta.description` attribute), `patch` is the patch itself (possibly compressed), and `extraConfig` (optional) is a string specifying extra options to be concatenated to the kernel configuration file (`.config`).
The kernel derivation exports an attribute `features` specifying whether optional functionality is or isnt enabled. This is used in NixOS to implement kernel-specific behaviour. For instance, if the kernel has the `iwlwifi` feature (i.e., has built-in support for Intel wireless chipsets), then NixOS doesnt have to build the external `iwlwifi` package:
```nix
modulesTree = [kernel]
++ pkgs.lib.optional (!kernel.features ? iwlwifi) kernelPackages.iwlwifi
++ ...;
```
How to add a new (major) version of the Linux kernel to Nixpkgs:
1. Copy the old Nix expression (e.g., `linux-2.6.21.nix`) to the new one (e.g., `linux-2.6.22.nix`) and update it.
2. Add the new kernel to the `kernels` attribute set in `linux-kernels.nix` (e.g., create an attribute `kernel_2_6_22`).
3. Now were going to update the kernel configuration. First unpack the kernel. Then for each supported platform (`i686`, `x86_64`, `uml`) do the following:
1. Make a copy from the old config (e.g., `config-2.6.21-i686-smp`) to the new one (e.g., `config-2.6.22-i686-smp`).
2. Copy the config file for this platform (e.g., `config-2.6.22-i686-smp`) to `.config` in the kernel source tree.
3. Run `make oldconfig ARCH={i386,x86_64,um}` and answer all questions. (For the uml configuration, also add `SHELL=bash`.) Make sure to keep the configuration consistent between platforms (i.e., dont enable some feature on `i686` and disable it on `x86_64`).
4. If needed, you can also run `make menuconfig`:
```ShellSession
$ nix-env -f "<nixpkgs>" -iA ncurses
$ export NIX_CFLAGS_LINK=-lncurses
$ make menuconfig ARCH=arch
```
5. Copy `.config` over the new config file (e.g., `config-2.6.22-i686-smp`).
4. Test building the kernel: `nix-build -A linuxKernel.kernels.kernel_2_6_22`. If it compiles, ship it! For extra credit, try booting NixOS with it.
5. It may be that the new kernel requires updating the external kernel modules and kernel-dependent packages listed in the `linuxPackagesFor` function in `linux-kernels.nix` (such as the NVIDIA drivers, AUFS, etc.). If the updated packages arent backwards compatible with older kernels, you may need to keep the older versions around.

View File

@@ -1,5 +0,0 @@
# Locales {#locales}
To allow simultaneous use of packages linked against different versions of `glibc` with different locale archive formats, Nixpkgs patches `glibc` to rely on `LOCALE_ARCHIVE` environment variable.
On non-NixOS distributions, this variable is obviously not set. This can cause regressions in language support or even crashes in some Nixpkgs-provided programs. The simplest way to mitigate this problem is exporting the `LOCALE_ARCHIVE` variable pointing to `${glibcLocales}/lib/locale/locale-archive`. The drawback (and the reason this is not the default) is the relatively large (a hundred MiB) size of the full set of locales. It is possible to build a custom set of locales by overriding parameters `allLocales` and `locales` of the package.

View File

@@ -1,11 +0,0 @@
# Nginx {#sec-nginx}
[Nginx](https://nginx.org) is a reverse proxy and lightweight webserver.
## ETags on static files served from the Nix store {#sec-nginx-etag}
HTTP has a couple of different mechanisms for caching to prevent clients from having to download the same content repeatedly if a resource has not changed since the last time it was requested. When nginx is used as a server for static files, it implements the caching mechanism based on the [`Last-Modified`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Last-Modified) response header automatically; unfortunately, it works by using filesystem timestamps to determine the value of the `Last-Modified` header. This doesn't give the desired behavior when the file is in the Nix store because all file timestamps are set to 0 (for reasons related to build reproducibility).
Fortunately, HTTP supports an alternative (and more effective) caching mechanism: the [`ETag`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag) response header. The value of the `ETag` header specifies some identifier for the particular content that the server is sending (e.g., a hash). When a client makes a second request for the same resource, it sends that value back in an `If-None-Match` header. If the ETag value is unchanged, then the server does not need to resend the content.
As of NixOS 19.09, the nginx package in Nixpkgs is patched such that when nginx serves a file out of `/nix/store`, the hash in the store path is used as the `ETag` header in the HTTP response, thus providing proper caching functionality. This happens automatically; you do not need to do modify any configuration to get this behavior.

View File

@@ -1,15 +0,0 @@
# OpenGL {#sec-opengl}
OpenGL support varies depending on which hardware is used and which drivers are available and loaded.
Broadly, we support both GL vendors: Mesa and NVIDIA.
## NixOS Desktop {#nixos-desktop}
The NixOS desktop or other non-headless configurations are the primary target for OpenGL libraries and applications. The current solution for discovering which drivers are available is based on [libglvnd](https://gitlab.freedesktop.org/glvnd/libglvnd). `libglvnd` performs "vendor-neutral dispatch", trying a variety of techniques to find the system's GL implementation. In practice, this will be either via standard GLX for X11 users or EGL for Wayland users, and supporting either NVIDIA or Mesa extensions.
## Nix on GNU/Linux {#nix-on-gnulinux}
If you are using a non-NixOS GNU/Linux/X11 desktop with free software video drivers, consider launching OpenGL-dependent programs from Nixpkgs with Nixpkgs versions of `libglvnd` and `mesa.drivers` in `LD_LIBRARY_PATH`. For Mesa drivers, the Linux kernel version doesn't have to match nixpkgs.
For proprietary video drivers, you might have luck with also adding the corresponding video driver package.

View File

@@ -1,12 +0,0 @@
# Interactive shell helpers {#sec-shell-helpers}
Some packages provide the shell integration to be more useful. But unlike other systems, nix doesn't have a standard `share` directory location. This is why a bunch `PACKAGE-share` scripts are shipped that print the location of the corresponding shared folder. Current list of such packages is as following:
- `fzf` : `fzf-share`
E.g. `fzf` can then be used in the `.bashrc` like this:
```bash
source "$(fzf-share)/completion.bash"
source "$(fzf-share)/key-bindings.bash"
```

View File

@@ -1,63 +0,0 @@
# Steam {#sec-steam}
## Steam in Nix {#sec-steam-nix}
Steam is distributed as a `.deb` file, for now only as an i686 package (the amd64 package only has documentation). When unpacked, it has a script called `steam` that in Ubuntu (their target distro) would go to `/usr/bin`. When run for the first time, this script copies some files to the user's home, which include another script that is the ultimate responsible for launching the steam binary, which is also in `$HOME`.
Nix problems and constraints:
- We don't have `/bin/bash` and many scripts point there. Same thing for `/usr/bin/python`.
- We don't have the dynamic loader in `/lib`.
- The `steam.sh` script in `$HOME` cannot be patched, as it is checked and rewritten by steam.
- The steam binary cannot be patched, it's also checked.
The current approach to deploy Steam in NixOS is composing a FHS-compatible chroot environment, as documented [here](http://sandervanderburg.blogspot.nl/2013/09/composing-fhs-compatible-chroot.html). This allows us to have binaries in the expected paths without disrupting the system, and to avoid patching them to work in a non FHS environment.
## How to play {#sec-steam-play}
Use `programs.steam.enable = true;` if you want to add steam to `systemPackages` and also enable a few workarounds as well as Steam controller support or other Steam supported controllers such as the DualShock 4 or Nintendo Switch Pro Controller.
## Troubleshooting {#sec-steam-troub}
- **Steam fails to start. What do I do?**
Try to run
```ShellSession
strace steam
```
to see what is causing steam to fail.
- **Using the FOSS Radeon or nouveau (nvidia) drivers**
- The `newStdcpp` parameter was removed since NixOS 17.09 and should not be needed anymore.
- Steam ships statically linked with a version of `libcrypto` that conflicts with the one dynamically loaded by radeonsi_dri.so. If you get the error:
```
steam.sh: line 713: 7842 Segmentation fault (core dumped)
```
have a look at [this pull request](https://github.com/NixOS/nixpkgs/pull/20269).
- **Java**
1. There is no java in steam chrootenv by default. If you get a message like:
```
/home/foo/.local/share/Steam/SteamApps/common/towns/towns.sh: line 1: java: command not found
```
you need to add:
```nix
steam.override { withJava = true; };
```
## steam-run {#sec-steam-run}
The FHS-compatible chroot used for Steam can also be used to run other Linux games that expect a FHS environment. To use it, install the `steam-run` package and run the game with:
```
steam-run ./foo
```

View File

@@ -1,71 +0,0 @@
# Urxvt {#sec-urxvt}
Urxvt, also known as rxvt-unicode, is a highly customizable terminal emulator.
## Configuring urxvt {#sec-urxvt-conf}
In `nixpkgs`, urxvt is provided by the package `rxvt-unicode`. It can be configured to include your choice of plugins, reducing its closure size from the default configuration which includes all available plugins. To make use of this functionality, use an overlay or directly install an expression that overrides its configuration, such as:
```nix
rxvt-unicode.override {
configure = { availablePlugins, ... }: {
plugins = with availablePlugins; [ perls resize-font vtwheel ];
};
}
```
If the `configure` function returns an attrset without the `plugins` attribute, `availablePlugins` will be used automatically.
In order to add plugins but also keep all default plugins installed, it is possible to use the following method:
```nix
rxvt-unicode.override {
configure = { availablePlugins, ... }: {
plugins = (builtins.attrValues availablePlugins) ++ [ custom-plugin ];
};
}
```
To get a list of all the plugins available, open the Nix REPL and run
```ShellSession
$ nix repl
:l <nixpkgs>
map (p: p.name) pkgs.rxvt-unicode.plugins
```
Alternatively, if your shell is bash or zsh and have completion enabled, simply type `nixpkgs.rxvt-unicode.plugins.<tab>`.
In addition to `plugins` the options `extraDeps` and `perlDeps` can be used to install extra packages. `extraDeps` can be used, for example, to provide `xsel` (a clipboard manager) to the clipboard plugin, without installing it globally:
```nix
rxvt-unicode.override {
configure = { availablePlugins, ... }: {
pluginsDeps = [ xsel ];
};
}
```
`perlDeps` is a handy way to provide Perl packages to your custom plugins (in `$HOME/.urxvt/ext`). For example, if you need `AnyEvent` you can do:
```nix
rxvt-unicode.override {
configure = { availablePlugins, ... }: {
perlDeps = with perlPackages; [ AnyEvent ];
};
}
```
## Packaging urxvt plugins {#sec-urxvt-pkg}
Urxvt plugins resides in `pkgs/applications/misc/rxvt-unicode-plugins`. To add a new plugin, create an expression in a subdirectory and add the package to the set in `pkgs/applications/misc/rxvt-unicode-plugins/default.nix`.
A plugin can be any kind of derivation, the only requirement is that it should always install perl scripts in `$out/lib/urxvt/perl`. Look for existing plugins for examples.
If the plugin is itself a Perl package that needs to be imported from other plugins or scripts, add the following passthrough:
```nix
passthru.perlPackages = [ "self" ];
```
This will make the urxvt wrapper pick up the dependency and set up the Perl path accordingly.

View File

@@ -1,85 +0,0 @@
# WeeChat {#sec-weechat}
WeeChat can be configured to include your choice of plugins, reducing its closure size from the default configuration which includes all available plugins. To make use of this functionality, install an expression that overrides its configuration, such as:
```nix
weechat.override {configure = {availablePlugins, ...}: {
plugins = with availablePlugins; [ python perl ];
}
}
```
If the `configure` function returns an attrset without the `plugins` attribute, `availablePlugins` will be used automatically.
The plugins currently available are `python`, `perl`, `ruby`, `guile`, `tcl` and `lua`.
The Python and Perl plugins allows the addition of extra libraries. For instance, the `inotify.py` script in `weechat-scripts` requires D-Bus or libnotify, and the `fish.py` script requires `pycrypto`. To use these scripts, use the plugin's `withPackages` attribute:
```nix
weechat.override { configure = {availablePlugins, ...}: {
plugins = with availablePlugins; [
(python.withPackages (ps: with ps; [ pycrypto python-dbus ]))
];
};
}
```
In order to also keep all default plugins installed, it is possible to use the following method:
```nix
weechat.override { configure = { availablePlugins, ... }: {
plugins = builtins.attrValues (availablePlugins // {
python = availablePlugins.python.withPackages (ps: with ps; [ pycrypto python-dbus ]);
});
}; }
```
WeeChat allows to set defaults on startup using the `--run-command`. The `configure` method can be used to pass commands to the program:
```nix
weechat.override {
configure = { availablePlugins, ... }: {
init = ''
/set foo bar
/server add libera irc.libera.chat
'';
};
}
```
Further values can be added to the list of commands when running `weechat --run-command "your-commands"`.
Additionally, it's possible to specify scripts to be loaded when starting `weechat`. These will be loaded before the commands from `init`:
```nix
weechat.override {
configure = { availablePlugins, ... }: {
scripts = with pkgs.weechatScripts; [
weechat-xmpp weechat-matrix-bridge wee-slack
];
init = ''
/set plugins.var.python.jabber.key "val"
'':
};
}
```
In `nixpkgs` there's a subpackage which contains derivations for WeeChat scripts. Such derivations expect a `passthru.scripts` attribute, which contains a list of all scripts inside the store path. Furthermore, all scripts have to live in `$out/share`. An exemplary derivation looks like this:
```nix
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "exemplary-weechat-script";
src = fetchurl {
url = "https://scripts.tld/your-scripts.tar.gz";
sha256 = "...";
};
passthru.scripts = [ "foo.py" "bar.lua" ];
installPhase = ''
mkdir $out/share
cp foo.py $out/share
cp bar.lua $out/share
'';
}
```

View File

@@ -1,34 +0,0 @@
# X.org {#sec-xorg}
The Nix expressions for the X.org packages reside in `pkgs/servers/x11/xorg/default.nix`. This file is automatically generated from lists of tarballs in an X.org release. As such it should not be modified directly; rather, you should modify the lists, the generator script or the file `pkgs/servers/x11/xorg/overrides.nix`, in which you can override or add to the derivations produced by the generator.
## Katamari Tarballs {#katamari-tarballs}
X.org upstream releases used to include [katamari](https://en.wiktionary.org/wiki/%E3%81%8B%E3%81%9F%E3%81%BE%E3%82%8A) releases, which included a holistic recommended version for each tarball, up until 7.7. To create a list of tarballs in a katamari release:
```ShellSession
export release="X11R7.7"
export url="mirror://xorg/$release/src/everything/"
cat $(PRINT_PATH=1 nix-prefetch-url $url | tail -n 1) \
| perl -e 'while (<>) { if (/(href|HREF)="([^"]*.bz2)"/) { print "$ENV{'url'}$2\n"; }; }' \
| sort > "tarballs-$release.list"
```
## Individual Tarballs {#individual-tarballs}
The upstream release process for [X11R7.8](https://x.org/wiki/Releases/7.8/) does not include a planned katamari. Instead, each component of X.org is released as its own tarball. We maintain `pkgs/servers/x11/xorg/tarballs.list` as a list of tarballs for each individual package. This list includes X.org core libraries and protocol descriptions, extra newer X11 interface libraries, like `xorg.libxcb`, and classic utilities which are largely unused but still available if needed, like `xorg.imake`.
## Generating Nix Expressions {#generating-nix-expressions}
The generator is invoked as follows:
```ShellSession
cd pkgs/servers/x11/xorg
<tarballs.list perl ./generate-expr-from-tarballs.pl
```
For each of the tarballs in the `.list` files, the script downloads it, unpacks it, and searches its `configure.ac` and `*.pc.in` files for dependencies. This information is used to generate `default.nix`. The generator caches downloaded tarballs between runs. Pay close attention to the `NOT FOUND: $NAME` messages at the end of the run, since they may indicate missing dependencies. (Some might be optional dependencies, however.)
## Overriding the Generator {#overriding-the-generator}
If the expression for a package requires derivation attributes that the generator cannot figure out automatically (say, `patches` or a `postInstall` hook), you should modify `pkgs/servers/x11/xorg/overrides.nix`.

View File

@@ -1,10 +0,0 @@
<chapter xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="chap-special">
<title>Special builders</title>
<para>
This chapter describes several special builders.
</para>
<xi:include href="special/fhs-environments.section.xml" />
<xi:include href="special/mkshell.section.xml" />
</chapter>

View File

@@ -1,49 +0,0 @@
# buildFHSUserEnv {#sec-fhs-environments}
`buildFHSUserEnv` provides a way to build and run FHS-compatible lightweight sandboxes. It creates an isolated root with bound `/nix/store`, so its footprint in terms of disk space needed is quite small. This allows one to run software which is hard or unfeasible to patch for NixOS -- 3rd-party source trees with FHS assumptions, games distributed as tarballs, software with integrity checking and/or external self-updated binaries. It uses Linux namespaces feature to create temporary lightweight environments which are destroyed after all child processes exit, without root user rights requirement. Accepted arguments are:
- `name`
Environment name.
- `targetPkgs`
Packages to be installed for the main host's architecture (i.e. x86_64 on x86_64 installations). Along with libraries binaries are also installed.
- `multiPkgs`
Packages to be installed for all architectures supported by a host (i.e. i686 and x86_64 on x86_64 installations). Only libraries are installed by default.
- `extraBuildCommands`
Additional commands to be executed for finalizing the directory structure.
- `extraBuildCommandsMulti`
Like `extraBuildCommands`, but executed only on multilib architectures.
- `extraOutputsToInstall`
Additional derivation outputs to be linked for both target and multi-architecture packages.
- `extraInstallCommands`
Additional commands to be executed for finalizing the derivation with runner script.
- `runScript`
A command that would be executed inside the sandbox and passed all the command line arguments. It defaults to `bash`.
- `profile`
Optional script for `/etc/profile` within the sandbox.
One can create a simple environment using a `shell.nix` like that:
```nix
{ pkgs ? import <nixpkgs> {} }:
(pkgs.buildFHSUserEnv {
name = "simple-x11-env";
targetPkgs = pkgs: (with pkgs;
[ udev
alsa-lib
]) ++ (with pkgs.xorg;
[ libX11
libXcursor
libXrandr
]);
multiPkgs = pkgs: (with pkgs;
[ udev
alsa-lib
]);
runScript = "bash";
}).env
```
Running `nix-shell` would then drop you into a shell with these libraries and binaries available. You can use this to run closed-source applications which expect FHS structure without hassles: simply change `runScript` to the application path, e.g. `./bin/start.sh` -- relative paths are supported.
Additionally, the FHS builder links all relocated gsettings-schemas (the glib setup-hook moves them to `share/gsettings-schemas/${name}/glib-2.0/schemas`) to their standard FHS location. This means you don't need to wrap binaries with `wrapGAppsHook`.

View File

@@ -1,37 +0,0 @@
# pkgs.mkShell {#sec-pkgs-mkShell}
`pkgs.mkShell` is a specialized `stdenv.mkDerivation` that removes some
repetition when using it with `nix-shell` (or `nix develop`).
## Usage {#sec-pkgs-mkShell-usage}
Here is a common usage example:
```nix
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
packages = [ pkgs.gnumake ];
inputsFrom = [ pkgs.hello pkgs.gnutar ];
shellHook = ''
export DEBUG=1
'';
}
```
## Attributes
* `name` (default: `nix-shell`). Set the name of the derivation.
* `packages` (default: `[]`). Add executable packages to the `nix-shell` environment.
* `inputsFrom` (default: `[]`). Add build dependencies of the listed derivations to the `nix-shell` environment.
* `shellHook` (default: `""`). Bash statements that are executed by `nix-shell`.
... all the attributes of `stdenv.mkDerivation`.
## Building the shell
This derivation output will contain a text file that contains a reference to
all the build inputs. This is useful in CI where we want to make sure that
every derivation, and its dependencies, build properly. Or when creating a GC
root so that the build dependencies don't get garbage-collected.

View File

@@ -1,134 +0,0 @@
# Testers {#chap-testers}
This chapter describes several testing builders which are available in the <literal>testers</literal> namespace.
## `testVersion` {#tester-testVersion}
Checks the command output contains the specified version
Although simplistic, this test assures that the main program
can run. While there's no substitute for a real test case,
it does catch dynamic linking errors and such. It also provides
some protection against accidentally building the wrong version,
for example when using an 'old' hash in a fixed-output derivation.
Examples:
```nix
passthru.tests.version = testers.testVersion { package = hello; };
passthru.tests.version = testers.testVersion {
package = seaweedfs;
command = "weed version";
};
passthru.tests.version = testers.testVersion {
package = key;
command = "KeY --help";
# Wrong '2.5' version in the code. Drop on next version.
version = "2.5";
};
passthru.tests.version = testers.testVersion {
package = ghr;
# The output needs to contain the 'version' string without any prefix or suffix.
version = "v${version}";
};
```
## `testEqualDerivation` {#tester-testEqualDerivation}
Checks that two packages produce the exact same build instructions.
This can be used to make sure that a certain difference of configuration,
such as the presence of an overlay does not cause a cache miss.
When the derivations are equal, the return value is an empty file.
Otherwise, the build log explains the difference via `nix-diff`.
Example:
```nix
testers.testEqualDerivation
"The hello package must stay the same when enabling checks."
hello
(hello.overrideAttrs(o: { doCheck = true; }))
```
## `invalidateFetcherByDrvHash` {#tester-invalidateFetcherByDrvHash}
Use the derivation hash to invalidate the output via name, for testing.
Type: `(a@{ name, ... } -> Derivation) -> a -> Derivation`
Normally, fixed output derivations can and should be cached by their output
hash only, but for testing we want to re-fetch everytime the fetcher changes.
Changes to the fetcher become apparent in the drvPath, which is a hash of
how to fetch, rather than a fixed store path.
By inserting this hash into the name, we can make sure to re-run the fetcher
every time the fetcher changes.
This relies on the assumption that Nix isn't clever enough to reuse its
database of local store contents to optimize fetching.
You might notice that the "salted" name derives from the normal invocation,
not the final derivation. `invalidateFetcherByDrvHash` has to invoke the fetcher
function twice: once to get a derivation hash, and again to produce the final
fixed output derivation.
Example:
```nix
tests.fetchgit = testers.invalidateFetcherByDrvHash fetchgit {
name = "nix-source";
url = "https://github.com/NixOS/nix";
rev = "9d9dbe6ed05854e03811c361a3380e09183f4f4a";
sha256 = "sha256-7DszvbCNTjpzGRmpIVAWXk20P0/XTrWZ79KSOGLrUWY=";
};
```
## `nixosTest` {#tester-nixosTest}
Run a NixOS VM network test using this evaluation of Nixpkgs.
NOTE: This function is primarily for external use. NixOS itself uses `make-test-python.nix` directly. Packages defined in Nixpkgs [reuse NixOS tests via `nixosTests`, plural](#ssec-nixos-tests-linking).
It is mostly equivalent to the function `import ./make-test-python.nix` from the
[NixOS manual](https://nixos.org/nixos/manual/index.html#sec-nixos-tests),
except that the current application of Nixpkgs (`pkgs`) will be used, instead of
letting NixOS invoke Nixpkgs anew.
If a test machine needs to set NixOS options under `nixpkgs`, it must set only the
`nixpkgs.pkgs` option.
### Parameter
A [NixOS VM test network](https://nixos.org/nixos/manual/index.html#sec-nixos-tests), or path to it. Example:
```nix
{
name = "my-test";
nodes = {
machine1 = { lib, pkgs, nodes, ... }: {
environment.systemPackages = [ pkgs.hello ];
services.foo.enable = true;
};
# machine2 = ...;
};
testScript = ''
start_all()
machine1.wait_for_unit("foo.service")
machine1.succeed("hello | foo-send")
'';
}
```
### Result
A derivation that runs the VM test.
Notable attributes:
* `nodes`: the evaluated NixOS configurations. Useful for debugging and exploring the configuration.
* `driverInteractive`: a script that launches an interactive Python session in the context of the `testScript`.

View File

@@ -1,223 +0,0 @@
# Trivial builders {#chap-trivial-builders}
Nixpkgs provides a couple of functions that help with building derivations. The most important one, `stdenv.mkDerivation`, has already been documented above. The following functions wrap `stdenv.mkDerivation`, making it easier to use in certain cases.
## `runCommand` {#trivial-builder-runCommand}
This takes three arguments, `name`, `env`, and `buildCommand`. `name` is just the name that Nix will append to the store path in the same way that `stdenv.mkDerivation` uses its `name` attribute. `env` is an attribute set specifying environment variables that will be set for this derivation. These attributes are then passed to the wrapped `stdenv.mkDerivation`. `buildCommand` specifies the commands that will be run to create this derivation. Note that you will need to create `$out` for Nix to register the command as successful.
An example of using `runCommand` is provided below.
```nix
(import <nixpkgs> {}).runCommand "my-example" {} ''
echo My example command is running
mkdir $out
echo I can write data to the Nix store > $out/message
echo I can also run basic commands like:
echo ls
ls
echo whoami
whoami
echo date
date
''
```
## `runCommandCC` {#trivial-builder-runCommandCC}
This works just like `runCommand`. The only difference is that it also provides a C compiler in `buildCommand`'s environment. To minimize your dependencies, you should only use this if you are sure you will need a C compiler as part of running your command.
## `runCommandLocal` {#trivial-builder-runCommandLocal}
Variant of `runCommand` that forces the derivation to be built locally, it is not substituted. This is intended for very cheap commands (<1s execution time). It saves on the network round-trip and can speed up a build.
::: {.note}
This sets [`allowSubstitutes` to `false`](https://nixos.org/nix/manual/#adv-attr-allowSubstitutes), so only use `runCommandLocal` if you are certain the user will always have a builder for the `system` of the derivation. This should be true for most trivial use cases (e.g., just copying some files to a different location or adding symlinks) because there the `system` is usually the same as `builtins.currentSystem`.
:::
## `writeTextFile`, `writeText`, `writeTextDir`, `writeScript`, `writeScriptBin` {#trivial-builder-writeText}
These functions write `text` to the Nix store. This is useful for creating scripts from Nix expressions. `writeTextFile` takes an attribute set and expects two arguments, `name` and `text`. `name` corresponds to the name used in the Nix store path. `text` will be the contents of the file. You can also set `executable` to true to make this file have the executable bit set.
Many more commands wrap `writeTextFile` including `writeText`, `writeTextDir`, `writeScript`, and `writeScriptBin`. These are convenience functions over `writeTextFile`.
Here are a few examples:
```nix
# Writes my-file to /nix/store/<store path>
writeTextFile {
name = "my-file";
text = ''
Contents of File
'';
}
# See also the `writeText` helper function below.
# Writes executable my-file to /nix/store/<store path>/bin/my-file
writeTextFile {
name = "my-file";
text = ''
Contents of File
'';
executable = true;
destination = "/bin/my-file";
}
# Writes contents of file to /nix/store/<store path>
writeText "my-file"
''
Contents of File
'';
# Writes contents of file to /nix/store/<store path>/share/my-file
writeTextDir "share/my-file"
''
Contents of File
'';
# Writes my-file to /nix/store/<store path> and makes executable
writeScript "my-file"
''
Contents of File
'';
# Writes my-file to /nix/store/<store path>/bin/my-file and makes executable.
writeScriptBin "my-file"
''
Contents of File
'';
# Writes my-file to /nix/store/<store path> and makes executable.
writeShellScript "my-file"
''
Contents of File
'';
# Writes my-file to /nix/store/<store path>/bin/my-file and makes executable.
writeShellScriptBin "my-file"
''
Contents of File
'';
```
## `concatTextFile`, `concatText`, `concatScript` {#trivial-builder-concatText}
These functions concatenate `files` to the Nix store in a single file. This is useful for configuration files structured in lines of text. `concatTextFile` takes an attribute set and expects two arguments, `name` and `files`. `name` corresponds to the name used in the Nix store path. `files` will be the files to be concatenated. You can also set `executable` to true to make this file have the executable bit set.
`concatText` and`concatScript` are simple wrappers over `concatTextFile`.
Here are a few examples:
```nix
# Writes my-file to /nix/store/<store path>
concatTextFile {
name = "my-file";
files = [ drv1 "${drv2}/path/to/file" ];
}
# See also the `concatText` helper function below.
# Writes executable my-file to /nix/store/<store path>/bin/my-file
concatTextFile {
name = "my-file";
files = [ drv1 "${drv2}/path/to/file" ];
executable = true;
destination = "/bin/my-file";
}
# Writes contents of files to /nix/store/<store path>
concatText "my-file" [ file1 file2 ]
# Writes contents of files to /nix/store/<store path>
concatScript "my-file" [ file1 file2 ]
```
## `writeShellApplication` {#trivial-builder-writeShellApplication}
This can be used to easily produce a shell script that has some dependencies (`runtimeInputs`). It automatically sets the `PATH` of the script to contain all of the listed inputs, sets some sanity shellopts (`errexit`, `nounset`, `pipefail`), and checks the resulting script with [`shellcheck`](https://github.com/koalaman/shellcheck).
For example, look at the following code:
```nix
writeShellApplication {
name = "show-nixos-org";
runtimeInputs = [ curl w3m ];
text = ''
curl -s 'https://nixos.org' | w3m -dump -T text/html
'';
}
```
Unlike with normal `writeShellScriptBin`, there is no need to manually write out `${curl}/bin/curl`, setting the PATH
was handled by `writeShellApplication`. Moreover, the script is being checked with `shellcheck` for more strict
validation.
## `symlinkJoin` {#trivial-builder-symlinkJoin}
This can be used to put many derivations into the same directory structure. It works by creating a new derivation and adding symlinks to each of the paths listed. It expects two arguments, `name`, and `paths`. `name` is the name used in the Nix store path for the created derivation. `paths` is a list of paths that will be symlinked. These paths can be to Nix store derivations or any other subdirectory contained within.
Here is an example:
```nix
# adds symlinks of hello and stack to current build and prints "links added"
symlinkJoin { name = "myexample"; paths = [ pkgs.hello pkgs.stack ]; postBuild = "echo links added"; }
```
This creates a derivation with a directory structure like the following:
```
/nix/store/sglsr5g079a5235hy29da3mq3hv8sjmm-myexample
|-- bin
| |-- hello -> /nix/store/qy93dp4a3rqyn2mz63fbxjg228hffwyw-hello-2.10/bin/hello
| `-- stack -> /nix/store/6lzdpxshx78281vy056lbk553ijsdr44-stack-2.1.3.1/bin/stack
`-- share
|-- bash-completion
| `-- completions
| `-- stack -> /nix/store/6lzdpxshx78281vy056lbk553ijsdr44-stack-2.1.3.1/share/bash-completion/completions/stack
|-- fish
| `-- vendor_completions.d
| `-- stack.fish -> /nix/store/6lzdpxshx78281vy056lbk553ijsdr44-stack-2.1.3.1/share/fish/vendor_completions.d/stack.fish
...
```
## `writeReferencesToFile` {#trivial-builder-writeReferencesToFile}
Writes the closure of transitive dependencies to a file.
This produces the equivalent of `nix-store -q --requisites`.
For example,
```nix
writeReferencesToFile (writeScriptBin "hi" ''${hello}/bin/hello'')
```
produces an output path `/nix/store/<hash>-runtime-deps` containing
```nix
/nix/store/<hash>-hello-2.10
/nix/store/<hash>-hi
/nix/store/<hash>-libidn2-2.3.0
/nix/store/<hash>-libunistring-0.9.10
/nix/store/<hash>-glibc-2.32-40
```
You can see that this includes `hi`, the original input path,
`hello`, which is a direct reference, but also
the other paths that are indirectly required to run `hello`.
## `writeDirectReferencesToFile` {#trivial-builder-writeDirectReferencesToFile}
Writes the set of references to the output file, that is, their immediate dependencies.
This produces the equivalent of `nix-store -q --references`.
For example,
```nix
writeDirectReferencesToFile (writeScriptBin "hi" ''${hello}/bin/hello'')
```
produces an output path `/nix/store/<hash>-runtime-references` containing
```nix
/nix/store/<hash>-hello-2.10
```
but none of `hello`'s dependencies because those are not referenced directly
by `hi`'s output.

1065
doc/coding-conventions.xml Normal file

File diff suppressed because it is too large Load Diff

546
doc/configuration.xml Normal file
View File

@@ -0,0 +1,546 @@
<chapter xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xml:id="chap-packageconfig">
<title>Global configuration</title>
<para>
Nix comes with certain defaults about what packages can and cannot be
installed, based on a package's metadata. By default, Nix will prevent
installation if any of the following criteria are true:
</para>
<itemizedlist>
<listitem>
<para>
The package is thought to be broken, and has had its
<literal>meta.broken</literal> set to <literal>true</literal>.
</para>
</listitem>
<listitem>
<para>
The package isn't intended to run on the given system, as none of its
<literal>meta.platforms</literal> match the given system.
</para>
</listitem>
<listitem>
<para>
The package's <literal>meta.license</literal> is set to a license which is
considered to be unfree.
</para>
</listitem>
<listitem>
<para>
The package has known security vulnerabilities but has not or can not be
updated for some reason, and a list of issues has been entered in to the
package's <literal>meta.knownVulnerabilities</literal>.
</para>
</listitem>
</itemizedlist>
<para>
Note that all this is checked during evaluation already, and the check
includes any package that is evaluated. In particular, all build-time
dependencies are checked. <literal>nix-env -qa</literal> will (attempt to)
hide any packages that would be refused.
</para>
<para>
Each of these criteria can be altered in the nixpkgs configuration.
</para>
<para>
The nixpkgs configuration for a NixOS system is set in the
<literal>configuration.nix</literal>, as in the following example:
<programlisting>
{
nixpkgs.config = {
allowUnfree = true;
};
}
</programlisting>
However, this does not allow unfree software for individual users. Their
configurations are managed separately.
</para>
<para>
A user's of nixpkgs configuration is stored in a user-specific configuration
file located at <filename>~/.config/nixpkgs/config.nix</filename>. For
example:
<programlisting>
{
allowUnfree = true;
}
</programlisting>
</para>
<para>
Note that we are not able to test or build unfree software on Hydra due to
policy. Most unfree licenses prohibit us from either executing or
distributing the software.
</para>
<section xml:id="sec-allow-broken">
<title>Installing broken packages</title>
<para>
There are two ways to try compiling a package which has been marked as
broken.
</para>
<itemizedlist>
<listitem>
<para>
For allowing the build of a broken package once, you can use an
environment variable for a single invocation of the nix tools:
<programlisting>$ export NIXPKGS_ALLOW_BROKEN=1</programlisting>
</para>
</listitem>
<listitem>
<para>
For permanently allowing broken packages to be built, you may add
<literal>allowBroken = true;</literal> to your user's configuration file,
like this:
<programlisting>
{
allowBroken = true;
}
</programlisting>
</para>
</listitem>
</itemizedlist>
</section>
<section xml:id="sec-allow-unsupported-system">
<title>Installing packages on unsupported systems</title>
<para>
There are also two ways to try compiling a package which has been marked as
unsuported for the given system.
</para>
<itemizedlist>
<listitem>
<para>
For allowing the build of a broken package once, you can use an
environment variable for a single invocation of the nix tools:
<programlisting>$ export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1</programlisting>
</para>
</listitem>
<listitem>
<para>
For permanently allowing broken packages to be built, you may add
<literal>allowUnsupportedSystem = true;</literal> to your user's
configuration file, like this:
<programlisting>
{
allowUnsupportedSystem = true;
}
</programlisting>
</para>
</listitem>
</itemizedlist>
<para>
The difference between a package being unsupported on some system and
being broken is admittedly a bit fuzzy. If a program
<emphasis>ought</emphasis> to work on a certain platform, but doesn't, the
platform should be included in <literal>meta.platforms</literal>, but marked
as broken with e.g. <literal>meta.broken =
!hostPlatform.isWindows</literal>. Of course, this begs the question of what
"ought" means exactly. That is left to the package maintainer.
</para>
</section>
<section xml:id="sec-allow-unfree">
<title>Installing unfree packages</title>
<para>
There are several ways to tweak how Nix handles a package which has been
marked as unfree.
</para>
<itemizedlist>
<listitem>
<para>
To temporarily allow all unfree packages, you can use an environment
variable for a single invocation of the nix tools:
<programlisting>$ export NIXPKGS_ALLOW_UNFREE=1</programlisting>
</para>
</listitem>
<listitem>
<para>
It is possible to permanently allow individual unfree packages, while
still blocking unfree packages by default using the
<literal>allowUnfreePredicate</literal> configuration option in the user
configuration file.
</para>
<para>
This option is a function which accepts a package as a parameter, and
returns a boolean. The following example configuration accepts a package
and always returns false:
<programlisting>
{
allowUnfreePredicate = (pkg: false);
}
</programlisting>
</para>
<para>
For a more useful example, try the following. This configuration
only allows unfree packages named flash player and visual studio
code:
<programlisting>
{
allowUnfreePredicate = (pkg: builtins.elem
(builtins.parseDrvName pkg.name).name [
"flashplayer"
"vscode"
]);
}
</programlisting>
</para>
</listitem>
<listitem>
<para>
It is also possible to whitelist and blacklist licenses that are
specifically acceptable or not acceptable, using
<literal>whitelistedLicenses</literal> and
<literal>blacklistedLicenses</literal>, respectively.
</para>
<para>
The following example configuration whitelists the licenses
<literal>amd</literal> and <literal>wtfpl</literal>:
<programlisting>
{
whitelistedLicenses = with stdenv.lib.licenses; [ amd wtfpl ];
}
</programlisting>
</para>
<para>
The following example configuration blacklists the <literal>gpl3</literal>
and <literal>agpl3</literal> licenses:
<programlisting>
{
blacklistedLicenses = with stdenv.lib.licenses; [ agpl3 gpl3 ];
}
</programlisting>
</para>
</listitem>
</itemizedlist>
<para>
A complete list of licenses can be found in the file
<filename>lib/licenses.nix</filename> of the nixpkgs tree.
</para>
</section>
<section xml:id="sec-allow-insecure">
<title>Installing insecure packages</title>
<para>
There are several ways to tweak how Nix handles a package which has been
marked as insecure.
</para>
<itemizedlist>
<listitem>
<para>
To temporarily allow all insecure packages, you can use an environment
variable for a single invocation of the nix tools:
<programlisting>$ export NIXPKGS_ALLOW_INSECURE=1</programlisting>
</para>
</listitem>
<listitem>
<para>
It is possible to permanently allow individual insecure packages, while
still blocking other insecure packages by default using the
<literal>permittedInsecurePackages</literal> configuration option in the
user configuration file.
</para>
<para>
The following example configuration permits the installation of the
hypothetically insecure package <literal>hello</literal>, version
<literal>1.2.3</literal>:
<programlisting>
{
permittedInsecurePackages = [
"hello-1.2.3"
];
}
</programlisting>
</para>
</listitem>
<listitem>
<para>
It is also possible to create a custom policy around which insecure
packages to allow and deny, by overriding the
<literal>allowInsecurePredicate</literal> configuration option.
</para>
<para>
The <literal>allowInsecurePredicate</literal> option is a function which
accepts a package and returns a boolean, much like
<literal>allowUnfreePredicate</literal>.
</para>
<para>
The following configuration example only allows insecure packages with
very short names:
<programlisting>
{
allowInsecurePredicate = (pkg: (builtins.stringLength (builtins.parseDrvName pkg.name).name) &lt;= 5);
}
</programlisting>
</para>
<para>
Note that <literal>permittedInsecurePackages</literal> is only checked if
<literal>allowInsecurePredicate</literal> is not specified.
</para>
</listitem>
</itemizedlist>
</section>
<!--============================================================-->
<section xml:id="sec-modify-via-packageOverrides">
<title>Modify packages via <literal>packageOverrides</literal></title>
<para>
You can define a function called <varname>packageOverrides</varname> in your
local <filename>~/.config/nixpkgs/config.nix</filename> to override Nix
packages. It must be a function that takes pkgs as an argument and returns a
modified set of packages.
<programlisting>
{
packageOverrides = pkgs: rec {
foo = pkgs.foo.override { ... };
};
}
</programlisting>
</para>
</section>
<section xml:id="sec-declarative-package-management">
<title>Declarative Package Management</title>
<section xml:id="sec-building-environment">
<title>Build an environment</title>
<para>
Using <literal>packageOverrides</literal>, it is possible to manage
packages declaratively. This means that we can list all of our desired
packages within a declarative Nix expression. For example, to have
<literal>aspell</literal>, <literal>bc</literal>,
<literal>ffmpeg</literal>, <literal>coreutils</literal>,
<literal>gdb</literal>, <literal>nixUnstable</literal>,
<literal>emscripten</literal>, <literal>jq</literal>,
<literal>nox</literal>, and <literal>silver-searcher</literal>, we could
use the following in <filename>~/.config/nixpkgs/config.nix</filename>:
</para>
<screen>
{
packageOverrides = pkgs: with pkgs; {
myPackages = pkgs.buildEnv {
name = "my-packages";
paths = [
aspell
bc
coreutils
gdb
ffmpeg
nixUnstable
emscripten
jq
nox
silver-searcher
];
};
};
}
</screen>
<para>
To install it into our environment, you can just run <literal>nix-env -iA
nixpkgs.myPackages</literal>. If you want to load the packages to be built
from a working copy of <literal>nixpkgs</literal> you just run
<literal>nix-env -f. -iA myPackages</literal>. To explore what's been
installed, just look through <filename>~/.nix-profile/</filename>. You can
see that a lot of stuff has been installed. Some of this stuff is useful
some of it isn't. Let's tell Nixpkgs to only link the stuff that we want:
</para>
<screen>
{
packageOverrides = pkgs: with pkgs; {
myPackages = pkgs.buildEnv {
name = "my-packages";
paths = [
aspell
bc
coreutils
gdb
ffmpeg
nixUnstable
emscripten
jq
nox
silver-searcher
];
pathsToLink = [ "/share" "/bin" ];
};
};
}
</screen>
<para>
<literal>pathsToLink</literal> tells Nixpkgs to only link the paths listed
which gets rid of the extra stuff in the profile. <filename>/bin</filename>
and <filename>/share</filename> are good defaults for a user environment,
getting rid of the clutter. If you are running on Nix on MacOS, you may
want to add another path as well, <filename>/Applications</filename>, that
makes GUI apps available.
</para>
</section>
<section xml:id="sec-getting-documentation">
<title>Getting documentation</title>
<para>
After building that new environment, look through
<filename>~/.nix-profile</filename> to make sure everything is there that
we wanted. Discerning readers will note that some files are missing. Look
inside <filename>~/.nix-profile/share/man/man1/</filename> to verify this.
There are no man pages for any of the Nix tools! This is because some
packages like Nix have multiple outputs for things like documentation (see
section 4). Let's make Nix install those as well.
</para>
<screen>
{
packageOverrides = pkgs: with pkgs; {
myPackages = pkgs.buildEnv {
name = "my-packages";
paths = [
aspell
bc
coreutils
ffmpeg
nixUnstable
emscripten
jq
nox
silver-searcher
];
pathsToLink = [ "/share/man" "/share/doc" "/bin" ];
extraOutputsToInstall = [ "man" "doc" ];
};
};
}
</screen>
<para>
This provides us with some useful documentation for using our packages.
However, if we actually want those manpages to be detected by man, we need
to set up our environment. This can also be managed within Nix expressions.
</para>
<screen>
{
packageOverrides = pkgs: with pkgs; rec {
myProfile = writeText "my-profile" ''
export PATH=$HOME/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/sbin:/bin:/usr/sbin:/usr/bin
export MANPATH=$HOME/.nix-profile/share/man:/nix/var/nix/profiles/default/share/man:/usr/share/man
'';
myPackages = pkgs.buildEnv {
name = "my-packages";
paths = [
(runCommand "profile" {} ''
mkdir -p $out/etc/profile.d
cp ${myProfile} $out/etc/profile.d/my-profile.sh
'')
aspell
bc
coreutils
ffmpeg
man
nixUnstable
emscripten
jq
nox
silver-searcher
];
pathsToLink = [ "/share/man" "/share/doc" "/bin" "/etc" ];
extraOutputsToInstall = [ "man" "doc" ];
};
};
}
</screen>
<para>
For this to work fully, you must also have this script sourced when you are
logged in. Try adding something like this to your
<filename>~/.profile</filename> file:
</para>
<screen>
#!/bin/sh
if [ -d $HOME/.nix-profile/etc/profile.d ]; then
for i in $HOME/.nix-profile/etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
fi
</screen>
<para>
Now just run <literal>source $HOME/.profile</literal> and you can starting
loading man pages from your environent.
</para>
</section>
<section xml:id="sec-gnu-info-setup">
<title>GNU info setup</title>
<para>
Configuring GNU info is a little bit trickier than man pages. To work
correctly, info needs a database to be generated. This can be done with
some small modifications to our environment scripts.
</para>
<screen>
{
packageOverrides = pkgs: with pkgs; rec {
myProfile = writeText "my-profile" ''
export PATH=$HOME/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/sbin:/bin:/usr/sbin:/usr/bin
export MANPATH=$HOME/.nix-profile/share/man:/nix/var/nix/profiles/default/share/man:/usr/share/man
export INFOPATH=$HOME/.nix-profile/share/info:/nix/var/nix/profiles/default/share/info:/usr/share/info
'';
myPackages = pkgs.buildEnv {
name = "my-packages";
paths = [
(runCommand "profile" {} ''
mkdir -p $out/etc/profile.d
cp ${myProfile} $out/etc/profile.d/my-profile.sh
'')
aspell
bc
coreutils
ffmpeg
man
nixUnstable
emscripten
jq
nox
silver-searcher
texinfoInteractive
];
pathsToLink = [ "/share/man" "/share/doc" "/share/info" "/bin" "/etc" ];
extraOutputsToInstall = [ "man" "doc" "info" ];
postBuild = ''
if [ -x $out/bin/install-info -a -w $out/share/info ]; then
shopt -s nullglob
for i in $out/share/info/*.info $out/share/info/*.info.gz; do
$out/bin/install-info $i $out/share/info/dir
done
fi
'';
};
};
}
</screen>
<para>
<literal>postBuild</literal> tells Nixpkgs to run a command after building
the environment. In this case, <literal>install-info</literal> adds the
installed info pages to <literal>dir</literal> which is GNU info's default
root node. Note that <literal>texinfoInteractive</literal> is added to the
environment to give the <literal>install-info</literal> command.
</para>
</section>
</section>
</chapter>

35
doc/contributing.xml Normal file
View File

@@ -0,0 +1,35 @@
<chapter xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xml:id="chap-contributing">
<title>Contributing to this documentation</title>
<para>
The DocBook sources of the Nixpkgs manual are in the
<filename
xlink:href="https://github.com/NixOS/nixpkgs/tree/master/doc">doc</filename>
subdirectory of the Nixpkgs repository.
</para>
<para>
You can quickly check your edits with <command>make</command>:
</para>
<screen>
$ cd /path/to/nixpkgs/doc
$ nix-shell
[nix-shell]$ make
</screen>
<para>
If you experience problems, run <command>make debug</command> to help
understand the docbook errors.
</para>
<para>
After making modifications to the manual, it's important to build it before
committing. You can do that as follows:
<screen>
$ cd /path/to/nixpkgs/doc
$ nix-shell
[nix-shell]$ make clean
[nix-shell]$ nix-build .
</screen>
If the build succeeds, the manual will be in
<filename>./result/share/doc/nixpkgs/manual.html</filename>.
</para>
</chapter>

View File

@@ -1,671 +0,0 @@
# Coding conventions {#chap-conventions}
## Syntax {#sec-syntax}
- Use 2 spaces of indentation per indentation level in Nix expressions, 4 spaces in shell scripts.
- Do not use tab characters, i.e. configure your editor to use soft tabs. For instance, use `(setq-default indent-tabs-mode nil)` in Emacs. Everybody has different tab settings so its asking for trouble.
- Use `lowerCamelCase` for variable names, not `UpperCamelCase`. Note, this rule does not apply to package attribute names, which instead follow the rules in [](#sec-package-naming).
- Function calls with attribute set arguments are written as
```nix
foo {
arg = ...;
}
```
not
```nix
foo
{
arg = ...;
}
```
Also fine is
```nix
foo { arg = ...; }
```
if it's a short call.
- In attribute sets or lists that span multiple lines, the attribute names or list elements should be aligned:
```nix
# A long list.
list = [
elem1
elem2
elem3
];
# A long attribute set.
attrs = {
attr1 = short_expr;
attr2 =
if true then big_expr else big_expr;
};
# Combined
listOfAttrs = [
{
attr1 = 3;
attr2 = "fff";
}
{
attr1 = 5;
attr2 = "ggg";
}
];
```
- Short lists or attribute sets can be written on one line:
```nix
# A short list.
list = [ elem1 elem2 elem3 ];
# A short set.
attrs = { x = 1280; y = 1024; };
```
- Breaking in the middle of a function argument can give hard-to-read code, like
```nix
someFunction { x = 1280;
y = 1024; } otherArg
yetAnotherArg
```
(especially if the argument is very large, spanning multiple lines).
Better:
```nix
someFunction
{ x = 1280; y = 1024; }
otherArg
yetAnotherArg
```
or
```nix
let res = { x = 1280; y = 1024; };
in someFunction res otherArg yetAnotherArg
```
- The bodies of functions, asserts, and withs are not indented to prevent a lot of superfluous indentation levels, i.e.
```nix
{ arg1, arg2 }:
assert system == "i686-linux";
stdenv.mkDerivation { ...
```
not
```nix
{ arg1, arg2 }:
assert system == "i686-linux";
stdenv.mkDerivation { ...
```
- Function formal arguments are written as:
```nix
{ arg1, arg2, arg3 }:
```
but if they don't fit on one line they're written as:
```nix
{ arg1, arg2, arg3
, arg4, ...
, # Some comment...
argN
}:
```
- Functions should list their expected arguments as precisely as possible. That is, write
```nix
{ stdenv, fetchurl, perl }: ...
```
instead of
```nix
args: with args; ...
```
or
```nix
{ stdenv, fetchurl, perl, ... }: ...
```
For functions that are truly generic in the number of arguments (such as wrappers around `mkDerivation`) that have some required arguments, you should write them using an `@`-pattern:
```nix
{ stdenv, doCoverageAnalysis ? false, ... } @ args:
stdenv.mkDerivation (args // {
... if doCoverageAnalysis then "bla" else "" ...
})
```
instead of
```nix
args:
args.stdenv.mkDerivation (args // {
... if args ? doCoverageAnalysis && args.doCoverageAnalysis then "bla" else "" ...
})
```
- Unnecessary string conversions should be avoided. Do
```nix
rev = version;
```
instead of
```nix
rev = "${version}";
```
- Building lists conditionally _should_ be done with `lib.optional(s)` instead of using `if cond then [ ... ] else null` or `if cond then [ ... ] else [ ]`.
```nix
buildInputs = lib.optional stdenv.isDarwin iconv;
```
instead of
```nix
buildInputs = if stdenv.isDarwin then [ iconv ] else null;
```
As an exception, an explicit conditional expression with null can be used when fixing a important bug without triggering a mass rebuild.
If this is done a follow up pull request _should_ be created to change the code to `lib.optional(s)`.
- Arguments should be listed in the order they are used, with the exception of `lib`, which always goes first.
## Package naming {#sec-package-naming}
The key words _must_, _must not_, _required_, _shall_, _shall not_, _should_, _should not_, _recommended_, _may_, and _optional_ in this section are to be interpreted as described in [RFC 2119](https://tools.ietf.org/html/rfc2119). Only _emphasized_ words are to be interpreted in this way.
In Nixpkgs, there are generally three different names associated with a package:
- The `name` attribute of the derivation (excluding the version part). This is what most users see, in particular when using `nix-env`.
- The variable name used for the instantiated package in `all-packages.nix`, and when passing it as a dependency to other functions. Typically this is called the _package attribute name_. This is what Nix expression authors see. It can also be used when installing using `nix-env -iA`.
- The filename for (the directory containing) the Nix expression.
Most of the time, these are the same. For instance, the package `e2fsprogs` has a `name` attribute `"e2fsprogs-version"`, is bound to the variable name `e2fsprogs` in `all-packages.nix`, and the Nix expression is in `pkgs/os-specific/linux/e2fsprogs/default.nix`.
There are a few naming guidelines:
- The `pname` attribute _should_ be identical to the upstream package name.
- The `pname` and the `version` attribute _must not_ contain uppercase letters — e.g., `"mplayer" instead of `"MPlayer"`.
- The `version` attribute _must_ start with a digit e.g`"0.3.1rc2".
- If a package is not a release but a commit from a repository, then the `version` attribute _must_ be the date of that (fetched) commit. The date _must_ be in `"unstable-YYYY-MM-DD"` format.
- Dashes in the package `pname` _should_ be preserved in new variable names, rather than converted to underscores or camel cased — e.g., `http-parser` instead of `http_parser` or `httpParser`. The hyphenated style is preferred in all three package names.
- If there are multiple versions of a package, this _should_ be reflected in the variable names in `all-packages.nix`, e.g. `json-c_0_9` and `json-c_0_11`. If there is an obvious “default” version, make an attribute like `json-c = json-c_0_9;`. See also [](#sec-versioning)
## File naming and organisation {#sec-organisation}
Names of files and directories should be in lowercase, with dashes between words — not in camel case. For instance, it should be `all-packages.nix`, not `allPackages.nix` or `AllPackages.nix`.
### Hierarchy {#sec-hierarchy}
Each package should be stored in its own directory somewhere in the `pkgs/` tree, i.e. in `pkgs/category/subcategory/.../pkgname`. Below are some rules for picking the right category for a package. Many packages fall under several categories; what matters is the _primary_ purpose of a package. For example, the `libxml2` package builds both a library and some tools; but its a library foremost, so it goes under `pkgs/development/libraries`.
When in doubt, consider refactoring the `pkgs/` tree, e.g. creating new categories or splitting up an existing category.
**If its used to support _software development_:**
- **If its a _library_ used by other packages:**
- `development/libraries` (e.g. `libxml2`)
- **If its a _compiler_:**
- `development/compilers` (e.g. `gcc`)
- **If its an _interpreter_:**
- `development/interpreters` (e.g. `guile`)
- **If its a (set of) development _tool(s)_:**
- **If its a _parser generator_ (including lexers):**
- `development/tools/parsing` (e.g. `bison`, `flex`)
- **If its a _build manager_:**
- `development/tools/build-managers` (e.g. `gnumake`)
- **Else:**
- `development/tools/misc` (e.g. `binutils`)
- **Else:**
- `development/misc`
**If its a (set of) _tool(s)_:**
(A tool is a relatively small program, especially one intended to be used non-interactively.)
- **If its for _networking_:**
- `tools/networking` (e.g. `wget`)
- **If its for _text processing_:**
- `tools/text` (e.g. `diffutils`)
- **If its a _system utility_, i.e., something related or essential to the operation of a system:**
- `tools/system` (e.g. `cron`)
- **If its an _archiver_ (which may include a compression function):**
- `tools/archivers` (e.g. `zip`, `tar`)
- **If its a _compression_ program:**
- `tools/compression` (e.g. `gzip`, `bzip2`)
- **If its a _security_-related program:**
- `tools/security` (e.g. `nmap`, `gnupg`)
- **Else:**
- `tools/misc`
**If its a _shell_:**
- `shells` (e.g. `bash`)
**If its a _server_:**
- **If its a web server:**
- `servers/http` (e.g. `apache-httpd`)
- **If its an implementation of the X Windowing System:**
- `servers/x11` (e.g. `xorg` — this includes the client libraries and programs)
- **Else:**
- `servers/misc`
**If its a _desktop environment_:**
- `desktops` (e.g. `kde`, `gnome`, `enlightenment`)
**If its a _window manager_:**
- `applications/window-managers` (e.g. `awesome`, `stumpwm`)
**If its an _application_:**
A (typically large) program with a distinct user interface, primarily used interactively.
- **If its a _version management system_:**
- `applications/version-management` (e.g. `subversion`)
- **If its a _terminal emulator_:**
- `applications/terminal-emulators` (e.g. `alacritty` or `rxvt` or `termite`)
- **If its a _file manager_:**
- `applications/file-managers` (e.g. `mc` or `ranger` or `pcmanfm`)
- **If its for _video playback / editing_:**
- `applications/video` (e.g. `vlc`)
- **If its for _graphics viewing / editing_:**
- `applications/graphics` (e.g. `gimp`)
- **If its for _networking_:**
- **If its a _mailreader_:**
- `applications/networking/mailreaders` (e.g. `thunderbird`)
- **If its a _newsreader_:**
- `applications/networking/newsreaders` (e.g. `pan`)
- **If its a _web browser_:**
- `applications/networking/browsers` (e.g. `firefox`)
- **Else:**
- `applications/networking/misc`
- **Else:**
- `applications/misc`
**If its _data_ (i.e., does not have a straight-forward executable semantics):**
- **If its a _font_:**
- `data/fonts`
- **If its an _icon theme_:**
- `data/icons`
- **If its related to _SGML/XML processing_:**
- **If its an _XML DTD_:**
- `data/sgml+xml/schemas/xml-dtd` (e.g. `docbook`)
- **If its an _XSLT stylesheet_:**
(Okay, these are executable...)
- `data/sgml+xml/stylesheets/xslt` (e.g. `docbook-xsl`)
- **If its a _theme_ for a _desktop environment_, a _window manager_ or a _display manager_:**
- `data/themes`
**If its a _game_:**
- `games`
**Else:**
- `misc`
### Versioning {#sec-versioning}
Because every version of a package in Nixpkgs creates a potential maintenance burden, old versions of a package should not be kept unless there is a good reason to do so. For instance, Nixpkgs contains several versions of GCC because other packages dont build with the latest version of GCC. Other examples are having both the latest stable and latest pre-release version of a package, or to keep several major releases of an application that differ significantly in functionality.
If there is only one version of a package, its Nix expression should be named `e2fsprogs/default.nix`. If there are multiple versions, this should be reflected in the filename, e.g. `e2fsprogs/1.41.8.nix` and `e2fsprogs/1.41.9.nix`. The version in the filename should leave out unnecessary detail. For instance, if we keep the latest Firefox 2.0.x and 3.5.x versions in Nixpkgs, they should be named `firefox/2.0.nix` and `firefox/3.5.nix`, respectively (which, at a given point, might contain versions `2.0.0.20` and `3.5.4`). If a version requires many auxiliary files, you can use a subdirectory for each version, e.g. `firefox/2.0/default.nix` and `firefox/3.5/default.nix`.
All versions of a package _must_ be included in `all-packages.nix` to make sure that they evaluate correctly.
## Fetching Sources {#sec-sources}
There are multiple ways to fetch a package source in nixpkgs. The general guideline is that you should package reproducible sources with a high degree of availability. Right now there is only one fetcher which has mirroring support and that is `fetchurl`. Note that you should also prefer protocols which have a corresponding proxy environment variable.
You can find many source fetch helpers in `pkgs/build-support/fetch*`.
In the file `pkgs/top-level/all-packages.nix` you can find fetch helpers, these have names on the form `fetchFrom*`. The intention of these are to provide snapshot fetches but using the same api as some of the version controlled fetchers from `pkgs/build-support/`. As an example going from bad to good:
- Bad: Uses `git://` which won't be proxied.
```nix
src = fetchgit {
url = "git://github.com/NixOS/nix.git";
rev = "1f795f9f44607cc5bec70d1300150bfefcef2aae";
sha256 = "1cw5fszffl5pkpa6s6wjnkiv6lm5k618s32sp60kvmvpy7a2v9kg";
}
```
- Better: This is ok, but an archive fetch will still be faster.
```nix
src = fetchgit {
url = "https://github.com/NixOS/nix.git";
rev = "1f795f9f44607cc5bec70d1300150bfefcef2aae";
sha256 = "1cw5fszffl5pkpa6s6wjnkiv6lm5k618s32sp60kvmvpy7a2v9kg";
}
```
- Best: Fetches a snapshot archive and you get the rev you want.
```nix
src = fetchFromGitHub {
owner = "NixOS";
repo = "nix";
rev = "1f795f9f44607cc5bec70d1300150bfefcef2aae";
sha256 = "1i2yxndxb6yc9l6c99pypbd92lfq5aac4klq7y2v93c9qvx2cgpc";
}
```
When fetching from GitHub, commits must always be referenced by their full commit hash. This is because GitHub shares commit hashes among all forks and returns `404 Not Found` when a short commit hash is ambiguous. It already happens for some short, 6-character commit hashes in `nixpkgs`.
It is a practical vector for a denial-of-service attack by pushing large amounts of auto generated commits into forks and was already [demonstrated against GitHub Actions Beta](https://blog.teddykatz.com/2019/11/12/github-actions-dos.html).
Find the value to put as `sha256` by running `nix-shell -p nix-prefetch-github --run "nix-prefetch-github --rev 1f795f9f44607cc5bec70d1300150bfefcef2aae NixOS nix"`.
## Obtaining source hash {#sec-source-hashes}
Preferred source hash type is sha256. There are several ways to get it.
1. Prefetch URL (with `nix-prefetch-XXX URL`, where `XXX` is one of `url`, `git`, `hg`, `cvs`, `bzr`, `svn`). Hash is printed to stdout.
2. Prefetch by package source (with `nix-prefetch-url '<nixpkgs>' -A PACKAGE.src`, where `PACKAGE` is package attribute name). Hash is printed to stdout.
This works well when you've upgraded existing package version and want to find out new hash, but is useless if package can't be accessed by attribute or package has multiple sources (`.srcs`, architecture-dependent sources, etc).
3. Upstream provided hash: use it when upstream provides `sha256` or `sha512` (when upstream provides `md5`, don't use it, compute `sha256` instead).
A little nuance is that `nix-prefetch-*` tools produce hash encoded with `base32`, but upstream usually provides hexadecimal (`base16`) encoding. Fetchers understand both formats. Nixpkgs does not standardize on any one format.
You can convert between formats with nix-hash, for example:
```ShellSession
$ nix-hash --type sha256 --to-base32 HASH
```
4. Extracting hash from local source tarball can be done with `sha256sum`. Use `nix-prefetch-url file:///path/to/tarball` if you want base32 hash.
5. Fake hash: set the hash to one of
- `""`
- `lib.fakeHash`
- `lib.fakeSha256`
- `lib.fakeSha512`
in the package expression, attempt build and extract correct hash from error messages.
::: {.warning}
You must use one of these four fake hashes and not some arbitrarily-chosen hash.
See [](#sec-source-hashes-security).
:::
This is last resort method when reconstructing source URL is non-trivial and `nix-prefetch-url -A` isnt applicable (for example, [one of `kodi` dependencies](https://github.com/NixOS/nixpkgs/blob/d2ab091dd308b99e4912b805a5eb088dd536adb9/pkgs/applications/video/kodi/default.nix#L73)). The easiest way then would be replace hash with a fake one and rebuild. Nix build will fail and error message will contain desired hash.
### Obtaining hashes securely {#sec-source-hashes-security}
Let's say Man-in-the-Middle (MITM) sits close to your network. Then instead of fetching source you can fetch malware, and instead of source hash you get hash of malware. Here are security considerations for this scenario:
- `http://` URLs are not secure to prefetch hash from;
- hashes from upstream (in method 3) should be obtained via secure protocol;
- `https://` URLs are secure in methods 1, 2, 3;
- `https://` URLs are secure in method 5 *only if* you use one of the listed fake hashes. If you use any other hash, `fetchurl` will pass `--insecure` to `curl` and may then degrade to HTTP in case of TLS certificate expiration.
## Patches {#sec-patches}
Patches available online should be retrieved using `fetchpatch`.
```nix
patches = [
(fetchpatch {
name = "fix-check-for-using-shared-freetype-lib.patch";
url = "http://git.ghostscript.com/?p=ghostpdl.git;a=patch;h=8f5d285";
sha256 = "1f0k043rng7f0rfl9hhb89qzvvksqmkrikmm38p61yfx51l325xr";
})
];
```
Otherwise, you can add a `.patch` file to the `nixpkgs` repository. In the interest of keeping our maintenance burden to a minimum, only patches that are unique to `nixpkgs` should be added in this way.
If a patch is available online but does not cleanly apply, it can be modified in some fixed ways by using additional optional arguments for `fetchpatch`. Check [](#fetchpatch) for details.
```nix
patches = [ ./0001-changes.patch ];
```
If you do need to do create this sort of patch file, one way to do so is with git:
1. Move to the root directory of the source code you're patching.
```ShellSession
$ cd the/program/source
```
2. If a git repository is not already present, create one and stage all of the source files.
```ShellSession
$ git init
$ git add .
```
3. Edit some files to make whatever changes need to be included in the patch.
4. Use git to create a diff, and pipe the output to a patch file:
```ShellSession
$ git diff -a > nixpkgs/pkgs/the/package/0001-changes.patch
```
## Package tests {#sec-package-tests}
Tests are important to ensure quality and make reviews and automatic updates easy.
The following types of tests exists:
* [NixOS **module tests**](https://nixos.org/manual/nixos/stable/#sec-nixos-tests), which spawn one or more NixOS VMs. They exercise both NixOS modules and the packaged programs used within them. For example, a NixOS module test can start a web server VM running the `nginx` module, and a client VM running `curl` or a graphical `firefox`, and test that they can talk to each other and display the correct content.
* Nix **package tests** are a lightweight alternative to NixOS module tests. They should be used to create simple integration tests for packages, but cannot test NixOS services, and some programs with graphical user interfaces may also be difficult to test with them.
* The **`checkPhase` of a package**, which should execute the unit tests that are included in the source code of a package.
Here in the nixpkgs manual we describe mostly _package tests_; for _module tests_ head over to the corresponding [section in the NixOS manual](https://nixos.org/manual/nixos/stable/#sec-nixos-tests).
### Writing inline package tests {#ssec-inline-package-tests-writing}
For very simple tests, they can be written inline:
```nix
{ …, yq-go }:
buildGoModule rec {
passthru.tests = {
simple = runCommand "${pname}-test" {} ''
echo "test: 1" | ${yq-go}/bin/yq eval -j > $out
[ "$(cat $out | tr -d $'\n ')" = '{"test":1}' ]
'';
};
}
```
### Writing larger package tests {#ssec-package-tests-writing}
This is an example using the `phoronix-test-suite` package with the current best practices.
Add the tests in `passthru.tests` to the package definition like this:
```nix
{ stdenv, lib, fetchurl, callPackage }:
stdenv.mkDerivation {
passthru.tests = {
simple-execution = callPackage ./tests.nix { };
};
meta = { … };
}
```
Create `tests.nix` in the package directory:
```nix
{ runCommand, phoronix-test-suite }:
let
inherit (phoronix-test-suite) pname version;
in
runCommand "${pname}-tests" { meta.timeout = 60; }
''
# automatic initial setup to prevent interactive questions
${phoronix-test-suite}/bin/phoronix-test-suite enterprise-setup >/dev/null
# get version of installed program and compare with package version
if [[ `${phoronix-test-suite}/bin/phoronix-test-suite version` != *"${version}"* ]]; then
echo "Error: program version does not match package version"
exit 1
fi
# run dummy command
${phoronix-test-suite}/bin/phoronix-test-suite dummy_module.dummy-command >/dev/null
# needed for Nix to register the command as successful
touch $out
''
```
### Running package tests {#ssec-package-tests-running}
You can run these tests with:
```ShellSession
$ cd path/to/nixpkgs
$ nix-build -A phoronix-test-suite.tests
```
### Examples of package tests {#ssec-package-tests-examples}
Here are examples of package tests:
- [Jasmin compile test](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/jasmin/test-assemble-hello-world/default.nix)
- [Lobster compile test](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/lobster/test-can-run-hello-world.nix)
- [Spacy annotation test](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modules/spacy/annotation-test/default.nix)
- [Libtorch test](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/science/math/libtorch/test/default.nix)
- [Multiple tests for nanopb](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/nanopb/default.nix)
### Linking NixOS module tests to a package {#ssec-nixos-tests-linking}
Like [package tests](#ssec-package-tests-writing) as shown above, [NixOS module tests](https://nixos.org/manual/nixos/stable/#sec-nixos-tests) can also be linked to a package, so that the tests can be easily run when changing the related package.
For example, assuming we're packaging `nginx`, we can link its module test via `passthru.tests`:
```nix
{ stdenv, lib, nixosTests }:
stdenv.mkDerivation {
...
passthru.tests = {
nginx = nixosTests.nginx;
};
...
}
```

View File

@@ -1,122 +0,0 @@
# Contributing to this documentation {#chap-contributing}
The sources of the Nixpkgs manual are in the [doc](https://github.com/NixOS/nixpkgs/tree/master/doc) subdirectory of the Nixpkgs repository. The manual is still partially written in DocBook but it is progressively being converted to [Markdown](#sec-contributing-markup).
You can quickly check your edits with `make`:
```ShellSession
$ cd /path/to/nixpkgs/doc
$ nix-shell
[nix-shell]$ make
```
If you experience problems, run `make debug` to help understand the docbook errors.
After making modifications to the manual, it's important to build it before committing. You can do that as follows:
```ShellSession
$ cd /path/to/nixpkgs/doc
$ nix-shell
[nix-shell]$ make clean
[nix-shell]$ nix-build .
```
If the build succeeds, the manual will be in `./result/share/doc/nixpkgs/manual.html`.
## Syntax {#sec-contributing-markup}
As per [RFC 0072](https://github.com/NixOS/rfcs/pull/72), all new documentation content should be written in [CommonMark](https://commonmark.org/) Markdown dialect.
Additional syntax extensions are available, though not all extensions can be used in NixOS option documentation. The following extensions are currently used:
- []{#ssec-contributing-markup-anchors}
Explicitly defined **anchors** on headings, to allow linking to sections. These should be always used, to ensure the anchors can be linked even when the heading text changes, and to prevent conflicts between [automatically assigned identifiers](https://github.com/jgm/commonmark-hs/blob/master/commonmark-extensions/test/auto_identifiers.md).
It uses the widely compatible [header attributes](https://github.com/jgm/commonmark-hs/blob/master/commonmark-extensions/test/attributes.md) syntax:
```markdown
## Syntax {#sec-contributing-markup}
```
- []{#ssec-contributing-markup-anchors-inline}
**Inline anchors**, which allow linking arbitrary place in the text (e.g. individual list items, sentences…).
They are defined using a hybrid of the link syntax with the attributes syntax known from headings, called [bracketed spans](https://github.com/jgm/commonmark-hs/blob/master/commonmark-extensions/test/bracketed_spans.md):
```markdown
- []{#ssec-gnome-hooks-glib} `glib` setup hook will populate `GSETTINGS_SCHEMAS_PATH` and then `wrapGAppsHook` will prepend it to `XDG_DATA_DIRS`.
```
- []{#ssec-contributing-markup-automatic-links}
If you **omit a link text** for a link pointing to a section, the text will be substituted automatically. For example, `[](#chap-contributing)` will result in [](#chap-contributing).
This syntax is taken from [MyST](https://myst-parser.readthedocs.io/en/latest/using/syntax.html#targets-and-cross-referencing).
- []{#ssec-contributing-markup-inline-roles}
If you want to link to a man page, you can use `` {manpage}`nix.conf(5)` ``, which will turn into {manpage}`nix.conf(5)`. The references will turn into links when a mapping exists in {file}`doc/build-aux/pandoc-filters/link-unix-man-references.lua`.
A few markups for other kinds of literals are also available:
- `` {command}`rm -rfi` `` turns into {command}`rm -rfi`
- `` {env}`XDG_DATA_DIRS` `` turns into {env}`XDG_DATA_DIRS`
- `` {file}`/etc/passwd` `` turns into {file}`/etc/passwd`
- `` {option}`networking.useDHCP` `` turns into {option}`networking.useDHCP`
- `` {var}`/etc/passwd` `` turns into {var}`/etc/passwd`
These literal kinds are used mostly in NixOS option documentation.
This syntax is taken from [MyST](https://myst-parser.readthedocs.io/en/latest/syntax/syntax.html#roles-an-in-line-extension-point). Though, the feature originates from [reStructuredText](https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html#role-manpage) with slightly different syntax.
::: {.note}
Inline roles are available for option documentation.
:::
- []{#ssec-contributing-markup-admonitions}
**Admonitions**, set off from the text to bring attention to something.
It uses pandocs [fenced `div`s syntax](https://github.com/jgm/commonmark-hs/blob/master/commonmark-extensions/test/fenced_divs.md):
```markdown
::: {.warning}
This is a warning
:::
```
which renders as
> ::: {.warning}
> This is a warning.
> :::
The following are supported:
- [`caution`](https://tdg.docbook.org/tdg/5.0/caution.html)
- [`important`](https://tdg.docbook.org/tdg/5.0/important.html)
- [`note`](https://tdg.docbook.org/tdg/5.0/note.html)
- [`tip`](https://tdg.docbook.org/tdg/5.0/tip.html)
- [`warning`](https://tdg.docbook.org/tdg/5.0/warning.html)
::: {.note}
Admonitions are available for option documentation.
:::
- []{#ssec-contributing-markup-definition-lists}
[**Definition lists**](https://github.com/jgm/commonmark-hs/blob/master/commonmark-extensions/test/definition_lists.md), for defining a group of terms:
```markdown
pear
: green or yellow bulbous fruit
watermelon
: green fruit with red flesh
```
which renders as
> pear
> : green or yellow bulbous fruit
>
> watermelon
> : green fruit with red flesh
For contributing to the legacy parts, please see [DocBook: The Definitive Guide](https://tdg.docbook.org/) or the [DocBook rocks! primer](https://web.archive.org/web/20200816233747/https://docbook.rocks/).

View File

@@ -1,77 +0,0 @@
# Quick Start to Adding a Package {#chap-quick-start}
To add a package to Nixpkgs:
1. Checkout the Nixpkgs source tree:
```ShellSession
$ git clone https://github.com/NixOS/nixpkgs
$ cd nixpkgs
```
2. Find a good place in the Nixpkgs tree to add the Nix expression for your package. For instance, a library package typically goes into `pkgs/development/libraries/pkgname`, while a web browser goes into `pkgs/applications/networking/browsers/pkgname`. See [](#sec-organisation) for some hints on the tree organisation. Create a directory for your package, e.g.
```ShellSession
$ mkdir pkgs/development/libraries/libfoo
```
3. In the package directory, create a Nix expression — a piece of code that describes how to build the package. In this case, it should be a _function_ that is called with the package dependencies as arguments, and returns a build of the package in the Nix store. The expression should usually be called `default.nix`.
```ShellSession
$ emacs pkgs/development/libraries/libfoo/default.nix
$ git add pkgs/development/libraries/libfoo/default.nix
```
You can have a look at the existing Nix expressions under `pkgs/` to see how its done. Here are some good ones:
- GNU Hello: [`pkgs/applications/misc/hello/default.nix`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/misc/hello/default.nix). Trivial package, which specifies some `meta` attributes which is good practice.
- GNU cpio: [`pkgs/tools/archivers/cpio/default.nix`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/archivers/cpio/default.nix). Also a simple package. The generic builder in `stdenv` does everything for you. It has no dependencies beyond `stdenv`.
- GNU Multiple Precision arithmetic library (GMP): [`pkgs/development/libraries/gmp/5.1.x.nix`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/gmp/5.1.x.nix). Also done by the generic builder, but has a dependency on `m4`.
- Pan, a GTK-based newsreader: [`pkgs/applications/networking/newsreaders/pan/default.nix`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/newsreaders/pan/default.nix). Has an optional dependency on `gtkspell`, which is only built if `spellCheck` is `true`.
- Apache HTTPD: [`pkgs/servers/http/apache-httpd/2.4.nix`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/http/apache-httpd/2.4.nix). A bunch of optional features, variable substitutions in the configure flags, a post-install hook, and miscellaneous hackery.
- Thunderbird: [`pkgs/applications/networking/mailreaders/thunderbird/default.nix`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/mailreaders/thunderbird/default.nix). Lots of dependencies.
- JDiskReport, a Java utility: [`pkgs/tools/misc/jdiskreport/default.nix`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/jdiskreport/default.nix). Nixpkgs doesnt have a decent `stdenv` for Java yet so this is pretty ad-hoc.
- XML::Simple, a Perl module: [`pkgs/top-level/perl-packages.nix`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/perl-packages.nix) (search for the `XMLSimple` attribute). Most Perl modules are so simple to build that they are defined directly in `perl-packages.nix`; no need to make a separate file for them.
- Adobe Reader: [`pkgs/applications/misc/adobe-reader/default.nix`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/misc/adobe-reader/default.nix). Shows how binary-only packages can be supported. In particular the [builder](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/misc/adobe-reader/builder.sh) uses `patchelf` to set the RUNPATH and ELF interpreter of the executables so that the right libraries are found at runtime.
Some notes:
- All [`meta`](#chap-meta) attributes are optional, but its still a good idea to provide at least the `description`, `homepage` and [`license`](#sec-meta-license).
- You can use `nix-prefetch-url url` to get the SHA-256 hash of source distributions. There are similar commands as `nix-prefetch-git` and `nix-prefetch-hg` available in `nix-prefetch-scripts` package.
- A list of schemes for `mirror://` URLs can be found in [`pkgs/build-support/fetchurl/mirrors.nix`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/fetchurl/mirrors.nix).
The exact syntax and semantics of the Nix expression language, including the built-in function, are described in the Nix manual in the [chapter on writing Nix expressions](https://hydra.nixos.org/job/nix/trunk/tarball/latest/download-by-type/doc/manual/#chap-writing-nix-expressions).
4. Add a call to the function defined in the previous step to [`pkgs/top-level/all-packages.nix`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/all-packages.nix) with some descriptive name for the variable, e.g. `libfoo`.
```ShellSession
$ emacs pkgs/top-level/all-packages.nix
```
The attributes in that file are sorted by category (like “Development / Libraries”) that more-or-less correspond to the directory structure of Nixpkgs, and then by attribute name.
5. To test whether the package builds, run the following command from the root of the nixpkgs source tree:
```ShellSession
$ nix-build -A libfoo
```
where `libfoo` should be the variable name defined in the previous step. You may want to add the flag `-K` to keep the temporary build directory in case something fails. If the build succeeds, a symlink `./result` to the package in the Nix store is created.
6. If you want to install the package into your profile (optional), do
```ShellSession
$ nix-env -f . -iA libfoo
```
7. Optionally commit the new package and open a pull request [to nixpkgs](https://github.com/NixOS/nixpkgs/pulls), or use [the Patches category](https://discourse.nixos.org/t/about-the-patches-category/477) on Discourse for sending a patch without a GitHub account.

View File

@@ -1,319 +0,0 @@
# Reviewing contributions {#chap-reviewing-contributions}
::: {.warning}
The following section is a draft, and the policy for reviewing is still being discussed in issues such as [#11166](https://github.com/NixOS/nixpkgs/issues/11166) and [#20836](https://github.com/NixOS/nixpkgs/issues/20836).
:::
The Nixpkgs project receives a fairly high number of contributions via GitHub pull requests. Reviewing and approving these is an important task and a way to contribute to the project.
The high change rate of Nixpkgs makes any pull request that remains open for too long subject to conflicts that will require extra work from the submitter or the merger. Reviewing pull requests in a timely manner and being responsive to the comments is the key to avoid this issue. GitHub provides sort filters that can be used to see the [most recently](https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc) and the [least recently](https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-asc) updated pull requests. We highly encourage looking at [this list of ready to merge, unreviewed pull requests](https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+review%3Anone+status%3Asuccess+-label%3A%222.status%3A+work-in-progress%22+no%3Aproject+no%3Aassignee+no%3Amilestone).
When reviewing a pull request, please always be nice and polite. Controversial changes can lead to controversial opinions, but it is important to respect every community member and their work.
GitHub provides reactions as a simple and quick way to provide feedback to pull requests or any comments. The thumb-down reaction should be used with care and if possible accompanied with some explanation so the submitter has directions to improve their contribution.
pull request reviews should include a list of what has been reviewed in a comment, so other reviewers and mergers can know the state of the review.
All the review template samples provided in this section are generic and meant as examples. Their usage is optional and the reviewer is free to adapt them to their liking.
## Package updates {#reviewing-contributions-package-updates}
A package update is the most trivial and common type of pull request. These pull requests mainly consist of updating the version part of the package name and the source hash.
It can happen that non-trivial updates include patches or more complex changes.
Reviewing process:
- Ensure that the package versioning fits the guidelines.
- Ensure that the commit text fits the guidelines.
- Ensure that the package maintainers are notified.
- [CODEOWNERS](https://help.github.com/articles/about-codeowners) will make GitHub notify users based on the submitted changes, but it can happen that it misses some of the package maintainers.
- Ensure that the meta field information is correct.
- License can change with version updates, so it should be checked to match the upstream license.
- If the package has no maintainer, a maintainer must be set. This can be the update submitter or a community member that accepts to take maintainership of the package.
- Ensure that the code contains no typos.
- Building the package locally.
- pull requests are often targeted to the master or staging branch, and building the pull request locally when it is submitted can trigger many source builds.
- It is possible to rebase the changes on nixos-unstable or nixpkgs-unstable for easier review by running the following commands from a nixpkgs clone.
```ShellSession
$ git fetch origin nixos-unstable
$ git fetch origin pull/PRNUMBER/head
$ git rebase --onto nixos-unstable BASEBRANCH FETCH_HEAD
```
- The first command fetches the nixos-unstable branch.
- The second command fetches the pull request changes, `PRNUMBER` is the number at the end of the pull request title and `BASEBRANCH` the base branch of the pull request.
- The third command rebases the pull request changes to the nixos-unstable branch.
- The [nixpkgs-review](https://github.com/Mic92/nixpkgs-review) tool can be used to review a pull request content in a single command. `PRNUMBER` should be replaced by the number at the end of the pull request title. You can also provide the full github pull request url.
```ShellSession
$ nix-shell -p nixpkgs-review --run "nixpkgs-review pr PRNUMBER"
```
- Running every binary.
Sample template for a package update review is provided below.
```markdown
##### Reviewed points
- [ ] package name fits guidelines
- [ ] package version fits guidelines
- [ ] package build on ARCHITECTURE
- [ ] executables tested on ARCHITECTURE
- [ ] all depending packages build
##### Possible improvements
##### Comments
```
## New packages {#reviewing-contributions-new-packages}
New packages are a common type of pull requests. These pull requests consists in adding a new nix-expression for a package.
Review process:
- Ensure that the package versioning fits the guidelines.
- Ensure that the commit name fits the guidelines.
- Ensure that the meta fields contain correct information.
- License must match the upstream license.
- Platforms should be set (or the package will not get binary substitutes).
- Maintainers must be set. This can be the package submitter or a community member that accepts taking up maintainership of the package.
- Report detected typos.
- Ensure the package source:
- Uses mirror URLs when available.
- Uses the most appropriate functions (e.g. packages from GitHub should use `fetchFromGitHub`).
- Building the package locally.
- Running every binary.
Sample template for a new package review is provided below.
```markdown
##### Reviewed points
- [ ] package path fits guidelines
- [ ] package name fits guidelines
- [ ] package version fits guidelines
- [ ] package build on ARCHITECTURE
- [ ] executables tested on ARCHITECTURE
- [ ] `meta.description` is set and fits guidelines
- [ ] `meta.license` fits upstream license
- [ ] `meta.platforms` is set
- [ ] `meta.maintainers` is set
- [ ] build time only dependencies are declared in `nativeBuildInputs`
- [ ] source is fetched using the appropriate function
- [ ] the list of `phases` is not overridden
- [ ] when a phase (like `installPhase`) is overridden it starts with `runHook preInstall` and ends with `runHook postInstall`.
- [ ] patches that are remotely available are fetched with `fetchpatch`
##### Possible improvements
##### Comments
```
## Module updates {#reviewing-contributions-module-updates}
Module updates are submissions changing modules in some ways. These often contains changes to the options or introduce new options.
Reviewing process:
- Ensure that the module maintainers are notified.
- [CODEOWNERS](https://help.github.com/articles/about-codeowners/) will make GitHub notify users based on the submitted changes, but it can happen that it misses some of the package maintainers.
- Ensure that the module tests, if any, are succeeding.
- Ensure that the introduced options are correct.
- Type should be appropriate (string related types differs in their merging capabilities, `loaOf` and `string` types are deprecated).
- Description, default and example should be provided.
- Ensure that option changes are backward compatible.
- `mkRenamedOptionModuleWith` provides a way to make option changes backward compatible.
- Ensure that removed options are declared with `mkRemovedOptionModule`
- Ensure that changes that are not backward compatible are mentioned in release notes.
- Ensure that documentations affected by the change is updated.
Sample template for a module update review is provided below.
```markdown
##### Reviewed points
- [ ] changes are backward compatible
- [ ] removed options are declared with `mkRemovedOptionModule`
- [ ] changes that are not backward compatible are documented in release notes
- [ ] module tests succeed on ARCHITECTURE
- [ ] options types are appropriate
- [ ] options description is set
- [ ] options example is provided
- [ ] documentation affected by the changes is updated
##### Possible improvements
##### Comments
```
## New modules {#reviewing-contributions-new-modules}
New modules submissions introduce a new module to NixOS.
Reviewing process:
- Ensure that the module tests, if any, are succeeding.
- Ensure that the introduced options are correct.
- Type should be appropriate (string related types differs in their merging capabilities, `loaOf` and `string` types are deprecated).
- Description, default and example should be provided.
- Ensure that module `meta` field is present
- Maintainers should be declared in `meta.maintainers`.
- Module documentation should be declared with `meta.doc`.
- Ensure that the module respect other modules functionality.
- For example, enabling a module should not open firewall ports by default.
Sample template for a new module review is provided below.
```markdown
##### Reviewed points
- [ ] module path fits the guidelines
- [ ] module tests succeed on ARCHITECTURE
- [ ] options have appropriate types
- [ ] options have default
- [ ] options have example
- [ ] options have descriptions
- [ ] No unneeded package is added to environment.systemPackages
- [ ] meta.maintainers is set
- [ ] module documentation is declared in meta.doc
##### Possible improvements
##### Comments
```
## Individual maintainer list {#reviewing-contributions-indvidual-maintainer-list}
When adding users to `maintainers/maintainer-list.nix`, the following
checks should be performed:
- If the user has specified a GPG key, verify that the commit is
signed by their key.
First, validate that the commit adding the maintainer is signed by
the key the maintainer listed. Check out the pull request and
compare its signing key with the listed key in the commit.
If the commit is not signed or it is signed by a different user, ask
them to either recommit using that key or to remove their key
information.
Given a maintainter entry like this:
``` nix
{
example = {
email = "user@example.com";
name = "Example User";
keys = [{
fingerprint = "0000 0000 2A70 6423 0AED 3C11 F04F 7A19 AAA6 3AFE";
}];
}
};
```
First receive their key from a keyserver:
$ gpg --recv-keys 0xF04F7A19AAA63AFE
gpg: key 0xF04F7A19AAA63AFE: public key "Example <user@example.com>" imported
gpg: Total number processed: 1
gpg: imported: 1
Then check the commit is signed by that key:
$ git log --show-signature
commit b87862a4f7d32319b1de428adb6cdbdd3a960153
gpg: Signature made Wed Mar 12 13:32:24 2003 +0000
gpg: using RSA key 000000002A7064230AED3C11F04F7A19AAA63AFE
gpg: Good signature from "Example User <user@example.com>
Author: Example User <user@example.com>
Date: Wed Mar 12 13:32:24 2003 +0000
maintainers: adding example
and validate that there is a `Good signature` and the printed key
matches the user's submitted key.
Note: GitHub's "Verified" label does not display the user's full key
fingerprint, and should not be used for validating the key matches.
- If the user has specified a `github` account name, ensure they have
also specified a `githubId` and verify the two match.
Maintainer entries that include a `github` field must also include
their `githubId`. People can and do change their GitHub name
frequently, and the ID is used as the official and stable identity
of the maintainer.
Given a maintainer entry like this:
``` nix
{
example = {
email = "user@example.com";
name = "Example User";
github = "ghost";
githubId = 10137;
}
};
```
First, make sure that the listed GitHub handle matches the author of
the commit.
Then, visit the URL `https://api.github.com/users/ghost` and
validate that the `id` field matches the provided `githubId`.
## Maintainer teams {#reviewing-contributions-maintainer-teams}
Feel free to create a new maintainer team in `maintainers/team-list.nix`
when a group is collectively responsible for a collection of packages.
Use taste and personal judgement when deciding if a team is warranted.
Teams are allowed to define their own rules about membership.
For example, some teams will represent a business or other group which
wants to carefully track its members. Other teams may be very open about
who can join, and allow anybody to participate.
When reviewing changes to a team, read the team's scope and the context
around the member list for indications about the team's membership
policy.
In any case, request reviews from the existing team members. If the team
lists no specific membership policy, feel free to merge changes to the
team after giving the existing members a few days to respond.
*Important:* If a team says it is a closed group, do not merge additions
to the team without an approval by at least one existing member.
## Other submissions {#reviewing-contributions-other-submissions}
Other type of submissions requires different reviewing steps.
If you consider having enough knowledge and experience in a topic and would like to be a long-term reviewer for related submissions, please contact the current reviewers for that topic. They will give you information about the reviewing process. The main reviewers for a topic can be hard to find as there is no list, but checking past pull requests to see who reviewed or git-blaming the code to see who committed to that topic can give some hints.
Container system, boot system and library changes are some examples of the pull requests fitting this category.
## Merging pull requests {#reviewing-contributions--merging-pull-requests}
It is possible for community members that have enough knowledge and experience on a special topic to contribute by merging pull requests.
In case the PR is stuck waiting for the original author to apply a trivial
change (a typo, capitalisation change, etc.) and the author allowed the members
to modify the PR, consider applying it yourself. (or commit the existing review
suggestion) You should pay extra attention to make sure the addition doesn't go
against the idea of the original PR and would not be opposed by the author.
<!--
The following paragraphs about how to deal with unactive contributors is just a proposition and should be modified to what the community agrees to be the right policy.
Please note that contributors with commit rights unactive for more than three months will have their commit rights revoked.
-->
Please see the discussion in [GitHub nixpkgs issue #50105](https://github.com/NixOS/nixpkgs/issues/50105) for information on how to proceed to be granted this level of access.
In a case a contributor definitively leaves the Nix community, they should create an issue or post on [Discourse](https://discourse.nixos.org) with references of packages and modules they maintain so the maintainership can be taken over by other contributors.

View File

@@ -1,302 +0,0 @@
# Submitting changes {#chap-submitting-changes}
## Making patches {#submitting-changes-making-patches}
- Read [Manual (How to write packages for Nix)](https://nixos.org/nixpkgs/manual/).
- Fork [the Nixpkgs repository](https://github.com/nixos/nixpkgs/) on GitHub.
- Create a branch for your future fix.
- You can make branch from a commit of your local `nixos-version`. That will help you to avoid additional local compilations. Because you will receive packages from binary cache. For example
```ShellSession
$ nixos-version --hash
0998212
$ git checkout 0998212
$ git checkout -b 'fix/pkg-name-update'
```
- Please avoid working directly on the `master` branch.
- Make commits of logical units.
- If you removed pkgs or made some major NixOS changes, write about it in the release notes for the next stable release. For example `nixos/doc/manual/release-notes/rl-2003.xml`.
- Check for unnecessary whitespace with `git diff --check` before committing.
- Format the commit in a following way:
```
(pkg-name | nixos/<module>): (from -> to | init at version | refactor | etc)
Additional information.
```
- Examples:
- `nginx: init at 2.0.1`
- `firefox: 54.0.1 -> 55.0`
- `nixos/hydra: add bazBaz option`
- `nixos/nginx: refactor config generation`
- Test your changes. If you work with
- nixpkgs:
- update pkg
- `nix-env -iA pkg-attribute-name -f <path to your local nixpkgs folder>`
- add pkg
- Make sure its in `pkgs/top-level/all-packages.nix`
- `nix-env -iA pkg-attribute-name -f <path to your local nixpkgs folder>`
- _If you dont want to install pkg in you profile_.
- `nix-build -A pkg-attribute-name <path to your local nixpkgs folder>` and check results in the folder `result`. It will appear in the same directory where you did `nix-build`.
- If you installed your package with `nix-env`, you can run `nix-env -e pkg-name` where `pkg-name` is as reported by `nix-env -q` to uninstall it from your system.
- NixOS and its modules:
- You can add new module to your NixOS configuration file (usually its `/etc/nixos/configuration.nix`). And do `sudo nixos-rebuild test -I nixpkgs=<path to your local nixpkgs folder> --fast`.
- If you have commits `pkg-name: oh, forgot to insert whitespace`: squash commits in this case. Use `git rebase -i`.
- [Rebase](https://git-scm.com/book/en/v2/Git-Branching-Rebasing) your branch against current `master`.
## Submitting changes {#submitting-changes-submitting-changes}
- Push your changes to your fork of nixpkgs.
- Create the pull request
- Follow [the contribution guidelines](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#submitting-changes).
## Submitting security fixes {#submitting-changes-submitting-security-fixes}
Security fixes are submitted in the same way as other changes and thus the same guidelines apply.
- If a new version fixing the vulnerability has been released, update the package;
- If the security fix comes in the form of a patch and a CVE is available, then add the patch to the Nixpkgs tree, and apply it to the package.
The name of the patch should be the CVE identifier, so e.g. `CVE-2019-13636.patch`; If a patch is fetched the name needs to be set as well, e.g.:
```nix
(fetchpatch {
name = "CVE-2019-11068.patch";
url = "https://gitlab.gnome.org/GNOME/libxslt/commit/e03553605b45c88f0b4b2980adfbbb8f6fca2fd6.patch";
sha256 = "0pkpb4837km15zgg6h57bncp66d5lwrlvkr73h0lanywq7zrwhj8";
})
```
If a security fix applies to both master and a stable release then, similar to regular changes, they are preferably delivered via master first and cherry-picked to the release branch.
Critical security fixes may by-pass the staging branches and be delivered directly to release branches such as `master` and `release-*`.
## Deprecating/removing packages {#submitting-changes-deprecating-packages}
There is currently no policy when to remove a package.
Before removing a package, one should try to find a new maintainer or fix smaller issues first.
### Steps to remove a package from Nixpkgs {#steps-to-remove-a-package-from-nixpkgs}
We use jbidwatcher as an example for a discontinued project here.
1. Have Nixpkgs checked out locally and up to date.
1. Create a new branch for your change, e.g. `git checkout -b jbidwatcher`
1. Remove the actual package including its directory, e.g. `git rm -rf pkgs/applications/misc/jbidwatcher`
1. Remove the package from the list of all packages (`pkgs/top-level/all-packages.nix`).
1. Add an alias for the package name in `pkgs/top-level/aliases.nix` (There is also `pkgs/applications/editors/vim/plugins/aliases.nix`. Package sets typically do not have aliases, so we can't add them there.)
For example in this case:
```
jbidwatcher = throw "jbidwatcher was discontinued in march 2021"; # added 2021-03-15
```
The throw message should explain in short why the package was removed for users that still have it installed.
1. Test if the changes introduced any issues by running `nix-env -qaP -f . --show-trace`. It should show the list of packages without errors.
1. Commit the changes. Explain again why the package was removed. If it was declared discontinued upstream, add a link to the source.
```ShellSession
$ git add pkgs/applications/misc/jbidwatcher/default.nix pkgs/top-level/all-packages.nix pkgs/top-level/aliases.nix
$ git commit
```
Example commit message:
```
jbidwatcher: remove
project was discontinued in march 2021. the program does not work anymore because ebay changed the login.
https://web.archive.org/web/20210315205723/http://www.jbidwatcher.com/
```
1. Push changes to your GitHub fork with `git push`
1. Create a pull request against Nixpkgs. Mention the package maintainer.
This is how the pull request looks like in this case: [https://github.com/NixOS/nixpkgs/pull/116470](https://github.com/NixOS/nixpkgs/pull/116470)
## Pull Request Template {#submitting-changes-pull-request-template}
The pull request template helps determine what steps have been made for a contribution so far, and will help guide maintainers on the status of a change. The motivation section of the PR should include any extra details the title does not address and link any existing issues related to the pull request.
When a PR is created, it will be pre-populated with some checkboxes detailed below:
### Tested using sandboxing {#submitting-changes-tested-with-sandbox}
When sandbox builds are enabled, Nix will setup an isolated environment for each build process. It is used to remove further hidden dependencies set by the build environment to improve reproducibility. This includes access to the network during the build outside of `fetch*` functions and files outside the Nix store. Depending on the operating system access to other resources are blocked as well (ex. inter process communication is isolated on Linux); see [sandbox](https://nixos.org/nix/manual/#conf-sandbox) in Nix manual for details.
Sandboxing is not enabled by default in Nix due to a small performance hit on each build. In pull requests for [nixpkgs](https://github.com/NixOS/nixpkgs/) people are asked to test builds with sandboxing enabled (see `Tested using sandboxing` in the pull request template) because in<https://nixos.org/hydra/> sandboxing is also used.
Depending if you use NixOS or other platforms you can use one of the following methods to enable sandboxing **before** building the package:
- **Globally enable sandboxing on NixOS**: add the following to `configuration.nix`
```nix
nix.useSandbox = true;
```
- **Globally enable sandboxing on non-NixOS platforms**: add the following to: `/etc/nix/nix.conf`
```ini
sandbox = true
```
### Built on platform(s) {#submitting-changes-platform-diversity}
Many Nix packages are designed to run on multiple platforms. As such, its important to let the maintainer know which platforms your changes have been tested on. Its not always practical to test a change on all platforms, and is not required for a pull request to be merged. Only check the systems you tested the build on in this section.
### Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests) {#submitting-changes-nixos-tests}
Packages with automated tests are much more likely to be merged in a timely fashion because it doesnt require as much manual testing by the maintainer to verify the functionality of the package. If there are existing tests for the package, they should be run to verify your changes do not break the tests. Tests can only be run on Linux. For more details on writing and running tests, see the [section in the NixOS manual](https://nixos.org/nixos/manual/index.html#sec-nixos-tests).
### Tested compilation of all pkgs that depend on this change using `nixpkgs-review` {#submitting-changes-tested-compilation}
If you are updating a packages version, you can use `nixpkgs-review` to make sure all packages that depend on the updated package still compile correctly. The `nixpkgs-review` utility can look for and build all dependencies either based on uncommitted changes with the `wip` option or specifying a GitHub pull request number.
Review changes from pull request number 12345:
```ShellSession
nix-shell -p nixpkgs-review --run "nixpkgs-review pr 12345"
```
Alternatively, with flakes (and analogously for the other commands below):
```ShellSession
nix run nixpkgs#nixpkgs-review -- pr 12345
```
Review uncommitted changes:
```ShellSession
nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
```
Review changes from last commit:
```ShellSession
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
```
### Tested execution of all binary files (usually in `./result/bin/`) {#submitting-changes-tested-execution}
Its important to test any executables generated by a build when you change or create a package in nixpkgs. This can be done by looking in `./result/bin` and running any files in there, or at a minimum, the main executable for the package. For example, if you make a change to texlive, you probably would only check the binaries associated with the change you made rather than testing all of them.
### Meets Nixpkgs contribution standards {#submitting-changes-contribution-standards}
The last checkbox is fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md). The contributing document has detailed information on standards the Nix community has for commit messages, reviews, licensing of contributions you make to the project, etc\... Everyone should read and understand the standards the community has for contributing before submitting a pull request.
## Hotfixing pull requests {#submitting-changes-hotfixing-pull-requests}
- Make the appropriate changes in you branch.
- Dont create additional commits, do
- `git rebase -i`
- `git push --force` to your branch.
## Commit policy {#submitting-changes-commit-policy}
- Commits must be sufficiently tested before being merged, both for the master and staging branches.
- Hydra builds for master and staging should not be used as testing platform, its a build farm for changes that have been already tested.
- When changing the bootloader installation process, extra care must be taken. Grub installations cannot be rolled back, hence changes may break peoples installations forever. For any non-trivial change to the bootloader please file a PR asking for review, especially from \@edolstra.
```{.graphviz caption="Staging workflow"}
digraph {
"small changes" [shape=none]
"mass-rebuilds and other large changes" [shape=none]
"critical security fixes" [shape=none]
"broken staging-next fixes" [shape=none]
"small changes" -> master
"mass-rebuilds and other large changes" -> staging
"critical security fixes" -> master
"broken staging-next fixes" -> "staging-next"
"staging-next" -> master [color="#E85EB0"] [label="stabilization ends"] [fontcolor="#E85EB0"]
"staging" -> "staging-next" [color="#E85EB0"] [label="stabilization starts"] [fontcolor="#E85EB0"]
master -> "staging-next" -> staging [color="#5F5EE8"] [label="every six hours (GitHub Action)"] [fontcolor="#5F5EE8"]
}
```
[This GitHub Action](https://github.com/NixOS/nixpkgs/blob/master/.github/workflows/periodic-merge-6h.yml) brings changes from `master` to `staging-next` and from `staging-next` to `staging` every 6 hours; these are the blue arrows in the diagram above. The purple arrows in the diagram above are done manually and much less frequently. You can get an idea of how often these merges occur by looking at the git history.
### Master branch {#submitting-changes-master-branch}
The `master` branch is the main development branch. It should only see non-breaking commits that do not cause mass rebuilds.
### Staging branch {#submitting-changes-staging-branch}
The `staging` branch is a development branch where mass-rebuilds go. Mass rebuilds are commits that cause rebuilds for many packages, like more than 500 (or perhaps, if it's 'light' packages, 1000). It should only see non-breaking mass-rebuild commits. That means it is not to be used for testing, and changes must have been well tested already. If the branch is already in a broken state, please refrain from adding extra new breakages.
During the process of a releasing a new NixOS version, this branch or the release-critical packages can be restricted to non-breaking changes.
### Staging-next branch {#submitting-changes-staging-next-branch}
The `staging-next` branch is for stabilizing mass-rebuilds submitted to the `staging` branch prior to merging them into `master`. Mass-rebuilds must go via the `staging` branch. It must only see non-breaking commits that are fixing issues blocking it from being merged into the `master` branch.
If the branch is already in a broken state, please refrain from adding extra new breakages. Stabilize it for a few days and then merge into master.
During the process of a releasing a new NixOS version, this branch or the release-critical packages can be restricted to non-breaking changes.
### Stable release branches {#submitting-changes-stable-release-branches}
The same staging workflow applies to stable release branches, but the main branch is called `release-*` instead of `master`.
Example branch names: `release-21.11`, `staging-21.11`, `staging-next-21.11`.
Most changes added to the stable release branches are cherry-picked (“backported”) from the `master` and staging branches.
#### Automatically backporting a Pull Request {#submitting-changes-stable-release-branches-automatic-backports}
Assign label `backport <branch>` (e.g. `backport release-21.11`) to the PR and a backport PR is automatically created after the PR is merged.
#### Manually backporting changes {#submitting-changes-stable-release-branches-manual-backports}
Cherry-pick changes via `git cherry-pick -x <original commit>` so that the original commit id is included in the commit message.
Add a reason for the backport when it is not obvious from the original commit message. You can do this by cherry picking with `git cherry-pick -xe <original commit>`, which allows editing the commit message. This is not needed for minor version updates that include security and bug fixes but don't add new features or when the commit fixes an otherwise broken package.
Here is an example of a cherry-picked commit message with good reason description:
```
zfs: Keep trying root import until it works
Works around #11003.
(cherry picked from commit 98b213a11041af39b39473906b595290e2a4e2f9)
Reason: several people cannot boot with ZFS on NVMe
```
Other examples of reasons are:
- Previously the build would fail due to, e.g., `getaddrinfo` not being defined
- The previous download links were all broken
- Crash when starting on some X11 systems
#### Acceptable backport criteria
The stable branch does have some changes which cannot be backported. Most notable are breaking changes. The desire is to have stable users be uninterrupted when updating packages.
However, many changes are able to be backported, including:
- New Packages / Modules
- Security / Patch updates
- Version updates which include new functionality (but no breaking changes)
- Services which require a client to be up-to-date regardless. (E.g. `spotify`, `steam`, or `discord`)
- Security critical applications (E.g. `firefox`)

View File

@@ -1,45 +0,0 @@
# Vulnerability Roundup {#chap-vulnerability-roundup}
## Issues {#vulnerability-roundup-issues}
Vulnerable packages in Nixpkgs are managed using issues.
Currently opened ones can be found using the following:
[github.com/NixOS/nixpkgs/issues?q=is:issue+is:open+"Vulnerability+roundup"](https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+%22Vulnerability+roundup%22)
Each issue correspond to a vulnerable version of a package; As a consequence:
- One issue can contain several CVEs;
- One CVE can be shared across several issues;
- A single package can be concerned by several issues.
A "Vulnerability roundup" issue usually respects the following format:
```txt
<link to relevant package search on search.nix.gsc.io>, <link to relevant files in Nixpkgs on GitHub>
<list of related CVEs, their CVSS score, and the impacted NixOS version>
<list of the scanned Nixpkgs versions>
<list of relevant contributors>
```
Note that there can be an extra comment containing links to previously reported (and still open) issues for the same package.
## Triaging and Fixing {#vulnerability-roundup-triaging-and-fixing}
**Note**: An issue can be a "false positive" (i.e. automatically opened, but without the package it refers to being actually vulnerable).
If you find such a "false positive", comment on the issue an explanation of why it falls into this category, linking as much information as the necessary to help maintainers double check.
If you are investigating a "true positive":
- Find the earliest patched version or a code patch in the CVE details;
- Is the issue already patched (version up-to-date or patch applied manually) in Nixpkgs's `master` branch?
- **No**:
- [Submit a security fix](#submitting-changes-submitting-security-fixes);
- Once the fix is merged into `master`, [submit the change to the vulnerable release branch(es)](https://nixos.org/manual/nixpkgs/stable/#submitting-changes-stable-release-branches);
- **Yes**: [Backport the change to the vulnerable release branch(es)](https://nixos.org/manual/nixpkgs/stable/#submitting-changes-stable-release-branches).
- When the patch has made it into all the relevant branches (`master`, and the vulnerable releases), close the relevant issue(s).

468
doc/cross-compilation.xml Normal file
View File

@@ -0,0 +1,468 @@
<chapter xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xml:id="chap-cross">
<title>Cross-compilation</title>
<section xml:id="sec-cross-intro">
<title>Introduction</title>
<para>
"Cross-compilation" means compiling a program on one machine for another type
of machine. For example, a typical use of cross-compilation is to compile
programs for embedded devices. These devices often don't have the computing
power and memory to compile their own programs. One might think that
cross-compilation is a fairly niche concern. However, there are significant
advantages to rigorously distinguishing between build-time and run-time
environments! This applies even when one is developing and deploying on the
same machine. Nixpkgs is increasingly adopting the opinion that packages
should be written with cross-compilation in mind, and nixpkgs should evaluate
in a similar way (by minimizing cross-compilation-specific special cases)
whether or not one is cross-compiling.
</para>
<para>
This chapter will be organized in three parts. First, it will describe the
basics of how to package software in a way that supports cross-compilation.
Second, it will describe how to use Nixpkgs when cross-compiling. Third, it
will describe the internal infrastructure supporting cross-compilation.
</para>
</section>
<!--============================================================-->
<section xml:id="sec-cross-packaging">
<title>Packaging in a cross-friendly manner</title>
<section xml:id="sec-cross-platform-parameters">
<title>Platform parameters</title>
<para>
Nixpkgs follows the <link
xlink:href="https://gcc.gnu.org/onlinedocs/gccint/Configure-Terms.html">conventions
of GNU autoconf</link>. We distinguish between 3 types of platforms when
building a derivation: <wordasword>build</wordasword>,
<wordasword>host</wordasword>, and <wordasword>target</wordasword>. In
summary, <wordasword>build</wordasword> is the platform on which a package
is being built, <wordasword>host</wordasword> is the platform on which it
will run. The third attribute, <wordasword>target</wordasword>, is relevant
only for certain specific compilers and build tools.
</para>
<para>
In Nixpkgs, these three platforms are defined as attribute sets under the
names <literal>buildPlatform</literal>, <literal>hostPlatform</literal>,
and <literal>targetPlatform</literal>. They are always defined as
attributes in the standard environment. That means one can access them
like:
<programlisting>{ stdenv, fooDep, barDep, .. }: ...stdenv.buildPlatform...</programlisting>
.
</para>
<variablelist>
<varlistentry>
<term>
<varname>buildPlatform</varname>
</term>
<listitem>
<para>
The "build platform" is the platform on which a package is built. Once
someone has a built package, or pre-built binary package, the build
platform should not matter and can be ignored.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>hostPlatform</varname>
</term>
<listitem>
<para>
The "host platform" is the platform on which a package will be run. This
is the simplest platform to understand, but also the one with the worst
name.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>targetPlatform</varname>
</term>
<listitem>
<para>
The "target platform" attribute is, unlike the other two attributes, not
actually fundamental to the process of building software. Instead, it is
only relevant for compatibility with building certain specific compilers
and build tools. It can be safely ignored for all other packages.
</para>
<para>
The build process of certain compilers is written in such a way that the
compiler resulting from a single build can itself only produce binaries
for a single platform. The task of specifying this single "target
platform" is thus pushed to build time of the compiler. The root cause of
this that the compiler (which will be run on the host) and the standard
library/runtime (which will be run on the target) are built by a single
build process.
</para>
<para>
There is no fundamental need to think about a single target ahead of
time like this. If the tool supports modular or pluggable backends, both
the need to specify the target at build time and the constraint of
having only a single target disappear. An example of such a tool is
LLVM.
</para>
<para>
Although the existence of a "target platfom" is arguably a historical
mistake, it is a common one: examples of tools that suffer from it are
GCC, Binutils, GHC and Autoconf. Nixpkgs tries to avoid sharing in the
mistake where possible. Still, because the concept of a target platform
is so ingrained, it is best to support it as is.
</para>
</listitem>
</varlistentry>
</variablelist>
<para>
The exact schema these fields follow is a bit ill-defined due to a long and
convoluted evolution, but this is slowly being cleaned up. You can see
examples of ones used in practice in
<literal>lib.systems.examples</literal>; note how they are not all very
consistent. For now, here are few fields can count on them containing:
</para>
<variablelist>
<varlistentry>
<term>
<varname>system</varname>
</term>
<listitem>
<para>
This is a two-component shorthand for the platform. Examples of this
would be "x86_64-darwin" and "i686-linux"; see
<literal>lib.systems.doubles</literal> for more. The first component
corresponds to the CPU architecture of the platform and the second to the
operating system of the platform (<literal>[cpu]-[os]</literal>). This
format has built-in support in Nix, such as the
<varname>builtins.currentSystem</varname> impure string.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>config</varname>
</term>
<listitem>
<para>
This is a 3- or 4- component shorthand for the platform. Examples of this
would be <literal>x86_64-unknown-linux-gnu</literal> and
<literal>aarch64-apple-darwin14</literal>. This is a standard format
called the "LLVM target triple", as they are pioneered by LLVM. In the
4-part form, this corresponds to
<literal>[cpu]-[vendor]-[os]-[abi]</literal>. This format is strictly
more informative than the "Nix host double", as the previous format could
analogously be termed. This needs a better name than
<varname>config</varname>!
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>parsed</varname>
</term>
<listitem>
<para>
This is a Nix representation of a parsed LLVM target triple
with white-listed components. This can be specified directly,
or actually parsed from the <varname>config</varname>. See
<literal>lib.systems.parse</literal> for the exact
representation.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>libc</varname>
</term>
<listitem>
<para>
This is a string identifying the standard C library used. Valid
identifiers include "glibc" for GNU libc, "libSystem" for Darwin's
Libsystem, and "uclibc" for µClibc. It should probably be refactored to
use the module system, like <varname>parse</varname>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>is*</varname>
</term>
<listitem>
<para>
These predicates are defined in <literal>lib.systems.inspect</literal>,
and slapped onto every platform. They are superior to the ones in
<varname>stdenv</varname> as they force the user to be explicit about
which platform they are inspecting. Please use these instead of those.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>platform</varname>
</term>
<listitem>
<para>
This is, quite frankly, a dumping ground of ad-hoc settings (it's an
attribute set). See <literal>lib.systems.platforms</literal> for
examples—there's hopefully one in there that will work verbatim for
each platform that is working. Please help us triage these flags and
give them better homes!
</para>
</listitem>
</varlistentry>
</variablelist>
</section>
<section xml:id="sec-cross-specifying-dependencies">
<title>Specifying Dependencies</title>
<para>
In this section we explore the relationship between both runtime and
build-time dependencies and the 3 Autoconf platforms.
</para>
<para>
A runtime dependency between 2 packages implies that between them both the
host and target platforms match. This is directly implied by the meaning of
"host platform" and "runtime dependency": The package dependency exists
while both packages are running on a single host platform.
</para>
<para>
A build time dependency, however, implies a shift in platforms between the
depending package and the depended-on package. The meaning of a build time
dependency is that to build the depending package we need to be able to run
the depended-on's package. The depending package's build platform is
therefore equal to the depended-on package's host platform. Analogously,
the depending package's host platform is equal to the depended-on package's
target platform.
</para>
<para>
In this manner, given the 3 platforms for one package, we can determine the
three platforms for all its transitive dependencies. This is the most
important guiding principle behind cross-compilation with Nixpkgs, and will
be called the <wordasword>sliding window principle</wordasword>.
</para>
<para>
Some examples will make this clearer. If a package is being built with a
<literal>(build, host, target)</literal> platform triple of <literal>(foo,
bar, bar)</literal>, then its build-time dependencies would have a triple of
<literal>(foo, foo, bar)</literal>, and <emphasis>those packages'</emphasis>
build-time dependencies would have a triple of <literal>(foo, foo,
foo)</literal>. In other words, it should take two "rounds" of following
build-time dependency edges before one reaches a fixed point where, by the
sliding window principle, the platform triple no longer changes. Indeed,
this happens with cross-compilation, where only rounds of native
dependencies starting with the second necessarily coincide with native
packages.
</para>
<note>
<para>
The depending package's target platform is unconstrained by the sliding
window principle, which makes sense in that one can in principle build
cross compilers targeting arbitrary platforms.
</para>
</note>
<para>
How does this work in practice? Nixpkgs is now structured so that build-time
dependencies are taken from <varname>buildPackages</varname>, whereas
run-time dependencies are taken from the top level attribute set. For
example, <varname>buildPackages.gcc</varname> should be used at build-time,
while <varname>gcc</varname> should be used at run-time. Now, for most of
Nixpkgs's history, there was no <varname>buildPackages</varname>, and most
packages have not been refactored to use it explicitly. Instead, one can use
the six (<emphasis>gasp</emphasis>) attributes used for specifying
dependencies as documented in <xref linkend="ssec-stdenv-dependencies"/>. We
"splice" together the run-time and build-time package sets with
<varname>callPackage</varname>, and then <varname>mkDerivation</varname> for
each of four attributes pulls the right derivation out. This splicing can be
skipped when not cross-compiling as the package sets are the same, but is a
bit slow for cross-compiling. Because of this, a best-of-both-worlds
solution is in the works with no splicing or explicit access of
<varname>buildPackages</varname> needed. For now, feel free to use either
method.
</para>
<note>
<para>
There is also a "backlink" <varname>targetPackages</varname>, yielding a
package set whose <varname>buildPackages</varname> is the current package
set. This is a hack, though, to accommodate compilers with lousy build
systems. Please do not use this unless you are absolutely sure you are
packaging such a compiler and there is no other way.
</para>
</note>
</section>
<section xml:id="sec-cross-cookbook">
<title>Cross packaging cookbook</title>
<para>
Some frequently encountered problems when packaging for cross-compilation
should be answered here. Ideally, the information above is exhaustive, so
this section cannot provide any new information, but it is ludicrous and
cruel to expect everyone to spend effort working through the interaction of
many features just to figure out the same answer to the same common problem.
Feel free to add to this list!
</para>
<qandaset>
<qandaentry xml:id="cross-qa-build-c-program-in-build-environment">
<question>
<para>
What if my package's build system needs to build a C program to be run
under the build environment?
</para>
</question>
<answer>
<para>
<programlisting>depsBuildBuild = [ buildPackages.stdenv.cc ];</programlisting>
Add it to your <function>mkDerivation</function> invocation.
</para>
</answer>
</qandaentry>
<qandaentry xml:id="cross-qa-fails-to-find-ar">
<question>
<para>
My package fails to find <command>ar</command>.
</para>
</question>
<answer>
<para>
Many packages assume that an unprefixed <command>ar</command> is
available, but Nix doesn't provide one. It only provides a prefixed one,
just as it only does for all the other binutils programs. It may be
necessary to patch the package to fix the build system to use a prefixed
`ar`.
</para>
</answer>
</qandaentry>
<qandaentry xml:id="cross-testsuite-runs-host-code">
<question>
<para>
My package's testsuite needs to run host platform code.
</para>
</question>
<answer>
<para>
<programlisting>doCheck = stdenv.hostPlatform != stdenv.buildPlatfrom;</programlisting>
Add it to your <function>mkDerivation</function> invocation.
</para>
</answer>
</qandaentry>
</qandaset>
</section>
</section>
<!--============================================================-->
<section xml:id="sec-cross-usage">
<title>Cross-building packages</title>
<para>
Nixpkgs can be instantiated with <varname>localSystem</varname> alone, in
which case there is no cross-compiling and everything is built by and for
that system, or also with <varname>crossSystem</varname>, in which case
packages run on the latter, but all building happens on the former. Both
parameters take the same schema as the 3 (build, host, and target) platforms
defined in the previous section. As mentioned above,
<literal>lib.systems.examples</literal> has some platforms which are used as
arguments for these parameters in practice. You can use them
programmatically, or on the command line:
<programlisting>
nix-build &lt;nixpkgs&gt; --arg crossSystem '(import &lt;nixpkgs/lib&gt;).systems.examples.fooBarBaz' -A whatever</programlisting>
</para>
<note>
<para>
Eventually we would like to make these platform examples an unnecessary
convenience so that
<programlisting>
nix-build &lt;nixpkgs&gt; --arg crossSystem '{ config = "&lt;arch&gt;-&lt;os&gt;-&lt;vendor&gt;-&lt;abi&gt;"; }' -A whatever</programlisting>
works in the vast majority of cases. The problem today is dependencies on
other sorts of configuration which aren't given proper defaults. We rely on
the examples to crudely to set those configuration parameters in some
vaguely sane manner on the users behalf. Issue
<link xlink:href="https://github.com/NixOS/nixpkgs/issues/34274">#34274</link>
tracks this inconvenience along with its root cause in crufty configuration
options.
</para>
</note>
<para>
While one is free to pass both parameters in full, there's a lot of logic to
fill in missing fields. As discussed in the previous section, only one of
<varname>system</varname>, <varname>config</varname>, and
<varname>parsed</varname> is needed to infer the other two. Additionally,
<varname>libc</varname> will be inferred from <varname>parse</varname>.
Finally, <literal>localSystem.system</literal> is also
<emphasis>impurely</emphasis> inferred based on the platform evaluation
occurs. This means it is often not necessary to pass
<varname>localSystem</varname> at all, as in the command-line example in the
previous paragraph.
</para>
<note>
<para>
Many sources (manual, wiki, etc) probably mention passing
<varname>system</varname>, <varname>platform</varname>, along with the
optional <varname>crossSystem</varname> to nixpkgs: <literal>import
&lt;nixpkgs&gt; { system = ..; platform = ..; crossSystem = ..;
}</literal>. Passing those two instead of <varname>localSystem</varname> is
still supported for compatibility, but is discouraged. Indeed, much of the
inference we do for these parameters is motivated by compatibility as much
as convenience.
</para>
</note>
<para>
One would think that <varname>localSystem</varname> and
<varname>crossSystem</varname> overlap horribly with the three
<varname>*Platforms</varname> (<varname>buildPlatform</varname>,
<varname>hostPlatform,</varname> and <varname>targetPlatform</varname>; see
<varname>stage.nix</varname> or the manual). Actually, those identifiers are
purposefully not used here to draw a subtle but important distinction: While
the granularity of having 3 platforms is necessary to properly *build*
packages, it is overkill for specifying the user's *intent* when making a
build plan or package set. A simple "build vs deploy" dichotomy is adequate:
the sliding window principle described in the previous section shows how to
interpolate between the these two "end points" to get the 3 platform triple
for each bootstrapping stage. That means for any package a given package set,
even those not bound on the top level but only reachable via dependencies or
<varname>buildPackages</varname>, the three platforms will be defined as one
of <varname>localSystem</varname> or <varname>crossSystem</varname>, with the
former replacing the latter as one traverses build-time dependencies. A last
simple difference is that <varname>crossSystem</varname> should be null when
one doesn't want to cross-compile, while the <varname>*Platform</varname>s
are always non-null. <varname>localSystem</varname> is always non-null.
</para>
</section>
<!--============================================================-->
<section xml:id="sec-cross-infra">
<title>Cross-compilation infrastructure</title>
<para>
To be written.
</para>
<note>
<para>
If one explores Nixpkgs, they will see derivations with names like
<literal>gccCross</literal>. Such <literal>*Cross</literal> derivations is a
holdover from before we properly distinguished between the host and target
platforms—the derivation with "Cross" in the name covered the <literal>build
= host != target</literal> case, while the other covered the <literal>host =
target</literal>, with build platform the same or not based on whether one
was using its <literal>.nativeDrv</literal> or <literal>.crossDrv</literal>.
This ugliness will disappear soon.
</para>
</note>
</section>
</chapter>

View File

@@ -1,24 +1,39 @@
{ pkgs ? (import ./.. { }), nixpkgs ? { }}:
let
lib = pkgs.lib;
doc-support = import ./doc-support { inherit pkgs nixpkgs; };
locationsXml = import ./lib-function-locations.nix { inherit pkgs nixpkgs; };
functionDocs = import ./lib-function-docs.nix { inherit locationsXml pkgs; };
in pkgs.stdenv.mkDerivation {
name = "nixpkgs-manual";
nativeBuildInputs = with pkgs; [
pandoc
graphviz
libxml2
libxslt
zip
jing
xmlformat
buildInputs = with pkgs; [ pandoc libxml2 libxslt zip jing xmlformat ];
src = ./.;
# Hacking on these variables? Make sure to close and open
# nix-shell between each test, maybe even:
# $ nix-shell --run "make clean all"
# otherwise they won't reapply :)
HIGHLIGHTJS = pkgs.documentation-highlighter;
XSL = "${pkgs.docbook_xsl_ns}/xml/xsl";
RNG = "${pkgs.docbook5}/xml/rng/docbook/docbook.rng";
XMLFORMAT_CONFIG = ../nixos/doc/xmlformat.conf;
xsltFlags = lib.concatStringsSep " " [
"--param section.autolabel 1"
"--param section.label.includes.component.label 1"
"--stringparam html.stylesheet 'style.css overrides.css highlightjs/mono-blue.css'"
"--stringparam html.script './highlightjs/highlight.pack.js ./highlightjs/loader.js'"
"--param xref.with.number.and.title 1"
"--param toc.section.depth 3"
"--stringparam admon.style ''"
"--stringparam callout.graphics.extension .svg"
];
src = lib.cleanSource ./.;
postPatch = ''
ln -s ${doc-support} ./doc-support/result
rm -rf ./functions/library/locations.xml
ln -s ${locationsXml} ./functions/library/locations.xml
ln -s ${functionDocs} ./functions/library/generated
echo ${lib.version} > .version
'';
installPhase = ''
@@ -33,7 +48,4 @@ in pkgs.stdenv.mkDerivation {
echo "doc manual $dest manual.html" >> $out/nix-support/hydra-build-products
echo "doc manual $dest nixpkgs-manual.epub" >> $out/nix-support/hydra-build-products
'';
# Environment variables
PANDOC_LUA_FILTERS_DIR = "${pkgs.pandoc-lua-filters}/share/pandoc/filters";
}

View File

@@ -1,69 +0,0 @@
{ pkgs ? (import ../.. {}), nixpkgs ? { }}:
let
inherit (pkgs) lib;
inherit (lib) hasPrefix removePrefix;
locationsXml = import ./lib-function-locations.nix { inherit pkgs nixpkgs; };
functionDocs = import ./lib-function-docs.nix { inherit locationsXml pkgs; };
version = pkgs.lib.version;
epub-xsl = pkgs.writeText "epub.xsl" ''
<?xml version='1.0'?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import href="${pkgs.docbook_xsl_ns}/xml/xsl/docbook/epub/docbook.xsl" />
<xsl:import href="${./parameters.xml}"/>
</xsl:stylesheet>
'';
xhtml-xsl = pkgs.writeText "xhtml.xsl" ''
<?xml version='1.0'?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import href="${pkgs.docbook_xsl_ns}/xml/xsl/docbook/xhtml/docbook.xsl" />
<xsl:import href="${./parameters.xml}"/>
</xsl:stylesheet>
'';
# NB: This file describes the Nixpkgs manual, which happens to use module
# docs infra originally developed for NixOS.
optionsDoc = pkgs.nixosOptionsDoc {
inherit (pkgs.lib.evalModules { modules = [ ../../pkgs/top-level/config.nix ]; }) options;
documentType = "none";
transformOptions = opt:
opt // {
declarations =
map
(decl:
if hasPrefix (toString ../..) (toString decl)
then
let subpath = removePrefix "/" (removePrefix (toString ../..) (toString decl));
in { url = "https://github.com/NixOS/nixpkgs/blob/master/${subpath}"; name = subpath; }
else decl)
opt.declarations;
};
};
in pkgs.runCommand "doc-support" {}
''
mkdir result
(
cd result
ln -s ${locationsXml} ./function-locations.xml
ln -s ${functionDocs} ./function-docs
ln -s ${optionsDoc.optionsDocBook} ./config-options.docbook.xml
ln -s ${pkgs.docbook5}/xml/rng/docbook/docbook.rng ./docbook.rng
ln -s ${pkgs.docbook_xsl_ns}/xml/xsl ./xsl
ln -s ${epub-xsl} ./epub.xsl
ln -s ${xhtml-xsl} ./xhtml.xsl
ln -s ${../../nixos/doc/xmlformat.conf} ./xmlformat.conf
ln -s ${pkgs.documentation-highlighter} ./highlightjs
echo -n "${version}" > ./version
)
mv result $out
''

View File

@@ -1,15 +0,0 @@
<?xml version='1.0'?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:param name="section.autolabel" select="1" />
<xsl:param name="section.label.includes.component.label" select="1" />
<xsl:param name="html.stylesheet" select="'style.css overrides.css highlightjs/mono-blue.css'" />
<xsl:param name="html.script" select="'./highlightjs/highlight.pack.js ./highlightjs/loader.js'" />
<xsl:param name="xref.with.number.and.title" select="1" />
<xsl:param name="use.id.as.filename" select="1" />
<xsl:param name="toc.section.depth" select="0" />
<xsl:param name="admon.style" select="''" />
<xsl:param name="callout.graphics.extension" select="'.svg'" />
<xsl:param name="generate.consistent.ids" select="1" />
</xsl:stylesheet>

View File

@@ -4,11 +4,19 @@
xml:id="chap-functions">
<title>Functions reference</title>
<para>
The nixpkgs repository has several utility functions to manipulate Nix expressions.
The nixpkgs repository has several utility functions to manipulate Nix
expressions.
</para>
<xi:include href="functions/library.xml" />
<xi:include href="functions/generators.section.xml" />
<xi:include href="functions/debug.section.xml" />
<xi:include href="functions/prefer-remote-fetch.section.xml" />
<xi:include href="functions/nix-gitignore.section.xml" />
<xi:include href="functions/overrides.xml" />
<xi:include href="functions/generators.xml" />
<xi:include href="functions/debug.xml" />
<xi:include href="functions/fetchers.xml" />
<xi:include href="functions/trivial-builders.xml" />
<xi:include href="functions/fhs-environments.xml" />
<xi:include href="functions/shell.xml" />
<xi:include href="functions/dockertools.xml" />
<xi:include href="functions/appimagetools.xml" />
<xi:include href="functions/prefer-remote-fetch.xml" />
<xi:include href="functions/nix-gitignore.xml" />
</chapter>

View File

@@ -0,0 +1,121 @@
<section xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="sec-pkgs-appimageTools">
<title>pkgs.appimageTools</title>
<para>
<varname>pkgs.appimageTools</varname> is a set of functions for extracting and wrapping
<link xlink:href="https://appimage.org/">AppImage</link> files.
They are meant to be used if traditional packaging from source is infeasible, or it would take too long.
To quickly run an AppImage file, <literal>pkgs.appimage-run</literal> can be used as well.
</para>
<warning>
<para>
The <varname>appimageTools</varname> API is unstable and may be subject to
backwards-incompatible changes in the future.
</para>
</warning>
<section xml:id="ssec-pkgs-appimageTools-formats">
<title>AppImage formats</title>
<para>
There are different formats for AppImages, see
<link xlink:href="https://github.com/AppImage/AppImageSpec/blob/74ad9ca2f94bf864a4a0dac1f369dd4f00bd1c28/draft.md#image-format">the specification</link> for details.
</para>
<itemizedlist>
<listitem>
<para>
Type 1 images are ISO 9660 files that are also ELF executables.
</para>
</listitem>
<listitem>
<para>
Type 2 images are ELF executables with an appended filesystem.
</para>
</listitem>
</itemizedlist>
<para>
They can be told apart with <command>file -k</command>:
</para>
<screen>
<prompt>$ </prompt>file -k type1.AppImage
type1.AppImage: ELF 64-bit LSB executable, x86-64, version 1 (SYSV) ISO 9660 CD-ROM filesystem data 'AppImage' (Lepton 3.x), scale 0-0,
spot sensor temperature 0.000000, unit celsius, color scheme 0, calibration: offset 0.000000, slope 0.000000, dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.18, BuildID[sha1]=d629f6099d2344ad82818172add1d38c5e11bc6d, stripped\012- data
<prompt>$ </prompt>file -k type2.AppImage
type2.AppImage: ELF 64-bit LSB executable, x86-64, version 1 (SYSV) (Lepton 3.x), scale 232-60668, spot sensor temperature -4.187500, color scheme 15, show scale bar, calibration: offset -0.000000, slope 0.000000 (Lepton 2.x), scale 4111-45000, spot sensor temperature 412442.250000, color scheme 3, minimum point enabled, calibration: offset -75402534979642766821519867692934234112.000000, slope 5815371847733706829839455140374904832.000000, dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.18, BuildID[sha1]=79dcc4e55a61c293c5e19edbd8d65b202842579f, stripped\012- data
</screen>
<para>
Note how the type 1 AppImage is described as an <literal>ISO 9660 CD-ROM filesystem</literal>, and the type 2 AppImage is not.
</para>
</section>
<section xml:id="ssec-pkgs-appimageTools-wrapping">
<title>Wrapping</title>
<para>
Depending on the type of AppImage you're wrapping, you'll have to use
<varname>wrapType1</varname> or <varname>wrapType2</varname>.
</para>
<programlisting>
appimageTools.wrapType2 { # or wrapType1
name = "patchwork"; <co xml:id='ex-appimageTools-wrapping-1' />
src = fetchurl { <co xml:id='ex-appimageTools-wrapping-2' />
url = https://github.com/ssbc/patchwork/releases/download/v3.11.4/Patchwork-3.11.4-linux-x86_64.AppImage;
sha256 = "1blsprpkvm0ws9b96gb36f0rbf8f5jgmw4x6dsb1kswr4ysf591s";
};
extraPkgs = pkgs: with pkgs; [ ]; <co xml:id='ex-appimageTools-wrapping-3' />
}</programlisting>
<calloutlist>
<callout arearefs='ex-appimageTools-wrapping-1'>
<para>
<varname>name</varname> specifies the name of the resulting image.
</para>
</callout>
<callout arearefs='ex-appimageTools-wrapping-2'>
<para>
<varname>src</varname> specifies the AppImage file to extract.
</para>
</callout>
<callout arearefs='ex-appimageTools-wrapping-2'>
<para>
<varname>extraPkgs</varname> allows you to pass a function to include additional packages
inside the FHS environment your AppImage is going to run in.
There are a few ways to learn which dependencies an application needs:
<itemizedlist>
<listitem>
<para>
Looking through the extracted AppImage files, reading its scripts and running <command>patchelf</command> and <command>ldd</command> on its executables.
This can also be done in <command>appimage-run</command>, by setting <command>APPIMAGE_DEBUG_EXEC=bash</command>.
</para>
</listitem>
<listitem>
<para>
Running <command>strace -vfefile</command> on the wrapped executable, looking for libraries that can't be found.
</para>
</listitem>
</itemizedlist>
</para>
</callout>
</calloutlist>
</section>
</section>

View File

@@ -1,5 +0,0 @@
# Debugging Nix Expressions {#sec-debug}
Nix is a unityped, dynamic language, this means every value can potentially appear anywhere. Since it is also non-strict, evaluation order and what ultimately is evaluated might surprise you. Therefore it is important to be able to debug nix expressions.
In the `lib/debug.nix` file you will find a number of functions that help (pretty-)printing values while evaluation is running. You can even specify how deep these values should be printed recursively, and transform them on the fly. Please consult the docstrings in `lib/debug.nix` for usage information.

21
doc/functions/debug.xml Normal file
View File

@@ -0,0 +1,21 @@
<section xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="sec-debug">
<title>Debugging Nix Expressions</title>
<para>
Nix is a unityped, dynamic language, this means every value can potentially
appear anywhere. Since it is also non-strict, evaluation order and what
ultimately is evaluated might surprise you. Therefore it is important to be
able to debug nix expressions.
</para>
<para>
In the <literal>lib/debug.nix</literal> file you will find a number of
functions that help (pretty-)printing values while evaluation is runnnig. You
can even specify how deep these values should be printed recursively, and
transform them on the fly. Please consult the docstrings in
<literal>lib/debug.nix</literal> for usage information.
</para>
</section>

View File

@@ -0,0 +1,564 @@
<section xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="sec-pkgs-dockerTools">
<title>pkgs.dockerTools</title>
<para>
<varname>pkgs.dockerTools</varname> is a set of functions for creating and
manipulating Docker images according to the
<link xlink:href="https://github.com/moby/moby/blob/master/image/spec/v1.2.md#docker-image-specification-v120">
Docker Image Specification v1.2.0 </link>. Docker itself is not used to
perform any of the operations done by these functions.
</para>
<warning>
<para>
The <varname>dockerTools</varname> API is unstable and may be subject to
backwards-incompatible changes in the future.
</para>
</warning>
<section xml:id="ssec-pkgs-dockerTools-buildImage">
<title>buildImage</title>
<para>
This function is analogous to the <command>docker build</command> command,
in that it can be used to build a Docker-compatible repository tarball containing
a single image with one or multiple layers. As such, the result is suitable
for being loaded in Docker with <command>docker load</command>.
</para>
<para>
The parameters of <varname>buildImage</varname> with relative example values
are described below:
</para>
<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' />
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' />
#!${pkgs.runtimeShell}
mkdir -p /data
'';
config = { <co xml:id='ex-dockerTools-buildImage-8' />
Cmd = [ "/bin/redis-server" ];
WorkingDir = "/data";
Volumes = {
"/data" = {};
};
};
}
</programlisting>
</example>
<para>
The above example will build a Docker image <literal>redis/latest</literal>
from the given base image. Loading and running this image in Docker results
in <literal>redis-server</literal> being started automatically.
</para>
<calloutlist>
<callout arearefs='ex-dockerTools-buildImage-1'>
<para>
<varname>name</varname> specifies the name of the resulting image. This is
the only required argument for <varname>buildImage</varname>.
</para>
</callout>
<callout arearefs='ex-dockerTools-buildImage-2'>
<para>
<varname>tag</varname> specifies the tag of the resulting image. By
default it's <literal>null</literal>, which indicates that the nix output
hash will be used as tag.
</para>
</callout>
<callout arearefs='ex-dockerTools-buildImage-3'>
<para>
<varname>fromImage</varname> is the repository tarball containing the base
image. It must be a valid Docker image, such as exported by
<command>docker save</command>. By default it's <literal>null</literal>,
which can be seen as equivalent to <literal>FROM scratch</literal> of a
<filename>Dockerfile</filename>.
</para>
</callout>
<callout arearefs='ex-dockerTools-buildImage-4'>
<para>
<varname>fromImageName</varname> can be used to further specify the base
image within the repository, in case it contains multiple images. By
default it's <literal>null</literal>, in which case
<varname>buildImage</varname> will peek the first image available in the
repository.
</para>
</callout>
<callout arearefs='ex-dockerTools-buildImage-5'>
<para>
<varname>fromImageTag</varname> can be used to further specify the tag of
the base image within the repository, in case an image contains multiple
tags. By default it's <literal>null</literal>, in which case
<varname>buildImage</varname> will peek the first tag available for the
base image.
</para>
</callout>
<callout arearefs='ex-dockerTools-buildImage-6'>
<para>
<varname>contents</varname> is a derivation that will be copied in the new
layer of the resulting image. This can be similarly seen as <command>ADD
contents/ /</command> in a <filename>Dockerfile</filename>. By default
it's <literal>null</literal>.
</para>
</callout>
<callout arearefs='ex-dockerTools-buildImage-runAsRoot'>
<para>
<varname>runAsRoot</varname> is a bash script that will run as root in an
environment that overlays the existing layers of the base image with the
new resulting layer, including the previously copied
<varname>contents</varname> derivation. This can be similarly seen as
<command>RUN ...</command> in a <filename>Dockerfile</filename>.
<note>
<para>
Using this parameter requires the <literal>kvm</literal> device to be
available.
</para>
</note>
</para>
</callout>
<callout arearefs='ex-dockerTools-buildImage-8'>
<para>
<varname>config</varname> is used to specify the configuration of the
containers that will be started off the built image in Docker. The
available options are listed 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>
</callout>
</calloutlist>
<para>
After the new layer has been created, its closure (to which
<varname>contents</varname>, <varname>config</varname> and
<varname>runAsRoot</varname> contribute) will be copied in the layer itself.
Only new dependencies that are not already in the existing layers will be
copied.
</para>
<para>
At the end of the process, only one new single layer will be produced and
added to the resulting image.
</para>
<para>
The resulting repository will only list the single image
<varname>image/tag</varname>. In the case of
<xref linkend='ex-dockerTools-buildImage'/> it would be
<varname>redis/latest</varname>.
</para>
<para>
It is possible to inspect the arguments with which an image was built using
its <varname>buildArgs</varname> attribute.
</para>
<note>
<para>
If you see errors similar to <literal>getProtocolByName: does not exist (no
such protocol name: tcp)</literal> you may need to add
<literal>pkgs.iana-etc</literal> to <varname>contents</varname>.
</para>
</note>
<note>
<para>
If you see errors similar to <literal>Error_Protocol ("certificate has
unknown CA",True,UnknownCa)</literal> you may need to add
<literal>pkgs.cacert</literal> to <varname>contents</varname>.
</para>
</note>
<example xml:id="example-pkgs-dockerTools-buildImage-creation-date">
<title>Impurely Defining a Docker Layer's Creation Date</title>
<para>
By default <function>buildImage</function> will use a static date of one
second past the UNIX Epoch. This allows <function>buildImage</function> to
produce binary reproducible images. When listing images with
<command>docker images</command>, the newly created images will be
listed like this:
</para>
<screen><![CDATA[
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
hello latest 08c791c7846e 48 years ago 25.2MB
]]></screen>
<para>
You can break binary reproducibility but have a sorted, meaningful
<literal>CREATED</literal> column by setting <literal>created</literal> to
<literal>now</literal>.
</para>
<programlisting><![CDATA[
pkgs.dockerTools.buildImage {
name = "hello";
tag = "latest";
created = "now";
contents = pkgs.hello;
config.Cmd = [ "/bin/hello" ];
}
]]></programlisting>
<para>
and now the Docker CLI will display a reasonable date and sort the images
as expected:
<screen><![CDATA[
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
hello latest de2bf4786de6 About a minute ago 25.2MB
]]></screen>
however, the produced images will not be binary reproducible.
</para>
</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>
<para>
This function is analogous to the <command>docker pull</command> command, in
that it can be used to pull a Docker image from a Docker registry. By default
<link xlink:href="https://hub.docker.com/">Docker Hub</link> is used to pull
images.
</para>
<para>
Its parameters are described in the example below:
</para>
<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>
</example>
<calloutlist>
<callout arearefs='ex-dockerTools-pullImage-1'>
<para>
<varname>imageName</varname> specifies the name of the image to be
downloaded, which can also include the registry namespace (e.g.
<literal>nixos</literal>). This argument is required.
</para>
</callout>
<callout arearefs='ex-dockerTools-pullImage-2'>
<para>
<varname>imageDigest</varname> specifies the digest of the image to be
downloaded. Skopeo can be used to get the digest of an image, with its
<varname>inspect</varname> subcommand. Since a given
<varname>imageName</varname> may transparently refer to a manifest list of
images which support multiple architectures and/or operating systems,
supply the `--override-os` and `--override-arch` arguments to specify
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>
This argument is required.
</para>
</callout>
<callout arearefs='ex-dockerTools-pullImage-3'>
<para>
<varname>finalImageTag</varname>, if specified, this is the tag of the
image to be created. Note it is never used to fetch the image since we
prefer to rely on the immutable digest ID. By default it's
<literal>latest</literal>.
</para>
</callout>
<callout arearefs='ex-dockerTools-pullImage-4'>
<para>
<varname>sha256</varname> is the checksum of the whole fetched image. This
argument is required.
</para>
</callout>
<callout arearefs='ex-dockerTools-pullImage-5'>
<para>
<varname>os</varname>, if specified, is the operating system of the
fetched image. By default it's <literal>linux</literal>.
</para>
</callout>
<callout arearefs='ex-dockerTools-pullImage-6'>
<para>
<varname>arch</varname>, if specified, is the cpu architecture of the
fetched image. By default it's <literal>x86_64</literal>.
</para>
</callout>
</calloutlist>
</section>
<section xml:id="ssec-pkgs-dockerTools-exportImage">
<title>exportImage</title>
<para>
This function is analogous to the <command>docker export</command> command,
in that it can be used to flatten a Docker image that contains multiple layers. It
is in fact the result of the merge of all the layers of the image. As such,
the result is suitable for being imported in Docker with <command>docker
import</command>.
</para>
<note>
<para>
Using this function requires the <literal>kvm</literal> device to be
available.
</para>
</note>
<para>
The parameters of <varname>exportImage</varname> are the following:
</para>
<example xml:id='ex-dockerTools-exportImage'>
<title>Docker export</title>
<programlisting>
exportImage {
fromImage = someLayeredImage;
fromImageName = null;
fromImageTag = null;
name = someLayeredImage.name;
}
</programlisting>
</example>
<para>
The parameters relative to the base image have the same synopsis as
described in <xref linkend='ssec-pkgs-dockerTools-buildImage'/>, except that
<varname>fromImage</varname> is the only required argument in this case.
</para>
<para>
The <varname>name</varname> argument is the name of the derivation output,
which defaults to <varname>fromImage.name</varname>.
</para>
</section>
<section xml:id="ssec-pkgs-dockerTools-shadowSetup">
<title>shadowSetup</title>
<para>
This constant string is a helper for setting up the base files for managing
users and groups, only if such files don't exist already. It is suitable for
being used in a <varname>runAsRoot</varname>
<xref linkend='ex-dockerTools-buildImage-runAsRoot'/> script for cases like
in the example below:
</para>
<example xml:id='ex-dockerTools-shadowSetup'>
<title>Shadow base files</title>
<programlisting>
buildImage {
name = "shadow-basic";
runAsRoot = ''
#!${pkgs.runtimeShell}
${shadowSetup}
groupadd -r redis
useradd -r -g redis redis
mkdir /data
chown redis:redis /data
'';
}
</programlisting>
</example>
<para>
Creating base files like <literal>/etc/passwd</literal> or
<literal>/etc/login.defs</literal> is necessary for shadow-utils to
manipulate users and groups.
</para>
</section>
</section>

206
doc/functions/fetchers.xml Normal file
View File

@@ -0,0 +1,206 @@
<section xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="sec-pkgs-fetchers">
<title>Fetcher functions</title>
<para>
When using Nix, you will frequently need to download source code
and other files from the internet. Nixpkgs comes with a few helper
functions that allow you to fetch fixed-output derivations in a
structured way.
</para>
<para>
The two fetcher primitives are <function>fetchurl</function> and
<function>fetchzip</function>. Both of these have two required
arguments, a URL and a hash. The hash is typically
<literal>sha256</literal>, although many more hash algorithms are
supported. Nixpkgs contributors are currently recommended to use
<literal>sha256</literal>. This hash will be used by Nix to
identify your source. A typical usage of fetchurl is provided
below.
</para>
<programlisting><![CDATA[
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "hello";
src = fetchurl {
url = "http://www.example.org/hello.tar.gz";
sha256 = "1111111111111111111111111111111111111111111111111111";
};
}
]]></programlisting>
<para>
The main difference between <function>fetchurl</function> and
<function>fetchzip</function> is in how they store the contents.
<function>fetchurl</function> will store the unaltered contents of
the URL within the Nix store. <function>fetchzip</function> on the
other hand will decompress the archive for you, making files and
directories directly accessible in the future.
<function>fetchzip</function> can only be used with archives.
Despite the name, <function>fetchzip</function> is not limited to
.zip files and can also be used with any tarball.
</para>
<para>
<function>fetchpatch</function> works very similarly to
<function>fetchurl</function> with the same arguments expected. It
expects patch files as a source and and performs normalization on
them before computing the checksum. For example it will remove
comments or other unstable parts that are sometimes added by
version control systems and can change over time.
</para>
<para>
Other fetcher functions allow you to add source code directly from
a VCS such as subversion or git. These are mostly straightforward
names based on the name of the command used with the VCS system.
Because they give you a working repository, they act most like
<function>fetchzip</function>.
</para>
<variablelist>
<varlistentry>
<term>
<literal>fetchsvn</literal>
</term>
<listitem>
<para>
Used with Subversion. Expects <literal>url</literal> to a
Subversion directory, <literal>rev</literal>, and
<literal>sha256</literal>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<literal>fetchgit</literal>
</term>
<listitem>
<para>
Used with Git. Expects <literal>url</literal> to a Git repo,
<literal>rev</literal>, and <literal>sha256</literal>.
<literal>rev</literal> in this case can be full the git commit
id (SHA1 hash) or a tag name like
<literal>refs/tags/v1.0</literal>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<literal>fetchfossil</literal>
</term>
<listitem>
<para>
Used with Fossil. Expects <literal>url</literal> to a Fossil
archive, <literal>rev</literal>, and <literal>sha256</literal>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<literal>fetchcvs</literal>
</term>
<listitem>
<para>
Used with CVS. Expects <literal>cvsRoot</literal>,
<literal>tag</literal>, and <literal>sha256</literal>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<literal>fetchhg</literal>
</term>
<listitem>
<para>
Used with Mercurial. Expects <literal>url</literal>,
<literal>rev</literal>, and <literal>sha256</literal>.
</para>
</listitem>
</varlistentry>
</variablelist>
<para>
A number of fetcher functions wrap part of
<function>fetchurl</function> and <function>fetchzip</function>.
They are mainly convenience functions intended for commonly used
destinations of source code in Nixpkgs. These wrapper fetchers are
listed below.
</para>
<variablelist>
<varlistentry>
<term>
<literal>fetchFromGitHub</literal>
</term>
<listitem>
<para>
<function>fetchFromGitHub</function> expects four arguments.
<literal>owner</literal> is a string corresponding to the
GitHub user or organization that controls this repository.
<literal>repo</literal> corresponds to the name of the
software repository. These are located at the top of every
GitHub HTML page as
<literal>owner</literal>/<literal>repo</literal>.
<literal>rev</literal> corresponds to the Git commit hash or
tag (e.g <literal>v1.0</literal>) that will be downloaded from
Git. Finally, <literal>sha256</literal> corresponds to the
hash of the extracted directory. Again, other hash algorithms
are also available but <literal>sha256</literal> is currently
preferred.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<literal>fetchFromGitLab</literal>
</term>
<listitem>
<para>
This is used with GitLab repositories. The arguments expected
are very similar to fetchFromGitHub above.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<literal>fetchFromBitbucket</literal>
</term>
<listitem>
<para>
This is used with BitBucket repositories. The arguments expected
are very similar to fetchFromGitHub above.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<literal>fetchFromSavannah</literal>
</term>
<listitem>
<para>
This is used with Savannah repositories. The arguments expected
are very similar to fetchFromGitHub above.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<literal>fetchFromRepoOrCz</literal>
</term>
<listitem>
<para>
This is used with repo.or.cz repositories. The arguments
expected are very similar to fetchFromGitHub above.
</para>
</listitem>
</varlistentry>
</variablelist>
</section>

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