Skip to content
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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d464035ba874
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f14021febf9c
Choose a head ref

Commits on Feb 24, 2020

  1. nixos/security/pam: Add nodelay option

    Closes #65551
    clkamp committed Feb 24, 2020
    Copy the full SHA
    dc1efa9 View commit details

Commits on Mar 26, 2020

  1. emacs-modes: build MELPA package sets without null packages

    The current algorithm creates attributes with null values for packages
    with no source in a variant of MELPA. Though will satify dependencies
    they produce no files, and though a build that transitively depends on
    one them will be successful, Emacs won't find them and any code
    depending on them won't work.
    
    The solution with minimal code change would have been filtering the
    list of results from melpaDerivation by comparing the value against
    null, but that leads to an infinite recursion.
    
    This commit also moves legacy renames from the shared to the unstable
    set, as the corresponding null value elements won't exist in the
    stable set anymore.
    
    The test used for the problem was:
    
      $ nix-build --show-trace ./default.nix -A emacs26Packages.melpaStablePackages.findr
      error: expression does not evaluate to a derivation (or a set or list of those)
    
    The expected output, obtained with this commit is:
    
      $ nix-build --show-trace ./default.nix -A emacs26Packages.melpaStablePackages.findr
      error: attribute 'findr' in selection path 'emacs26Packages.melpaStablePackages.findr' not found
    Servilio Afre Puentes committed Mar 26, 2020
    Copy the full SHA
    b2c8626 View commit details

Commits on Apr 3, 2020

  1. libmicrodns: 0.1.0 -> 0.1.2

    - CVE-2020-6071
    - CVE-2020-6072
    - CVE-2020-6073
    - CVE-2020-6077
    - CVE-2020-6078
    - CVE-2020-6079
    
    Buildsystem switched to Meson+Ninja.
    mmilata committed Apr 3, 2020
    Copy the full SHA
    18f3661 View commit details

Commits on Apr 14, 2020

  1. Copy the full SHA
    849f26d View commit details

Commits on Apr 20, 2020

  1. Copy the full SHA
    eb43e8d View commit details
  2. Copy the full SHA
    ef7e6ee View commit details
  3. Copy the full SHA
    bfffee9 View commit details
  4. Copy the full SHA
    f3c18b2 View commit details
  5. Copy the full SHA
    3112c0e View commit details

Commits on Apr 21, 2020

  1. Copy the full SHA
    6464d8f View commit details
  2. rl-2009: GNOME ISO

    worldofpeace committed Apr 21, 2020
    Copy the full SHA
    873f20f View commit details

Commits on Apr 22, 2020

  1. Copy the full SHA
    84ff95a View commit details

Commits on Apr 24, 2020

  1. cri-o: 1.17.3 -> 1.18.0

    - Make buildtags being able to set via the BUILDTAGS environment
    - Switch to go 1.14
    
    Signed-off-by: Sascha Grunert <sgrunert@suse.com>
    saschagrunert committed Apr 24, 2020
    Copy the full SHA
    1ae9631 View commit details

Commits on Apr 25, 2020

  1. open-watcom-bin: init at 1.9

    This is a derivation for the binary distribution of the Open Watcom
    C/C++ compiler.
    blitz committed Apr 25, 2020
    Copy the full SHA
    c26e7f9 View commit details
  2. Copy the full SHA
    d89ed04 View commit details
  3. Copy the full SHA
    6bac53e View commit details
  4. guvcview: format arguments

    doronbehar committed Apr 25, 2020
    Copy the full SHA
    ac0f42d View commit details
  5. Copy the full SHA
    6aaab57 View commit details
  6. Copy the full SHA
    1bfde2e View commit details
  7. thermald: 1.9.1 -> 2.1

    eadwu committed Apr 25, 2020
    Copy the full SHA
    3e051b0 View commit details
  8. Copy the full SHA
    f04b40a View commit details
  9. nixos/printing: make access to web-interface configurable

    Otherwise you'd always get a 403 when hosting the web-interface of cups
    at a different location than `localhost`.
    Ma27 committed Apr 25, 2020
    Copy the full SHA
    4062592 View commit details
  10. Copy the full SHA
    59588b6 View commit details
  11. Copy the full SHA
    f0b1ace View commit details
  12. Copy the full SHA
    716c07c View commit details
  13. Copy the full SHA
    a89b773 View commit details

Commits on Apr 26, 2020

  1. nixos/nsswitch: Make databases more configurable

    Instead of hardcoding all nss modules that are added into nsswitch,
    there are now options exposed.
    This allows users to add own nss modules (I had this issue with
    winbindd, for example).
    Also, nss modules could be moved to their NixOS modules which would
    make the nsswitch module slimmer.
    
    As the lists are now handled by the modules system, we can use mkOrder
    to ensure a proper order as well as mkForce to override one specific
    database type instead of the entire file.
    dasJ committed Apr 26, 2020
    Copy the full SHA
    bc2a4b3 View commit details

Commits on Apr 27, 2020

  1. dotnet: add initial support for arm64

    `jellyfin` appeared unsupported on `aarch64` due to `dotnet` platform
    support in nixpkgs, but there are ARM64 downloads of the `dotnet` SDKs
    available. This change follows the kind of pattern used in the
    `firecracker` packaging to support selective x86_64/arm64 downloads.
    
    With this change I can build `jellyfin` on a Raspberry Pi 4. The other
    content hashes have been filled in, and all build successfully, but
    they have not been further tested.
    purcell committed Apr 27, 2020
    Copy the full SHA
    3e98f66 View commit details
  2. nixpkgs-review: 2.3.0 -> 2.3.1

    Mic92 committed Apr 27, 2020
    Copy the full SHA
    2805d68 View commit details
  3. fish: 3.1.0 -> 3.1.1

    fish-shell/fish-shell@3.1.0...3.1.1
    
    The patch we had to use for Apple SDKs was merged upstream, so it can be
    dropped. I ran nixpkgs-fmt, and removed the `with stdenv.lib;` scope
    expander.
    
    Additionally, did a little bit of cleanup. I plan on refactoring this
    more down the line, but this'll do for now.
    
    I finally figured out why we use `fetchurl` for the tagged release: the
    published release tarballs contain a version file, which the
    `build_tools/git_version_gen.sh` script reads (and uses as the version
    if it exists). The other thing it contains are pre-generated docs for
    various `fish` builtins. I've expanded the comment to document this so
    nobody is as confused as I was when I first saw it. (Though I plan to
    change this and add sphinx as a native build input in order to build the
    docs ourselves.)
    cole-h committed Apr 27, 2020
    Copy the full SHA
    a43ae05 View commit details
  4. nixos/qemu-vm: don't set -vga std

    This has been default since QEMU 2.2, it also prevents using a different
    -vga
    worldofpeace authored and teto committed Apr 27, 2020
    Copy the full SHA
    a7ca287 View commit details
  5. nix-prefetch-docker: Add jq into path

    Otheriwse running the tool fails with
    
        line 41: jq: command not found
    nagisa committed Apr 27, 2020
    Copy the full SHA
    dde3e8e View commit details
  6. Merge pull request #85246 from matthewbauer/use-system-libraries-for-…

    …grpcio
    
    python.pkgs.grpcio: use system openssl, zlib, and c-ares
    matthewbauer authored Apr 27, 2020
    Copy the full SHA
    712026e View commit details
  7. pulseeffects: fix build

    Meson 0.54 is no longer able to find Boost:
    
    See #86131
    jtojnar committed Apr 27, 2020
    Copy the full SHA
    61a2045 View commit details
  8. Copy the full SHA
    301ede4 View commit details
  9. libquotient: rename from libqmatrixclient; v0.5.2 -> v0.5.3.2

    aliases: throw messages for libqmatrixclient and quaternion-git
    colemickens committed Apr 27, 2020
    Copy the full SHA
    c15f590 View commit details
  10. Copy the full SHA
    3ceefd2 View commit details
  11. PULL_REQUEST_TEMPLATE: try to simplify call-for-review

    The text is quite long and hard to read in hub (because it is one whole line
    with no line breaks). Also simplified the language/sentence structure a bit for
    non-native speakers.
    Mic92 committed Apr 27, 2020
    Copy the full SHA
    93862d0 View commit details
  12. Merge pull request #86110 from Mic92/pr-template

    PULL_REQUEST_TEMPLATE: try to simplify call-for-review
    Mic92 authored Apr 27, 2020
    Copy the full SHA
    974d11d View commit details
  13. fish: disable codesigning

    We don't have access to the codesign binary.
    cole-h committed Apr 27, 2020
    Copy the full SHA
    87b02f7 View commit details
  14. Copy the full SHA
    12a614b View commit details
  15. Copy the full SHA
    1f20c08 View commit details
  16. Copy the full SHA
    1066f11 View commit details
  17. diffoscope: 142 -> 143

    Ma27 committed Apr 27, 2020
    Copy the full SHA
    caadc44 View commit details
  18. Merge pull request #86135 from Mic92/nixpkgs-review

    nixpkgs-review: 2.3.0 -> 2.3.1
    bhipple authored Apr 27, 2020
    Copy the full SHA
    697bff7 View commit details

Commits on Apr 28, 2020

  1. Merge pull request #86144 from danielfullmer/hcxdumptool-rename

    hcxdumptool: fix incorrect pname
    Lassulus authored Apr 28, 2020
    Copy the full SHA
    b83ab97 View commit details
  2. emacsPackages.filesets-plus: Remove package

    It's refering to an unversioned emacswiki file with the wrong hash.
    adisbladis committed Apr 28, 2020
    Copy the full SHA
    cd49c48 View commit details
  3. emacsPackages.hexrgb: Remove package

    It's refering to an unversioned emacswiki file with the wrong hash.
    adisbladis committed Apr 28, 2020
    Copy the full SHA
    9b52db9 View commit details
  4. emacsPackages.header2: Remove package

    It's refering to an unversioned emacswiki file with the wrong hash.
    adisbladis committed Apr 28, 2020
    Copy the full SHA
    576e67a View commit details
  5. emacsPackages.icicles: Remove package

    It's refering to an unversioned emacswiki file with the wrong hash.
    adisbladis committed Apr 28, 2020
    Copy the full SHA
    7e69b3f View commit details
Showing with 1,346 additions and 2,086 deletions.
  1. +10 −1 .github/PULL_REQUEST_TEMPLATE.md
  2. +6 −5 lib/tests/maintainers.nix
  3. +12 −3 lib/tests/release.nix
  4. +12 −0 maintainers/team-list.nix
  5. +5 −0 nixos/doc/manual/release-notes/rl-2009.xml
  6. +101 −39 nixos/modules/config/nsswitch.nix
  7. +0 −1 nixos/modules/module-list.nix
  8. +4 −0 nixos/modules/programs/fish.nix
  9. +4 −0 nixos/modules/rename.nix
  10. +1 −1 nixos/modules/security/acme.nix
  11. +10 −2 nixos/modules/security/pam.nix
  12. +0 −51 nixos/modules/security/prey.nix
  13. +1 −1 nixos/modules/services/misc/gitlab.nix
  14. +1 −0 nixos/modules/services/misc/pykms.nix
  15. +5 −0 nixos/modules/services/misc/sssd.nix
  16. +13 −3 nixos/modules/services/printing/cupsd.nix
  17. +1 −1 nixos/modules/services/x11/desktop-managers/pantheon.xml
  18. +1 −1 nixos/modules/virtualisation/qemu-vm.nix
  19. +1 −0 nixos/release-combined.nix
  20. +6 −0 nixos/release.nix
  21. +3 −2 nixos/tests/acme.nix
  22. +5 −0 pkgs/applications/audio/pulseeffects/default.nix
  23. +5 −3 pkgs/applications/blockchains/lnd.nix
  24. +2 −2 pkgs/applications/blockchains/monero-gui/default.nix
  25. +2 −2 pkgs/applications/blockchains/monero/default.nix
  26. +0 −22 pkgs/applications/editors/emacs-modes/filesets-plus/default.nix
  27. +0 −23 pkgs/applications/editors/emacs-modes/header2/default.nix
  28. +0 −23 pkgs/applications/editors/emacs-modes/hexrgb/default.nix
  29. +0 −43 pkgs/applications/editors/emacs-modes/icicles/default.nix
  30. +0 −23 pkgs/applications/editors/emacs-modes/lib-requires/default.nix
  31. +6 −3 pkgs/applications/editors/emacs-modes/libgenerated.nix
  32. +0 −15 pkgs/applications/editors/emacs-modes/manual-packages.nix
  33. +13 −9 pkgs/applications/editors/emacs-modes/melpa-packages.nix
  34. +0 −23 pkgs/applications/editors/emacs-modes/thingatpt-plus/default.nix
  35. +0 −30 pkgs/applications/editors/emacs-modes/yaoddmuse/default.nix
  36. +3 −3 pkgs/applications/graphics/sane/backends/brscan4/default.nix
  37. +2 −2 pkgs/applications/graphics/sane/frontends.nix
  38. +2 −2 pkgs/applications/graphics/sane/xsane.nix
  39. +10 −0 pkgs/applications/kde/kate.nix
  40. +9 −1 pkgs/applications/kde/konqueror.nix
  41. +9 −0 pkgs/applications/kde/okular.nix
  42. +2 −2 pkgs/applications/misc/dbeaver/default.nix
  43. +2 −2 pkgs/applications/misc/digitalbitbox/default.nix
  44. +2 −2 pkgs/applications/misc/garmin-plugin/default.nix
  45. +5 −5 pkgs/applications/misc/golden-cheetah/default.nix
  46. +1 −1 pkgs/applications/misc/lutris/chrootenv.nix
  47. +3 −3 pkgs/applications/misc/nut/default.nix
  48. +3 −3 pkgs/applications/misc/perkeep/default.nix
  49. +2 −2 pkgs/applications/misc/qlandkartegt/garmindev.nix
  50. +2 −2 pkgs/applications/misc/qlcplus/default.nix
  51. +2 −2 pkgs/applications/misc/subsurface/default.nix
  52. +3 −3 pkgs/applications/misc/wtf/default.nix
  53. +58 −40 pkgs/applications/networking/browsers/palemoon/default.nix
  54. +2 −2 pkgs/applications/networking/cluster/nomad/default.nix
  55. +6 −17 pkgs/applications/networking/cluster/openshift/default.nix
  56. +0 −45 pkgs/applications/networking/gopher/gopherclient/default.nix
  57. +40 −39 pkgs/applications/networking/instant-messengers/quaternion/default.nix
  58. +6 −3 pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
  59. +2 −2 pkgs/applications/networking/instant-messengers/zoom-us/default.nix
  60. +5 −5 pkgs/applications/networking/remote/rdesktop/default.nix
  61. +9 −3 pkgs/applications/office/watson/default.nix
  62. +2 −2 pkgs/applications/radio/sdrangel/default.nix
  63. +2 −2 pkgs/applications/radio/soapysdr/default.nix
  64. +2 −2 pkgs/applications/radio/welle-io/default.nix
  65. +2 −2 pkgs/applications/science/machine-learning/fasttext/default.nix
  66. +2 −2 pkgs/applications/science/math/cemu/default.nix
  67. +2 −2 pkgs/applications/science/misc/foldingathome/client.nix
  68. +2 −2 pkgs/applications/science/misc/foldingathome/control.nix
  69. +2 −2 pkgs/applications/science/misc/foldingathome/viewer.nix
  70. +2 −2 pkgs/applications/science/robotics/gazebo/default.nix
  71. +3 −3 pkgs/applications/video/kodi/default.nix
  72. +48 −7 pkgs/applications/video/qstopmotion/default.nix
  73. +5 −9 pkgs/applications/virtualization/cri-o/default.nix
  74. +2 −2 pkgs/applications/virtualization/podman/default.nix
  75. +4 −0 pkgs/applications/virtualization/virtualbox/default.nix
  76. +2 −2 pkgs/build-support/docker/nix-prefetch-docker.nix
  77. +2 −2 pkgs/desktops/pantheon/desktop/gala/default.nix
  78. +4 −4 pkgs/development/arduino/arduino-core/default.nix
  79. +9 −5 pkgs/development/compilers/dotnet/buildDotnet.nix
  80. +41 −13 pkgs/development/compilers/dotnet/default.nix
  81. +0 −247 pkgs/development/compilers/go/1.12.nix
  82. +0 −24 pkgs/development/compilers/go/remove-test-pie.patch
  83. +0 −59 pkgs/development/compilers/go/ssl-cert-file-1.12.1.patch
  84. +67 −0 pkgs/development/compilers/open-watcom-bin/default.nix
  85. +3 −3 pkgs/development/compilers/unison/default.nix
  86. +4 −4 pkgs/development/coq-modules/gappalib/default.nix
  87. +13 −13 pkgs/development/interpreters/dart/default.nix
  88. +2 −2 pkgs/development/libraries/garmintools/default.nix
  89. +2 −2 pkgs/development/libraries/hamlib/default.nix
  90. +0 −224 pkgs/development/libraries/kinetic-cpp-client/build-fix.patch
  91. +0 −58 pkgs/development/libraries/kinetic-cpp-client/default.nix
  92. +3 −3 pkgs/development/libraries/libftdi/default.nix
  93. +6 −4 pkgs/development/libraries/libmicrodns/default.nix
  94. +2 −2 pkgs/development/libraries/libnfc/default.nix
  95. +0 −38 pkgs/development/libraries/libqmatrixclient/default.nix
  96. +24 −0 pkgs/development/libraries/libquotient/default.nix
  97. 0 pkgs/development/libraries/{libusb/default.nix → libusb-compat/0.1.nix}
  98. +2 −2 pkgs/development/libraries/lirc/default.nix
  99. +2 −2 pkgs/development/libraries/openct/default.nix
  100. +36 −7 pkgs/development/libraries/packr/default.nix
  101. +2 −2 pkgs/development/libraries/scmccid/default.nix
  102. +2 −2 pkgs/development/libraries/unicap/default.nix
  103. +2 −2 pkgs/development/libraries/webkitgtk/default.nix
  104. +0 −50 pkgs/development/misc/amdadl-sdk/default.nix
  105. +0 −10 pkgs/development/misc/amdapp-sdk/01-remove-aparapi-samples.patch
  106. +0 −108 pkgs/development/misc/amdapp-sdk/default.nix
  107. +0 −11 pkgs/development/misc/amdapp-sdk/gcc-5.patch
  108. +2 −2 pkgs/development/misc/msp430/mspdebug.nix
  109. +2 −2 pkgs/development/mobile/webos/novacomd.nix
  110. +2 −2 pkgs/development/mobile/xpwn/default.nix
  111. +3 −3 pkgs/development/ocaml-modules/angstrom/default.nix
  112. +5 −5 pkgs/development/ocaml-modules/tsdl/default.nix
  113. +31 −0 pkgs/development/python-modules/auth0-python/default.nix
  114. +13 −7 pkgs/development/python-modules/batchgenerators/default.nix
  115. +36 −0 pkgs/development/python-modules/cloudflare/default.nix
  116. +4 −10 pkgs/development/python-modules/fasttext/default.nix
  117. +6 −1 pkgs/development/python-modules/grpcio/default.nix
  118. +5 −10 pkgs/development/python-modules/mysql-connector/default.nix
  119. +38 −0 pkgs/development/python-modules/pylibftdi/default.nix
  120. +2 −4 pkgs/development/python-modules/pyusb/default.nix
  121. +2 −2 pkgs/development/tools/analysis/radare2/default.nix
  122. +11 −13 pkgs/development/tools/bazel-watcher/default.nix
  123. +2 −2 pkgs/development/tools/continuous-integration/jenkins/default.nix
  124. +3 −3 pkgs/development/tools/jid/default.nix
  125. +29 −11 pkgs/development/tools/jid/deps.nix
  126. +2 −2 pkgs/development/tools/misc/avrdude/default.nix
  127. +2 −2 pkgs/development/tools/misc/blackmagic/default.nix
  128. +2 −2 pkgs/development/tools/misc/dfu-programmer/default.nix
  129. +2 −2 pkgs/development/tools/misc/micronucleus/default.nix
  130. +2 −2 pkgs/development/tools/misc/teensy-loader-cli/default.nix
  131. +2 −2 pkgs/development/tools/misc/wishbone-tool/default.nix
  132. +2 −2 pkgs/development/tools/misc/xc3sprog/default.nix
  133. +2 −2 pkgs/development/web/nodejs/v12.nix
  134. +4 −4 pkgs/misc/arm-trusted-firmware/default.nix
  135. +3 −3 pkgs/misc/cups/drivers/samsung/1.00.36/default.nix
  136. +3 −3 pkgs/misc/cups/drivers/samsung/1.00.37.nix
  137. +2 −2 pkgs/misc/cups/drivers/samsung/4.01.17.nix
  138. +2 −2 pkgs/misc/drivers/epkowa/default.nix
  139. +2 −2 pkgs/misc/drivers/gutenprint/default.nix
  140. +2 −2 pkgs/os-specific/linux/g15daemon/default.nix
  141. +57 −16 pkgs/os-specific/linux/guvcview/default.nix
  142. +29 −0 pkgs/os-specific/linux/libfabric/default.nix
  143. +42 −0 pkgs/os-specific/linux/libpsm2/default.nix
  144. +2 −2 pkgs/os-specific/linux/v4l2loopback/default.nix
  145. +17 −13 pkgs/servers/consul/default.nix
  146. +4 −4 pkgs/servers/mautrix-whatsapp/default.nix
  147. +3 −3 pkgs/servers/monitoring/kapacitor/default.nix
  148. +2 −2 pkgs/servers/monitoring/lcdproc/default.nix
  149. +4 −4 pkgs/servers/monitoring/prometheus/varnish-exporter.nix
  150. +2 −2 pkgs/servers/monitoring/telegraf/default.nix
  151. +83 −59 pkgs/shells/fish/default.nix
  152. +12 −0 pkgs/shells/fish/dont-codesign-on-mac.diff
  153. +3 −3 pkgs/shells/zsh/oh-my-zsh/default.nix
  154. +2 −2 pkgs/shells/zsh/zsh-powerlevel10k/default.nix
  155. +1 −1 pkgs/tools/admin/lego/default.nix
  156. +1 −1 pkgs/tools/admin/pebble/default.nix
  157. +2 −2 pkgs/tools/admin/scaleway-cli/default.nix
  158. +2 −2 pkgs/tools/bluetooth/obex-data-server/default.nix
  159. +2 −2 pkgs/tools/bluetooth/openobex/default.nix
  160. +2 −2 pkgs/tools/misc/diffoscope/default.nix
  161. +2 −2 pkgs/tools/misc/gnokii/default.nix
  162. +2 −2 pkgs/tools/misc/grub/2.0x.nix
  163. +2 −2 pkgs/tools/misc/grub/trusted.nix
  164. +3 −3 pkgs/tools/misc/pk2cmd/default.nix
  165. +2 −2 pkgs/tools/misc/sixpair/default.nix
  166. +3 −3 pkgs/tools/misc/starship/default.nix
  167. +2 −2 pkgs/tools/misc/urjtag/default.nix
  168. +2 −2 pkgs/tools/misc/xburst-tools/default.nix
  169. +3 −5 pkgs/tools/networking/pykms/default.nix
  170. +20 −0 pkgs/tools/networking/pykms/log-to-current-directory-by-default.patch
  171. +1 −1 pkgs/tools/package-management/nix-du/default.nix
  172. +2 −2 pkgs/tools/package-management/nixpkgs-review/default.nix
  173. +2 −2 pkgs/tools/security/brutespray/default.nix
  174. +2 −2 pkgs/tools/security/gnupg/20.nix
  175. +1 −1 pkgs/tools/security/hcxdumptool/default.nix
  176. +2 −2 pkgs/tools/security/libacr38u/default.nix
  177. +0 −175 pkgs/tools/security/pass/extensions/audit/0001-Make-it-possible-to-run-the-tests-offline.patch
  178. +5 −4 pkgs/tools/security/pass/extensions/audit/default.nix
  179. +2 −2 pkgs/tools/security/pcsc-scm-scl011/default.nix
  180. +0 −48 pkgs/tools/security/prey/default.nix
  181. +5 −5 pkgs/tools/system/thermald/default.nix
  182. +7 −0 pkgs/top-level/aliases.nix
  183. +36 −121 pkgs/top-level/all-packages.nix
  184. +8 −0 pkgs/top-level/python-packages.nix
11 changes: 10 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
<!-- Nixpkgs has a lot of new incoming Pull Requests, but not enough people to review this constant stream. Even if you aren't a committer, we would appreciate reviews of other PRs, especially simple ones like package updates. Just testing the relevant package/service and leaving a comment saying what you tested, how you tested it and whether it worked would be great. List of open PRs: <https://github.com/NixOS/nixpkgs/pulls>, for more about reviewing contributions: <https://hydra.nixos.org/job/nixpkgs/trunk/manual/latest/download/1/nixpkgs/manual.html#chap-reviewing-contributions>. Reviewing isn't mandatory, but it would help out a lot and reduce the average time-to-merge for all of us. Thanks a lot if you do! -->
<!--
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://hydra.nixos.org/job/nixpkgs/trunk/manual/latest/download/1/nixpkgs/manual.html#chap-reviewing-contributions
-->

###### Motivation for this change


11 changes: 6 additions & 5 deletions lib/tests/maintainers.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# to run these tests:
# nix-build nixpkgs/lib/tests/maintainers.nix
# If nothing is output, all tests passed
{ pkgs ? import ../.. {} }:
# to run these tests (and the others)
# nix-build nixpkgs/lib/tests/release.nix
{ # The pkgs used for dependencies for the testing itself
pkgs
, lib
}:

let
inherit (pkgs) lib;
inherit (lib) types;

maintainerModule = { config, ... }: {
15 changes: 12 additions & 3 deletions lib/tests/release.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
{ pkgs ? import ../.. {} }:
{ # The pkgs used for dependencies for the testing itself
# Don't test properties of pkgs.lib, but rather the lib in the parent directory
pkgs ? import ../.. {} // { lib = throw "pkgs.lib accessed, but the lib tests should use nixpkgs' lib path directly!"; }
}:

pkgs.runCommandNoCC "nixpkgs-lib-tests" {
buildInputs = [ pkgs.nix (import ./check-eval.nix) (import ./maintainers.nix { inherit pkgs; }) ];
NIX_PATH = "nixpkgs=${toString pkgs.path}";
buildInputs = [
pkgs.nix
(import ./check-eval.nix)
(import ./maintainers.nix {
inherit pkgs;
lib = import ../.;
})
];
} ''
datadir="${pkgs.nix}/share"
export TEST_ROOT=$(pwd)/test-tmp
12 changes: 12 additions & 0 deletions maintainers/team-list.nix
Original file line number Diff line number Diff line change
@@ -17,6 +17,18 @@

{ lib }:
with lib.maintainers; {
acme = {
members = [
aanderse
andrew-d
arianvp
emily
flokli
m1cr0man
];
scope = "Maintain ACME-related packages and modules.";
};

freedesktop = {
members = [ jtojnar worldofpeace ];
scope = "Maintain Freedesktop.org packages for graphical desktop.";
5 changes: 5 additions & 0 deletions nixos/doc/manual/release-notes/rl-2009.xml
Original file line number Diff line number Diff line change
@@ -26,6 +26,11 @@
<listitem>
<para>GNOME desktop environment was upgraded to 3.36, see its <link xlink:href="https://help.gnome.org/misc/release-notes/3.36/">release notes</link>.</para>
</listitem>
<listitem>
<para>
We now distribute a GNOME ISO.
</para>
</listitem>
<listitem>
<para>
PHP now defaults to PHP 7.4, updated from 7.3.
140 changes: 101 additions & 39 deletions nixos/modules/config/nsswitch.nix
Original file line number Diff line number Diff line change
@@ -10,35 +10,36 @@ let
canLoadExternalModules = config.services.nscd.enable;
myhostname = canLoadExternalModules;
mymachines = canLoadExternalModules;
# XXX Move these to their respective modules
nssmdns = canLoadExternalModules && config.services.avahi.nssmdns;
nsswins = canLoadExternalModules && config.services.samba.nsswins;
ldap = canLoadExternalModules && (config.users.ldap.enable && config.users.ldap.nsswitch);
sssd = canLoadExternalModules && config.services.sssd.enable;
resolved = canLoadExternalModules && config.services.resolved.enable;
googleOsLogin = canLoadExternalModules && config.security.googleOsLogin.enable;

hostArray = [ "files" ]
++ optional mymachines "mymachines"
++ optional nssmdns "mdns_minimal [NOTFOUND=return]"
++ optional nsswins "wins"
++ optional resolved "resolve [!UNAVAIL=return]"
++ [ "dns" ]
++ optional nssmdns "mdns"
++ optional myhostname "myhostname";

passwdArray = [ "files" ]
++ optional sssd "sss"
++ optional ldap "ldap"
++ optional mymachines "mymachines"
++ optional googleOsLogin "cache_oslogin oslogin"
++ [ "systemd" ];

shadowArray = [ "files" ]
++ optional sssd "sss"
++ optional ldap "ldap";

servicesArray = [ "files" ]
++ optional sssd "sss";
hostArray = mkMerge [
(mkBefore [ "files" ])
(mkIf mymachines [ "mymachines" ])
(mkIf nssmdns [ "mdns_minimal [NOTFOUND=return]" ])
(mkIf nsswins [ "wins" ])
(mkIf resolved [ "resolve [!UNAVAIL=return]" ])
(mkAfter [ "dns" ])
(mkIf nssmdns (mkOrder 1501 [ "mdns" ])) # 1501 to ensure it's after dns
(mkIf myhostname (mkOrder 1600 [ "myhostname" ])) # 1600 to ensure it's always the last
];

passwdArray = mkMerge [
(mkBefore [ "files" ])
(mkIf ldap [ "ldap" ])
(mkIf mymachines [ "mymachines" ])
(mkIf googleOsLogin [ "cache_oslogin oslogin" ])
(mkIf canLoadExternalModules (mkAfter [ "systemd" ]))
];

shadowArray = mkMerge [
(mkBefore [ "files" ])
(mkIf ldap [ "ldap" ])
];

in {
options = {
@@ -61,17 +62,73 @@ in {
};
};

system.nssHosts = mkOption {
type = types.listOf types.str;
default = [];
example = [ "mdns" ];
description = ''
List of host entries to configure in <filename>/etc/nsswitch.conf</filename>.
'';
};
system.nssDatabases = {
passwd = mkOption {
type = types.listOf types.str;
description = ''
List of passwd entries to configure in <filename>/etc/nsswitch.conf</filename>.
Note that "files" is always prepended while "systemd" is appended if nscd is enabled.
This option only takes effect if nscd is enabled.
'';
default = [];
};

group = mkOption {
type = types.listOf types.str;
description = ''
List of group entries to configure in <filename>/etc/nsswitch.conf</filename>.
Note that "files" is always prepended while "systemd" is appended if nscd is enabled.
This option only takes effect if nscd is enabled.
'';
default = [];
};

shadow = mkOption {
type = types.listOf types.str;
description = ''
List of shadow entries to configure in <filename>/etc/nsswitch.conf</filename>.
Note that "files" is always prepended.
This option only takes effect if nscd is enabled.
'';
default = [];
};

hosts = mkOption {
type = types.listOf types.str;
description = ''
List of hosts entries to configure in <filename>/etc/nsswitch.conf</filename>.
Note that "files" is always prepended, and "dns" and "myhostname" are always appended.
This option only takes effect if nscd is enabled.
'';
default = [];
};

services = mkOption {
type = types.listOf types.str;
description = ''
List of services entries to configure in <filename>/etc/nsswitch.conf</filename>.
Note that "files" is always prepended.
This option only takes effect if nscd is enabled.
'';
default = [];
};
};
};

imports = [
(mkRenamedOptionModule [ "system" "nssHosts" ] [ "system" "nssDatabases" "hosts" ])
];

config = {
assertions = [
{
@@ -87,23 +144,28 @@ in {
];

# Name Service Switch configuration file. Required by the C
# library. !!! Factor out the mdns stuff. The avahi module
# should define an option used by this module.
# library.
environment.etc."nsswitch.conf".text = ''
passwd: ${concatStringsSep " " passwdArray}
group: ${concatStringsSep " " passwdArray}
shadow: ${concatStringsSep " " shadowArray}
passwd: ${concatStringsSep " " config.system.nssDatabases.passwd}
group: ${concatStringsSep " " config.system.nssDatabases.group}
shadow: ${concatStringsSep " " config.system.nssDatabases.shadow}
hosts: ${concatStringsSep " " config.system.nssHosts}
hosts: ${concatStringsSep " " config.system.nssDatabases.hosts}
networks: files
ethers: files
services: ${concatStringsSep " " servicesArray}
services: ${concatStringsSep " " config.system.nssDatabases.services}
protocols: files
rpc: files
'';

system.nssHosts = hostArray;
system.nssDatabases = {
passwd = passwdArray;
group = passwdArray;
shadow = shadowArray;
hosts = hostArray;
services = mkBefore [ "files" ];
};

# Systemd provides nss-myhostname to ensure that our hostname
# always resolves to a valid IP address. It returns all locally
1 change: 0 additions & 1 deletion nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
@@ -196,7 +196,6 @@
./security/pam_usb.nix
./security/pam_mount.nix
./security/polkit.nix
./security/prey.nix
./security/rngd.nix
./security/rtkit.nix
./security/wrappers/default.nix
4 changes: 4 additions & 0 deletions nixos/modules/programs/fish.nix
Original file line number Diff line number Diff line change
@@ -178,6 +178,10 @@ in
set -l post (string join0 $fish_complete_path | string match --regex "[^\x00]*generated_completions.*" | string split0 | string match -er ".")
set fish_complete_path $prev "/etc/fish/generated_completions" $post
end
# prevent fish from generating completions on first run
if not test -d $__fish_user_data_dir/generated_completions
${pkgs.coreutils}/bin/mkdir $__fish_user_data_dir/generated_completions
end
'';

environment.etc."fish/generated_completions".source =
4 changes: 4 additions & 0 deletions nixos/modules/rename.nix
Original file line number Diff line number Diff line change
@@ -49,6 +49,10 @@ with lib;
simply add the brightnessctl package to environment.systemPackages.
'')

(mkRemovedOptionModule ["services" "prey" ] ''
prey-bash-client is deprecated upstream
'')

# Do NOT add any option renames here, see top of the file
];
}
2 changes: 1 addition & 1 deletion nixos/modules/security/acme.nix
Original file line number Diff line number Diff line change
@@ -458,7 +458,7 @@ in
];

meta = {
maintainers = with lib.maintainers; [ abbradar fpletz globin m1cr0man ];
maintainers = lib.teams.acme.members;
doc = ./acme.xml;
};
}
12 changes: 10 additions & 2 deletions nixos/modules/security/pam.nix
Original file line number Diff line number Diff line change
@@ -219,6 +219,14 @@ let
'';
};

nodelay = mkOption {
default = false;
type = types.bool;
description = ''
Wheather the delay after typing a wrong password should be disabled.
'';
};

requireWheel = mkOption {
default = false;
type = types.bool;
@@ -366,7 +374,7 @@ let
|| cfg.enableGnomeKeyring
|| cfg.googleAuthenticator.enable
|| cfg.duoSecurity.enable)) ''
auth required pam_unix.so ${optionalString cfg.allowNullPassword "nullok"} likeauth
auth required pam_unix.so ${optionalString cfg.allowNullPassword "nullok"} ${optionalString cfg.nodelay "nodelay"} likeauth
${optionalString config.security.pam.enableEcryptfs
"auth optional ${pkgs.ecryptfs}/lib/security/pam_ecryptfs.so unwrap"}
${optionalString cfg.pamMount
@@ -382,7 +390,7 @@ let
"auth required ${pkgs.duo-unix}/lib/security/pam_duo.so"}
'') + ''
${optionalString cfg.unixAuth
"auth sufficient pam_unix.so ${optionalString cfg.allowNullPassword "nullok"} likeauth try_first_pass"}
"auth sufficient pam_unix.so ${optionalString cfg.allowNullPassword "nullok"} ${optionalString cfg.nodelay "nodelay"} likeauth try_first_pass"}
${optionalString cfg.otpwAuth
"auth sufficient ${pkgs.otpw}/lib/security/pam_otpw.so"}
${optionalString use_ldap
51 changes: 0 additions & 51 deletions nixos/modules/security/prey.nix

This file was deleted.

2 changes: 1 addition & 1 deletion nixos/modules/services/misc/gitlab.nix
Original file line number Diff line number Diff line change
@@ -180,7 +180,7 @@ let
${optionalString (cfg.smtp.passwordFile != null) ''password: "@smtpPassword@",''}
domain: "${cfg.smtp.domain}",
${optionalString (cfg.smtp.authentication != null) "authentication: :${cfg.smtp.authentication},"}
enable_starttls_auto: ${toString cfg.smtp.enableStartTLSAuto},
enable_starttls_auto: ${boolToString cfg.smtp.enableStartTLSAuto},
ca_file: "/etc/ssl/certs/ca-certificates.crt",
openssl_verify_mode: '${cfg.smtp.opensslVerifyMode}'
}
Loading