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: 414591344e46
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: 628164c58de1
Choose a head ref

Commits on Jan 11, 2020

  1. Copy the full SHA
    f4f3213 View commit details

Commits on Jan 13, 2020

  1. Copy the full SHA
    d6a9898 View commit details

Commits on Jan 17, 2020

  1. Copy the full SHA
    c841d20 View commit details
  2. nixos/traceroute: init

    volth committed Jan 17, 2020
    Copy the full SHA
    d5d1293 View commit details

Commits on Jan 19, 2020

  1. nixos/buildkite-agent: add "user" option

    This allows buildkite-agent to run as another user.
    
    It'll still run builds from /var/lib/buildkite-agent and setup things in
    there.
    flokli committed Jan 19, 2020
    Copy the full SHA
    8c6b1c3 View commit details

Commits on Jan 20, 2020

  1. open-vm-tools: 11.0.1 -> 11.0.5

    ivan committed Jan 20, 2020
    Copy the full SHA
    61f264f View commit details
  2. dbeaver: 6.3.2 -> 6.3.3

    jojosch committed Jan 20, 2020
    Copy the full SHA
    465dc6e View commit details
  3. Copy the full SHA
    2708dfa View commit details
  4. Copy the full SHA
    ed1b996 View commit details
  5. Copy the full SHA
    f3410e9 View commit details
  6. Copy the full SHA
    af34067 View commit details
  7. Copy the full SHA
    7838f00 View commit details
  8. nixos/buildkite-agent: add gnutar, gzip and git to runtimePackages

    These are required for nix to do builtins.fetchTarball and
    builtins.fetchGit, so most likely we want them to be around.
    flokli committed Jan 20, 2020
    Copy the full SHA
    70308a7 View commit details
  9. nixosTests.buildkite: add test

    flokli committed Jan 20, 2020
    Copy the full SHA
    a208e6e View commit details
  10. nixos/buildkite: make privateSshKeyPath optional

    When only cloning public repos, or when the ssh key is provided by
    different means, we don't need to manage it here.
    flokli committed Jan 20, 2020
    Copy the full SHA
    4b73d3c View commit details
  11. python3Packages.solo-python: 0.0.21 -> 0.0.23

    + also fix for 78032
    wucke13 committed Jan 20, 2020
    Copy the full SHA
    216b47c View commit details
  12. Merge pull request #77433 from curiousleo/patch-2

    Document how to backport a change into a release channel
    grahamc authored Jan 20, 2020
    Copy the full SHA
    da9c031 View commit details
  13. Merge pull request #78045 from flokli/buildkite-agent-user-runtime-test

    nixos/buildkite: add option to configure user, add nix-required packages to runtime, add test
    zimbatm authored Jan 20, 2020
    Copy the full SHA
    e20de6b View commit details
  14. onedrive: 2.3.12 -> 2.3.13

    ianmjones authored and alyssais committed Jan 20, 2020
    Copy the full SHA
    96d2790 View commit details
  15. mailman: remove unused derivation for mailman 2

    This isn't referenced anywhere, so it's just dead code.
    alyssais committed Jan 20, 2020
    Copy the full SHA
    89b311f View commit details
  16. python3.pkgs.mailman: core.nix -> default.nix

    The actual upstream "mailman" name just refers to this, so we should
    use the Nixpkgs convention of default.nix.
    alyssais committed Jan 20, 2020
    Copy the full SHA
    0b9bfc0 View commit details
  17. Copy the full SHA
    38f2103 View commit details
  18. python3.pkgs.hyperkitty: use checkInputs

    The previously propagated build inputs are optional, and so are
    included in checkInputs so the tests can run, but not propagated so
    they aren't included if unneeded.
    alyssais committed Jan 20, 2020
    Copy the full SHA
    6af4de8 View commit details
  19. Copy the full SHA
    9a43cdc View commit details
  20. Copy the full SHA
    aec2382 View commit details
  21. python3.pkgs.authheaders: init at 0.12.1

    This package is a dependency of GNU Mailman 3.3.x.
    
    Co-authored-by: Jonathan Ringer <jonringer117@gmail.com>
    2 people authored and alyssais committed Jan 20, 2020
    Copy the full SHA
    fed5817 View commit details
  22. python3.pkgs.mailman: 3.2.2 -> 3.3.0

    peti authored and alyssais committed Jan 20, 2020
    Copy the full SHA
    3e26640 View commit details
  23. Copy the full SHA
    126ff4d View commit details
  24. hakuneko: 5.0.8 -> 6.1.7

    nloomans authored and teto committed Jan 20, 2020
    Copy the full SHA
    79cf2c2 View commit details
  25. Copy the full SHA
    7106ae1 View commit details
  26. Copy the full SHA
    7de77b6 View commit details
  27. Copy the full SHA
    631d225 View commit details
  28. Copy the full SHA
    233c278 View commit details
  29. lilv: 0.24.4 -> 0.24.6

    magnetophon authored and teto committed Jan 20, 2020
    Copy the full SHA
    6803c95 View commit details
  30. rofi-mpd: 1.1.0 -> 2.0.0

    JakeStanger authored and teto committed Jan 20, 2020
    Copy the full SHA
    865b462 View commit details
  31. du-dust: 0.4.2 -> 0.4.4

    marsam authored and teto committed Jan 20, 2020
    Copy the full SHA
    7c2a51c View commit details
  32. Copy the full SHA
    7450bb7 View commit details
  33. Copy the full SHA
    a6ecbc4 View commit details
  34. Copy the full SHA
    bb04c6d View commit details
  35. suil: 0.10.0 -> 0.10.6

    magnetophon authored and teto committed Jan 20, 2020
    Copy the full SHA
    50c3ac2 View commit details
  36. Copy the full SHA
    bd5a596 View commit details
  37. jalv: 1.6.2 -> 1.6.4

    magnetophon authored and teto committed Jan 20, 2020
    Copy the full SHA
    267c533 View commit details
  38. Copy the full SHA
    67ce294 View commit details
  39. Merge pull request #78122 from mkg20001/cjs-fix

    cinnamon.cjs: add nma for nma typelib
    worldofpeace authored Jan 20, 2020
    Copy the full SHA
    906ef87 View commit details
  40. Merge pull request #78080 from ivan/open-vm-tools-11.0.5

    open-vm-tools: 11.0.1 -> 11.0.5
    worldofpeace authored Jan 20, 2020
    Copy the full SHA
    1b05fd2 View commit details
  41. Merge pull request #77882 from colemickens/nixpkgs-v4l2-fix

    v4l2loopback: 0.12.2 -> 0.12.3
    nh2 authored Jan 20, 2020
    Copy the full SHA
    b17d21d View commit details
  42. matomo: 3.13.0 -> 3.13.1

    ajs124 committed Jan 20, 2020
    Copy the full SHA
    26c3e67 View commit details
  43. Merge pull request #78088 from jojosch/dbeaver_6.3.3

    dbeaver: 6.3.2 -> 6.3.3
    nh2 authored Jan 20, 2020
    Copy the full SHA
    a7dacaf View commit details
  44. Copy the full SHA
    4a7f07e View commit details
  45. nixos/lib: Inherit type for doRename options

    Co-authored-by: Silvan Mosberger <contact@infinisil.com>
    dasJ and infinisil committed Jan 20, 2020
    Copy the full SHA
    790cd01 View commit details
Showing with 411 additions and 436 deletions.
  1. +9 −0 .github/CONTRIBUTING.md
  2. +1 −1 lib/attrsets.nix
  3. +3 −0 lib/modules.nix
  4. +1 −1 nixos/modules/module-list.nix
  5. +26 −0 nixos/modules/programs/traceroute.nix
  6. +5 −0 nixos/modules/rename.nix
  7. +28 −16 nixos/modules/services/continuous-integration/buildkite-agent.nix
  8. +0 −94 nixos/modules/services/x11/hardware/multitouch.nix
  9. +1 −0 nixos/tests/all-tests.nix
  10. +23 −0 nixos/tests/buildkite-agent.nix
  11. +9 −8 pkgs/applications/audio/ingen/default.nix
  12. +4 −4 pkgs/applications/audio/jalv/default.nix
  13. +3 −3 pkgs/applications/audio/rofi-mpd/default.nix
  14. +2 −2 pkgs/applications/misc/dbeaver/default.nix
  15. +11 −19 pkgs/applications/networking/sync/onedrive/default.nix
  16. +2 −2 pkgs/applications/virtualization/open-vm-tools/default.nix
  17. +3 −3 pkgs/applications/window-managers/i3/layout-manager.nix
  18. +40 −0 pkgs/desktops/cinnamon/cinnamon-menus/default.nix
  19. +31 −0 pkgs/desktops/cinnamon/cinnamon-translations/default.nix
  20. +2 −0 pkgs/desktops/cinnamon/cjs/default.nix
  21. +2 −0 pkgs/desktops/cinnamon/default.nix
  22. +6 −0 pkgs/development/compilers/ocaml/4.10.nix
  23. +2 −2 pkgs/development/libraries/audio/lilv/default.nix
  24. +0 −23 pkgs/development/libraries/audio/lv2/unstable.nix
  25. +7 −5 pkgs/development/libraries/audio/raul/default.nix
  26. +2 −2 pkgs/development/libraries/audio/suil/default.nix
  27. +7 −6 pkgs/development/libraries/ganv/default.nix
  28. +22 −0 pkgs/development/python-modules/authheaders/default.nix
  29. +2 −1 pkgs/development/python-modules/mailmanclient/default.nix
  30. +2 −2 pkgs/development/python-modules/solo-python/default.nix
  31. +3 −3 pkgs/development/tools/rust/cargo-crev/default.nix
  32. +14 −14 pkgs/misc/emulators/wine/sources.nix
  33. +33 −0 pkgs/misc/vim-plugins/generated.nix
  34. +3 −0 pkgs/misc/vim-plugins/vim-plugin-names
  35. +1 −1 pkgs/os-specific/linux/firejail/default.nix
  36. +2 −2 pkgs/os-specific/linux/v4l2loopback/default.nix
  37. +0 −42 pkgs/os-specific/linux/xf86-input-mtrack/default.nix
  38. +0 −48 pkgs/os-specific/linux/xf86-input-multitouch/default.nix
  39. +0 −47 pkgs/servers/mail/mailman/core.nix
  40. +36 −21 pkgs/servers/mail/mailman/default.nix
  41. +15 −8 pkgs/servers/mail/mailman/hyperkitty.nix
  42. +7 −9 pkgs/servers/mail/mailman/postorius.nix
  43. +2 −1 pkgs/servers/mail/mailman/web.nix
  44. +2 −2 pkgs/servers/web-apps/matomo/default.nix
  45. +3 −3 pkgs/tools/misc/dust/default.nix
  46. +3 −3 pkgs/tools/misc/hakuneko/default.nix
  47. +5 −5 pkgs/tools/misc/html-proofer/Gemfile.lock
  48. +10 −10 pkgs/tools/misc/html-proofer/gemset.nix
  49. +3 −12 pkgs/tools/security/fail2ban/default.nix
  50. +2 −2 pkgs/tools/system/facter/default.nix
  51. +3 −0 pkgs/top-level/aliases.nix
  52. +0 −5 pkgs/top-level/all-packages.nix
  53. +2 −0 pkgs/top-level/ocaml-packages.nix
  54. +6 −4 pkgs/top-level/python-packages.nix
9 changes: 9 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -48,6 +48,15 @@ In addition to writing properly formatted commit messages, it's important to inc

For package version upgrades and such a one-line commit message is usually sufficient.

## Backporting changes

To [backport a change into a release branch](https://nixos.org/nixpkgs/manual/#submitting-changes-stable-release-branches):

1. Take note of the commit in which the change was introduced into `master`.
2. Check out the target _release branch_, e.g. `release-19.09`. Do not use a _channel branch_ like `nixos-19.09` or `nixpkgs-19.09`.
3. Use `git cherry-pick -x <original commit>`.
4. Open your backport PR. Make sure to select the release branch (e.g. `release-19.09`) as the target branch of the PR, and link to the PR in which the original change was made to `master`.

## Reviewing contributions

See the nixpkgs manual for more details on how to [Review contributions](https://nixos.org/nixpkgs/manual/#chap-reviewing-contributions).
2 changes: 1 addition & 1 deletion lib/attrsets.nix
Original file line number Diff line number Diff line change
@@ -60,7 +60,7 @@ rec {
[ { name = head attrPath; value = setAttrByPath (tail attrPath) value; } ];


/* Like `getAttrPath' without a default value. If it doesn't find the
/* Like `attrByPath' without a default value. If it doesn't find the
path it will throw.
Example:
3 changes: 3 additions & 0 deletions lib/modules.nix
Original file line number Diff line number Diff line change
@@ -764,12 +764,15 @@ rec {
fromOpt = getAttrFromPath from options;
toOf = attrByPath to
(abort "Renaming error: option `${showOption to}' does not exist.");
toType = let opt = attrByPath to {} options; in opt.type or null;
in
{
options = setAttrByPath from (mkOption {
inherit visible;
description = "Alias of <option>${showOption to}</option>.";
apply = x: use (toOf config);
} // optionalAttrs (toType != null) {
type = toType;
});
config = mkMerge [
{
2 changes: 1 addition & 1 deletion nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
@@ -153,6 +153,7 @@
./programs/system-config-printer.nix
./programs/thefuck.nix
./programs/tmux.nix
./programs/traceroute.nix
./programs/tsm-client.nix
./programs/udevil.nix
./programs/usbtop.nix
@@ -871,7 +872,6 @@
./services/x11/display-managers/xpra.nix
./services/x11/fractalart.nix
./services/x11/hardware/libinput.nix
./services/x11/hardware/multitouch.nix
./services/x11/hardware/synaptics.nix
./services/x11/hardware/wacom.nix
./services/x11/hardware/digimend.nix
26 changes: 26 additions & 0 deletions nixos/modules/programs/traceroute.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ config, lib, pkgs, ... }:

with lib;

let
cfg = config.programs.traceroute;
in {
options = {
programs.traceroute = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
Whether to configure a setcap wrapper for traceroute.
'';
};
};
};

config = mkIf cfg.enable {
security.wrappers.traceroute = {
source = "${pkgs.traceroute}/bin/traceroute";
capabilities = "cap_net_raw+p";
};
};
}
5 changes: 5 additions & 0 deletions nixos/modules/rename.nix
Original file line number Diff line number Diff line change
@@ -29,6 +29,11 @@ with lib;
(mkRemovedOptionModule [ "services.fourStoreEndpoint" ] "The fourStoreEndpoint module has been removed")
(mkRemovedOptionModule [ "programs" "way-cooler" ] ("way-cooler is abandoned by its author: " +
"https://way-cooler.org/blog/2020/01/09/way-cooler-post-mortem.html"))
(mkRemovedOptionModule [ "services" "xserver" "multitouch" ] ''
services.xserver.multitouch (which uses xf86_input_mtrack) has been removed
as the underlying package isn't being maintained. Working alternatives are
libinput and synaptics.
'')

# Do NOT add any option renames here, see top of the file
];
44 changes: 28 additions & 16 deletions nixos/modules/services/continuous-integration/buildkite-agent.nix
Original file line number Diff line number Diff line change
@@ -29,6 +29,8 @@ let
${concatStringsSep "\n" (mapAttrsToList mkHookEntry (filterAttrs (n: v: v != null) cfg.hooks))}
'';

defaultUser = "buildkite-agent";

in

{
@@ -50,12 +52,21 @@ in
};

runtimePackages = mkOption {
default = [ pkgs.bash pkgs.nix ];
defaultText = "[ pkgs.bash pkgs.nix ]";
default = [ pkgs.bash pkgs.gnutar pkgs.gzip pkgs.git pkgs.nix ];
defaultText = "[ pkgs.bash pkgs.gnutar pkgs.gzip pkgs.git pkgs.nix ]";
description = "Add programs to the buildkite-agent environment";
type = types.listOf types.package;
};

user = mkOption {
type = types.str;
default = defaultUser;
description = ''
Set this option when you want to run the buildkite agent as something else
than the default user "buildkite-agent".
'';
};

tokenPath = mkOption {
type = types.path;
description = ''
@@ -93,7 +104,8 @@ in
};

privateSshKeyPath = mkOption {
type = types.path;
type = types.nullOr types.path;
default = null;
## maximum care is taken so that secrets (ssh keys and the CI token)
## don't end up in the Nix store.
apply = final: if final == null then null else toString final;
@@ -185,14 +197,14 @@ in
};

config = mkIf config.services.buildkite-agent.enable {
users.users.buildkite-agent =
{ name = "buildkite-agent";
home = cfg.dataDir;
createHome = true;
description = "Buildkite agent user";
extraGroups = [ "keys" ];
isSystemUser = true;
};
users.users.buildkite-agent = mkIf (cfg.user == defaultUser) {
name = "buildkite-agent";
home = cfg.dataDir;
createHome = true;
description = "Buildkite agent user";
extraGroups = [ "keys" ];
isSystemUser = true;
};

environment.systemPackages = [ cfg.package ];

@@ -212,11 +224,11 @@ in
sshDir = "${cfg.dataDir}/.ssh";
tagStr = lib.concatStringsSep "," (lib.mapAttrsToList (name: value: "${name}=${value}") cfg.tags);
in
''
optionalString (cfg.privateSshKeyPath != null) ''
mkdir -m 0700 -p "${sshDir}"
cp -f "${toString cfg.openssh.privateKeyPath}" "${sshDir}/id_rsa"
chmod 600 "${sshDir}"/id_rsa*
cp -f "${toString cfg.privateSshKeyPath}" "${sshDir}/id_rsa"
chmod 600 "${sshDir}"/id_rsa
'' + ''
cat > "${cfg.dataDir}/buildkite-agent.cfg" <<EOF
token="$(cat ${toString cfg.tokenPath})"
name="${cfg.name}"
@@ -230,7 +242,7 @@ in

serviceConfig =
{ ExecStart = "${cfg.package}/bin/buildkite-agent start --config /var/lib/buildkite-agent/buildkite-agent.cfg";
User = "buildkite-agent";
User = cfg.user;
RestartSec = 5;
Restart = "on-failure";
TimeoutSec = 10;
94 changes: 0 additions & 94 deletions nixos/modules/services/x11/hardware/multitouch.nix

This file was deleted.

1 change: 1 addition & 0 deletions nixos/tests/all-tests.nix
Original file line number Diff line number Diff line change
@@ -33,6 +33,7 @@ in
bind = handleTest ./bind.nix {};
bittorrent = handleTest ./bittorrent.nix {};
#blivet = handleTest ./blivet.nix {}; # broken since 2017-07024
buildkite-agent = handleTest ./buildkite-agent.nix {};
boot = handleTestOn ["x86_64-linux"] ./boot.nix {}; # syslinux is unsupported on aarch64
boot-stage1 = handleTest ./boot-stage1.nix {};
borgbackup = handleTest ./borgbackup.nix {};
23 changes: 23 additions & 0 deletions nixos/tests/buildkite-agent.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import ./make-test-python.nix ({ pkgs, ... }:

{
name = "buildkite-agent";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ flokli ];
};

machine = { pkgs, ... }: {
services.buildkite-agent = {
enable = true;
privateSshKeyPath = (import ./ssh-keys.nix pkgs).snakeOilPrivateKey;
tokenPath = (pkgs.writeText "my-token" "5678");
};
};

testScript = ''
# we can't wait on the unit to start up, as we obviously can't connect to buildkite,
# but we can look whether files are set up correctly
machine.wait_for_file("/var/lib/buildkite-agent/buildkite-agent.cfg")
machine.wait_for_file("/var/lib/buildkite-agent/.ssh/id_rsa")
'';
})
17 changes: 9 additions & 8 deletions pkgs/applications/audio/ingen/default.nix
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
{ stdenv, fetchgit, boost, ganv, glibmm, gtkmm2, libjack2, lilv
, lv2Unstable, makeWrapper, pkgconfig, python, raul, rdflib, serd, sord, sratom
, lv2, makeWrapper, pkgconfig, python, raul, rdflib, serd, sord, sratom
, wafHook
, suil
}:

stdenv.mkDerivation rec {
name = "ingen-unstable-${rev}";
rev = "2017-07-22";
pname = "ingen";
version = "unstable-2019-12-09";
name = "${pname}-${version}";

src = fetchgit {
url = "https://git.drobilla.net/cgit.cgi/ingen.git";
rev = "cc4a4db33f4d126a07a4a498e053c5fb9a883be3";
sha256 = "1gmwmml486r9zq4w65v91mfaz36af9zzyjkmi74m8qmh67ffqn3w";
url = "https://gitlab.com/drobilla/ingen.git";
rev = "e32f32a360f2bf8f017ea347b6d1e568c0beaf68";
sha256 = "0wjn2i3j7jb0bmxymg079xpk4iplb91q0xqqnvnpvyldrr7gawlb";
deepClone = true;
};

nativeBuildInputs = [ pkgconfig wafHook ];
buildInputs = [
boost ganv glibmm gtkmm2 libjack2 lilv lv2Unstable makeWrapper
boost ganv glibmm gtkmm2 libjack2 lilv lv2 makeWrapper
python raul serd sord sratom suil
];

@@ -38,7 +39,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "A modular audio processing system using JACK and LV2 or LADSPA plugins";
homepage = http://drobilla.net/software/ingen;
license = licenses.gpl3;
license = licenses.agpl3Plus;
maintainers = [ maintainers.goibhniu ];
platforms = platforms.linux;
};
8 changes: 4 additions & 4 deletions pkgs/applications/audio/jalv/default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{ stdenv, fetchurl, gtk2, libjack2, lilv, lv2, pkgconfig, python
{ stdenv, fetchurl, gtk3, libjack2, lilv, lv2, pkgconfig, python
, serd, sord , sratom, suil, wafHook }:

stdenv.mkDerivation rec {
pname = "jalv";
version = "1.6.2";
version = "1.6.4";

src = fetchurl {
url = "https://download.drobilla.net/${pname}-${version}.tar.bz2";
sha256 = "13al2hb9s3m7jgbg051x704bmzmcg4wb56cfh8z588kiyh0mxpaa";
sha256 = "1wwfn7yzbs37s2rdlfjgks63svd5g14yyzd2gdl7h0z12qncwsy2";
};

nativeBuildInputs = [ pkgconfig wafHook ];
buildInputs = [
gtk2 libjack2 lilv lv2 python serd sord sratom suil
gtk3 libjack2 lilv lv2 python serd sord sratom suil
];

meta = with stdenv.lib; {
6 changes: 3 additions & 3 deletions pkgs/applications/audio/rofi-mpd/default.nix
Original file line number Diff line number Diff line change
@@ -2,16 +2,16 @@

python3Packages.buildPythonApplication rec {
pname = "rofi-mpd";
version = "1.1.0";
version = "2.0.0";

src = fetchFromGitHub {
owner = "JakeStanger";
repo = "Rofi_MPD";
rev = "v${version}";
sha256 = "0pdra1idgas3yl9z9v7b002igwg2c1mv0yw2ffb8rsbx88x4gbai";
sha256 = "0qn2jwvil5csp423r523wjbgwpb781li2bgaz1mby3prscrlz8mg";
};

propagatedBuildInputs = with python3Packages; [ mutagen mpd2 ];
propagatedBuildInputs = with python3Packages; [ mutagen mpd2 toml appdirs ];

# upstream doesn't contain a test suite
doCheck = false;
Loading