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: 991bbef68351
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: 39dcb59fbf6f
Choose a head ref

Commits on Mar 12, 2020

  1. Copy the full SHA
    eacf018 View commit details
  2. libmysqlconnectorcpp: 1.1.9 → 8.0.19

    This has been seriously outdated:
    
    * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-10.html
    * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-11.html
    * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-12.html
    * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-13.html
    * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-1.html
    * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-2.html
    * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-3.html
    * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-4.html
    * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-5.html
    * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-6.html
    * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-7.html
    * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-8-through-10.html
    * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-11.html
    * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-12.html
    * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-13.html
    * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-14.html
    * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-15.html
    * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-16.html
    * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-17.html
    * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-18.html
    * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-19.html
    
    Expression changes:
    
    * Format with nixpkgs-fmt.
    * Move cmake to nativeBuildInputs.
    * Use OpenSSL from the system as using the bundled version is now optional.
    * Use MysQL 8.0 since this is supposed to be used with that version.
    * Explicitly enable the now legacy JDBC library used by mysql-workbench.
    * Remove unnecessary MYSQL_LIB_DIR flag. MySQL will be found automatically.
        * We just need the build script know it is not a static library.
    jtojnar committed Mar 12, 2020
    Copy the full SHA
    23d6991 View commit details
  3. mysql-workbench: 8.0.15 → 8.0.19

    * https://dev.mysql.com/doc/relnotes/workbench/en/news-8-0-16.html
    * https://dev.mysql.com/doc/relnotes/workbench/en/news-8-0-17.html
    * https://dev.mysql.com/doc/relnotes/workbench/en/news-8-0-18.html
    * https://dev.mysql.com/doc/relnotes/workbench/en/news-8-0-19.html
    
    The release notes contain the following:
    
    Important Note: MySQL Workbench 8.0.19 is unable to open a new connection to MySQL Server from the home screen if the server is not started and you cannot start a server by using the Workbench Administration feature. Administrative and SQL editing tasks require an online server for the duration of this issue. Feature tasks that you performed with an offline server in previous releases now return an error message indicating that the server is unreachable.
    
    but it is clearly better than having it broken.
    jtojnar committed Mar 12, 2020
    Copy the full SHA
    070b49e View commit details

Commits on Mar 14, 2020

  1. nixos/firejail: use local runCommand

    Also:
    
    - use `runtimeShell`; and
    - remove unused `makeWrapper` input; and
    - `exec()` to shed wrapping shell
    joachifm authored and alyssais committed Mar 14, 2020
    Copy the full SHA
    1b575db View commit details
  2. Copy the full SHA
    8b07500 View commit details
  3. qgroundcontrol: Fix build

    This silences some warnings to not run into "Log limit exceeded" on
    hydra.
    knedlsepp authored and alyssais committed Mar 14, 2020
    Copy the full SHA
    3a8d057 View commit details
  4. pythonPackages.psutil: fix build on darwin

    Disable tests because it segfaults on darwin
    marsam authored and Jon committed Mar 14, 2020
    Copy the full SHA
    b860306 View commit details
  5. ipfs-cluster: 0.11.0 -> 0.12.1

    lordcirth authored and alyssais committed Mar 14, 2020
    Copy the full SHA
    50c997c View commit details
  6. metamath: 0.180 -> 0.181

    Nathan van Doorn authored and alyssais committed Mar 14, 2020
    Copy the full SHA
    dd938aa View commit details
  7. client-ip-echo: 0.1.0.4 -> 0.1.0.5

    jerith666 authored and alyssais committed Mar 14, 2020
    Copy the full SHA
    38b77ca View commit details
  8. ddrescue: 1.24 -> 1.25

    lsix authored and alyssais committed Mar 14, 2020
    Copy the full SHA
    10132c6 View commit details
  9. maintainers: format with nixfmt

    Vim cleaned up white space issues on its own from a hook so I decided to
    take a look after running through nixfmt. The end result looks pretty
    good to me, very minimal changes where everyting but the top-level
    comment seems good to keep. I decided to keep the top-level comment
    anyway so that future nixfmts would be minimal.
    mmlb authored and alyssais committed Mar 14, 2020
    Copy the full SHA
    fc5ba31 View commit details
  10. maintainers: update mmlb email

    mmlb authored and alyssais committed Mar 14, 2020
    Copy the full SHA
    78309be View commit details
  11. Merge pull request #82362 from jtojnar/mysql-wb

    mysql-workbench: 8.0.15 → 8.0.19
    jtojnar authored Mar 14, 2020
    Copy the full SHA
    f5fade9 View commit details
  12. b3sum: remove non-existent attribute

    The attribute `verifyCargoDeps` is no longer defined in the rustPlatform helper;
    it is now the default and always on as part of the improvements in #79975
    bhipple authored and alyssais committed Mar 14, 2020
    Copy the full SHA
    362db40 View commit details
  13. msgpack: 3.0.1 -> 3.2.0

    rychale authored and alyssais committed Mar 14, 2020
    Copy the full SHA
    7ed8a2c View commit details
  14. nixos/firewall: fix inverted assertion for reverse path filtering

    Previously the assertion passed if the kernel had support OR the
    filter was *enabled*. In the case of a kernel without support, the
    `checkReversePath` option defaulted to false, and then failed the
    assertion.
    thefloweringash authored and alyssais committed Mar 14, 2020
    Copy the full SHA
    2c121f4 View commit details
  15. Copy the full SHA
    e271476 View commit details
  16. nixos/prometheus: add checkConfig

    thefloweringash authored and alyssais committed Mar 14, 2020
    Copy the full SHA
    01f03f3 View commit details
  17. cdb: fix meta.homepage

    Without the .html, the server returns access denied.
    bhipple authored and alyssais committed Mar 14, 2020
    Copy the full SHA
    3a68a33 View commit details
  18. jemalloc: 5.1.0 -> 5.2.1

    orivej authored and alyssais committed Mar 14, 2020
    Copy the full SHA
    ee2ccda View commit details
  19. munin: 2.0.49 -> 2.0.51

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/munin/versions
    r-ryantm authored and alyssais committed Mar 14, 2020
    Copy the full SHA
    406f983 View commit details
  20. xonsh: 0.9.13 -> 0.9.14

    Closes #81951
    
    The PR unnecessarily removes the `patchShebangs .`-call, also the
    non-deterministically failing testcase `test_pyghooks` isn't excluded
    there.
    
    Co-authored-by: Mario Rodas <marsam@users.noreply.github.com>
    Ma27 and marsam committed Mar 14, 2020
    Copy the full SHA
    6b6abb4 View commit details
  21. syncthing-gtk: 0.9.4 -> 0.9.4.4

    Ma27 committed Mar 14, 2020
    Copy the full SHA
    cc989f0 View commit details
  22. tensorflow: 1.15.1 -> 1.15.2

    (cherry picked from commit 0a5ec49)
    dylex authored and alyssais committed Mar 14, 2020
    Copy the full SHA
    1e769bd View commit details
  23. afl: Fix afl-qemu build by applying new patches

    These patches are gathered from different sources,
    such as https://patchwork.kernel.org/patch/10862231/ for the
    `gettid` patch.
    Another patch comes from the issue in the AFL repository.
    The ultimate goal is to get these patches upstream as well,
    so we don't keep these general patches only within nixos.
    
    A PR is created against Google/AFL
    google/AFL#79,
    but it might take a while before it's landed, considering the history
    of the project (there are more PRs open).
    
    ZHF: #80379
    
    Fixes #82232
    Mindavi authored Mar 14, 2020
    Copy the full SHA
    0874bd8 View commit details
  24. jflex: 1.7.0 -> 1.8.1

    r-ryantm authored and alyssais committed Mar 14, 2020
    Copy the full SHA
    5ef871d View commit details
  25. monetdb: 11.35.9 -> 11.35.19

    r-ryantm authored and alyssais committed Mar 14, 2020
    Copy the full SHA
    39dcb59 View commit details
Showing with 279 additions and 161 deletions.
  1. +63 −60 maintainers/maintainer-list.nix
  2. +1 −1 nixos/lib/utils.nix
  3. +10 −10 nixos/modules/programs/firejail.nix
  4. +21 −6 nixos/modules/services/monitoring/prometheus/default.nix
  5. +1 −1 nixos/modules/services/networking/firewall.nix
  6. +97 −20 pkgs/applications/misc/mysql-workbench/default.nix
  7. +12 −0 pkgs/applications/misc/mysql-workbench/fix-swig-build.patch
  8. +3 −3 pkgs/applications/networking/ipfs-cluster/default.nix
  9. +5 −6 pkgs/applications/networking/syncthing-gtk/default.nix
  10. +2 −0 pkgs/applications/science/robotics/qgroundcontrol/default.nix
  11. +3 −3 pkgs/development/interpreters/metamath/default.nix
  12. +3 −3 pkgs/development/libraries/java/jflex/default.nix
  13. +2 −2 pkgs/development/libraries/jemalloc/default.nix
  14. +26 −7 pkgs/development/libraries/libmysqlconnectorcpp/default.nix
  15. +2 −2 pkgs/development/libraries/msgpack/default.nix
  16. +1 −0 pkgs/development/libraries/openssl/default.nix
  17. +2 −1 pkgs/development/python-modules/psutil/default.nix
  18. +4 −6 pkgs/development/python-modules/tensorflow/default.nix
  19. +2 −2 pkgs/development/python-modules/tensorflow/lift-gast-restriction.patch
  20. +1 −1 pkgs/development/tools/database/cdb/default.nix
  21. +3 −3 pkgs/servers/misc/client-ip-echo/client-ip-echo.nix
  22. +2 −2 pkgs/servers/monitoring/munin/default.nix
  23. +3 −3 pkgs/servers/sql/monetdb/default.nix
  24. +6 −12 pkgs/shells/xonsh/default.nix
  25. +0 −1 pkgs/tools/security/b3sum/default.nix
  26. +3 −3 pkgs/tools/system/ddrescue/default.nix
  27. +1 −3 pkgs/top-level/all-packages.nix
123 changes: 63 additions & 60 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* List of NixOS maintainers.
```nix
handle = {
# Required
name = "Your name";
@@ -13,32 +13,33 @@
fingerprint = "AAAA BBBB CCCC DDDD EEEE FFFF 0000 1111 2222 3333";
}];
};
```
where
where
- `handle` is the handle you are going to use in nixpkgs expressions,
- `name` is your, preferably real, name,
- `email` is your maintainer email address, and
- `github` is your GitHub handle (as it appears in the URL of your profile page, `https://github.com/<userhandle>`),
- `githubId` is your GitHub user ID, which can be found at `https://api.github.com/users/<userhandle>`,
- `keys` is a list of your PGP/GPG key IDs and fingerprints.
- `handle` is the handle you are going to use in nixpkgs expressions,
- `name` is your, preferably real, name,
- `email` is your maintainer email address, and
- `github` is your GitHub handle (as it appears in the URL of your profile page, `https://github.com/<userhandle>`),
- `githubId` is your GitHub user ID, which can be found at `https://api.github.com/users/<userhandle>`,
- `keys` is a list of your PGP/GPG key IDs and fingerprints.
`handle == github` is strongly preferred whenever `github` is an acceptable attribute name and is short and convenient.
`handle == github` is strongly preferred whenever `github` is an acceptable attribute name and is short and convenient.
Add PGP/GPG keys only if you actually use them to sign commits and/or mail.
Add PGP/GPG keys only if you actually use them to sign commits and/or mail.
To get the required PGP/GPG values for a key run
```shell
gpg --keyid-format 0xlong --fingerprint <email> | head -n 2
```
To get the required PGP/GPG values for a key run
```shell
gpg --keyid-format 0xlong --fingerprint <email> | head -n 2
```
!!! Note that PGP/GPG values stored here are for informational purposes only, don't use this file as a source of truth.
!!! Note that PGP/GPG values stored here are for informational purposes only, don't use this file as a source of truth.
More fields may be added in the future.
More fields may be added in the future.
Please keep the list alphabetically sorted.
See `./scripts/check-maintainer-github-handles.sh` for an example on how to work with this data.
*/
Please keep the list alphabetically sorted.
See `./scripts/check-maintainer-github-handles.sh` for an example on how to work with this data.
*/
{
"0x4A6F" = {
email = "0x4A6F@shackspace.de";
@@ -1572,10 +1573,12 @@
githubId = 2217136;
name = "Ștefan D. Mihăilă";
keys = [
{ longkeyid = "rsa4096/6E68A39BF16A3ECB";
{
longkeyid = "rsa4096/6E68A39BF16A3ECB";
fingerprint = "CBC9 C7CC 51F0 4A61 3901 C723 6E68 A39B F16A 3ECB";
}
{ longkeyid = "rsa4096/6220AD7846220A52";
{
longkeyid = "rsa4096/6220AD7846220A52";
fingerprint = "7EAB 1447 5BBA 7DDE 7092 7276 6220 AD78 4622 0A52";
}
];
@@ -1792,7 +1795,7 @@
name = "Didier J. Devroye";
};
devhell = {
email = "\"^\"@regexmail.net";
email = ''"^"@regexmail.net'';
github = "devhell";
githubId = 896182;
name = "devhell";
@@ -2131,7 +2134,7 @@
};
ehmry = {
email = "ehmry@posteo.net";
github= "ehmry";
github = "ehmry";
githubId = 537775;
name = "Emery Hemingway";
};
@@ -2219,10 +2222,10 @@
name = "Jack Kelly";
};
enorris = {
name = "Eric Norris";
email = "erictnorris@gmail.com";
github = "ericnorris";
githubId = 1906605;
name = "Eric Norris";
email = "erictnorris@gmail.com";
github = "ericnorris";
githubId = 1906605;
};
Enteee = {
email = "nix@duckpond.ch";
@@ -2891,7 +2894,7 @@
github = "hansjoergschurr";
githubId = 9850776;
name = "Hans-Jörg Schurr";
};
};
HaoZeke = {
email = "r95g10@gmail.com";
github = "haozeke";
@@ -4224,10 +4227,10 @@
}];
};
luis = {
email = "luis.nixos@gmail.com";
github = "Luis-Hebendanz";
githubId = 22085373;
name = "Luis Hebendanz";
email = "luis.nixos@gmail.com";
github = "Luis-Hebendanz";
githubId = 22085373;
name = "Luis Hebendanz";
};
lionello = {
email = "lio@lunesu.com";
@@ -4470,12 +4473,12 @@
githubId = 50230945;
name = "Marcus Boyd";
};
marenz = {
email = "marenz@arkom.men";
github = "marenz2569";
githubId = 12773269;
name = "Markus Schmidl";
};
marenz = {
email = "marenz@arkom.men";
github = "marenz2569";
githubId = 12773269;
name = "Markus Schmidl";
};
markus1189 = {
email = "markus1189@gmail.com";
github = "markus1189";
@@ -4725,7 +4728,7 @@
githubId = 668926;
name = "Maximilian Güntner";
};
mhaselsteiner = {
mhaselsteiner = {
email = "magdalena.haselsteiner@gmx.at";
github = "mhaselsteiner";
githubId = 20536514;
@@ -4894,7 +4897,7 @@
name = "Martin Milata";
};
mmlb = {
email = "me.mmlb@mmlb.me";
email = "manny@peekaboo.mmlb.icu";
github = "mmlb";
name = "Manuel Mendez";
};
@@ -5789,11 +5792,10 @@
github = "pradyuman";
githubId = 9904569;
name = "Pradyuman Vig";
keys = [
{ longkeyid = "rsa4096/4F74D5361C4CA31E";
fingerprint = "240B 57DE 4271 2480 7CE3 EAC8 4F74 D536 1C4C A31E";
}
];
keys = [{
longkeyid = "rsa4096/4F74D5361C4CA31E";
fingerprint = "240B 57DE 4271 2480 7CE3 EAC8 4F74 D536 1C4C A31E";
}];
};
prikhi = {
email = "pavan.rikhi@gmail.com";
@@ -5807,10 +5809,12 @@
githubId = 7537109;
name = "Michael Weiss";
keys = [
{ longkeyid = "ed25519/0x130826A6C2A389FD"; # Git only
{
longkeyid = "ed25519/0x130826A6C2A389FD"; # Git only
fingerprint = "86A7 4A55 07D0 58D1 322E 37FD 1308 26A6 C2A3 89FD";
}
{ longkeyid = "rsa3072/0xBCA9943DD1DF4C04"; # Email, etc.
{
longkeyid = "rsa3072/0xBCA9943DD1DF4C04"; # Email, etc.
fingerprint = "AF85 991C C950 49A2 4205 1933 BCA9 943D D1DF 4C04";
}
];
@@ -6176,12 +6180,10 @@
github = "rnhmjoj";
githubId = 2817565;
name = "Michele Guerini Rocco";
keys =
[
{ longkeyid = "ed25519/0xBFBAF4C975F76450";
fingerprint = "92B2 904F D293 C94D C4C9 3E6B BFBA F4C9 75F7 6450";
}
];
keys = [{
longkeyid = "ed25519/0xBFBAF4C975F76450";
fingerprint = "92B2 904F D293 C94D C4C9 3E6B BFBA F4C9 75F7 6450";
}];
};
rob = {
email = "rob.vermaas@gmail.com";
@@ -6386,10 +6388,10 @@
}];
};
samrose = {
email = "samuel.rose@gmail.com";
github = "samrose";
githubId = 115821;
name = "Sam Rose";
email = "samuel.rose@gmail.com";
github = "samrose";
githubId = 115821;
name = "Sam Rose";
};
samueldr = {
email = "samuel@dionne-riel.com";
@@ -7346,10 +7348,10 @@
github = "tkerber";
githubId = 5722198;
name = "Thomas Kerber";
keys = [ {
keys = [{
longkeyid = "rsa4096/0x8489B911F9ED617B";
fingerprint = "556A 403F B0A2 D423 F656 3424 8489 B911 F9ED 617B";
} ];
}];
};
tmplt = {
email = "tmplt@dragons.rocks";
@@ -7629,7 +7631,8 @@
};
vcunat = {
name = "Vladimír Čunát";
email = "v@cunat.cz"; # vcunat@gmail.com predominated in commits before 2019/03
# vcunat@gmail.com predominated in commits before 2019/03
email = "v@cunat.cz";
github = "vcunat";
githubId = 1785925;
keys = [{
2 changes: 1 addition & 1 deletion nixos/lib/utils.nix
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ rec {
# becomes dev-xyzzy. FIXME: slow.
escapeSystemdPath = s:
replaceChars ["/" "-" " "] ["-" "\\x2d" "\\x20"]
(if hasPrefix "/" s then substring 1 (stringLength s) s else s);
(removePrefix "/" s);

# Returns a system path for a given shell package
toShellPath = shell:
20 changes: 10 additions & 10 deletions nixos/modules/programs/firejail.nix
Original file line number Diff line number Diff line change
@@ -5,20 +5,20 @@ with lib;
let
cfg = config.programs.firejail;

wrappedBins = pkgs.stdenv.mkDerivation {
name = "firejail-wrapped-binaries";
nativeBuildInputs = with pkgs; [ makeWrapper ];
buildCommand = ''
wrappedBins = pkgs.runCommand "firejail-wrapped-binaries"
{ preferLocalBuild = true;
allowSubstitutes = false;
}
''
mkdir -p $out/bin
${lib.concatStringsSep "\n" (lib.mapAttrsToList (command: binary: ''
cat <<_EOF >$out/bin/${command}
#!${pkgs.stdenv.shell} -e
/run/wrappers/bin/firejail ${binary} "\$@"
_EOF
chmod 0755 $out/bin/${command}
cat <<_EOF >$out/bin/${command}
#! ${pkgs.runtimeShell} -e
exec /run/wrappers/bin/firejail ${binary} "\$@"
_EOF
chmod 0755 $out/bin/${command}
'') cfg.wrappedBinaries)}
'';
};

in {
options.programs.firejail = {
27 changes: 21 additions & 6 deletions nixos/modules/services/monitoring/prometheus/default.nix
Original file line number Diff line number Diff line change
@@ -9,12 +9,13 @@ let

# a wrapper that verifies that the configuration is valid
promtoolCheck = what: name: file:
pkgs.runCommand
"${name}-${replaceStrings [" "] [""] what}-checked"
{ buildInputs = [ cfg.package ]; } ''
ln -s ${file} $out
promtool ${what} $out
'';
if cfg.checkConfig then
pkgs.runCommand
"${name}-${replaceStrings [" "] [""] what}-checked"
{ buildInputs = [ cfg.package ]; } ''
ln -s ${file} $out
promtool ${what} $out
'' else file;

# Pretty-print JSON to a file
writePrettyJSON = name: x:
@@ -601,6 +602,20 @@ in {
if Prometheus is served via a reverse proxy).
'';
};

checkConfig = mkOption {
type = types.bool;
default = true;
description = ''
Check configuration with <literal>promtool
check</literal>. The call to <literal>promtool</literal> is
subject to sandboxing by Nix. When credentials are stored in
external files (<literal>password_file</literal>,
<literal>bearer_token_file</literal>, etc), they will not be
visible to <literal>promtool</literal> and it will report
errors, despite a correct configuration.
'';
};
};

config = mkIf cfg.enable {
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/firewall.nix
Original file line number Diff line number Diff line change
@@ -546,7 +546,7 @@ in
options nf_conntrack nf_conntrack_helper=1
'';

assertions = [ { assertion = (cfg.checkReversePath != false) || kernelHasRPFilter;
assertions = [ { assertion = cfg.checkReversePath -> kernelHasRPFilter;
message = "This kernel does not support rpfilter"; }
];

Loading