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: 0b381dd9ca53
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: 0ab9e5c9fee7
Choose a head ref

Commits on Sep 7, 2018

  1. nixos/wavemon: create module

    oxzi committed Sep 7, 2018
    Copy the full SHA
    7469e68 View commit details

Commits on Oct 2, 2018

  1. nixos/networking: simplify /etc/hosts generation, add asserts

    Since `networking.hosts` is properly typed all of that magic `/etc/hosts` generator
    does can be dropped. People that disagree with the value of `networking.hosts` can
    simply `mkForce`.
    oxij committed Oct 2, 2018
    Copy the full SHA
    1ece504 View commit details
  2. nixos/networking: add hostname to /etc/hosts by default

    We use `127.0.1.1` instead of `127.0.0.1` because some applications will fail if
    `127.0.0.1` resolves to something other than `localhost`.
    
    Debian does the same.
    
    See #1248 and #36261.
    oxij committed Oct 2, 2018
    Copy the full SHA
    c578924 View commit details

Commits on Oct 6, 2018

  1. Copy the full SHA
    d3ba32e View commit details

Commits on Oct 20, 2018

  1. lib.isStorePath: fix false result when passed a path object

    Since `isStorePath` relies on comparing against builtins.storeDir
    (a string), we need to convert the input into a string as well.
    timbertson committed Oct 20, 2018
    Copy the full SHA
    d984c55 View commit details

Commits on Oct 21, 2018

  1. Copy the full SHA
    1a3405c View commit details
  2. Copy the full SHA
    c61ba4d View commit details

Commits on Oct 23, 2018

  1. Copy the full SHA
    e74b797 View commit details
  2. syslogng: 3.17.2 -> 3.18.1

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/syslog-ng/versions
    r-ryantm committed Oct 23, 2018
    Copy the full SHA
    44a5684 View commit details

Commits on Oct 24, 2018

  1. darwin.cf-private: include headers from osx_private_sdk

    This includes things like CFURLGetFSRef which are not part of the
    swift-corelibs CoreFoundation.
    LnL7 committed Oct 24, 2018
    Copy the full SHA
    0fcd2ca View commit details
  2. wxmac: include cf-private

    Fixes build failure because CoreFoundation doesn't include
    CFURLGetFSRef anymore.
    
        clang++ -mmacosx-version-min=10.7 -c -o basedll_filefn.o  -D__WXOSX_COCOA__      -DWXBUILDING      -I./src/regex  -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1 -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/private/tmp/nix-build-wxmac-3.0.2.drv-0/wxWidgets-3.0.2/lib/wx/include/osx_cocoa-unicode-3.0 -I./include -O2 -fno-strict-aliasing -fno-common  ./src/common/filefn.cpp
        ./src/common/filefn.cpp:849:18: error: use of undeclared identifier 'CFURLCreateFromFSRef'
            fullURLRef = CFURLCreateFromFSRef(NULL, fsRef);
                         ^
        ./src/common/filefn.cpp:875:14: error: use of undeclared identifier 'CFURLGetFSRef'
                if ( CFURLGetFSRef(url, fsRef) == false )
    LnL7 committed Oct 24, 2018
    Copy the full SHA
    0df3d8d View commit details
  3. wxmac: 3.0.2 -> 3.0.4

    LnL7 committed Oct 24, 2018
    Copy the full SHA
    fcbaa75 View commit details

Commits on Oct 25, 2018

  1. Copy the full SHA
    3cd8c22 View commit details
  2. Copy the full SHA
    34964d6 View commit details

Commits on Oct 26, 2018

  1. wireless-regdb: 2018.09.07 -> 2018.10.24

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/wireless-regdb/versions
    r-ryantm committed Oct 26, 2018
    Copy the full SHA
    9262001 View commit details
  2. trufflehog: 2.0.91 -> 2.0.97

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/trufflehog/versions
    r-ryantm committed Oct 26, 2018
    Copy the full SHA
    ff4fdc8 View commit details
  3. urlwatch: 2.14 -> 2.15

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/urlwatch/versions
    r-ryantm committed Oct 26, 2018
    Copy the full SHA
    c07b74e View commit details
  4. rspamd: 1.8.0 -> 1.8.1

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/rspamd/versions
    r-ryantm committed Oct 26, 2018
    Copy the full SHA
    ceae2c2 View commit details

Commits on Oct 27, 2018

  1. ponyc: 0.24.4 -> 0.25.0

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/ponyc/versions
    r-ryantm committed Oct 27, 2018
    Copy the full SHA
    7a711b5 View commit details
  2. opensmtpd: 6.0.3p1 -> 6.4.0p1

    Ekleog committed Oct 27, 2018
    Copy the full SHA
    58f701a View commit details
  3. openisns: 0.98 -> 0.99

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/open-isns/versions
    r-ryantm committed Oct 27, 2018
    Copy the full SHA
    2bba06c View commit details
  4. neo4j: 3.4.8 -> 3.4.9

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/neo4j/versions
    r-ryantm committed Oct 27, 2018
    Copy the full SHA
    7c85639 View commit details
  5. nnn: 1.9 -> 2.0

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/nnn/versions
    r-ryantm committed Oct 27, 2018
    Copy the full SHA
    a8020ac View commit details
  6. loc: enable darwin build

    It works fine there and probably other unix platforms.
    LnL7 committed Oct 27, 2018
    Copy the full SHA
    561fb30 View commit details
  7. Merge pull request #49212 from r-ryantm/auto-update/neo4j

    neo4j: 3.4.8 -> 3.4.9
    offlinehacker authored Oct 27, 2018
    Copy the full SHA
    1276442 View commit details
  8. arb: 2.14.0 -> 2.15.1

    timokau committed Oct 27, 2018
    Copy the full SHA
    fbea2cd View commit details
  9. Merge pull request #49081 from LnL7/darwin-wxmac

     wxmac: 3.0.2 -> 3.0.4 (darwin)
    LnL7 authored Oct 27, 2018
    Copy the full SHA
    450d33f View commit details
  10. atlassian-jira: 7.12.1 -> 7.12.3

    ciil committed Oct 27, 2018
    Copy the full SHA
    50abe60 View commit details
  11. Merge pull request #49224 from LnL7/darwin-loc

    loc: enable darwin build
    dywedir authored Oct 27, 2018
    Copy the full SHA
    a136c98 View commit details
  12. Fix higan typo

    alexherbo2 committed Oct 27, 2018
    Copy the full SHA
    9a6e899 View commit details
  13. nixos/installer: Drop extra copy of w3m

    The nixos-manual service already uses w3m-nographics for a variant that
    drops unnecessary junk like various image libraries.
    
    iso_minimal closure (i.e. uncompressed) goes from 1884M -> 1837M.
    dezgeg committed Oct 27, 2018
    Copy the full SHA
    7172060 View commit details
  14. mysql-workbench: 8.0.12 -> 8.0.13

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/mysql-workbench/versions
    r-ryantm committed Oct 27, 2018
    Copy the full SHA
    e118a0f View commit details
  15. Merge pull request #49225 from timokau/arb-2.15.1

    arb: 2.14.0 -> 2.15.1
    timokau authored Oct 27, 2018
    Copy the full SHA
    7970a5a View commit details
  16. Merge pull request #49123 from romildo/upd.vivaldi

    vivaldi: 2.0.1309.29-2 -> 2.1.1337.36-1; vivaldi-ffmpeg-codecs: 69.0.3497.73 -> 70.0.3538.77
    infinisil authored Oct 27, 2018
    Copy the full SHA
    4994ef8 View commit details
  17. Merge pull request #49209 from r-ryantm/auto-update/open-isns

    openisns: 0.98 -> 0.99
    markuskowa authored Oct 27, 2018
    Copy the full SHA
    1200477 View commit details
  18. Merge pull request #49227 from ciil/jira-update

    atlassian-jira: 7.12.1 -> 7.12.3
    fpletz authored Oct 27, 2018
    Copy the full SHA
    13df7aa View commit details
  19. Copy the full SHA
    1795ca1 View commit details
  20. miller: 5.3.0 -> 5.4.0 (#49239)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/miller/versions
    r-ryantm authored and disassembler committed Oct 27, 2018
    Copy the full SHA
    62c860e View commit details
  21. lighttpd: 1.4.50 -> 1.4.51 (#49238)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/lighttpd/versions
    r-ryantm authored and disassembler committed Oct 27, 2018
    Copy the full SHA
    5bccc53 View commit details
  22. matomo: 3.6.0 -> 3.6.1

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/matomo/versions
    r-ryantm committed Oct 27, 2018
    Copy the full SHA
    d4029e7 View commit details
  23. minizinc: 2.2.0 -> 2.2.1 (#49241)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/minizinc/versions
    r-ryantm authored and disassembler committed Oct 27, 2018
    Copy the full SHA
    642943d View commit details
  24. alsaUtils: 1.1.6 -> 1.1.7 (#49237)

    fadenb authored and disassembler committed Oct 27, 2018
    Copy the full SHA
    d50e2c4 View commit details
  25. alsaTools: 1.1.6 -> 1.1.7 (#49236)

    fadenb authored and disassembler committed Oct 27, 2018
    Copy the full SHA
    a4ddc03 View commit details
  26. Merge pull request #49204 from r-ryantm/auto-update/ponyc

    ponyc: 0.24.4 -> 0.25.0
    infinisil authored Oct 27, 2018
    Copy the full SHA
    8f7f3c1 View commit details
  27. Merge pull request #49144 from r-ryantm/auto-update/rspamd

    rspamd: 1.8.0 -> 1.8.1
    c0bw3b authored Oct 27, 2018
    Copy the full SHA
    96d2bf0 View commit details
  28. Merge pull request #49242 from cleverca22/wireshark-add-headers

    wireshark: include headers in wireshark.dev, to support building wireshark plugins
    cleverca22 authored Oct 27, 2018
    Copy the full SHA
    18d8870 View commit details
  29. Merge pull request #49134 from r-ryantm/auto-update/urlwatch

    urlwatch: 2.14 -> 2.15
    c0bw3b authored Oct 27, 2018
    Copy the full SHA
    863578d View commit details
  30. Merge pull request #49133 from r-ryantm/auto-update/truffleHog

    trufflehog: 2.0.91 -> 2.0.97
    c0bw3b authored Oct 27, 2018
    Copy the full SHA
    5e9d66e View commit details
  31. sfml: 2.5.0 -> 2.5.1 (#48907)

    * sfml: 2.5.0 -> 2.5.1
    
    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/sfml/versions
    
    * sfml: cmake is only needed at build time
    
    Moved cmake from buildInputs to nativeBuildInputs
    
    * sfml: use fetchzip instead of fetchurl
    
    Don't use fetchurl for changing GitHub archive tarballs
    r-ryantm authored and c0bw3b committed Oct 27, 2018
    Copy the full SHA
    9f0381d View commit details
  32. Merge pull request #48879 from baracoder/dotnet-sdk-403

    dotnet-sdk: 2.1.402 -> 2.1.403
    c0bw3b authored Oct 27, 2018
    Copy the full SHA
    f4c0220 View commit details
Showing with 3,251 additions and 1,775 deletions.
  1. +6 −0 lib/licenses.nix
  2. +6 −3 lib/strings.nix
  3. +1 −1 lib/tests/misc.nix
  4. +10 −0 maintainers/maintainer-list.nix
  5. +8 −0 nixos/doc/manual/release-notes/rl-1903.xml
  6. +39 −22 nixos/modules/config/networking.nix
  7. +2 −0 nixos/modules/installer/cd-dvd/installation-cd-minimal.nix
  8. +1 −0 nixos/modules/module-list.nix
  9. +4 −1 nixos/modules/profiles/base.nix
  10. +0 −3 nixos/modules/profiles/installation-device.nix
  11. +28 −0 nixos/modules/programs/wavemon.nix
  12. +12 −0 nixos/modules/system/boot/systemd.nix
  13. +1 −0 nixos/release.nix
  14. +4 −2 nixos/tests/opensmtpd.nix
  15. +37 −0 nixos/tests/rsyslogd.nix
  16. +2 −2 pkgs/applications/altcoins/litecoin.nix
  17. +2 −2 pkgs/applications/gis/openorienteering-mapper/default.nix
  18. +2 −2 pkgs/applications/graphics/krita/default.nix
  19. +1 −1 pkgs/applications/misc/electrum/default.nix
  20. +2 −2 pkgs/applications/misc/mysql-workbench/default.nix
  21. +2 −2 pkgs/applications/misc/nnn/default.nix
  22. +13 −5 pkgs/applications/networking/browsers/chromium/common.nix
  23. +4 −3 pkgs/applications/networking/browsers/chromium/default.nix
  24. +3 −3 pkgs/applications/networking/browsers/chromium/plugins.nix
  25. +9 −9 pkgs/applications/networking/browsers/chromium/upstream-info.nix
  26. +2 −2 pkgs/applications/networking/browsers/vivaldi/default.nix
  27. +2 −2 pkgs/applications/networking/browsers/vivaldi/ffmpeg-codecs.nix
  28. +2 −2 pkgs/applications/networking/mailreaders/inboxer/default.nix
  29. +11 −0 pkgs/applications/networking/sniffers/wireshark/default.nix
  30. +7 −2 pkgs/applications/networking/znc/default.nix
  31. +2 −0 pkgs/applications/networking/znc/modules.nix
  32. +7 −0 pkgs/applications/science/math/sage/sage-src.nix
  33. +1 −1 pkgs/applications/science/math/sage/sage-wrapper.nix
  34. +1 −1 pkgs/applications/science/math/sage/sage.nix
  35. +2 −2 pkgs/applications/video/mkvtoolnix/default.nix
  36. +12 −2 pkgs/applications/video/vlc/default.nix
  37. +22 −7 pkgs/build-support/rust/build-rust-crate/build-crate.nix
  38. +9 −7 pkgs/build-support/rust/build-rust-crate/default.nix
  39. +24 −0 pkgs/build-support/rust/build-rust-crate/helpers.nix
  40. +246 −1,439 pkgs/build-support/rust/carnix.nix
  41. +2,050 −0 pkgs/build-support/rust/crates-io.nix
  42. +2 −2 pkgs/data/misc/wireless-regdb/default.nix
  43. +59 −0 pkgs/development/compilers/adoptopenjdk-bin/jdk-darwin-base.nix
  44. +119 −0 pkgs/development/compilers/adoptopenjdk-bin/jdk-linux-base.nix
  45. +26 −0 pkgs/development/compilers/adoptopenjdk-bin/jdk11-darwin.nix
  46. +36 −0 pkgs/development/compilers/adoptopenjdk-bin/jdk11-linux.nix
  47. +3 −3 pkgs/development/compilers/dotnet/sdk/default.nix
  48. +2 −2 pkgs/development/compilers/ponyc/default.nix
  49. +6 −4 pkgs/development/compilers/reason/default.nix
  50. +1 −3 pkgs/development/go-modules/generic/default.nix
  51. +5 −2 pkgs/development/interpreters/bats/default.nix
  52. +10 −0 pkgs/development/interpreters/spidermonkey/52.nix
  53. +2 −2 pkgs/development/libraries/arb/default.nix
  54. +16 −4 pkgs/development/libraries/fmt/default.nix
  55. +2 −19 pkgs/development/libraries/gtest/default.nix
  56. +2 −2 pkgs/development/libraries/libcouchbase/default.nix
  57. +2 −2 pkgs/development/libraries/libqmatrixclient/default.nix
  58. +2 −2 pkgs/development/libraries/libressl/default.nix
  59. +2 −2 pkgs/development/libraries/libsolv/default.nix
  60. +2 −2 pkgs/development/libraries/libversion/default.nix
  61. +2 −2 pkgs/development/libraries/matio/default.nix
  62. +2 −2 pkgs/development/libraries/nix-plugins/default.nix
  63. +2 −0 pkgs/development/libraries/openssl/default.nix
  64. +3 −2 pkgs/development/libraries/pupnp/default.nix
  65. +10 −5 pkgs/development/libraries/sfml/default.nix
  66. +4 −4 pkgs/development/libraries/uriparser/default.nix
  67. +11 −45 pkgs/development/libraries/wxwidgets/3.0/mac.nix
  68. +2 −2 pkgs/development/misc/loc/default.nix
  69. +2 −2 pkgs/development/python-modules/aiohttp/default.nix
  70. +2 −2 pkgs/development/python-modules/aniso8601/default.nix
  71. +2 −2 pkgs/development/python-modules/async_timeout/default.nix
  72. +2 −2 pkgs/development/python-modules/djangorestframework/default.nix
  73. +2 −2 pkgs/development/python-modules/grip/default.nix
  74. +2 −2 pkgs/development/python-modules/phonenumbers/default.nix
  75. +2 −2 pkgs/development/python-modules/praw/default.nix
  76. +3 −3 pkgs/development/python-modules/pyslurm/default.nix
  77. +24 −0 pkgs/development/tools/go-junit-report/default.nix
  78. +2 −2 pkgs/development/tools/jbake/default.nix
  79. +2 −2 pkgs/development/tools/minizinc/default.nix
  80. +3 −1 pkgs/development/tools/rust/cbindgen/default.nix
  81. +43 −0 pkgs/development/tools/scalafix/default.nix
  82. +1 −1 pkgs/misc/emulators/higan/default.nix
  83. +9 −7 pkgs/os-specific/darwin/cf-private/default.nix
  84. +27 −0 pkgs/os-specific/darwin/goku/default.nix
  85. +2 −2 pkgs/os-specific/linux/alsa-tools/default.nix
  86. +2 −2 pkgs/os-specific/linux/alsa-utils/default.nix
  87. +2 −2 pkgs/os-specific/linux/open-isns/default.nix
  88. +2 −2 pkgs/servers/atlassian/jira.nix
  89. +2 −2 pkgs/servers/computing/slurm/default.nix
  90. +50 −10 pkgs/servers/home-assistant/component-packages.nix
  91. +4 −2 pkgs/servers/home-assistant/default.nix
  92. +2 −2 pkgs/servers/home-assistant/frontend.nix
  93. +2 −2 pkgs/servers/http/lighttpd/default.nix
  94. +19 −26 pkgs/servers/mail/opensmtpd/default.nix
  95. +12 −0 pkgs/servers/mail/opensmtpd/fix-build.diff
  96. +2 −2 pkgs/servers/mail/rspamd/default.nix
  97. +2 −2 pkgs/servers/nosql/neo4j/default.nix
  98. +2 −2 pkgs/servers/sql/mysql/5.7.x.nix
  99. +2 −2 pkgs/servers/sql/postgresql/pgroonga/default.nix
  100. +2 −2 pkgs/servers/web-apps/matomo/default.nix
  101. +5 −5 pkgs/tools/X11/xidlehook/default.nix
  102. +12 −8 pkgs/tools/misc/powerline-rs/default.nix
  103. +2 −2 pkgs/tools/networking/urlwatch/default.nix
  104. +2 −2 pkgs/tools/package-management/nix-review/default.nix
  105. +4 −4 pkgs/tools/package-management/nix/default.nix
  106. +2 −2 pkgs/tools/security/trufflehog/default.nix
  107. +2 −2 pkgs/tools/system/hwinfo/default.nix
  108. +2 −2 pkgs/tools/system/syslog-ng/default.nix
  109. +2 −2 pkgs/tools/text/icdiff/default.nix
  110. +2 −2 pkgs/tools/text/miller/default.nix
  111. +1 −0 pkgs/top-level/aliases.nix
  112. +40 −7 pkgs/top-level/all-packages.nix
  113. +4 −2 pkgs/top-level/darwin-packages.nix
6 changes: 6 additions & 0 deletions lib/licenses.nix
Original file line number Diff line number Diff line change
@@ -309,6 +309,12 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
fullName = "GNU General Public License v2.0 only";
};

gpl2Classpath = {
spdxId = "GPL-2.0-with-classpath-exception";
fullName = "GNU General Public License v2.0 only (with Classpath exception)";
url = https://fedoraproject.org/wiki/Licensing/GPL_Classpath_Exception;
};

gpl2ClasspathPlus = {
fullName = "GNU General Public License v2.0 or later (with Classpath exception)";
url = https://fedoraproject.org/wiki/Licensing/GPL_Classpath_Exception;
9 changes: 6 additions & 3 deletions lib/strings.nix
Original file line number Diff line number Diff line change
@@ -502,9 +502,12 @@ rec {
=> false
*/
isStorePath = x:
isCoercibleToString x
&& builtins.substring 0 1 (toString x) == "/"
&& dirOf x == builtins.storeDir;
if isCoercibleToString x then
let str = toString x; in
builtins.substring 0 1 str == "/"
&& dirOf str == builtins.storeDir
else
false;

/* Convert string to int
Obviously, it is a bit hacky to use fromJSON that way.
2 changes: 1 addition & 1 deletion lib/tests/misc.nix
Original file line number Diff line number Diff line change
@@ -112,7 +112,7 @@ runTests {
storePathAppendix = isStorePath
"${goodPath}/bin/python";
nonAbsolute = isStorePath (concatStrings (tail (stringToCharacters goodPath)));
asPath = isStorePath goodPath;
asPath = isStorePath (/. + goodPath);
otherPath = isStorePath "/something/else";
otherVals = {
attrset = isStorePath {};
10 changes: 10 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -2967,6 +2967,11 @@
github = "nequissimus";
name = "Tim Steinbach";
};
nikitavoloboev = {
email = "nikita.voloboev@gmail.com";
github = "nikitavoloboev";
name = "Nikita Voloboev";
};
nfjinjing = {
email = "nfjinjing@gmail.com";
github = "nfjinjing";
@@ -4618,6 +4623,11 @@
github = "wucke13";
name = "Wucke";
};
wykurz = {
email = "wykurz@gmail.com";
github = "wykurz";
name = "Mateusz Wykurz";
};
wyvie = {
email = "elijahrum@gmail.com";
github = "wyvie";
8 changes: 8 additions & 0 deletions nixos/doc/manual/release-notes/rl-1903.xml
Original file line number Diff line number Diff line change
@@ -137,6 +137,14 @@
make sure to update your configuration if you want to keep <literal>proglodyte-wasm</literal>
</para>
</listitem>
<listitem>
<para>
OpenSMTPD has been upgraded to version 6.4.0p1. This release makes
backwards-incompatible changes to the configuration file format. See
<command>man smtpd.conf</command> for more information on the new file
format.
</para>
</listitem>
</itemizedlist>
</section>

61 changes: 39 additions & 22 deletions nixos/modules/config/networking.nix
Original file line number Diff line number Diff line change
@@ -16,15 +16,21 @@ let
resolvconfOptions = cfg.resolvconfOptions
++ optional cfg.dnsSingleRequest "single-request"
++ optional cfg.dnsExtensionMechanism "edns0";


localhostMapped4 = cfg.hosts ? "127.0.0.1" && elem "localhost" cfg.hosts."127.0.0.1";
localhostMapped6 = cfg.hosts ? "::1" && elem "localhost" cfg.hosts."::1";

localhostMultiple = any (elem "localhost") (attrValues (removeAttrs cfg.hosts [ "127.0.0.1" "::1" ]));

in

{

options = {

networking.hosts = lib.mkOption {
type = types.attrsOf ( types.listOf types.str );
default = {};
type = types.attrsOf (types.listOf types.str);
example = literalExample ''
{
"127.0.0.1" = [ "foo.bar.baz" ];
@@ -192,6 +198,29 @@ in

config = {

assertions = [{
assertion = localhostMapped4;
message = ''`networking.hosts` doesn't map "127.0.0.1" to "localhost"'';
} {
assertion = !cfg.enableIPv6 || localhostMapped6;
message = ''`networking.hosts` doesn't map "::1" to "localhost"'';
} {
assertion = !localhostMultiple;
message = ''
`networking.hosts` maps "localhost" to something other than "127.0.0.1"
or "::1". This will break some applications. Please use
`networking.extraHosts` if you really want to add such a mapping.
'';
}];

networking.hosts = {
"127.0.0.1" = [ "localhost" ];
} // optionalAttrs (cfg.hostName != "") {
"127.0.1.1" = [ cfg.hostName ];
} // optionalAttrs cfg.enableIPv6 {
"::1" = [ "localhost" ];
};

environment.etc =
{ # /etc/services: TCP/UDP port assignments.
"services".source = pkgs.iana-etc + "/etc/services";
@@ -203,25 +232,13 @@ in
"rpc".source = pkgs.glibc.out + "/etc/rpc";

# /etc/hosts: Hostname-to-IP mappings.
"hosts".text =
let oneToString = set : ip : ip + " " + concatStringsSep " " ( getAttr ip set );
allToString = set : concatMapStringsSep "\n" ( oneToString set ) ( attrNames set );
userLocalHosts = optionalString
( builtins.hasAttr "127.0.0.1" cfg.hosts )
( concatStringsSep " " ( remove "localhost" cfg.hosts."127.0.0.1" ));
userLocalHosts6 = optionalString
( builtins.hasAttr "::1" cfg.hosts )
( concatStringsSep " " ( remove "localhost" cfg.hosts."::1" ));
otherHosts = allToString ( removeAttrs cfg.hosts [ "127.0.0.1" "::1" ]);
in
''
127.0.0.1 ${userLocalHosts} localhost
${optionalString cfg.enableIPv6 ''
::1 ${userLocalHosts6} localhost
''}
${otherHosts}
${cfg.extraHosts}
'';
"hosts".text = let
oneToString = set: ip: ip + " " + concatStringsSep " " set.${ip};
allToString = set: concatMapStringsSep "\n" (oneToString set) (attrNames set);
in ''
${allToString cfg.hosts}
${cfg.extraHosts}
'';

# /etc/host.conf: resolver configuration file
"host.conf".text = cfg.hostConf;
@@ -296,4 +313,4 @@ in

};

}
}
2 changes: 2 additions & 0 deletions nixos/modules/installer/cd-dvd/installation-cd-minimal.nix
Original file line number Diff line number Diff line change
@@ -7,4 +7,6 @@
imports =
[ ./installation-cd-base.nix
];

fonts.fontconfig.enable = false;
}
1 change: 1 addition & 0 deletions nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
@@ -126,6 +126,7 @@
./programs/udevil.nix
./programs/venus.nix
./programs/vim.nix
./programs/wavemon.nix
./programs/way-cooler.nix
./programs/wireshark.nix
./programs/xfs_quota.nix
5 changes: 4 additions & 1 deletion nixos/modules/profiles/base.nix
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
# Include some utilities that are useful for installing or repairing
# the system.
environment.systemPackages = [
pkgs.w3m-nox # needed for the manual anyway
pkgs.w3m-nographics # needed for the manual anyway
pkgs.testdisk # useful for repairing boot problems
pkgs.ms-sys # for writing Microsoft boot sectors / MBRs
pkgs.efibootmgr
@@ -19,6 +19,9 @@
pkgs.cryptsetup # needed for dm-crypt volumes
pkgs.mkpasswd # for generating password files

# Some text editors.
pkgs.vim

# Some networking tools.
pkgs.fuse
pkgs.fuse3
3 changes: 0 additions & 3 deletions nixos/modules/profiles/installation-device.nix
Original file line number Diff line number Diff line change
@@ -87,9 +87,6 @@ with lib;
# console less cumbersome if the machine has a public IP.
networking.firewall.logRefusedConnections = mkDefault false;

environment.systemPackages = [ pkgs.vim ];


# Allow the user to log in as root without a password.
users.users.root.initialHashedPassword = "";
};
28 changes: 28 additions & 0 deletions nixos/modules/programs/wavemon.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ config, lib, pkgs, ... }:

with lib;

let
cfg = config.programs.wavemon;
in {
options = {
programs.wavemon = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
Whether to add wavemon to the global environment and configure a
setcap wrapper for it.
'';
};
};
};

config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ wavemon ];
security.wrappers.wavemon = {
source = "${pkgs.wavemon}/bin/wavemon";
capabilities = "cap_net_admin+ep";
};
};
}
12 changes: 12 additions & 0 deletions nixos/modules/system/boot/systemd.nix
Original file line number Diff line number Diff line change
@@ -587,6 +587,15 @@ in
'';
};

services.journald.forwardToSyslog = mkOption {
default = config.services.rsyslogd.enable || config.services.syslog-ng.enable;
defaultText = "config.services.rsyslogd.enable || config.services.syslog-ng.enable";
type = types.bool;
description = ''
Whether to forward log messages to syslog.
'';
};

services.logind.extraConfig = mkOption {
default = "";
type = types.lines;
@@ -754,6 +763,9 @@ in
ForwardToConsole=yes
TTYPath=${config.services.journald.console}
''}
${optionalString (config.services.journald.forwardToSyslog) ''
ForwardToSyslog=yes
''}
${config.services.journald.extraConfig}
'';

1 change: 1 addition & 0 deletions nixos/release.nix
Original file line number Diff line number Diff line change
@@ -399,6 +399,7 @@ in rec {
tests.radicale = callTest tests/radicale.nix {};
tests.redmine = callTest tests/redmine.nix {};
tests.rspamd = callSubTests tests/rspamd.nix {};
tests.rsyslogd = callSubTests tests/rsyslogd.nix {};
tests.runInMachine = callTest tests/run-in-machine.nix {};
tests.rxe = callTest tests/rxe.nix {};
tests.samba = callTest tests/samba.nix {};
6 changes: 4 additions & 2 deletions nixos/tests/opensmtpd.nix
Original file line number Diff line number Diff line change
@@ -17,11 +17,12 @@ import ./make-test.nix {
extraServerArgs = [ "-v" ];
serverConfiguration = ''
listen on 0.0.0.0
action do_relay relay
# DO NOT DO THIS IN PRODUCTION!
# Setting up authentication requires a certificate which is painful in
# a test environment, but THIS WOULD BE DANGEROUS OUTSIDE OF A
# WELL-CONTROLLED ENVIRONMENT!
accept from any for any relay
match from any for any action do_relay
'';
};
};
@@ -41,8 +42,9 @@ import ./make-test.nix {
extraServerArgs = [ "-v" ];
serverConfiguration = ''
listen on 0.0.0.0
accept from any for local deliver to mda \
action dovecot_deliver mda \
"${pkgs.dovecot}/libexec/dovecot/deliver -d %{user.username}"
match from any for local action dovecot_deliver
'';
};
services.dovecot2 = {
37 changes: 37 additions & 0 deletions nixos/tests/rsyslogd.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{ system ? builtins.currentSystem }:

with import ../lib/testing.nix { inherit system; };
{
test1 = makeTest {
name = "rsyslogd-test1";
meta.maintainers = [ lib.maintainers.aanderse ];

machine =
{ config, pkgs, ... }:
{ services.rsyslogd.enable = true;
services.journald.forwardToSyslog = false;
};

# ensure rsyslogd isn't receiving messages from journald if explicitly disabled
testScript = ''
$machine->waitForUnit("default.target");
$machine->fail("test -f /var/log/messages");
'';
};

test2 = makeTest {
name = "rsyslogd-test2";
meta.maintainers = [ lib.maintainers.aanderse ];

machine =
{ config, pkgs, ... }:
{ services.rsyslogd.enable = true;
};

# ensure rsyslogd is receiving messages from journald
testScript = ''
$machine->waitForUnit("default.target");
$machine->succeed("test -f /var/log/messages");
'';
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/altcoins/litecoin.nix
Original file line number Diff line number Diff line change
@@ -11,13 +11,13 @@ with stdenv.lib;
stdenv.mkDerivation rec {

name = "litecoin" + (toString (optional (!withGui) "d")) + "-" + version;
version = "0.16.2";
version = "0.16.3";

src = fetchFromGitHub {
owner = "litecoin-project";
repo = "litecoin";
rev = "v${version}";
sha256 = "0xfwh7cxxz6w8kgr4kl48w3zm81n1hv8fxb5l9zx3460im1ffgy6";
sha256 = "0vc184qfdkjky1qffa7309k6973k4197bkzwcmffc9r5sdfhrhkp";
};

nativeBuildInputs = [ pkgconfig autoreconfHook ];
4 changes: 2 additions & 2 deletions pkgs/applications/gis/openorienteering-mapper/default.nix
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@

stdenv.mkDerivation rec {
name = "OpenOrienteering-Mapper-${version}";
version = "0.8.2";
version = "0.8.3";

buildInputs = [ gdal qtbase qttools qtlocation qtimageformats
qtsensors clipper zlib proj doxygen cups];
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
owner = "OpenOrienteering";
repo = "mapper";
rev = "v${version}";
sha256 = "02lga6nlal4c7898zc3lv1pcwyv1wpkn7v2xji2kgq68r6aw6j59";
sha256 = "0pnqwvmg97mgc2ci3abmx07l0njxcrbljh75w8ym31g0jq76pgr9";
};

cmakeFlags =
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/krita/default.nix
Original file line number Diff line number Diff line change
@@ -10,11 +10,11 @@

mkDerivation rec {
name = "krita-${version}";
version = "4.1.3";
version = "4.1.5";

src = fetchurl {
url = "https://download.kde.org/stable/krita/${version}/${name}.tar.gz";
sha256 = "0d546dxs552z0pxnaka1jm7ksravw17f777wf593z0pl4ds8dgdx";
sha256 = "1by8p8ifdp03f05bhg8ygdd1j036anfpjjnzbx63l2fbmy9k6q10";
};

nativeBuildInputs = [ cmake extra-cmake-modules ];
2 changes: 1 addition & 1 deletion pkgs/applications/misc/electrum/default.nix
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ python3Packages.buildPythonApplication rec {

src = fetchurl {
url = "https://download.electrum.org/${version}/Electrum-${version}.tar.gz";
sha256 = "022iw4cq0c009wvqn7wd815jc0nv8198lq3cawn8h6c28hw2mhs1";
sha256 = "139kzapas1l61w1in9f7c6ybricid4fzryfnvsrfhpaqh83ydn2c";
};

propagatedBuildInputs = with python3Packages; [
Loading