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: e7f2ad0db9d9
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: 04a0ff8cc5ce
Choose a head ref

Commits on Feb 20, 2020

  1. webdis: init at 0.1.9

    Co-Authored-By: Doron Behar <doron.behar@gmail.com>
    2 people authored and marsam committed Feb 20, 2020
    Copy the full SHA
    a08a416 View commit details

Commits on Feb 26, 2020

  1. Copy the full SHA
    5e55ebb View commit details
  2. megasync: 4.2.3.0 -> 4.2.5.0

    Also pull in an (as of yet unmerged) upstream patch to fix
    the build, it was failing on both .3 and .5
    Synthetica9 committed Feb 26, 2020
    Copy the full SHA
    080a6b0 View commit details

Commits on Mar 9, 2020

  1. wtftw: remove broken package

    This was marked as broken years ago, and its last tagged release from upstream
    was in 2015, with its last git commit in 2018.
    bhipple committed Mar 9, 2020
    Copy the full SHA
    e12ed8e View commit details
  2. staccato: remove broken and unmaintained package

    This package was added in 2017, then never updated, and no longer builds.
    While upstream does have a newer release at version 0.1.9, this doesn't build
    with the latest rustc either, and was last released in 2018:
    https://github.com/tshlabs/staccato/releases
    
    Since the upstream package just has 1 contributor, and the package in Nix has no
    maintainer and is not building or updated, let's just delete it.
    bhipple committed Mar 9, 2020
    Copy the full SHA
    ca015df View commit details

Commits on Mar 10, 2020

  1. Copy the full SHA
    8565dcf View commit details
  2. dpkg: 1.19.7 -> 1.20.0

    r-ryantm committed Mar 10, 2020
    Copy the full SHA
    5454317 View commit details

Commits on Mar 11, 2020

  1. Copy the full SHA
    c3fa56f View commit details

Commits on Mar 14, 2020

  1. Copy the full SHA
    fda69ba View commit details
  2. coredns: 1.6.6 -> 1.6.7

    r-ryantm committed Mar 14, 2020
    Copy the full SHA
    5389e95 View commit details
  3. dolt: 0.12.0 -> 0.15.0

    r-ryantm committed Mar 14, 2020
    Copy the full SHA
    1946fab View commit details
  4. phodav: 2.3 -> 2.4

    gnidorah committed Mar 14, 2020
    Copy the full SHA
    41543d8 View commit details
  5. hetzner-kube: 0.4.1 -> 0.5.1

    r-ryantm committed Mar 14, 2020
    Copy the full SHA
    112814d View commit details
  6. Copy the full SHA
    6bb795f View commit details
  7. minify: 2.5.0 -> 2.7.3

    r-ryantm authored and marsam committed Mar 14, 2020
    Copy the full SHA
    7c77278 View commit details
  8. mod: 0.2.0 -> 0.2.2

    r-ryantm committed Mar 14, 2020
    Copy the full SHA
    b8225d3 View commit details
  9. qbec: 0.7.5 -> 0.10.5

    r-ryantm committed Mar 14, 2020
    Copy the full SHA
    1ff9df2 View commit details
  10. thanos: 0.7.0 -> 0.11.0

    r-ryantm committed Mar 14, 2020
    Copy the full SHA
    1b467f2 View commit details
  11. tinygo: 0.11.0 -> 0.12.0

    r-ryantm committed Mar 14, 2020
    Copy the full SHA
    096ab84 View commit details

Commits on Mar 15, 2020

  1. php: Re-indent main derivation

    etu committed Mar 15, 2020
    Copy the full SHA
    da3384a View commit details
  2. golangci-lint: 1.23.8 -> 1.24.0

    oxzi committed Mar 15, 2020
    Copy the full SHA
    008362a View commit details
  3. postfix: 3.4.9 -> 3.4.10

    r-ryantm committed Mar 15, 2020
    Copy the full SHA
    5c20793 View commit details
  4. Copy the full SHA
    500375e View commit details
  5. Copy the full SHA
    8be61f7 View commit details
  6. Copy the full SHA
    80a3dbc View commit details
  7. php: remove unsupported options

     - mcrypt was removed in 7.2
     - mhash was integrated into hash in 7.0
    etu committed Mar 15, 2020
    Copy the full SHA
    6100ac4 View commit details
  8. Copy the full SHA
    f1dfb6e View commit details
  9. vimPlugins.coc-*: add npm dependencies

    eyJhb authored and adisbladis committed Mar 15, 2020
    Copy the full SHA
    d8b41ad View commit details
  10. Copy the full SHA
    f37e7ad View commit details
  11. Copy the full SHA
    af9b839 View commit details
  12. Merge pull request #82578 from eyJhb/coc-npm

    vimPlugins.coc-*: add npm dependencies
    adisbladis authored Mar 15, 2020
    Copy the full SHA
    48b799e View commit details
  13. vimPlugins: Update

    fnords authored and adisbladis committed Mar 15, 2020
    Copy the full SHA
    79ee5bc View commit details
  14. Copy the full SHA
    0adf77f View commit details
  15. Merge pull request #82613 from fnords/master

    Add coc-spell-checker plugin for neovim
    adisbladis authored Mar 15, 2020
    Copy the full SHA
    578c2af View commit details
  16. elpa-packages: 2020-03-15

    adisbladis committed Mar 15, 2020
    Copy the full SHA
    9dbe706 View commit details
  17. melpa-packages: 2020-03-15

    adisbladis committed Mar 15, 2020
    Copy the full SHA
    ad81f84 View commit details
  18. Merge pull request #82667 from etu/clean-up-php-derivation

    php: Clean up php derivation
    adisbladis authored Mar 15, 2020
    Copy the full SHA
    d828748 View commit details
  19. Merge pull request #82114 from bhipple/remove/staccato

    staccato: remove broken and unmaintained package
    Mic92 authored Mar 15, 2020
    Copy the full SHA
    0fe49d7 View commit details
  20. Merge pull request #82109 from bhipple/remove/wtftw

    wtftw: remove broken package
    Mic92 authored Mar 15, 2020
    Copy the full SHA
    6fa3705 View commit details
  21. Merge pull request #82040 from gnidorah/phodav

    phodav: 2.3 -> 2.4
    Mic92 authored Mar 15, 2020
    Copy the full SHA
    f1b69e4 View commit details
  22. Copy the full SHA
    c61d907 View commit details
  23. Copy the full SHA
    1f5af3c View commit details
  24. Merge pull request #82643 from etu/php-exts-pdo-odbc

    phpPackages.exts.pdo_odbc: init for all versions of php
    etu authored Mar 15, 2020
    Copy the full SHA
    a0cb913 View commit details
  25. zoxide: 0.2.0 -> 0.2.1

    With this release, you can now migrate entries from your `z` database!
    cole-h committed Mar 15, 2020
    Copy the full SHA
    ce8674d View commit details
  26. texlive: reimplement fixHashes.sh in GNU Awk

    The shell script doesn't work very well in non-GNU environments like
    darwin. This provides an implementation that uses just a single GNU tool
    - gawk, thus reduces number of points of failure.
    veprbl committed Mar 15, 2020
    Copy the full SHA
    d9fb53d View commit details
  27. texlive: 2019 -> 2019-final

    The biber package is now at 2.14, but TextBibTeX is still required.
    
    Few changes were needed for newly introduced scripts-extra path. This
    broke some of our old tricks which were relying on having writable
    script directories. The changes to the script locations made buildEnv
    create symlinks to the script directories instead of directories of
    symlinks to scripts. The changes to texlinks.sh and texlive/TeXLive
    perl path were made because of this.
    veprbl committed Mar 15, 2020
    Copy the full SHA
    9752593 View commit details
  28. texlive/pkgs.nix: add revision

    veprbl committed Mar 15, 2020
    Copy the full SHA
    9c4212c View commit details
  29. texlive: use versioned tarballs

    Announced in [1], versioned tarballs allow to make sure that a
    specific version is fetched. This does not guarantee that all previous
    versions are retained on the main mirrors.
    
    Logically, we would want to first try to download versioned tarballs
    from any mirror and only then try the unversioned ones. But right now
    we only have two mirrors and only some of the tarballs are versioned
    in texlive-2019, so the order is changed to not hammer the weak
    tug.org mirror.
    
    [1] https://tug.org/pipermail/tex-live/2019-September/044086.html
    veprbl committed Mar 15, 2020
    Copy the full SHA
    9f44a61 View commit details
  30. Merge pull request #82199 from veprbl/pr/texlive_2019_final

    texlive: 2019 -> 2019-final
    veprbl authored Mar 15, 2020
    Copy the full SHA
    359de1d View commit details
  31. Copy the full SHA
    c5f663f View commit details
Showing with 12,870 additions and 4,017 deletions.
  1. +9 −0 maintainers/team-list.nix
  2. +0 −1 nixos/doc/manual/configuration/configuration.xml
  3. +49 −0 nixos/doc/manual/release-notes/rl-2003.xml
  4. +29 −17 nixos/modules/services/misc/matrix-synapse.nix
  5. +59 −38 nixos/{doc/manual/configuration/matrix.xml → modules/services/misc/matrix-synapse.xml}
  6. +1 −0 nixos/modules/services/networking/stubby.nix
  7. +20 −1 nixos/tests/matrix-synapse.nix
  8. +1 −1 pkgs/applications/audio/clementine/default.nix
  9. +51 −0 pkgs/applications/audio/soundtracker/default.nix
  10. +18 −3 pkgs/applications/editors/emacs-modes/elpa-generated.nix
  11. +718 −463 pkgs/applications/editors/emacs-modes/recipes-archive-melpa.json
  12. +4 −4 pkgs/applications/misc/cura/default.nix
  13. +3 −3 pkgs/applications/misc/curaengine/default.nix
  14. +3 −3 pkgs/applications/misc/hugo/default.nix
  15. +28 −55 pkgs/applications/misc/megasync/default.nix
  16. +4 −4 pkgs/applications/networking/cluster/hetzner-kube/default.nix
  17. +4 −4 pkgs/applications/networking/cluster/qbec/default.nix
  18. +36 −0 pkgs/applications/networking/instant-messengers/deltachat-electron/default.nix
  19. +52 −0 pkgs/applications/networking/sync/unison/4.08-compatibility.patch
  20. +6 −0 pkgs/applications/networking/sync/unison/default.nix
  21. +31 −0 pkgs/applications/networking/sync/unison/lablgtk.patch
  22. +1 −1 pkgs/applications/version-management/git-and-tools/gitstatus/default.nix
  23. +0 −42 pkgs/applications/window-managers/wtftw/default.nix
  24. +2 −1 pkgs/desktops/cinnamon/cinnamon-control-center/default.nix
  25. +1 −1 pkgs/desktops/gnome-3/default.nix
  26. +2 −2 pkgs/development/compilers/gcc/8/default.nix
  27. +3 −3 pkgs/development/compilers/tinygo/default.nix
  28. +1 −1 pkgs/development/go-packages/generic/default.nix
  29. +168 −186 pkgs/development/interpreters/php/default.nix
  30. +4 −4 pkgs/development/lisp-modules/lisp-packages.nix
  31. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/alexandria.nix
  32. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/anaphora.nix
  33. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/babel.nix
  34. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/bordeaux-threads.nix
  35. +19 −17 pkgs/development/lisp-modules/quicklisp-to-nix-output/caveman.nix
  36. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/cl-async-repl.nix
  37. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/cl-async-ssl.nix
  38. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/cl-async.nix
  39. +31 −0 pkgs/development/lisp-modules/quicklisp-to-nix-output/cl-change-case.nix
  40. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/cl-cookie.nix
  41. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/cl-dbi.nix
  42. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/cl-fad.nix
  43. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/cl-fuse.nix
  44. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/cl-pdf.nix
  45. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/cl-postgres.nix
  46. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/cl-prevalence.nix
  47. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/cl-smtp.nix
  48. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/cl-store.nix
  49. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/cl_plus_ssl.nix
  50. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/clack-handler-hunchentoot.nix
  51. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/clack-socket.nix
  52. +25 −29 pkgs/development/lisp-modules/quicklisp-to-nix-output/clack-test.nix
  53. +29 −30 pkgs/development/lisp-modules/quicklisp-to-nix-output/clack-v1-compat.nix
  54. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/clack.nix
  55. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/closer-mop.nix
  56. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/clss.nix
  57. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/clx.nix
  58. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/command-line-arguments.nix
  59. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/dbd-mysql.nix
  60. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/dbd-postgres.nix
  61. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/dbd-sqlite3.nix
  62. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/dbi.nix
  63. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/dexador.nix
  64. +25 −0 pkgs/development/lisp-modules/quicklisp-to-nix-output/dissect.nix
  65. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/drakma.nix
  66. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/esrap-peg.nix
  67. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/esrap.nix
  68. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/fast-http.nix
  69. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/fiasco.nix
  70. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/http-body.nix
  71. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/ironclad.nix
  72. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/lack-component.nix
  73. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/lack-middleware-backtrace.nix
  74. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/lack-util.nix
  75. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/lack.nix
  76. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/let-plus.nix
  77. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/log4cl.nix
  78. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/metabang-bind.nix
  79. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/proc-parse.nix
  80. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/quri.nix
  81. +29 −0 pkgs/development/lisp-modules/quicklisp-to-nix-output/rove.nix
  82. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/serapeum.nix
  83. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/simple-date.nix
  84. +10 −9 pkgs/development/lisp-modules/quicklisp-to-nix-output/sqlite.nix
  85. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/static-vectors.nix
  86. +15 −9 pkgs/development/lisp-modules/quicklisp-to-nix-output/str.nix
  87. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/stumpwm.nix
  88. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/swap-bytes.nix
  89. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/trivia.nix
  90. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/trivia_dot_balland2006.nix
  91. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/trivia_dot_level0.nix
  92. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/trivia_dot_level1.nix
  93. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/trivia_dot_level2.nix
  94. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/trivia_dot_quasiquote.nix
  95. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/trivia_dot_trivial.nix
  96. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/trivial-indent.nix
  97. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/type-i.nix
  98. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/usocket.nix
  99. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/woo.nix
  100. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/wookie.nix
  101. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/xembed.nix
  102. +7 −7 pkgs/development/lisp-modules/quicklisp-to-nix-output/yason.nix
  103. +41 −10 pkgs/development/lisp-modules/quicklisp-to-nix.nix
  104. +3 −3 pkgs/development/mobile/cocoapods/Gemfile-beta.lock
  105. +3 −3 pkgs/development/mobile/cocoapods/Gemfile.lock
  106. +4 −4 pkgs/development/mobile/cocoapods/gemset-beta.nix
  107. +4 −4 pkgs/development/mobile/cocoapods/gemset.nix
  108. +1 −1 pkgs/development/node-packages/composition-v10.nix
  109. +1 −1 pkgs/development/node-packages/composition-v12.nix
  110. +1 −1 pkgs/development/node-packages/composition-v13.nix
  111. +30 −0 pkgs/development/node-packages/node-packages-v10.json
  112. +2,815 −3 pkgs/development/node-packages/node-packages-v10.nix
  113. +1 −1 pkgs/development/node-packages/shell-generate.nix
  114. +3 −3 pkgs/development/python-modules/asgiref/default.nix
  115. +2 −2 pkgs/development/python-modules/azure-mgmt-compute/default.nix
  116. +2 −2 pkgs/development/python-modules/azure-mgmt-cosmosdb/default.nix
  117. +2 −2 pkgs/development/python-modules/azure-mgmt-rdbms/default.nix
  118. +3 −3 pkgs/development/python-modules/braintree/default.nix
  119. +2 −2 pkgs/development/python-modules/elementpath/default.nix
  120. +3 −3 pkgs/development/python-modules/flask-testing/default.nix
  121. +3 −3 pkgs/development/python-modules/hvac/default.nix
  122. +2 −2 pkgs/development/python-modules/kazoo/default.nix
  123. +2 −2 pkgs/development/python-modules/libarcus/default.nix
  124. +2 −2 pkgs/development/python-modules/libsavitar/default.nix
  125. +4 −3 pkgs/development/python-modules/signedjson/default.nix
  126. +2 −2 pkgs/development/python-modules/uranium/default.nix
  127. +4 −4 pkgs/development/tools/continuous-integration/fly/default.nix
  128. +36 −0 pkgs/development/tools/database/webdis/default.nix
  129. +1 −4 pkgs/development/tools/geckodriver/default.nix
  130. +3 −3 pkgs/development/tools/golangci-lint/default.nix
  131. +4 −4 pkgs/development/tools/misc/circleci-cli/default.nix
  132. +4 −4 pkgs/development/tools/mod/default.nix
  133. +6 −7 pkgs/development/web/minify/default.nix
  134. +77 −66 pkgs/misc/vim-plugins/generated.nix
  135. +174 −0 pkgs/misc/vim-plugins/overrides.nix
  136. +1 −0 pkgs/misc/vim-plugins/vim-plugin-names
  137. +3 −3 pkgs/servers/dns/coredns/default.nix
  138. +3 −3 pkgs/servers/mail/postfix/default.nix
  139. +2 −2 pkgs/servers/matrix-synapse/default.nix
  140. +4 −4 pkgs/servers/matterbridge/default.nix
  141. +3 −3 pkgs/servers/monitoring/thanos/default.nix
  142. +3 −3 pkgs/servers/sql/dolt/default.nix
  143. +18 −9 pkgs/servers/sql/postgresql/ext/repmgr.nix
  144. +2 −2 pkgs/shells/zsh/zsh-powerlevel10k/default.nix
  145. +3 −0 pkgs/tools/admin/azure-cli/python-packages.nix
  146. +2 −2 pkgs/tools/misc/ostree/default.nix
  147. +3 −3 pkgs/tools/misc/zoxide/default.nix
  148. +3 −3 pkgs/tools/networking/aircrack-ng/default.nix
  149. +5 −2 pkgs/tools/networking/phodav/default.nix
  150. +2 −2 pkgs/tools/networking/stubby/default.nix
  151. +3 −3 pkgs/tools/package-management/dpkg/default.nix
  152. +3 −3 pkgs/tools/package-management/home-manager/default.nix
  153. +10 −2 pkgs/tools/security/aespipe/default.nix
  154. +7 −2 pkgs/tools/security/pass/extensions/update.nix
  155. +3 −3 pkgs/tools/security/saml2aws/default.nix
  156. +3 −3 pkgs/tools/system/rsyslog/default.nix
  157. +2 −2 pkgs/tools/system/stress-ng/default.nix
  158. +19 −15 pkgs/tools/text/ripgrep/default.nix
  159. +0 −33 pkgs/tools/text/staccato/default.nix
  160. +1 −2 pkgs/tools/typesetting/biber/default.nix
  161. +2 −3 pkgs/tools/typesetting/tex/texlive/UPGRADING.md
  162. +21 −0 pkgs/tools/typesetting/tex/texlive/bin.nix
  163. +4 −18 pkgs/tools/typesetting/tex/texlive/combine.nix
  164. +12 −11 pkgs/tools/typesetting/tex/texlive/default.nix
  165. +24 −0 pkgs/tools/typesetting/tex/texlive/fixHashes.awk
  166. +0 −10 pkgs/tools/typesetting/tex/texlive/fixHashes.sh
  167. +1,221 −940 pkgs/tools/typesetting/tex/texlive/fixedHashes.nix
  168. +6,277 −1,382 pkgs/tools/typesetting/tex/texlive/pkgs.nix
  169. +3 −0 pkgs/tools/typesetting/tex/texlive/tl2nix.sed
  170. +7 −5 pkgs/top-level/all-packages.nix
  171. +7 −5 pkgs/top-level/php-packages.nix
9 changes: 9 additions & 0 deletions maintainers/team-list.nix
Original file line number Diff line number Diff line change
@@ -21,4 +21,13 @@ with lib.maintainers; {
members = [ jtojnar worldofpeace ];
scope = "Maintain Freedesktop.org packages for graphical desktop.";
};

gnome = {
members = [
hedning
jtojnar
worldofpeace
];
scope = "Maintain GNOME desktop environment and platform.";
};
}
1 change: 0 additions & 1 deletion nixos/doc/manual/configuration/configuration.xml
Original file line number Diff line number Diff line change
@@ -21,7 +21,6 @@
<xi:include href="xfce.xml" />
<xi:include href="networking.xml" />
<xi:include href="linux-kernel.xml" />
<xi:include href="matrix.xml" />
<xi:include href="../generated/modules.xml" xpointer="xpointer(//section[@id='modules']/*)" />
<xi:include href="profiles.xml" />
<xi:include href="kubernetes.xml" />
49 changes: 49 additions & 0 deletions nixos/doc/manual/release-notes/rl-2003.xml
Original file line number Diff line number Diff line change
@@ -712,6 +712,55 @@ auth required pam_succeed_if.so uid >= 1000 quiet
For further reference, please read <link xlink:href="https://github.com/NixOS/nixpkgs/pull/68953">#68953</link> or the corresponding <link xlink:href="https://discourse.nixos.org/t/predictable-network-interface-names-in-initrd/4055">discourse thread</link>.
</para>
</listitem>
<listitem>
<para>
The <package>matrix-synapse</package>-package has been updated to
<link xlink:href="https://github.com/matrix-org/synapse/releases/tag/v1.11.1">v1.11.1</link>.
Due to <link xlink:href="https://github.com/matrix-org/synapse/releases/tag/v1.10.0rc1">stricter requirements</link>
for database configuration when using <package>postgresql</package>, the automated database setup
of the module has been removed to avoid any further edge-cases.
</para>
<para>
<package>matrix-synapse</package> expects <literal>postgresql</literal>-databases to have the options
<literal>LC_COLLATE</literal> and <literal>LC_CTYPE</literal> set to
<link xlink:href="https://www.postgresql.org/docs/12/locale.html"><literal>'C'</literal></link> which basically
instructs <literal>postgresql</literal> to ignore any locale-based preferences.
</para>
<para>
Depending on your setup, you need to incorporate one of the following changes in your setup to
upgrade to 20.03:
<itemizedlist>
<listitem><para>If you use <literal>sqlite3</literal> you don't need to do anything.</para></listitem>
<listitem><para>If you use <literal>postgresql</literal> on a different server, you don't need
to change anything as well since this module was never designed to configure remote databases.
</para></listitem>
<listitem><para>If you use <literal>postgresql</literal> and configured your synapse initially on
<literal>19.09</literal> or older, you simply need to enable <package>postgresql</package>-support
explicitly:
<programlisting>{ ... }: {
services.matrix-synapse = {
<link linkend="opt-services.matrix-synapse.enable">enable</link> = true;
/* and all the other config you've defined here */
};
<link linkend="opt-services.postgresql.enable">services.postgresql.enable</link> = true;
}</programlisting>
</para></listitem>
<listitem><para>If you deploy a fresh <package>matrix-synapse</package>, you need to configure
the database yourself (e.g. by using the
<link linkend="opt-services.postgresql.initialScript">services.postgresql.initialScript</link>
option). An example for this can be found in the
<link linkend="module-services-matrix">documentation of the Matrix module</link>.
</para></listitem>
<listitem><para>If you initially deployed your <package>matrix-synapse</package> on
<literal>nixos-unstable</literal> <emphasis>after</emphasis> the <literal>19.09</literal>-release,
your database is misconfigured due to a regression in NixOS. For now, <package>matrix-synapse</package> will
startup with a warning, but it's recommended to reconfigure the database to set the values
<literal>LC_COLLATE</literal> and <literal>LC_CTYPE</literal> to
<link xlink:href="https://www.postgresql.org/docs/12/locale.html"><literal>'C'</literal></link>.
</para></listitem>
</itemizedlist>
</para>
</listitem>
</itemizedlist>
</section>
</section>
46 changes: 29 additions & 17 deletions nixos/modules/services/misc/matrix-synapse.nix
Original file line number Diff line number Diff line change
@@ -111,6 +111,9 @@ app_service_config_files: ${builtins.toJSON cfg.app_service_config_files}
${cfg.extraConfig}
'';

hasLocalPostgresDB = let args = cfg.database_args; in
usePostgresql && (!(args ? host) || (elem args.host [ "localhost" "127.0.0.1" "::1" ]));
in {
options = {
services.matrix-synapse = {
@@ -354,13 +357,6 @@ in {
The database engine name. Can be sqlite or psycopg2.
'';
};
create_local_database = mkOption {
type = types.bool;
default = true;
description = ''
Whether to create a local database automatically.
'';
};
database_name = mkOption {
type = types.str;
default = "matrix-synapse";
@@ -657,6 +653,25 @@ in {
};

config = mkIf cfg.enable {
assertions = [
{ assertion = hasLocalPostgresDB -> config.services.postgresql.enable;
message = ''
Cannot deploy matrix-synapse with a configuration for a local postgresql database
and a missing postgresql service. Since 20.03 it's mandatory to manually configure the
database (please read the thread in https://github.com/NixOS/nixpkgs/pull/80447 for
further reference).
If you
- try to deploy a fresh synapse, you need to configure the database yourself. An example
for this can be found in <nixpkgs/nixos/tests/matrix-synapse.nix>
- update your existing matrix-synapse instance, you simply need to add `services.postgresql.enable = true`
to your configuration.
For further information about this update, please read the release-notes of 20.03 carefully.
'';
}
];

users.users.matrix-synapse = {
group = "matrix-synapse";
home = cfg.dataDir;
@@ -669,18 +684,9 @@ in {
gid = config.ids.gids.matrix-synapse;
};

services.postgresql = mkIf (usePostgresql && cfg.create_local_database) {
enable = mkDefault true;
ensureDatabases = [ cfg.database_name ];
ensureUsers = [{
name = cfg.database_user;
ensurePermissions = { "DATABASE \"${cfg.database_name}\"" = "ALL PRIVILEGES"; };
}];
};

systemd.services.matrix-synapse = {
description = "Synapse Matrix homeserver";
after = [ "network.target" ] ++ lib.optional config.services.postgresql.enable "postgresql.service" ;
after = [ "network.target" ] ++ optional hasLocalPostgresDB "postgresql.service";
wantedBy = [ "multi-user.target" ];
preStart = ''
${cfg.package}/bin/homeserver \
@@ -709,6 +715,12 @@ in {
The `trusted_third_party_id_servers` option as been removed in `matrix-synapse` v1.4.0
as the behavior is now obsolete.
'')
(mkRemovedOptionModule [ "services" "matrix-synapse" "create_local_database" ] ''
Database configuration must be done manually. An exemplary setup is demonstrated in
<nixpkgs/nixos/tests/matrix-synapse.nix>
'')
];

meta.doc = ./matrix-synapse.xml;

}
Original file line number Diff line number Diff line change
@@ -40,26 +40,35 @@ let
in join config.networking.hostName config.networking.domain;
in {
networking = {
hostName = "myhostname";
domain = "example.org";
<link linkend="opt-networking.hostName">hostName</link> = "myhostname";
<link linkend="opt-networking.domain">domain</link> = "example.org";
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
<link linkend="opt-networking.firewall.allowedTCPPorts">networking.firewall.allowedTCPPorts</link> = [ 80 443 ];

<link linkend="opt-services.postgresql.enable">services.postgresql.enable</link> = true;
<link linkend="opt-services.postgresql.initialScript">services.postgresql.initialScript</link> = ''
CREATE ROLE "matrix-synapse" WITH LOGIN PASSWORD 'synapse';
CREATE DATABASE "matrix-synapse" WITH OWNER "matrix-synapse"
TEMPLATE template0
LC_COLLATE = "C"
LC_CTYPE = "C";
'';

services.nginx = {
enable = true;
<link linkend="opt-services.nginx.enable">enable</link> = true;
# only recommendedProxySettings and recommendedGzipSettings are strictly required,
# but the rest make sense as well
recommendedTlsSettings = true;
recommendedOptimisation = true;
recommendedGzipSettings = true;
recommendedProxySettings = true;
<link linkend="opt-services.nginx.recommendedTlsSettings">recommendedTlsSettings</link> = true;
<link linkend="opt-services.nginx.recommendedOptimisation">recommendedOptimisation</link> = true;
<link linkend="opt-services.nginx.recommendedGzipSettings">recommendedGzipSettings</link> = true;
<link linkend="opt-services.nginx.recommendedProxySettings">recommendedProxySettings</link> = true;

virtualHosts = {
<link linkend="opt-services.nginx.virtualHosts">virtualHosts</link> = {
# This host section can be placed on a different host than the rest,
# i.e. to delegate from the host being accessible as ${config.networking.domain}
# to another host actually running the Matrix homeserver.
"${config.networking.domain}" = {
locations."= /.well-known/matrix/server".extraConfig =
<link linkend="opt-services.nginx.virtualHosts._name_.locations._name_.extraConfig">locations."= /.well-known/matrix/server".extraConfig</link> =
let
# use 443 instead of the default 8448 port to unite
# the client-server and server-server port for simplicity
@@ -68,7 +77,7 @@ in {
add_header Content-Type application/json;
return 200 '${builtins.toJSON server}';
'';
locations."= /.well-known/matrix/client".extraConfig =
<link linkend="opt-services.nginx.virtualHosts._name_.locations._name_.extraConfig">locations."= /.well-known/matrix/client".extraConfig</link> =
let
client = {
"m.homeserver" = { "base_url" = "https://${fqdn}"; };
@@ -84,34 +93,37 @@ in {

# Reverse proxy for Matrix client-server and server-server communication
${fqdn} = {
enableACME = true;
forceSSL = true;
<link linkend="opt-services.nginx.virtualHosts._name_.enableACME">enableACME</link> = true;
<link linkend="opt-services.nginx.virtualHosts._name_.forceSSL">forceSSL</link> = true;

# Or do a redirect instead of the 404, or whatever is appropriate for you.
# But do not put a Matrix Web client here! See the Riot Web section below.
locations."/".extraConfig = ''
<link linkend="opt-services.nginx.virtualHosts._name_.locations._name_.extraConfig">locations."/".extraConfig</link> = ''
return 404;
'';

# forward all Matrix API calls to the synapse Matrix homeserver
locations."/_matrix" = {
proxyPass = "http://[::1]:8008"; # without a trailing /
<link linkend="opt-services.nginx.virtualHosts._name_.locations._name_.proxyPass">proxyPass</link> = "http://[::1]:8008"; # without a trailing /
};
};
};
};
services.matrix-synapse = {
enable = true;
server_name = config.networking.domain;
listeners = [
<link linkend="opt-services.matrix-synapse.enable">enable</link> = true;
<link linkend="opt-services.matrix-synapse.server_name">server_name</link> = config.networking.domain;
<link linkend="opt-services.matrix-synapse.listeners">listeners</link> = [
{
port = 8008;
bind_address = "::1";
type = "http";
tls = false;
x_forwarded = true;
resources = [
{ names = [ "client" "federation" ]; compress = false; }
<link linkend="opt-services.matrix-synapse.listeners._.port">port</link> = 8008;
<link linkend="opt-services.matrix-synapse.listeners._.bind_address">bind_address</link> = "::1";
<link linkend="opt-services.matrix-synapse.listeners._.type">type</link> = "http";
<link linkend="opt-services.matrix-synapse.listeners._.tls">tls</link> = false;
<link linkend="opt-services.matrix-synapse.listeners._.x_forwarded">x_forwarded</link> = true;
<link linkend="opt-services.matrix-synapse.listeners._.resources">resources</link> = [
{
<link linkend="opt-services.matrix-synapse.listeners._.resources._.names">names</link> = [ "client" "federation" ];
<link linkend="opt-services.matrix-synapse.listeners._.resources._.compress">compress</link> = false;
}
];
}
];
@@ -135,10 +147,10 @@ in {

<para>
If you want to run a server with public registration by anybody, you can
then enable <option>services.matrix-synapse.enable_registration =
true;</option>. Otherwise, or you can generate a registration secret with
then enable <literal><link linkend="opt-services.matrix-synapse.enable_registration">services.matrix-synapse.enable_registration</link> =
true;</literal>. Otherwise, or you can generate a registration secret with
<command>pwgen -s 64 1</command> and set it with
<option>services.matrix-synapse.registration_shared_secret</option>. To
<option><link linkend="opt-services.matrix-synapse.registration_shared_secret">services.matrix-synapse.registration_shared_secret</link></option>. To
create a new user or admin, run the following after you have set the secret
and have rebuilt NixOS:
<screen>
@@ -154,8 +166,8 @@ Success!
<literal>@your-username:example.org</literal>. Note that the registration
secret ends up in the nix store and therefore is world-readable by any user
on your machine, so it makes sense to only temporarily activate the
<option>registration_shared_secret</option> option until a better solution
for NixOS is in place.
<link linkend="opt-services.matrix-synapse.registration_shared_secret">registration_shared_secret</link>
option until a better solution for NixOS is in place.
</para>
</section>
<section xml:id="module-services-matrix-riot-web">
@@ -177,15 +189,24 @@ Success!
Matrix Now!</link> for a list of existing clients and their supported
featureset.
<programlisting>
services.nginx.virtualHosts."riot.${fqdn}" = {
enableACME = true;
forceSSL = true;
serverAliases = [
"riot.${config.networking.domain}"
];
{
services.nginx.virtualHosts."riot.${fqdn}" = {
<link linkend="opt-services.nginx.virtualHosts._name_.enableACME">enableACME</link> = true;
<link linkend="opt-services.nginx.virtualHosts._name_.forceSSL">forceSSL</link> = true;
<link linkend="opt-services.nginx.virtualHosts._name_.serverAliases">serverAliases</link> = [
"riot.${config.networking.domain}"
];

root = pkgs.riot-web;
};
<link linkend="opt-services.nginx.virtualHosts._name_.root">root</link> = pkgs.riot-web.override {
conf = {
default_server_config."m.homeserver" = {
"base_url" = "${config.networking.domain}";
"server_name" = "${fqdn}";
};
};
};
};
}
</programlisting>
</para>

1 change: 1 addition & 0 deletions nixos/modules/services/networking/stubby.nix
Original file line number Diff line number Diff line change
@@ -205,6 +205,7 @@ in
wantedBy = [ "multi-user.target" ];

serviceConfig = {
Type = "notify";
AmbientCapabilities = "CAP_NET_BIND_SERVICE";
CapabilityBoundingSet = "CAP_NET_BIND_SERVICE";
ExecStart = "${pkgs.stubby}/bin/stubby -C ${confFile} ${optionalString cfg.debugLogging "-l"}";
21 changes: 20 additions & 1 deletion nixos/tests/matrix-synapse.nix
Original file line number Diff line number Diff line change
@@ -35,12 +35,31 @@ in {

nodes = {
# Since 0.33.0, matrix-synapse doesn't allow underscores in server names
serverpostgres = args: {
serverpostgres = { pkgs, ... }: {
services.matrix-synapse = {
enable = true;
database_type = "psycopg2";
tls_certificate_path = "${cert}";
tls_private_key_path = "${key}";
database_args = {
password = "synapse";
};
};
services.postgresql = {
enable = true;

# The database name and user are configured by the following options:
# - services.matrix-synapse.database_name
# - services.matrix-synapse.database_user
#
# The values used here represent the default values of the module.
initialScript = pkgs.writeText "synapse-init.sql" ''
CREATE ROLE "matrix-synapse" WITH LOGIN PASSWORD 'synapse';
CREATE DATABASE "matrix-synapse" WITH OWNER "matrix-synapse"
TEMPLATE template0
LC_COLLATE = "C"
LC_CTYPE = "C";
'';
};
};

2 changes: 1 addition & 1 deletion pkgs/applications/audio/clementine/default.nix
Original file line number Diff line number Diff line change
@@ -125,7 +125,7 @@ let
mkdir -p $out/share
for dir in applications icons kde4; do
ln -s "$free/share/$dir" "$out/share/$dir"
ln -s "${free}/share/$dir" "$out/share/$dir"
done
'';
enableParallelBuilding = true;
Loading