Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 333a6646a8b9
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c77e4de58e2a
Choose a head ref

Commits on Jul 16, 2018

  1. tryton: 4.8.2 -> 4.8.3

    udono committed Jul 16, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    815319e View commit details
  2. trytond: 4.8.1 -> 4.8.2

    udono committed Jul 16, 2018
    Copy the full SHA
    23002dd View commit details
  3. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    infinisil Silvan Mosberger
    Copy the full SHA
    5ac7334 View commit details

Commits on Jul 17, 2018

  1. Copy the full SHA
    206e271 View commit details

Commits on Jul 19, 2018

  1. Copy the full SHA
    030cbaf View commit details

Commits on Jul 22, 2018

  1. pakcs: 1.14.0 -> 2.0.2

    gnidorah committed Jul 22, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    0186ec7 View commit details

Commits on Jul 29, 2018

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4f6df27 View commit details
  2. php: drop 5.6 and 7.0

    Both 5.6 and 7.0 is currently on life support, as in only recieving
    security related patches.
    
    This will only continue until:
     - 2018-12-31 for PHP 5.6
     - 2018-12-01 for PHP 7.0
    
    Both these dates are in the middle of the 18.09 lifecycle. So it would
    be nice to not have them in the 18.09 stable release. Dropping them
    now would also result in less maintanance in updating them.
    
    The death dates can be seen on both these links:
     - https://secure.php.net/supported-versions.php
     - https://en.wikipedia.org/wiki/PHP#Release_history
    etu committed Jul 29, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7e6b76f View commit details

Commits on Jul 30, 2018

  1. Copy the full SHA
    ae669ad View commit details
  2. bitcoin: 0.16.1 -> 0.16.2

    roconnor committed Jul 30, 2018
    Copy the full SHA
    75d567e View commit details
  3. Copy the full SHA
    0364a58 View commit details
  4. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    311d32f View commit details
  5. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9c37672 View commit details
  6. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4afacff View commit details
  7. Copy the full SHA
    126f205 View commit details
  8. Copy the full SHA
    7bd3ca4 View commit details

Commits on Jul 31, 2018

  1. gnome-builder: enable docs, fix typos.

    I also tried turning on the tests, but they don't work and I don't
    understand why not.
    jameysharp committed Jul 31, 2018

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    6ae9723 View commit details
  2. Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    e32a5da View commit details
  3. Copy the full SHA
    3a64f57 View commit details
  4. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d4bf592 View commit details
  5. python.pkgs.python-jose: 2.0.2 -> 3.0.0

    Robert Schütz committed Jul 31, 2018

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    a6d3577 View commit details
  6. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    76c7cc0 View commit details
  7. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7bc2778 View commit details
  8. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d817ccb View commit details
  9. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d1ae60c View commit details
  10. Copy the full SHA
    1840865 View commit details
  11. Copy the full SHA
    c5d8e70 View commit details
  12. Copy the full SHA
    30e535a View commit details
  13. Copy the full SHA
    8248207 View commit details
  14. gnome3.eog: 3.28.2 → 3.28.3

    jtojnar committed Jul 31, 2018
    Copy the full SHA
    5644add View commit details
  15. Copy the full SHA
    ca565a3 View commit details
  16. Copy the full SHA
    c4f1123 View commit details
  17. Copy the full SHA
    d15f2f0 View commit details
  18. Copy the full SHA
    11845d6 View commit details
  19. gnome3.grilo: 0.3.4 → 0.3.6

    jtojnar committed Jul 31, 2018
    Copy the full SHA
    a0cecbf View commit details
  20. Copy the full SHA
    c1c9119 View commit details
  21. Copy the full SHA
    f91dd5a View commit details
  22. libdazzle: 3.28.3 → 3.28.5

    jtojnar committed Jul 31, 2018
    Copy the full SHA
    87c9551 View commit details
  23. memo: 0.4 -> 0.5 (#44273)

    mrVanDalo authored and xeji committed Jul 31, 2018
    Copy the full SHA
    696b426 View commit details
  24. camlp4: init at 4.07+1 (#44272)

    vbgl authored and xeji committed Jul 31, 2018
    Copy the full SHA
    63b5843 View commit details
  25. Copy the full SHA
    f594caa View commit details
  26. argyllcms: 2.0.0 -> 2.0.1 (#43790)

    Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/argyllcms/versions.
    r-ryantm authored and xeji committed Jul 31, 2018
    Copy the full SHA
    39566d3 View commit details
  27. capitaine-cursors: init at r2.1 (#44208)

    eadwu authored and xeji committed Jul 31, 2018
    Copy the full SHA
    bb0cb24 View commit details
  28. mustache-go: init at 1.0.1 (#44175)

    Zimmi48 authored and xeji committed Jul 31, 2018
    Copy the full SHA
    fd03ba8 View commit details
  29. liblinear: init at 2.20 (#44178)

    Since building liblinear is very similar to libsvm, this expression
    is largely based on libsvm.
    Daniël de Kok authored and xeji committed Jul 31, 2018
    Copy the full SHA
    e8d6cea View commit details
  30. Copy the full SHA
    0f70e78 View commit details
  31. Copy the full SHA
    b92d6d5 View commit details
  32. Copy the full SHA
    115c963 View commit details
  33. glusterfs: 3.12.4 -> 3.12.12

    bachp committed Jul 31, 2018
    Copy the full SHA
    3c7d0da View commit details
  34. Merge pull request #44277 from bachp/minio-update

    Minio update
    Mic92 authored Jul 31, 2018
    Copy the full SHA
    e15d998 View commit details
Showing with 4,392 additions and 957 deletions.
  1. +1 −0 README.md
  2. +32 −0 doc/platform-notes.xml
  3. +15 −0 maintainers/maintainer-list.nix
  4. +6 −1 nixos/doc/manual/release-notes/rl-1809.xml
  5. +1 −0 nixos/modules/module-list.nix
  6. +1 −0 nixos/modules/services/backup/restic.nix
  7. +2 −0 nixos/modules/services/cluster/kubernetes/default.nix
  8. +5 −5 nixos/modules/services/misc/nix-daemon.nix
  9. +7 −7 nixos/modules/services/monitoring/graphite.nix
  10. +99 −0 nixos/modules/services/networking/ocserv.nix
  11. +5 −0 nixos/tests/containers-imperative.nix
  12. +4 −1 nixos/tests/graphite.nix
  13. +2 −2 pkgs/applications/altcoins/bitcoin.nix
  14. +23 −6 pkgs/applications/editors/android-studio/common.nix
  15. +12 −33 pkgs/applications/editors/android-studio/default.nix
  16. +12 −8 pkgs/applications/editors/atom/default.nix
  17. +155 −0 pkgs/applications/editors/gnome-builder/default.nix
  18. +10 −12 pkgs/applications/misc/1password/default.nix
  19. +2 −0 pkgs/applications/misc/doing/Gemfile
  20. +25 −0 pkgs/applications/misc/doing/Gemfile.lock
  21. +25 −0 pkgs/applications/misc/doing/default.nix
  22. +60 −0 pkgs/applications/misc/doing/gemset.nix
  23. +4 −2 pkgs/applications/misc/hugo/default.nix
  24. +84 −30 pkgs/applications/misc/hugo/deps.nix
  25. +1 −1 pkgs/applications/misc/masterpdfeditor/default.nix
  26. +5 −4 pkgs/applications/misc/memo/default.nix
  27. +29 −42 pkgs/applications/misc/termite/default.nix
  28. +15 −0 pkgs/applications/misc/termite/wrapper.nix
  29. +2 −4 pkgs/applications/misc/xca/default.nix
  30. +71 −0 pkgs/applications/networking/instant-messengers/gitter/default.nix
  31. +2 −2 pkgs/applications/office/tryton/default.nix
  32. +2 −2 pkgs/applications/office/trytond/default.nix
  33. +26 −0 pkgs/applications/science/biology/somatic-sniper/default.nix
  34. +26 −0 pkgs/applications/science/biology/somatic-sniper/somatic-sniper.patch
  35. +72 −0 pkgs/applications/science/chemistry/openmolcas/default.nix
  36. +149 −0 pkgs/applications/version-management/bazaar/CVE-2017-14176.patch
  37. +1 −6 pkgs/applications/version-management/bazaar/default.nix
  38. +1 −1 pkgs/applications/version-management/monotone/default.nix
  39. +66 −0 pkgs/applications/version-management/monotone/monotone-1.1-Adapt-to-changes-in-pcre-8.42.patch
  40. +8 −16 pkgs/applications/version-management/reposurgeon/default.nix
  41. +12 −0 pkgs/applications/version-management/reposurgeon/fix-makefile.patch
  42. +0 −12 pkgs/applications/version-management/reposurgeon/fix-preserve-type.patch
  43. +3 −0 pkgs/applications/video/mpv/default.nix
  44. +26 −0 pkgs/data/fonts/ia-writer-duospace/default.nix
  45. +40 −0 pkgs/data/fonts/inriafonts/default.nix
  46. +2 −2 pkgs/data/fonts/sarasa-gothic/default.nix
  47. +45 −0 pkgs/data/icons/capitaine-cursors/default.nix
  48. +2 −2 pkgs/desktops/gnome-3/apps/evolution/default.nix
  49. +2 −2 pkgs/desktops/gnome-3/apps/file-roller/default.nix
  50. +2 −2 pkgs/desktops/gnome-3/apps/polari/default.nix
  51. +2 −2 pkgs/desktops/gnome-3/core/eog/default.nix
  52. +2 −2 pkgs/desktops/gnome-3/core/evolution-data-server/default.nix
  53. +2 −2 pkgs/desktops/gnome-3/core/gnome-bluetooth/default.nix
  54. +2 −2 pkgs/desktops/gnome-3/core/gnome-shell/default.nix
  55. +2 −2 pkgs/desktops/gnome-3/core/grilo-plugins/default.nix
  56. +2 −2 pkgs/desktops/gnome-3/core/grilo/default.nix
  57. +2 −2 pkgs/desktops/gnome-3/core/mutter/default.nix
  58. +2 −2 pkgs/desktops/gnome-3/core/totem/default.nix
  59. +1 −1 pkgs/desktops/plasma-5/plasma-nm/0001-mobile-broadband-provider-info-path.patch
  60. +1 −1 pkgs/desktops/plasma-5/plasma-nm/default.nix
  61. +16 −1 pkgs/desktops/xfce4-13/default.nix
  62. +11 −0 pkgs/desktops/xfce4-13/xfce4-clipman-plugin/default.nix
  63. +10 −0 pkgs/desktops/xfce4-13/xfce4-cpufreq-plugin/default.nix
  64. +11 −0 pkgs/desktops/xfce4-13/xfce4-netload-plugin/default.nix
  65. +4 −1 pkgs/desktops/xfce4-13/xfce4-panel/default.nix
  66. +19 −0 pkgs/desktops/xfce4-13/xfce4-pulseaudio-plugin/default.nix
  67. +27 −0 pkgs/desktops/xfce4-13/xfce4-session/default.nix
  68. +18 −0 pkgs/desktops/xfce4-13/xfce4-whiskermenu-plugin/default.nix
  69. +11 −0 pkgs/desktops/xfce4-13/xfce4-xkb-plugin/default.nix
  70. +2 −2 pkgs/development/compilers/edk2/default.nix
  71. +64 −0 pkgs/development/compilers/halide/default.nix
  72. +55 −0 pkgs/development/compilers/halide/nix.patch
  73. +2 −1 pkgs/development/compilers/llvm/5/llvm.nix
  74. +2 −1 pkgs/development/compilers/llvm/6/llvm.nix
  75. +0 −21 pkgs/development/compilers/pakcs/adjust-buildsystem.patch
  76. +0 −19 pkgs/development/compilers/pakcs/case-insensitive.patch
  77. +16 −0 pkgs/development/compilers/pakcs/curry-base.nix
  78. +24 −0 pkgs/development/compilers/pakcs/curry-frontend.nix
  79. +50 −117 pkgs/development/compilers/pakcs/default.nix
  80. +3 −0 pkgs/development/haskell-modules/configuration-common.nix
  81. +1 −1 pkgs/development/idris-modules/graphviz.nix
  82. +4 −15 pkgs/development/interpreters/php/default.nix
  83. +0 −68 pkgs/development/interpreters/php/fix-paths.patch
  84. +2 −2 pkgs/development/interpreters/python/cpython/3.4/default.nix
  85. +2 −2 pkgs/development/interpreters/python/cpython/3.5/default.nix
  86. +2 −2 pkgs/development/interpreters/python/pypy/2.7/default.nix
  87. +5 −3 pkgs/development/libraries/ffmpeg-full/default.nix
  88. +2 −2 pkgs/development/libraries/ffmpeg/3.4.nix
  89. +2 −2 pkgs/development/libraries/ffmpeg/4.nix
  90. +1 −0 pkgs/development/libraries/flatpak/default.nix
  91. +48 −0 pkgs/development/libraries/flatpak/use-flatpak-from-path.patch
  92. +42 −0 pkgs/development/libraries/globalarrays/default.nix
  93. +2 −2 pkgs/development/libraries/libdazzle/default.nix
  94. +39 −0 pkgs/development/libraries/liblinear/default.nix
  95. +2 −13 pkgs/development/libraries/libtorrent-rasterbar/default.nix
  96. +1 −0 pkgs/development/libraries/opencollada/default.nix
  97. +35 −0 pkgs/development/libraries/pybind11/default.nix
  98. +42 −1 pkgs/development/libraries/unixODBCDrivers/default.nix
  99. +2 −1 pkgs/development/ocaml-modules/janestreet/default.nix
  100. +6 −4 pkgs/development/ocaml-modules/lambda-term/default.nix
  101. +2 −2 pkgs/development/ocaml-modules/uucp/default.nix
  102. +3 −2 pkgs/development/ocaml-modules/uunf/default.nix
  103. +2 −2 pkgs/development/ocaml-modules/uuseg/default.nix
  104. +24 −0 pkgs/development/python-modules/carbon/default.nix
  105. +32 −0 pkgs/development/python-modules/fastpair/default.nix
  106. +3 −1 pkgs/development/python-modules/futures/default.nix
  107. +54 −0 pkgs/development/python-modules/graphite-web/default.nix
  108. +25 −0 pkgs/development/python-modules/graphite_beacon/default.nix
  109. +32 −0 pkgs/development/python-modules/graphitepager/default.nix
  110. +30 −0 pkgs/development/python-modules/influxgraph/default.nix
  111. +2 −2 pkgs/development/python-modules/mysql-connector/default.nix
  112. +25 −0 pkgs/development/python-modules/palettable/default.nix
  113. +27 −0 pkgs/development/python-modules/phonopy/default.nix
  114. +25 −0 pkgs/development/python-modules/pymatgen/default.nix
  115. +7 −8 pkgs/development/python-modules/python-jose/default.nix
  116. +29 −0 pkgs/development/python-modules/slackclient/default.nix
  117. +2 −3 pkgs/development/python-modules/spglib/default.nix
  118. +24 −0 pkgs/development/python-modules/sumo/default.nix
  119. +20 −0 pkgs/development/python-modules/whisper/default.nix
  120. +2 −1 pkgs/development/r-modules/default.nix
  121. +3 −3 pkgs/development/r-modules/generic-builder.nix
  122. +17 −0 pkgs/development/tools/analysis/brakeman/default.nix
  123. +2 −2 pkgs/development/tools/continuous-integration/jenkins/default.nix
  124. +3 −3 pkgs/development/tools/icestorm/default.nix
  125. +16 −0 pkgs/development/tools/jq/darwin-strptime-test.patch
  126. +3 −1 pkgs/development/tools/jq/default.nix
  127. +4 −3 pkgs/development/tools/misc/pwndbg/default.nix
  128. +22 −0 pkgs/development/tools/mustache-go/default.nix
  129. +3 −0 pkgs/development/tools/ocaml/camlp4/default.nix
  130. +27 −0 pkgs/development/tools/rust/cargo-asm/default.nix
  131. +49 −0 pkgs/development/tools/trellis/default.nix
  132. +4 −3 pkgs/development/tools/yarn/default.nix
  133. +97 −0 pkgs/games/cataclysm-dda/common.nix
  134. +24 −74 pkgs/games/cataclysm-dda/default.nix
  135. +24 −80 pkgs/games/cataclysm-dda/git.nix
  136. +1 −1 pkgs/games/scummvm/default.nix
  137. +11 −0 pkgs/misc/cups/filters.nix
  138. +52 −0 pkgs/misc/scrcpy/default.nix
  139. +15 −3 pkgs/os-specific/linux/kernel/linux-hardkernel-4.14.nix
  140. +49 −0 pkgs/servers/confluent/default.nix
  141. +2 −2 pkgs/servers/dns/knot-resolver/default.nix
  142. +10 −3 pkgs/servers/freeradius/default.nix
  143. +2 −2 pkgs/servers/minio/default.nix
  144. +3 −3 pkgs/servers/plex/default.nix
  145. +2 −2 pkgs/servers/sql/mariadb/default.nix
  146. +2 −0 pkgs/test/default.nix
  147. +88 −0 pkgs/test/ld-library-path/default.nix
  148. +2 −2 pkgs/tools/archivers/cabextract/default.nix
  149. +5 −3 pkgs/tools/audio/abcm2ps/default.nix
  150. +0 −30 pkgs/tools/audio/beets/alternatives-beets-1.4.6.patch
  151. +5 −9 pkgs/tools/audio/beets/alternatives-plugin.nix
  152. +2 −2 pkgs/tools/audio/beets/copyartifacts-plugin.nix
  153. +4 −2 pkgs/tools/audio/beets/default.nix
  154. +2 −2 pkgs/tools/filesystems/glusterfs/default.nix
  155. +2 −2 pkgs/tools/graphics/argyllcms/default.nix
  156. +1 −1 pkgs/tools/misc/coreutils/default.nix
  157. +34 −0 pkgs/tools/misc/ldmtool/default.nix
  158. +36 −0 pkgs/tools/networking/ipgrep/default.nix
  159. +2 −2 pkgs/tools/networking/minio-client/default.nix
  160. +2 −2 pkgs/tools/networking/miniupnpc/default.nix
  161. +26 −0 pkgs/tools/networking/ocserv/default.nix
  162. +40 −0 pkgs/tools/networking/photon/default.nix
  163. +20 −0 pkgs/tools/networking/photon/destdir.patch
  164. +56 −0 pkgs/tools/networking/tinyproxy/default.nix
  165. +1,334 −0 pkgs/tools/package-management/cargo-update/cargo-update.nix
  166. +27 −0 pkgs/tools/package-management/cargo-update/default.nix
  167. +4 −4 pkgs/tools/package-management/nix/default.nix
  168. +2 −2 pkgs/tools/text/proselint/default.nix
  169. +53 −12 pkgs/top-level/all-packages.nix
  170. +23 −172 pkgs/top-level/python-packages.nix
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -37,5 +37,6 @@ For pull-requests, please rebase onto nixpkgs `master`.

Communication:

* [Discourse Forum](https://discourse.nixos.org/)
* [Mailing list](https://groups.google.com/forum/#!forum/nix-devel)
* [IRC - #nixos on freenode.net](irc://irc.freenode.net/#nixos)
32 changes: 32 additions & 0 deletions doc/platform-notes.xml
Original file line number Diff line number Diff line change
@@ -29,6 +29,7 @@
}
</programlisting>
</listitem>

<listitem>
<para>
On darwin libraries are linked using absolute paths, libraries are
@@ -46,6 +47,37 @@
}
</programlisting>
</listitem>

<listitem>
<para>
Even if the libraries are linked using absolute paths and resolved via
their <literal>install_name</literal> correctly, tests can sometimes fail
to run binaries. This happens because the <varname>checkPhase</varname>
runs before the libraries are installed.
</para>
<para>
This can usually be solved by running the tests after the
<varname>installPhase</varname> or alternatively by using
<varname>DYLD_LIBRARY_PATH</varname>. More information about this variable
can be found in the <citerefentry><refentrytitle>dyld</refentrytitle>
<manvolnum>1</manvolnum></citerefentry> manpage.
</para>
<programlisting>
dyld: Library not loaded: /nix/store/7hnmbscpayxzxrixrgxvvlifzlxdsdir-jq-1.5-lib/lib/libjq.1.dylib
Referenced from: /private/tmp/nix-build-jq-1.5.drv-0/jq-1.5/tests/../jq
Reason: image not found
./tests/jqtest: line 5: 75779 Abort trap: 6
</programlisting>
<programlisting>
stdenv.mkDerivation {
name = "libfoo-1.2.3";
# ...
doInstallCheck = true;
installCheckTarget = "check";
}
</programlisting>
</listitem>

<listitem>
<para>
Some packages assume xcode is available and use <command>xcrun</command>
15 changes: 15 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -926,6 +926,11 @@
github = "deepfire";
name = "Kosyrev Serge";
};
deltaevo = {
email = "deltaduartedavid@gmail.com";
github = "DeltaEvo";
name = "Duarte David";
};
demin-dmitriy = {
email = "demindf@gmail.com";
github = "demin-dmitriy";
@@ -2264,6 +2269,11 @@
github = "luispedro";
name = "Luis Pedro Coelho";
};
lukeadams = {
email = "luke.adams@belljar.io";
github = "lukeadams";
name = "Luke Adams";
};
lukego = {
email = "luke@snabb.co";
github = "lukego";
@@ -3187,6 +3197,11 @@
email = "patrick.callahan@latitudeengineering.com";
name = "Patrick Callahan";
};
q3k = {
email = "q3k@q3k.org";
github = "q3k";
name = "Serge Bazanski";
};
qknight = {
email = "js@lastlog.de";
github = "qknight";
7 changes: 6 additions & 1 deletion nixos/doc/manual/release-notes/rl-1809.xml
Original file line number Diff line number Diff line change
@@ -370,7 +370,12 @@ inherit (pkgs.nixos {
<varname>s6-dns</varname>, <varname>s6-networking</varname>,
<varname>s6-linux-utils</varname> and <varname>s6-portable-utils</varname> respectively.
</para>
</listitem>
</listitem>
<listitem>
<para>
The module option <option>nix.useSandbox</option> is now defaulted to <literal>true</literal>.
</para>
</listitem>
</itemizedlist>
</section>
</section>
1 change: 1 addition & 0 deletions nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
@@ -543,6 +543,7 @@
./services/networking/ntopng.nix
./services/networking/ntpd.nix
./services/networking/nylon.nix
./services/networking/ocserv.nix
./services/networking/oidentd.nix
./services/networking/openfire.nix
./services/networking/openntpd.nix
1 change: 1 addition & 0 deletions nixos/modules/services/backup/restic.nix
Original file line number Diff line number Diff line change
@@ -18,6 +18,7 @@ with lib;

s3CredentialsFile = mkOption {
type = with types; nullOr str;
default = null;
description = ''
file containing the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
for an S3-hosted repository, in the format of an EnvironmentFile
2 changes: 2 additions & 0 deletions nixos/modules/services/cluster/kubernetes/default.nix
Original file line number Diff line number Diff line change
@@ -838,6 +838,8 @@ in {
path = with pkgs; [ gitMinimal openssh docker utillinux iproute ethtool thin-provisioning-tools iptables socat ] ++ cfg.path;
serviceConfig = {
Slice = "kubernetes.slice";
CPUAccounting = true;
MemoryAccounting = true;
ExecStart = ''${cfg.package}/bin/kubelet \
${optionalString (taints != "")
"--register-with-taints=${taints}"} \
10 changes: 5 additions & 5 deletions nixos/modules/services/misc/nix-daemon.nix
Original file line number Diff line number Diff line change
@@ -127,16 +127,16 @@ in

useSandbox = mkOption {
type = types.either types.bool (types.enum ["relaxed"]);
default = false;
default = true;
description = "
If set, Nix will perform builds in a sandboxed environment that it
will set up automatically for each build. This prevents impurities
in builds by disallowing access to dependencies outside of the Nix
store by using network and mount namespaces in a chroot environment.
This isn't enabled by default for possible performance impacts due to
the initial setup time of a sandbox for each build. It doesn't affect
derivation hashes, so changing this option will not trigger a rebuild
of packages.
This is enabled by default even though it has a possible performance
impact due to the initial setup time of a sandbox for each build. It
doesn't affect derivation hashes, so changing this option will not
trigger a rebuild of packages.
";
};

14 changes: 7 additions & 7 deletions nixos/modules/services/monitoring/graphite.nix
Original file line number Diff line number Diff line change
@@ -136,7 +136,7 @@ in {
finders = mkOption {
description = "List of finder plugins to load.";
default = [];
example = literalExample "[ pkgs.python27Packages.graphite_influxdb ]";
example = literalExample "[ pkgs.python27Packages.influxgraph ]";
type = types.listOf types.package;
};

@@ -485,7 +485,7 @@ in {
PYTHONPATH = let
penv = pkgs.python.buildEnv.override {
extraLibs = [
pythonPackages.graphite_web
pythonPackages.graphite-web
pythonPackages.pysqlite
];
};
@@ -524,16 +524,16 @@ in {
fi
# Only collect static files when graphite_web changes.
if ! [ "${dataDir}/current_graphite_web" -ef "${pythonPackages.graphite_web}" ]; then
if ! [ "${dataDir}/current_graphite_web" -ef "${pythonPackages.graphite-web}" ]; then
mkdir -p ${staticDir}
${pkgs.pythonPackages.django_1_8}/bin/django-admin.py collectstatic --noinput --clear
chown -R graphite:graphite ${staticDir}
ln -sfT "${pythonPackages.graphite_web}" "${dataDir}/current_graphite_web"
ln -sfT "${pythonPackages.graphite-web}" "${dataDir}/current_graphite_web"
fi
'';
};

environment.systemPackages = [ pythonPackages.graphite_web ];
environment.systemPackages = [ pythonPackages.graphite-web ];
}))

(mkIf cfg.api.enable {
@@ -607,15 +607,15 @@ in {
GRAPHITE_URL = cfg.pager.graphiteUrl;
};
serviceConfig = {
ExecStart = "${pkgs.pythonPackages.graphite_pager}/bin/graphite-pager --config ${pagerConfig}";
ExecStart = "${pkgs.pythonPackages.graphitepager}/bin/graphite-pager --config ${pagerConfig}";
User = "graphite";
Group = "graphite";
};
};

services.redis.enable = mkDefault true;

environment.systemPackages = [ pkgs.pythonPackages.graphite_pager ];
environment.systemPackages = [ pkgs.pythonPackages.graphitepager ];
})

(mkIf cfg.beacon.enable {
99 changes: 99 additions & 0 deletions nixos/modules/services/networking/ocserv.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
{ config, pkgs, lib, ... }:

with lib;

let

cfg = config.services.ocserv;

in

{
options.services.ocserv = {
enable = mkEnableOption "ocserv";

config = mkOption {
type = types.lines;

description = ''
Configuration content to start an OCServ server.
For a full configuration reference,please refer to the online documentation
(https://ocserv.gitlab.io/www/manual.html), the openconnect
recipes (https://github.com/openconnect/recipes) or `man ocserv`.
'';

example = ''
# configuration examples from $out/doc without explanatory comments.
# for a full reference please look at the installed man pages.
auth = "plain[passwd=./sample.passwd]"
tcp-port = 443
udp-port = 443
run-as-user = nobody
run-as-group = nogroup
socket-file = /var/run/ocserv-socket
server-cert = certs/server-cert.pem
server-key = certs/server-key.pem
keepalive = 32400
dpd = 90
mobile-dpd = 1800
switch-to-tcp-timeout = 25
try-mtu-discovery = false
cert-user-oid = 0.9.2342.19200300.100.1.1
tls-priorities = "NORMAL:%SERVER_PRECEDENCE:%COMPAT:-VERS-SSL3.0"
auth-timeout = 240
min-reauth-time = 300
max-ban-score = 80
ban-reset-time = 1200
cookie-timeout = 300
deny-roaming = false
rekey-time = 172800
rekey-method = ssl
use-occtl = true
pid-file = /var/run/ocserv.pid
device = vpns
predictable-ips = true
default-domain = example.com
ipv4-network = 192.168.1.0
ipv4-netmask = 255.255.255.0
dns = 192.168.1.2
ping-leases = false
route = 10.10.10.0/255.255.255.0
route = 192.168.0.0/255.255.0.0
no-route = 192.168.5.0/255.255.255.0
cisco-client-compat = true
dtls-legacy = true
[vhost:www.example.com]
auth = "certificate"
ca-cert = certs/ca.pem
server-cert = certs/server-cert-secp521r1.pem
server-key = cersts/certs/server-key-secp521r1.pem
ipv4-network = 192.168.2.0
ipv4-netmask = 255.255.255.0
cert-user-oid = 0.9.2342.19200300.100.1.1
'';
};
};

config = mkIf cfg.enable {
environment.systemPackages = [ pkgs.ocserv ];
environment.etc."ocserv/ocserv.conf".text = cfg.config;

security.pam.services.ocserv = {};

systemd.services.ocserv = {
description = "OpenConnect SSL VPN server";
documentation = [ "man:ocserv(8)" ];
after = [ "dbus.service" "network-online.target" ];
wantedBy = [ "multi-user.target" ];

serviceConfig = {
PrivateTmp = true;
PIDFile = "/var/run/ocserv.pid";
ExecStart = "${pkgs.ocserv}/bin/ocserv --foreground --pid-file /var/run/ocesrv.pid --config /etc/ocserv/ocserv.conf";
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
};
};
};
}
5 changes: 5 additions & 0 deletions nixos/tests/containers-imperative.nix
Original file line number Diff line number Diff line change
@@ -9,6 +9,11 @@ import ./make-test.nix ({ pkgs, ...} : {
machine =
{ config, pkgs, lib, ... }:
{ imports = [ ../modules/installer/cd-dvd/channel.nix ];

# XXX: Sandbox setup fails while trying to hardlink files from the host's
# store file system into the prepared chroot directory.
nix.useSandbox = false;

virtualisation.writableStore = true;
virtualisation.memorySize = 1024;
# Make sure we always have all the required dependencies for creating a
5 changes: 4 additions & 1 deletion nixos/tests/graphite.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ./make-test.nix ({ ... } :
import ./make-test.nix ({ pkgs, ... } :
{
name = "graphite";
nodes = {
@@ -11,10 +11,12 @@ import ./make-test.nix ({ ... } :
api = {
enable = true;
port = 8082;
finders = [ pkgs.python27Packages.influxgraph ];
};
carbon.enableCache = true;
seyren.enable = true;
pager.enable = true;
beacon.enable = true;
};
};
};
@@ -25,6 +27,7 @@ import ./make-test.nix ({ ... } :
$one->waitForUnit("graphiteWeb.service");
$one->waitForUnit("graphiteApi.service");
$one->waitForUnit("graphitePager.service");
$one->waitForUnit("graphite-beacon.service");
$one->waitForUnit("carbonCache.service");
$one->waitForUnit("seyren.service");
# The services above are of type "simple". systemd considers them active immediately
4 changes: 2 additions & 2 deletions pkgs/applications/altcoins/bitcoin.nix
Original file line number Diff line number Diff line change
@@ -5,13 +5,13 @@
with stdenv.lib;
stdenv.mkDerivation rec{
name = "bitcoin" + (toString (optional (!withGui) "d")) + "-" + version;
version = "0.16.1";
version = "0.16.2";

src = fetchurl {
urls = [ "https://bitcoincore.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz"
"https://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz"
];
sha256 = "1zkqp93yircd3pbxczxfnibkpq0sgcv5r7wg6d196b9pwgr9zd39";
sha256 = "1n07qykx5hc0ph8fwn7hfrbsrjv19fdzvs5h0nysq4wfgn5wa40r";
};

nativeBuildInputs = [ pkgconfig autoreconfHook ];
Loading