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: c52cc1953c8c
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: 5e6adf78e964
Choose a head ref

Commits on Dec 7, 2019

  1. perlPackages.XMLParser: Work around cross-compilation regression

    Since 2.44_01, the behaviour for `check_lib` in their `Makefile.PL` has
    been "fixed" to fail when the `assert_lib` function fails to build the
    test.
    
     * cpan-authors/XML-Parser@2bc1e90
    
    Now, this wouldn't be so bad, since it's good to actually test what
    stuff is being compiled against.
    
    Except that *something* is wonky with the cross-compilation build-time
    Perl.
    
    ```
    Undefined subroutine &File::Temp::mktemp called at inc/Devel/CheckLib.pm line 236.
    ```
    
    As far as I know, this is a built-in function from Perl.
    
     * https://perldoc.perl.org/File/Temp.html
    
    Though, something *else* is wrong with `Checklib.pm`. Side-stepping the
    issue by (eww) shelling out to `mktemp`, we get these errors:
    
    ```
    
    /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-armv7l-unknown-linux-gnueabihf-binutils-2.31.1/bin/armv7l-unknown-linux-gnueabihf-ld: assertlib_src1_0.553056903257133: file not recognized: file truncated
    collect2: error: ld returned 1 exit status
     -I/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.2.8-armv7l-unknown-linux-gnueabihf-dev/include -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.2.8-armv7l-unknown-linux-gnueabihf/lib -lexpat
    /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-armv7l-unknown-linux-gnueabihf-binutils-2.31.1/bin/armv7l-unknown-linux-gnueabihf-ld: assertlib_src2_0.262169388446154: file not recognized: file truncated
    collect2: error: ld returned 1 exit status
    Can't link/include C library 'expat.h', 'expat', aborting.
    ```
    
    Meanwhile, the actual build, while building the library, seemingly has
    no issues building using those paths. `¯\_(ツ)_/¯`
    samueldr committed Dec 7, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    primeos Michael Weiss
    Copy the full SHA
    706247f View commit details

Commits on Feb 27, 2020

  1. nixosTests.systemd-confinement: Port to Python

    Jacek Galowicz committed Feb 27, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    primeos Michael Weiss
    Copy the full SHA
    1320f23 View commit details

Commits on Mar 2, 2020

  1. linux config: Set TCP_CONG_CUBIC=yes to restore the default

    This will switch the default TCP congestion control algorithm from
    new Reno to CUBIC. CUBIC is the default since Linux kernel 2.6.19
    (see 597811ec167fa) and most (all?) distributions keep this default
    (e.g. Debian and Ubuntu). On NixOS the default was still new Reno
    because generate-config.pl changes TCP_CONG_CUBIC from y to m (since we
    try to build everything as a module by default).
    
    To check the active and available algorithms:
    $ sysctl net.ipv4.tcp_congestion_control
    net.ipv4.tcp_congestion_control = cubic
    $ sysctl net.ipv4.tcp_available_congestion_control
    net.ipv4.tcp_available_congestion_control = cubic reno
    
    Note: E.g. x86_64_defconfig sets TCP_CONG_CUBIC=y indirectly via
    CONFIG_TCP_CONG_ADVANCED=y (but CUBIC is also the default if set to no,
    see net/ipv4/Kconfig).
    primeos committed Mar 2, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    primeos Michael Weiss
    Copy the full SHA
    60f4345 View commit details

Commits on Mar 23, 2020

  1. gcc: move .dll.a* outputs to $lib

    These are expected to be here for Windows compilation. The change in
    e1831eb didn’t move these
    correctly (while still patching the search paths).
    
    https://hydra.nixos.org/build/114202790
    matthewbauer committed Mar 23, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    c304c1e View commit details

Commits on Mar 30, 2020

  1. cairo: pass --disable-xlib to config if no x11

    It appears that cairo's configure script, at least on MacOS but perhaps
    elsewhere, unconditionally enables xlib support, even if the library
    isn't present, which breaks the build on MacOS always (since x11 is
    disabled by default now). This explicitly passes `--disable-x11` if
    x11Support is set to false, which fixes the build for me.
    glittershark committed Mar 30, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    84f720d View commit details

Commits on Apr 2, 2020

  1. iproute: 5.5.0 -> 5.6.0

    "Not a lot of changes in this release, most are related to fixing output
    formatting and documentation." [0]
    
    File changes (additions/removals):
    +share/man/man8/tc-ets.8.gz
    +share/man/man8/tc-fq_pie.8.gz
    
    nix path-info -S:
    5.5.0 51509616
    5.6.0 51528680
    
    [0]: https://marc.info/?l=linux-netdev&m=158585608413591
    primeos committed Apr 2, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    41d6bfe View commit details

Commits on Apr 5, 2020

  1. byacc: 20191125 -> 20200330

    r-ryantm committed Apr 5, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    17b5600 View commit details
  2. gsm: 1.0.18 -> 1.0.19

    r-ryantm committed Apr 5, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    88f46e7 View commit details

Commits on Apr 6, 2020

  1. retroarch: add wayland dependency and fix cross

    - Need custom pkg-config setting
    - add wayland & libxkbcommon
    matthewbauer committed Apr 6, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    primeos Michael Weiss
    Copy the full SHA
    7d278d7 View commit details
  2. Verified

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

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    aa46e1a View commit details
  4. iproute: Build the netem tools

    They will be installed now and we can provide $HOSTCC for
    cross-compilation.
    
    New files:
    +lib/tc/experimental.dist
    +lib/tc/normal.dist
    +lib/tc/pareto.dist
    +lib/tc/paretonormal.dist
    
    Note: The distributions are generated in a reproducible way.
    
    Co-Authored-By: Benjamin Saunders <ben.e.saunders@gmail.com>
    primeos and Ralith committed Apr 6, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    andir Andreas Rammhold
    Copy the full SHA
    94f2a76 View commit details
  5. Merge pull request #81500 from primeos/tcp-cong-switch-to-cubic

    linux config: Set TCP_CONG_CUBIC=yes to restore the default
    edolstra authored Apr 6, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    andir Andreas Rammhold
    Copy the full SHA
    5091324 View commit details
  6. Merge pull request #84385 from r-ryantm/auto-update/gsm

    gsm: 1.0.18 -> 1.0.19
    7c6f434c authored Apr 6, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    andir Andreas Rammhold
    Copy the full SHA
    9b7510a View commit details
  7. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    andir Andreas Rammhold
    Copy the full SHA
    d0dbdfe View commit details
  8. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    andir Andreas Rammhold
    Copy the full SHA
    0f41c15 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
    f834747 View commit details
  10. gdk-pixbuf: support cross compilation

    - add glib to nativeBuildInputs
    - only update loaders cache on native builds
    matthewbauer committed Apr 6, 2020
    Copy the full SHA
    139fd8b View commit details
  11. plymouth: set systemd-tty-ask-password-agent path

    This is needed in cross where systemd is not in path.
    matthewbauer committed Apr 6, 2020
    Copy the full SHA
    3a71e62 View commit details
  12. libva: add wayland as native build input

    Also set wayland-scanner to proper path
    matthewbauer committed Apr 6, 2020
    Copy the full SHA
    65b967f View commit details
  13. Copy the full SHA
    777a2b4 View commit details
  14. Copy the full SHA
    80be56b View commit details
  15. glib: put gsettings directory in target

    These should be runtime, not build time deps
    matthewbauer committed Apr 6, 2020
    Copy the full SHA
    36109cd View commit details
  16. Copy the full SHA
    93a8887 View commit details
  17. gdk-pixbuf: make target env hook

    Unfortunately, we need to emulate the system to get a real cache.
    Native version doesn’t know the right paths.
    matthewbauer committed Apr 6, 2020
    Copy the full SHA
    6c5983a View commit details
  18. fontconfig: only generate cache on native compilation

    We can’t cross-compile the cache, so just skip it for now.
    matthewbauer committed Apr 6, 2020
    Copy the full SHA
    8a5059e View commit details
  19. treewide/nixos: use stdenv.cc.libc instead of glibc when available

    This prevents duplication in cross-compiled nixos machines. The
    bootstrapped glibc differs from the natively compiled one, so we get
    two glibc’s in the closure. To reduce closure size, just use
    stdenv.cc.libc where available.
    matthewbauer committed Apr 6, 2020
    Copy the full SHA
    7cc40e1 View commit details
  20. libXres: enable cross-compilation

    - adds utilmacros
    - set null malloc flag
    matthewbauer committed Apr 6, 2020
    Copy the full SHA
    24f8bad View commit details
  21. libvpx: set proper target name

    - Needs to be like <cpu>-<os>-gcc.
    - Remove unneeded --enable-external-build flag
        This confuses the feature detection and is not needed for cross
        compilation anymore.
    matthewbauer committed Apr 6, 2020
    Copy the full SHA
    e446334 View commit details
  22. bluez: don’t build python packages when tests are disabled

    Can’t run these on cross anyway
    matthewbauer committed Apr 6, 2020
    Copy the full SHA
    0bbdba2 View commit details
  23. Copy the full SHA
    024877e View commit details
  24. libvisual: fix null malloc check on cross

    this is needed to build
    matthewbauer committed Apr 6, 2020
    Copy the full SHA
    a656aeb View commit details
  25. libasyncns: override malloc null check in cross

    This is needed to build and avoid malloc error.
    matthewbauer committed Apr 6, 2020
    Copy the full SHA
    99355cc View commit details
  26. waylandpp: fix cross compilation

    - add libffi dependency
    - provide wayland-scanner++ when cross compiling
    matthewbauer committed Apr 6, 2020
    Copy the full SHA
    71a9eb8 View commit details
  27. tinyxml2: fix cross compilation

    - use native unzip
    - add target prefix to LD
    matthewbauer committed Apr 6, 2020
    Copy the full SHA
    5c80a35 View commit details
  28. Copy the full SHA
    5256aa6 View commit details
  29. Copy the full SHA
    433d517 View commit details
  30. Copy the full SHA
    72363f7 View commit details
  31. Copy the full SHA
    a1c6dea View commit details
  32. libcddb: force malloc and realloc

    This needs to be set to avoid having undefined malloc symbol.
    matthewbauer committed Apr 6, 2020
    Copy the full SHA
    bedd47e View commit details
  33. ftgl: add --with-ft-prefix for finding freetype

    freetype-config is not in PATH when cross-compiling. We need to
    provide our own.
    matthewbauer committed Apr 6, 2020
    Copy the full SHA
    7887d50 View commit details
  34. Copy the full SHA
    89dac3c View commit details
  35. fstrcmp: patch for cross

    Patches fstrcmp to cross-compile
    matthewbauer committed Apr 6, 2020
    Copy the full SHA
    97309f7 View commit details
  36. kodi: fix cross compilation

    - provide native binaries
    - set cpu / os / etc. flags
    - fix wayland compilation
    matthewbauer committed Apr 6, 2020
    Copy the full SHA
    dcb8c6f View commit details
  37. dvtm: add ncurses dev input to PATH

    fixes cross compilation
    matthewbauer committed Apr 6, 2020
    Copy the full SHA
    51ab062 View commit details
  38. python-dbusmock: avoid eval error when missing test output of bluez

    This fixes an evaluation error that occurs when we don’t have
    bluez.test. getOutput defaults to "out" in these cases.
    matthewbauer committed Apr 6, 2020
    Copy the full SHA
    c6ff360 View commit details

Commits on Apr 7, 2020

  1. Merge pull request #84134 from primeos/iproute2

    iproute: 5.5.0 -> 5.6.0
    primeos authored Apr 7, 2020
    Copy the full SHA
    84867e4 View commit details
  2. Merge pull request #75132 from samueldr/fix/cross/perl-xmlparser

    perlPackages.XMLParser: Work around cross-compilation regression
    Ericson2314 authored Apr 7, 2020
    Copy the full SHA
    fd85e86 View commit details

Commits on Apr 8, 2020

  1. atk: 2.35.1 -> 2.36.0

    hedning committed Apr 8, 2020
    Copy the full SHA
    cd00bc2 View commit details
  2. librsvg: 2.48.0 -> 2.48.2

    hedning committed Apr 8, 2020
    Copy the full SHA
    95abd75 View commit details
Showing with 5,222 additions and 1,910 deletions.
  1. +1 −4 .github/CODEOWNERS
  2. +10 −0 doc/stdenv/stdenv.xml
  3. +21 −10 doc/using/overlays.xml
  4. +0 −6 lib/licenses.nix
  5. +6 −0 maintainers/maintainer-list.nix
  6. +5 −0 nixos/modules/config/fonts/fontconfig.nix
  7. +1 −1 nixos/modules/config/networking.nix
  8. +1 −1 nixos/modules/services/monitoring/datadog-agent.nix
  9. +8 −4 nixos/modules/services/system/nscd.nix
  10. +2 −2 nixos/modules/services/x11/gdk-pixbuf.nix
  11. +1 −1 nixos/modules/system/boot/networkd.nix
  12. +16 −0 nixos/modules/system/boot/systemd.nix
  13. +5 −1 nixos/modules/virtualisation/cri-o.nix
  14. +0 −1 nixos/modules/virtualisation/podman.nix
  15. +1 −1 nixos/tests/installer.nix
  16. +64 −71 nixos/tests/systemd-confinement.nix
  17. +3 −3 pkgs/applications/audio/spotify-tui/default.nix
  18. +4 −4 pkgs/applications/audio/x42-plugins/default.nix
  19. +2 −2 pkgs/applications/editors/vim/common.nix
  20. +2 −2 pkgs/applications/misc/kitty/default.nix
  21. +94 −0 pkgs/applications/networking/browsers/ungoogled-chromium/browser.nix
  22. +361 −0 pkgs/applications/networking/browsers/ungoogled-chromium/common.nix
  23. +205 −0 pkgs/applications/networking/browsers/ungoogled-chromium/default.nix
  24. +26 −0 pkgs/applications/networking/browsers/ungoogled-chromium/patches/dont-use-ANGLE-by-default.patch
  25. +61 −0 pkgs/applications/networking/browsers/ungoogled-chromium/patches/nix_plugin_paths_68.patch
  26. +17 −0 pkgs/applications/networking/browsers/ungoogled-chromium/patches/no-build-timestamps.patch
  27. +11 −0 pkgs/applications/networking/browsers/ungoogled-chromium/patches/remove-webp-include-69.patch
  28. +74 −0 pkgs/applications/networking/browsers/ungoogled-chromium/patches/vaapi-fix.patch
  29. +13 −0 pkgs/applications/networking/browsers/ungoogled-chromium/patches/widevine-79.patch
  30. +93 −0 pkgs/applications/networking/browsers/ungoogled-chromium/plugins.nix
  31. +6 −0 pkgs/applications/networking/browsers/ungoogled-chromium/ungoogled-src.nix
  32. +42 −0 pkgs/applications/networking/browsers/ungoogled-chromium/ungoogled.nix
  33. +271 −0 pkgs/applications/networking/browsers/ungoogled-chromium/update.nix
  34. +4 −0 pkgs/applications/networking/browsers/ungoogled-chromium/update.sh
  35. +18 −0 pkgs/applications/networking/browsers/ungoogled-chromium/upstream-info.nix
  36. +2 −2 pkgs/applications/networking/cluster/helm/default.nix
  37. +6 −1 pkgs/applications/networking/msmtp/default.nix
  38. +0 −84 pkgs/applications/office/elementary-planner/0001-Revert-Add-patch.patch
  39. +19 −16 pkgs/applications/office/elementary-planner/default.nix
  40. +1 −1 pkgs/applications/science/logic/verifast/default.nix
  41. +4 −4 pkgs/applications/version-management/git-and-tools/gh/default.nix
  42. +9 −5 pkgs/applications/version-management/git-and-tools/git-gone/default.nix
  43. +2 −0 pkgs/applications/version-management/git-and-tools/git/default.nix
  44. +56 −20 pkgs/applications/video/kodi/default.nix
  45. +8 −4 pkgs/applications/virtualization/crosvm/default.nix
  46. +1 −1 pkgs/applications/virtualization/crosvm/update.py
  47. +13 −9 pkgs/applications/virtualization/crosvm/upstream-info.json
  48. +3 −0 pkgs/applications/virtualization/podman/default.nix
  49. +1 −1 pkgs/applications/window-managers/sway/wrapper.nix
  50. +2 −2 pkgs/build-support/alternatives/blas/default.nix
  51. +2 −2 pkgs/build-support/alternatives/lapack/default.nix
  52. +5 −0 pkgs/build-support/cc-wrapper/add-flags.sh
  53. +15 −0 pkgs/build-support/cc-wrapper/default.nix
  54. +165 −0 pkgs/build-support/cc-wrapper/gnat-wrapper.sh
  55. +2 −2 pkgs/build-support/setup-hooks/auto-patchelf.sh
  56. +1 −1 pkgs/data/icons/hicolor-icon-theme/setup-hook.sh
  57. +2 −2 pkgs/desktops/gnome-3/apps/file-roller/default.nix
  58. +1 −0 pkgs/desktops/gnome-3/core/epiphany/default.nix
  59. +4 −1 pkgs/desktops/gnome-3/core/gnome-shell/default.nix
  60. +0 −10 pkgs/desktops/gnome-3/core/gnome-shell/fix-bash-completion.patch
  61. +15 −8 pkgs/desktops/gnome-3/extensions/dash-to-dock/default.nix
  62. +3 −0 pkgs/desktops/pantheon/desktop/elementary-greeter/default.nix
  63. +7 −0 pkgs/desktops/pantheon/desktop/wingpanel/default.nix
  64. +9 −2 pkgs/development/compilers/gcc/6/default.nix
  65. +8 −2 pkgs/development/compilers/gcc/9/default.nix
  66. +1 −0 pkgs/development/compilers/gcc/builder.sh
  67. +5 −0 pkgs/development/compilers/gcc/common/configure-flags.nix
  68. +8 −1 pkgs/development/compilers/gcc/common/pre-configure.nix
  69. +35 −0 pkgs/development/compilers/gcc/gnat-cflags.patch
  70. +40 −0 pkgs/development/compilers/ghdl/default.nix
  71. +51 −0 pkgs/development/compilers/gnatboot/default.nix
  72. +2 −2 pkgs/development/interpreters/python/default.nix
  73. +2 −2 pkgs/development/libraries/atk/default.nix
  74. +2 −2 pkgs/development/libraries/cairo/default.nix
  75. +2 −2 pkgs/development/libraries/chromaprint/default.nix
  76. +2 −1 pkgs/development/libraries/cracklib/default.nix
  77. +55 −16 pkgs/development/libraries/dconf/default.nix
  78. +3 −1 pkgs/development/libraries/flatbuffers/default.nix
  79. +13 −3 pkgs/development/libraries/fmt/default.nix
  80. +24 −0 pkgs/development/libraries/fstrcmp/cross.patch
  81. +4 −2 pkgs/development/libraries/fstrcmp/default.nix
  82. +2 −0 pkgs/development/libraries/ftgl/default.nix
  83. +2 −2 pkgs/development/libraries/gdk-pixbuf/default.nix
  84. +1 −1 pkgs/development/libraries/gdk-pixbuf/setup-hook.sh
  85. +2 −2 pkgs/development/libraries/glib-networking/default.nix
  86. +1 −2 pkgs/development/libraries/glib/setup-hook.sh
  87. +2 −2 pkgs/development/libraries/gobject-introspection/default.nix
  88. +11 −7 pkgs/development/libraries/gpgme/default.nix
  89. +12 −0 pkgs/development/libraries/gpgme/disable-python-tests.patch
  90. +2 −2 pkgs/development/libraries/gsm/default.nix
  91. +1 −1 pkgs/development/libraries/gstreamer/bad/default.nix
  92. +7 −0 pkgs/development/libraries/gstreamer/core/default.nix
  93. +15 −0 pkgs/development/libraries/gtk/3.x.nix
  94. +5 −0 pkgs/development/libraries/libasyncns/default.nix
  95. +5 −0 pkgs/development/libraries/libcddb/default.nix
  96. +2 −2 pkgs/development/libraries/libcdio/default.nix
  97. +2 −2 pkgs/development/libraries/libcec/default.nix
  98. +2 −2 pkgs/development/libraries/libcrossguid/default.nix
  99. +7 −24 pkgs/development/libraries/libfido2/default.nix
  100. +0 −11 pkgs/development/libraries/libfido2/detect_apple_ld.patch
  101. +2 −2 pkgs/development/libraries/libinput/default.nix
  102. +3 −3 pkgs/development/libraries/libjpeg-turbo/default.nix
  103. +2 −2 pkgs/development/libraries/libnetfilter_conntrack/default.nix
  104. +2 −2 pkgs/development/libraries/librsvg/default.nix
  105. +2 −2 pkgs/development/libraries/libsecret/default.nix
  106. +2 −2 pkgs/development/libraries/libunwind/default.nix
  107. +3 −1 pkgs/development/libraries/libva/default.nix
  108. +2 −2 pkgs/development/libraries/libvdpau/default.nix
  109. +5 −0 pkgs/development/libraries/libvisual/default.nix
  110. +1 −7 pkgs/development/libraries/libvpx/default.nix
  111. +6 −5 pkgs/development/libraries/libwacom/default.nix
  112. +2 −2 pkgs/development/libraries/libyaml/default.nix
  113. +4 −4 pkgs/development/libraries/science/math/mkl/default.nix
  114. +4 −4 pkgs/development/libraries/science/math/openblas/default.nix
  115. +2 −2 pkgs/development/libraries/tinyxml/2.6.2.nix
  116. +2 −2 pkgs/development/libraries/vulkan-loader/default.nix
  117. +19 −5 pkgs/development/libraries/waylandpp/default.nix
  118. +1,163 −1,202 pkgs/development/node-packages/node-packages-v10.nix
  119. +45 −0 pkgs/development/perl-modules/xml-parser-0001-HACK-Assumes-Expat-paths-are-good.patch
  120. +35 −0 pkgs/development/python-modules/pyclipper/default.nix
  121. +2 −2 pkgs/development/python-modules/python-dbusmock/default.nix
  122. +2 −0 pkgs/development/python-modules/scipy/default.nix
  123. +12 −18 pkgs/development/tools/build-managers/meson/allow-dirs-outside-of-prefix.patch
  124. +2 −2 pkgs/development/tools/build-managers/meson/default.nix
  125. +2 −2 pkgs/development/tools/build-managers/waf/default.nix
  126. +2 −2 pkgs/development/tools/documentation/doxygen/default.nix
  127. +3 −3 pkgs/development/tools/golangci-lint/default.nix
  128. +2 −2 pkgs/development/tools/parsing/bison/default.nix
  129. +2 −2 pkgs/development/tools/parsing/byacc/default.nix
  130. +3 −3 pkgs/development/tools/rust/rust-analyzer/default.nix
  131. +2 −1 pkgs/misc/emulators/mednafen/default.nix
  132. +8 −2 pkgs/misc/emulators/retroarch/default.nix
  133. +5 −5 pkgs/misc/vscode-extensions/rust-analyzer/build-deps/package.json
  134. +3 −1 pkgs/os-specific/linux/alsa-plugins/default.nix
  135. +11 −13 pkgs/os-specific/linux/bluez/default.nix
  136. +10 −15 pkgs/os-specific/linux/iproute/default.nix
  137. +5 −0 pkgs/os-specific/linux/kernel/common-config.nix
  138. +2 −2 pkgs/os-specific/linux/kernel/hardened-patches.json
  139. +2 −2 pkgs/os-specific/linux/kernel/linux-4.19.nix
  140. +2 −2 pkgs/os-specific/linux/kernel/linux-5.4.nix
  141. +2 −2 pkgs/os-specific/linux/kernel/linux-5.6.nix
  142. +2 −2 pkgs/os-specific/linux/kernel/linux-libre.nix
  143. +2 −1 pkgs/os-specific/linux/plymouth/default.nix
  144. +32 −0 pkgs/os-specific/linux/systemd/0001-Start-device-units-for-uninitialised-encrypted-devic.patch
  145. +42 −0 pkgs/os-specific/linux/systemd/0003-Don-t-try-to-unmount-nix-or-nix-store.patch
  146. +34 −0 pkgs/os-specific/linux/systemd/0004-Fix-NixOS-containers.patch
  147. +25 −0 pkgs/os-specific/linux/systemd/0006-Look-for-fsck-in-the-right-place.patch
  148. +107 −0 pkgs/os-specific/linux/systemd/0007-Add-some-NixOS-specific-unit-directories.patch
  149. +31 −0 pkgs/os-specific/linux/systemd/0009-Get-rid-of-a-useless-message-in-user-sessions.patch
  150. +118 −0 pkgs/os-specific/linux/systemd/0010-hostnamed-localed-timedated-disable-methods-that-cha.patch
  151. +32 −0 pkgs/os-specific/linux/systemd/0011-Fix-hwdb-paths.patch
  152. +132 −0 pkgs/os-specific/linux/systemd/0012-Change-usr-share-zoneinfo-to-etc-zoneinfo.patch
  153. +27 −0 pkgs/os-specific/linux/systemd/0013-localectl-use-etc-X11-xkb-for-list-x11.patch
  154. +26 −0 pkgs/os-specific/linux/systemd/0016-build-don-t-create-statedir-and-don-t-touch-prefixdi.patch
  155. +317 −0 pkgs/os-specific/linux/systemd/0018-Install-default-configuration-into-out-share-factory.patch
  156. +42 −0 pkgs/os-specific/linux/systemd/0019-inherit-systemd-environment-when-calling-generators.patch
  157. +38 −0 pkgs/os-specific/linux/systemd/0021-add-rootprefix-to-lookup-dir-paths.patch
  158. +27 −0 pkgs/os-specific/linux/systemd/0022-systemd-shutdown-execute-scripts-in-etc-systemd-syst.patch
  159. +26 −0 pkgs/os-specific/linux/systemd/0023-systemd-sleep-execute-scripts-in-etc-systemd-system-.patch
  160. +27 −0 pkgs/os-specific/linux/systemd/0024-kmod-static-nodes.service-Update-ConditionFileNotEmpty.patch
  161. +33 −0 pkgs/os-specific/linux/systemd/0025-path-util.h-add-placeholder-for-DEFAULT_PATH_NORMAL.patch
  162. +40 −7 pkgs/os-specific/linux/systemd/default.nix
  163. +2 −2 pkgs/os-specific/linux/util-linux/default.nix
  164. +55 −13 pkgs/os-specific/linux/util-linux/rtcwake-search-PATH-for-shutdown.patch
  165. +2 −2 pkgs/servers/keycloak/default.nix
  166. +3 −3 pkgs/servers/monitoring/grafana/default.nix
  167. +2 −2 pkgs/servers/samba/4.x.nix
  168. +1 −1 pkgs/servers/sql/postgresql/default.nix
  169. +9 −0 pkgs/servers/x11/xorg/overrides.nix
  170. +0 −86 pkgs/shells/bash/bash-completion/0001-Revert-build-Do-cmake-pc-and-profile-variable-replac.patch
  171. +28 −19 pkgs/shells/bash/bash-completion/default.nix
  172. +2 −1 pkgs/stdenv/generic/setup.sh
  173. +2 −2 pkgs/tools/admin/lxd/default.nix
  174. +1 −1 pkgs/tools/admin/tigervnc/default.nix
  175. +9 −0 pkgs/tools/compression/gzip/default.nix
  176. +2 −2 pkgs/tools/filesystems/btrfs-progs/default.nix
  177. +3 −3 pkgs/tools/misc/bat/default.nix
  178. +2 −3 pkgs/tools/misc/dvtm/dvtm.nix
  179. +2 −2 pkgs/tools/networking/modem-manager/default.nix
  180. +3 −10 pkgs/tools/networking/openvpn/default.nix
  181. +138 −0 pkgs/tools/security/aflplusplus/default.nix
  182. +35 −0 pkgs/tools/security/aflplusplus/libdislocator.nix
  183. +31 −0 pkgs/tools/security/aflplusplus/libtokencap.nix
  184. +13 −0 pkgs/tools/security/aflplusplus/qemu-no-etc-install.patch
  185. +77 −0 pkgs/tools/security/aflplusplus/qemu.nix
  186. +1 −1 pkgs/tools/security/gnome-keysign/default.nix
  187. +2 −2 pkgs/tools/security/gnupg/22.nix
  188. +15 −12 pkgs/tools/security/pcsc-cyberjack/default.nix
  189. +33 −5 pkgs/tools/system/inxi/default.nix
  190. +3 −3 pkgs/tools/system/ytop/default.nix
  191. +42 −3 pkgs/top-level/all-packages.nix
  192. +5 −4 pkgs/top-level/perl-packages.nix
  193. +2 −0 pkgs/top-level/python-packages.nix
  194. +2 −2 pkgs/top-level/unix-tools.nix
5 changes: 1 addition & 4 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -55,9 +55,6 @@
# NixOS integration test driver
/nixos/lib/test-driver @tfc

# New NixOS modules
/nixos/modules/module-list.nix @Infinisil

# Python-related code and docs
/maintainers/scripts/update-python-libraries @FRidh
/pkgs/top-level/python-packages.nix @FRidh @jonringer
@@ -67,7 +64,7 @@

# Haskell
/pkgs/development/compilers/ghc @cdepillabout
/pkgs/development/haskell-modules @cdepillabout @infinisil
/pkgs/development/haskell-modules @cdepillabout
/pkgs/development/haskell-modules/default.nix @cdepillabout
/pkgs/development/haskell-modules/generic-builder.nix @cdepillabout
/pkgs/development/haskell-modules/hoogle.nix @cdepillabout
10 changes: 10 additions & 0 deletions doc/stdenv/stdenv.xml
Original file line number Diff line number Diff line change
@@ -727,6 +727,16 @@ passthru.updateScript = [ ../../update.sh pname "--requested-release=unstable" ]

<variablelist>
<title>Variables controlling the patch phase</title>
<varlistentry>
<term>
<varname>dontPatch</varname>
</term>
<listitem>
<para>
Set to true to skip the patch phase.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>patches</varname>
31 changes: 21 additions & 10 deletions doc/using/overlays.xml
Original file line number Diff line number Diff line change
@@ -140,8 +140,8 @@ self: super:
<section xml:id="sec-overlays-alternatives">
<title>Using overlays to configure alternatives</title>
<para>
Certain software has different implementations of the same
interface. Other distributions have functionality to switch
Certain software packages have different implementations of the
same interface. Other distributions have functionality to switch
between these. For example, Debian provides <link
xlink:href="https://wiki.debian.org/DebianAlternatives">DebianAlternatives</link>.
Nixpkgs has what we call <literal>alternatives</literal>, which
@@ -160,8 +160,9 @@ self: super:
</para>
<para>
The Nixpkgs attribute is <literal>openblas</literal> for
ILP64 and <literal>openblasCompat</literal> for LP64. This
is the default.
ILP64 (integer width = 64 bits) and
<literal>openblasCompat</literal> for LP64 (integer width =
32 bits). <literal>openblasCompat</literal> is the default.
</para>
</listitem>
<listitem>
@@ -190,8 +191,15 @@ self: super:
#83888</link>, we are able to override the ‘blas’ and ‘lapack’
packages to use different implementations, through the
‘blasProvider’ and ‘lapackProvider’ argument. This can be used
to select a different provider. For example, an overlay can be
created that looks like:
to select a different provider. BLAS providers will have
symlinks in <literal>$out/lib/libblas.so.3</literal> and
<literal>$out/lib/libcblas.so.3</literal> to their respective
BLAS libraries. Likewise, LAPACK providers will have symlinks
in <literal>$out/lib/liblapack.so.3</literal> and
<literal>$out/lib/liblapacke.so.3</literal> to their respective
LAPCK libraries. For example, Intel MKL is both a BLAS and
LAPACK provider. An overlay can be created to use Intel MKL
that looks like:
</para>
<programlisting>
self: super:
@@ -208,9 +216,12 @@ self: super:
<para>
This overlay uses Intel’s MKL library for both BLAS and LAPACK
interfaces. Note that the same can be accomplished at runtime
using <literal>LD_PRELOAD</literal> of libblas.so.3 and
liblapack.so.3.
using <literal>LD_LIBRARY_PATH</literal> of libblas.so.3 and
liblapack.so.3. For instance:
</para>
<programlisting>
$ LD_LIBRARY_PATH=$(nix-build -A mkl)/lib:$LD_LIBRARY_PATH nix-shell -p octave --run octave
</programlisting>
<para>
Intel MKL requires an <literal>openmp</literal> implementation
when running with multiple processors. By default,
@@ -221,8 +232,8 @@ self: super:
set it with <literal>LD_PRELOAD</literal>. Note that
<literal>mkl</literal> is only available on
<literal>x86_64-linux</literal> and
<literal>x86_64-darwin</literal>. Moreover, Hydra is not build
and distributing pre-compiled binaries using it.
<literal>x86_64-darwin</literal>. Moreover, Hydra is not
building and distributing pre-compiled binaries using it.
</para>
<para>
For BLAS/LAPACK switching to work correctly, all packages must
6 changes: 0 additions & 6 deletions lib/licenses.nix
Original file line number Diff line number Diff line change
@@ -524,12 +524,6 @@ lib.mapAttrs (n: v: v // { shortName = n; }) {
fullName = "Microsoft Public License";
};

msrla = {
fullName = "Microsoft Research License Agreement";
url = "http://research.microsoft.com/en-us/projects/pex/msr-la.txt";
free = false;
};

nasa13 = spdx {
spdxId = "NASA-1.3";
fullName = "NASA Open Source Agreement 1.3";
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -7184,6 +7184,12 @@
githubId = 1414088;
name = "Spencer Whitt";
};
squalus = {
email = "squalus@tuta.io";
github = "squalus";
githubId = 36899624;
name = "squalus";
};
srghma = {
email = "srghma@gmail.com";
github = "srghma";
5 changes: 5 additions & 0 deletions nixos/modules/config/fonts/fontconfig.nix
Original file line number Diff line number Diff line change
@@ -45,6 +45,9 @@ let

# generate the font cache setting file for a fontconfig version
# use latest when no version is passed
# When cross-compiling, we can’t generate the cache, so we skip the
# <cachedir> part. fontconfig still works but is a little slower in
# looking things up.
makeCacheConf = { version ? null }:
let
fcPackage = if version == null
@@ -60,11 +63,13 @@ let
<fontconfig>
<!-- Font directories -->
${concatStringsSep "\n" (map (font: "<dir>${font}</dir>") config.fonts.fonts)}
${optionalString (pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform) ''
<!-- Pre-generated font caches -->
<cachedir>${cache}</cachedir>
${optionalString (pkgs.stdenv.isx86_64 && cfg.cache32Bit) ''
<cachedir>${cache32}</cachedir>
''}
''}
</fontconfig>
'';

2 changes: 1 addition & 1 deletion nixos/modules/config/networking.nix
Original file line number Diff line number Diff line change
@@ -197,7 +197,7 @@ in

} // optionalAttrs (pkgs.stdenv.hostPlatform.libc == "glibc") {
# /etc/rpc: RPC program numbers.
rpc.source = pkgs.glibc.out + "/etc/rpc";
rpc.source = pkgs.stdenv.cc.libc.out + "/etc/rpc";
};

networking.proxy.envVars =
2 changes: 1 addition & 1 deletion nixos/modules/services/monitoring/datadog-agent.nix
Original file line number Diff line number Diff line change
@@ -225,7 +225,7 @@ in {
Restart = "always";
RestartSec = 2;
};
restartTriggers = [ datadogPkg ] ++ attrNames etcfiles;
restartTriggers = [ datadogPkg ] ++ map (x: x.source) (attrValues etcfiles);
} attrs;
in {
datadog-agent = makeService {
12 changes: 8 additions & 4 deletions nixos/modules/services/system/nscd.nix
Original file line number Diff line number Diff line change
@@ -7,6 +7,10 @@ let
nssModulesPath = config.system.nssModules.path;
cfg = config.services.nscd;

nscd = if pkgs.stdenv.hostPlatform.libc == "glibc"
then pkgs.stdenv.cc.libc.bin
else pkgs.glibc.bin;

in

{
@@ -59,16 +63,16 @@ in
# files. So prefix the ExecStart command with "!" to prevent systemd
# from dropping privileges early. See ExecStart in systemd.service(5).
serviceConfig =
{ ExecStart = "!@${pkgs.glibc.bin}/sbin/nscd nscd";
{ ExecStart = "!@${nscd}/sbin/nscd nscd";
Type = "forking";
DynamicUser = true;
RuntimeDirectory = "nscd";
PIDFile = "/run/nscd/nscd.pid";
Restart = "always";
ExecReload =
[ "${pkgs.glibc.bin}/sbin/nscd --invalidate passwd"
"${pkgs.glibc.bin}/sbin/nscd --invalidate group"
"${pkgs.glibc.bin}/sbin/nscd --invalidate hosts"
[ "${nscd}/sbin/nscd --invalidate passwd"
"${nscd}/sbin/nscd --invalidate group"
"${nscd}/sbin/nscd --invalidate hosts"
];
};
};
4 changes: 2 additions & 2 deletions nixos/modules/services/x11/gdk-pixbuf.nix
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ let
continue
fi
GDK_PIXBUF_MODULEDIR="$module_dir" \
${pkgs.gdk-pixbuf.dev}/bin/gdk-pixbuf-query-loaders
${pkgs.stdenv.hostPlatform.emulator pkgs.buildPackages} ${pkgs.gdk-pixbuf.dev}/bin/gdk-pixbuf-query-loaders
done
) > "$out"
'';
@@ -37,7 +37,7 @@ in
# If there is any package configured in modulePackages, we generate the
# loaders.cache based on that and set the environment variable
# GDK_PIXBUF_MODULE_FILE to point to it.
config = mkIf (cfg.modulePackages != []) {
config = mkIf (cfg.modulePackages != [] || pkgs.stdenv.hostPlatform != pkgs.stdenv.buildPlatform) {
environment.variables = {
GDK_PIXBUF_MODULE_FILE = "${loadersCache}";
};
2 changes: 1 addition & 1 deletion nixos/modules/system/boot/networkd.nix
Original file line number Diff line number Diff line change
@@ -1073,7 +1073,7 @@ in

systemd.services.systemd-networkd = {
wantedBy = [ "multi-user.target" ];
restartTriggers = attrNames unitFiles;
restartTriggers = map (x: x.source) (attrValues unitFiles);
# prevent race condition with interface renaming (#39069)
requires = [ "systemd-udev-settle.service" ];
after = [ "systemd-udev-settle.service" ];
16 changes: 16 additions & 0 deletions nixos/modules/system/boot/systemd.nix
Original file line number Diff line number Diff line change
@@ -593,6 +593,9 @@ in
each other's limit. The value may be specified in the following
units: s, min, h, ms, us. To turn off any kind of rate limiting,
set either value to 0.
See <option>services.journald.rateLimitBurst</option> for important
considerations when setting this value.
'';
};

@@ -604,6 +607,19 @@ in
interval) that is applied to all messages generated on the system.
This rate limiting is applied per-service, so that two services
which log do not interfere with each other's limit.
Note that the effective rate limit is multiplied by a factor derived
from the available free disk space for the journal as described on
<link xlink:href="https://www.freedesktop.org/software/systemd/man/journald.conf.html">
journald.conf(5)</link>.
Note that the total amount of logs stored is limited by journald settings
such as <literal>SystemMaxUse</literal>, which defaults to a 4 GB cap.
It is thus recommended to compute what period of time that you will be
able to store logs for when an application logs at full burst rate.
With default settings for log lines that are 100 Bytes long, this can
amount to just a few hours.
'';
};

6 changes: 5 additions & 1 deletion nixos/modules/virtualisation/cri-o.nix
Original file line number Diff line number Diff line change
@@ -42,7 +42,7 @@ in

config = mkIf cfg.enable {
environment.systemPackages = with pkgs;
[ cri-o cri-tools conmon cni-plugins iptables runc utillinux ];
[ cri-o cri-tools conmon iptables runc utillinux ];
environment.etc."crictl.yaml".text = ''
runtime-endpoint: unix:///var/run/crio/crio.sock
'';
@@ -57,6 +57,10 @@ in
${concatMapStringsSep ", " (x: "\"" + x + "\"") cfg.registries}
]
[crio.network]
plugin_dirs = ["${pkgs.cni-plugins}/bin/"]
network_dir = "/etc/cni/net.d/"
[crio.runtime]
conmon = "${pkgs.conmon}/bin/conmon"
log_level = "${cfg.logLevel}"
1 change: 0 additions & 1 deletion nixos/modules/virtualisation/podman.nix
Original file line number Diff line number Diff line change
@@ -66,7 +66,6 @@ in
pkgs.slirp4netns # User-mode networking for unprivileged namespaces
pkgs.fuse-overlayfs # CoW for images, much faster than default vfs
pkgs.utillinux # nsenter
pkgs.cni-plugins # Networking plugins
pkgs.iptables
]
++ lib.optional cfg.dockerCompat dockerCompat;
2 changes: 1 addition & 1 deletion nixos/tests/installer.nix
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ let
boot.loader.grub.splashImage = null;
''}
boot.loader.grub.extraConfig = "serial; terminal_output.serial";
boot.loader.grub.extraConfig = "serial; terminal_output serial";
${if grubUseEfi then ''
boot.loader.grub.device = "nodev";
boot.loader.grub.efiSupport = true;
Loading