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: e1a880fca93b
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: ed3ec0be54e2
Choose a head ref

Commits on Mar 3, 2020

  1. gotop: 3.0.0 -> 3.5.0

    Update src with maintained fork
    marsam committed Mar 3, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    d4bfccb View commit details

Commits on Apr 2, 2020

  1. nixos/treewide: Fix incorrectly rendered examples

    Many options define their example to be a Nix value without using
    literalExample. This sometimes gets rendered incorrectly in the manual,
    causing confusion like in NixOS/nixpkgs#25516
    
    This fixes it by using literalExample for such options. The list of
    option to fix was determined with this expression:
    
      let
        nixos = import ./nixos { configuration = {}; };
        lib = import ./lib;
        valid = d: {
          # escapeNixIdentifier from NixOS/nixpkgs#82461
          set = lib.all (n: lib.strings.escapeNixIdentifier n == n) (lib.attrNames d) && lib.all (v: valid v) (lib.attrValues d);
          list = lib.all (v: valid v) d;
        }.${builtins.typeOf d} or true;
    
        optionList = lib.optionAttrSetToDocList nixos.options;
    
      in map (opt: {
        file = lib.elemAt opt.declarations 0;
        loc = lib.options.showOption opt.loc;
      }) (lib.filter (opt: if opt ? example then ! valid opt.example else false) optionList)
    
    which when evaluated will output all options that use a Nix identifier
    that would need escaping as an attribute name.
    infinisil committed Apr 2, 2020

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    1d0fc97 View commit details
  2. lxd: 3.23 -> 4.0.0

    marsam committed Apr 2, 2020

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    96658e9 View commit details

Commits on Apr 3, 2020

  1. Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    5dfb3c8 View commit details
  2. softmaker-office: fix desktop items

    Fix desktop items to pass validation:
    
    - Remove icon file extension.
    - Remove categories that are not defined by the specification.
    - Remove a duplicate MIME type in the PlanMaker desktop file
    danieldk committed Apr 3, 2020
    Copy the full SHA
    5e83950 View commit details
  3. Copy the full SHA
    cb5580e View commit details
  4. Copy the full SHA
    41bcc6f View commit details
  5. kondo: init at 0.3

    Br1ght0ne committed Apr 3, 2020
    Copy the full SHA
    72fb30d View commit details
  6. emplace: 0.2.14 -> 0.2.15

    Br1ght0ne committed Apr 3, 2020
    Copy the full SHA
    6ee3f91 View commit details
  7. Copy the full SHA
    8e6a74e View commit details
  8. maintainers add gnxlxnxx

    gnxlxnxx committed Apr 3, 2020
    Copy the full SHA
    d55ac88 View commit details
  9. boost: init at 1.72.0

    Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
    matthiasbeyer committed Apr 3, 2020
    Copy the full SHA
    c028978 View commit details
  10. boost17x: boost171 -> boost172

    Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
    matthiasbeyer committed Apr 3, 2020
    Copy the full SHA
    4458697 View commit details
  11. pulseeffects: 4.7.1 -> 4.7.2

    Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
    matthiasbeyer committed Apr 3, 2020
    Copy the full SHA
    fb818c5 View commit details
  12. Merge pull request #84165 from feijoas/flat-remix-icon-theme

    flat-remix-icon-theme: 20191122 -> 20200116
    romildo authored Apr 3, 2020
    Copy the full SHA
    c4b4a14 View commit details
  13. Merge pull request #81622 from marsam/update-gotop

    gotop: 3.0.0 -> 3.4.5
    marsam authored Apr 3, 2020
    Copy the full SHA
    e5c506a View commit details
  14. Don't pin 'nixpkgs' in the system registry by default

    Nixpkgs takes up a lot of disk space so we shouldn't do this by
    default.
    edolstra committed Apr 3, 2020
    Copy the full SHA
    469f14e View commit details
  15. Merge pull request #84166 from danieldk/softmaker-office-976

    softmaker-office: 974 -> 976
    romildo authored Apr 3, 2020
    Copy the full SHA
    8f9daf0 View commit details
  16. Merge pull request #84178 from gnxlxnxx/master

    swaylock-effects: init at v1.6-0
    Ma27 authored Apr 3, 2020
    Copy the full SHA
    c7b9c4e View commit details
  17. qwt6: 6.1.2 -> 6.1.4

    doronbehar authored and bjornfor committed Apr 3, 2020
    Copy the full SHA
    aa60036 View commit details
  18. Merge pull request #84074 from Infinisil/fix-literal-option-examples

    nixos/treewide: Fix incorrectly rendered examples
    infinisil authored Apr 3, 2020
    Copy the full SHA
    eb0148e View commit details
  19. Merge pull request #84175 from filalex77/emplace-0.2.15

    emplace: 0.2.14 -> 0.2.15
    marsam authored Apr 3, 2020
    Copy the full SHA
    a7262a4 View commit details
  20. Merge pull request #84169 from filalex77/caddy2-2.0.0-rc.1

    caddy2: 2.0.0-beta10 -> 2.0.0-rc.1
    marsam authored Apr 3, 2020
    Copy the full SHA
    dd65638 View commit details
  21. Merge pull request #84172 from filalex77/kondo-0.3

    kondo: init at 0.3
    marsam authored Apr 3, 2020
    Copy the full SHA
    3573d78 View commit details
  22. Merge pull request #84152 from marsam/update-lxd

    lxd: 3.23 -> 4.0.0
    marsam authored Apr 3, 2020
    Copy the full SHA
    0c5fd28 View commit details
  23. Merge pull request #84186 from matthiasbeyer/update-pulseeffects

    pulseeffects: 4.7.1 -> 4.7.2
    Ma27 authored Apr 3, 2020
    Copy the full SHA
    470b916 View commit details
  24. Copy the full SHA
    b6f6fd8 View commit details
  25. Merge pull request #84008 from mredaelli/notmuch

    notmuch: extract optional dependencies
    flokli authored Apr 3, 2020
    Copy the full SHA
    ed3ec0b View commit details
Showing with 244 additions and 110 deletions.
  1. +0 −1 flake.nix
  2. +6 −0 maintainers/maintainer-list.nix
  3. +5 −3 nixos/modules/services/amqp/activemq/default.nix
  4. +5 −1 nixos/modules/services/backup/syncoid.nix
  5. +20 −12 nixos/modules/services/cluster/hadoop/default.nix
  6. +3 −2 nixos/modules/services/network-filesystems/netatalk.nix
  7. +3 −2 nixos/modules/services/network-filesystems/rsyncd.nix
  8. +3 −2 nixos/modules/services/network-filesystems/samba.nix
  9. +6 −4 nixos/modules/services/networking/3proxy.nix
  10. +6 −4 nixos/modules/services/networking/dnscache.nix
  11. +7 −3 nixos/modules/services/networking/ndppd.nix
  12. +16 −14 nixos/modules/services/networking/strongswan.nix
  13. +8 −6 nixos/modules/services/networking/syncthing.nix
  14. +5 −3 nixos/modules/services/web-apps/youtrack.nix
  15. +5 −3 nixos/modules/virtualisation/containers.nix
  16. +2 −2 pkgs/applications/audio/pulseeffects/default.nix
  17. +22 −0 pkgs/applications/misc/kondo/default.nix
  18. +25 −12 pkgs/applications/networking/mailreaders/notmuch/default.nix
  19. +7 −7 pkgs/applications/office/softmaker/desktop_items.nix
  20. +2 −2 pkgs/applications/office/softmaker/softmaker_office.nix
  21. +40 −0 pkgs/applications/window-managers/sway/lock-effects.nix
  22. +3 −4 pkgs/data/icons/flat-remix-icon-theme/default.nix
  23. +16 −0 pkgs/development/libraries/boost/1.72.nix
  24. +2 −2 pkgs/development/libraries/qwt/6.nix
  25. +3 −3 pkgs/servers/caddy/v2.nix
  26. +3 −3 pkgs/tools/admin/lxd/default.nix
  27. +3 −4 pkgs/tools/package-management/emplace/default.nix
  28. +9 −9 pkgs/tools/system/gotop/default.nix
  29. +9 −2 pkgs/top-level/all-packages.nix
1 change: 0 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
@@ -27,7 +27,6 @@
[ { system.nixos.versionSuffix =
".${lib.substring 0 8 (self.lastModifiedDate or self.lastModified)}.${self.shortRev or "dirty"}";
system.nixos.revision = lib.mkIf (self ? rev) self.rev;
nix.registry.nixpkgs.flake = lib.mkDefault self;
}
];
});
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -2839,6 +2839,12 @@
githubId = 12064730;
name = "Alex Ivanov";
};
gnxlxnxx = {
email = "gnxlxnxx@web.de";
github = "gnxlxnxx";
githubId = 25820499;
name = "Roman Kretschmer";
};
goibhniu = {
email = "cillian.deroiste@gmail.com";
github = "cillianderoiste";
8 changes: 5 additions & 3 deletions nixos/modules/services/amqp/activemq/default.nix
Original file line number Diff line number Diff line change
@@ -63,9 +63,11 @@ in {
javaProperties = mkOption {
type = types.attrs;
default = { };
example = {
"java.net.preferIPv4Stack" = "true";
};
example = literalExample ''
{
"java.net.preferIPv4Stack" = "true";
}
'';
apply = attrs: {
"activemq.base" = "${cfg.baseDir}";
"activemq.data" = "${cfg.baseDir}/data";
6 changes: 5 additions & 1 deletion nixos/modules/services/backup/syncoid.nix
Original file line number Diff line number Diff line change
@@ -138,7 +138,11 @@ in {
};
}));
default = {};
example."pool/test".target = "root@target:pool/test";
example = literalExample ''
{
"pool/test".target = "root@target:pool/test";
}
'';
description = "Syncoid commands to run.";
};
};
32 changes: 20 additions & 12 deletions nixos/modules/services/cluster/hadoop/default.nix
Original file line number Diff line number Diff line change
@@ -7,33 +7,41 @@ with lib;
options.services.hadoop = {
coreSite = mkOption {
default = {};
example = {
"fs.defaultFS" = "hdfs://localhost";
};
example = literalExample ''
{
"fs.defaultFS" = "hdfs://localhost";
}
'';
description = "Hadoop core-site.xml definition";
};

hdfsSite = mkOption {
default = {};
example = {
"dfs.nameservices" = "namenode1";
};
example = literalExample ''
{
"dfs.nameservices" = "namenode1";
}
'';
description = "Hadoop hdfs-site.xml definition";
};

mapredSite = mkOption {
default = {};
example = {
"mapreduce.map.cpu.vcores" = "1";
};
example = literalExample ''
{
"mapreduce.map.cpu.vcores" = "1";
}
'';
description = "Hadoop mapred-site.xml definition";
};

yarnSite = mkOption {
default = {};
example = {
"yarn.resourcemanager.ha.id" = "resourcemanager1";
};
example = literalExample ''
{
"yarn.resourcemanager.ha.id" = "resourcemanager1";
}
'';
description = "Hadoop yarn-site.xml definition";
};

5 changes: 3 additions & 2 deletions nixos/modules/services/network-filesystems/netatalk.nix
Original file line number Diff line number Diff line change
@@ -98,13 +98,14 @@ in
Set of AFP volumes to export.
See <literal>man apf.conf</literal> for more information.
'';
example =
example = literalExample ''
{ srv =
{ path = "/srv";
"read only" = true;
"hosts allow" = "10.1.0.0/16 10.2.1.100 2001:0db8:1234::/48";
};
};
}
'';
};

extmap = mkOption {
5 changes: 3 additions & 2 deletions nixos/modules/services/network-filesystems/rsyncd.nix
Original file line number Diff line number Diff line change
@@ -74,13 +74,14 @@ in
See <command>man rsyncd.conf</command> for options.
'';
type = types.attrsOf (types.attrsOf types.str);
example =
example = literalExample ''
{ srv =
{ path = "/srv";
"read only" = "yes";
comment = "Public rsync share.";
};
};
}
'';
};

user = mkOption {
5 changes: 3 additions & 2 deletions nixos/modules/services/network-filesystems/samba.nix
Original file line number Diff line number Diff line change
@@ -189,15 +189,16 @@ in
See <command>man smb.conf</command> for options.
'';
type = types.attrsOf (types.attrsOf types.unspecified);
example =
example = literalExample ''
{ public =
{ path = "/srv/public";
"read only" = true;
browseable = "yes";
"guest ok" = "yes";
comment = "Public samba share.";
};
};
}
'';
};

};
10 changes: 6 additions & 4 deletions nixos/modules/services/networking/3proxy.nix
Original file line number Diff line number Diff line change
@@ -334,10 +334,12 @@ in {
nsrecord = mkOption {
type = types.attrsOf types.str;
default = { };
example = {
"files.local" = "192.168.1.12";
"site.local" = "192.168.1.43";
};
example = literalExample ''
{
"files.local" = "192.168.1.12";
"site.local" = "192.168.1.43";
}
'';
description = "Adds static nsrecords.";
};
};
10 changes: 6 additions & 4 deletions nixos/modules/services/networking/dnscache.nix
Original file line number Diff line number Diff line change
@@ -61,10 +61,12 @@ in {
Table of {hostname: server} pairs to use as authoritative servers for hosts (and subhosts).
If entry for @ is not specified predefined list of root servers is used.
'';
example = {
"@" = ["8.8.8.8" "8.8.4.4"];
"example.com" = ["192.168.100.100"];
};
example = literalExample ''
{
"@" = ["8.8.8.8" "8.8.4.4"];
"example.com" = ["192.168.100.100"];
}
'';
};

forwardOnly = mkOption {
10 changes: 7 additions & 3 deletions nixos/modules/services/networking/ndppd.nix
Original file line number Diff line number Diff line change
@@ -43,15 +43,15 @@ let
timeout = mkOption {
type = types.int;
description = ''
Controls how long to wait for a Neighbor Advertisment Message before
Controls how long to wait for a Neighbor Advertisment Message before
invalidating the entry, in milliseconds.
'';
default = 500;
};
ttl = mkOption {
type = types.int;
description = ''
Controls how long a valid or invalid entry remains in the cache, in
Controls how long a valid or invalid entry remains in the cache, in
milliseconds.
'';
default = 30000;
@@ -142,7 +142,11 @@ in {
messages, and respond to them according to a set of rules.
'';
default = {};
example = { eth0.rules."1111::/64" = {}; };
example = literalExample ''
{
eth0.rules."1111::/64" = {};
}
'';
};
};

30 changes: 16 additions & 14 deletions nixos/modules/services/networking/strongswan.nix
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ let

inherit (builtins) toFile;
inherit (lib) concatMapStringsSep concatStringsSep mapAttrsToList
mkIf mkEnableOption mkOption types;
mkIf mkEnableOption mkOption types literalExample;

cfg = config.services.strongswan;

@@ -79,19 +79,21 @@ in
connections = mkOption {
type = types.attrsOf (types.attrsOf types.str);
default = {};
example = {
"%default" = {
keyexchange = "ikev2";
keyingtries = "1";
};
roadwarrior = {
auto = "add";
leftcert = "/run/keys/moonCert.pem";
leftid = "@moon.strongswan.org";
leftsubnet = "10.1.0.0/16";
right = "%any";
};
};
example = literalExample ''
{
"%default" = {
keyexchange = "ikev2";
keyingtries = "1";
};
roadwarrior = {
auto = "add";
leftcert = "/run/keys/moonCert.pem";
leftid = "@moon.strongswan.org";
leftsubnet = "10.1.0.0/16";
right = "%any";
};
}
'';
description = ''
A set of connections and their options for the ‘conn xxx’
sections of the <filename>ipsec.conf</filename> file.
14 changes: 8 additions & 6 deletions nixos/modules/services/networking/syncthing.nix
Original file line number Diff line number Diff line change
@@ -169,12 +169,14 @@ in {
description = ''
folders which should be shared by syncthing.
'';
example = {
"/home/user/sync" = {
id = "syncme";
devices = [ "bigbox" ];
};
};
example = literalExample ''
{
"/home/user/sync" = {
id = "syncme";
devices = [ "bigbox" ];
};
}
'';
type = types.attrsOf (types.submodule ({ name, ... }: {
options = {

8 changes: 5 additions & 3 deletions nixos/modules/services/web-apps/youtrack.nix
Original file line number Diff line number Diff line change
@@ -46,9 +46,11 @@ in
https://www.jetbrains.com/help/youtrack/standalone/YouTrack-Java-Start-Parameters.html
for more information.
'';
example = {
"jetbrains.youtrack.overrideRootPassword" = "tortuga";
};
example = literalExample ''
{
"jetbrains.youtrack.overrideRootPassword" = "tortuga";
}
'';
type = types.attrsOf types.str;
};

8 changes: 5 additions & 3 deletions nixos/modules/virtualisation/containers.nix
Original file line number Diff line number Diff line change
@@ -609,9 +609,11 @@ in
bindMounts = mkOption {
type = with types; loaOf (submodule bindMountOpts);
default = {};
example = { "/home" = { hostPath = "/home/alice";
isReadOnly = false; };
};
example = literalExample ''
{ "/home" = { hostPath = "/home/alice";
isReadOnly = false; };
}
'';

description =
''
4 changes: 2 additions & 2 deletions pkgs/applications/audio/pulseeffects/default.nix
Original file line number Diff line number Diff line change
@@ -46,13 +46,13 @@ let
];
in stdenv.mkDerivation rec {
pname = "pulseeffects";
version = "4.7.1";
version = "4.7.2";

src = fetchFromGitHub {
owner = "wwmm";
repo = "pulseeffects";
rev = "v${version}";
sha256 = "1r1hk5zp2cgrwyqkvp8kg2dkbihdyx3ydzhmirkwya8jag9pwadd";
sha256 = "1yga25da5bpg12zkikp6dn4wqhn9f7r10awvjzfcz8s6w9xlz6rx";
};

nativeBuildInputs = [
22 changes: 22 additions & 0 deletions pkgs/applications/misc/kondo/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{ stdenv, rustPlatform, fetchFromGitHub }:

rustPlatform.buildRustPackage rec {
pname = "kondo";
version = "0.3";

src = fetchFromGitHub {
owner = "tbillington";
repo = pname;
rev = "v${version}";
sha256 = "1rrg0xfm3vn5jh861r4ismrga673g7v6qnzl2v1haflgjhvdazwd";
};

cargoSha256 = "1y7g8gw9hsm997d6i99c3dj2gb8y8cgws5001n85f9bpnlvvmf9y";

meta = with stdenv.lib; {
description = "Save disk space by cleaning unneeded files from software projects";
homepage = "https://github.com/tbillington/kondo";
license = licenses.mit;
maintainers = with maintainers; [ filalex77 ];
};
}
Loading