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: cc41aefe4485
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: 87f97f068e92
Choose a head ref

Commits on Nov 1, 2018

  1. oraclejdk: remove version 10

    taku0 authored and fpletz committed Nov 1, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    15692e6 View commit details
  2. Verified

    This commit was signed with the committer’s verified signature.
    dywedir Vlad M.
    Copy the full SHA
    a06fde5 View commit details
  3. release-lib: Cache cross nixpkgs evals too

    This will help with release-cross.nix eval time. It also allowed me to
    share code between the cross and native helpers.
    Ericson2314 committed Nov 1, 2018
    Copy the full SHA
    79c713b View commit details
  4. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    dtzWill Will Dietz
    Copy the full SHA
    cc476f0 View commit details
  5. release-lib: Fallback on uncached rather than error for unknown cross…

    …System
    
    The `ensureUnaffected` the tests purposefully use an absurd crossSystem.
    Also sheevaplug and pogoplug share the same config.
    Ericson2314 committed Nov 1, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    costrouc Christopher Ostrouchov
    Copy the full SHA
    24e2bc1 View commit details
  6. top-level: libcCrossChooser: More or fallback hack

    This fixes some eval errors in release-cross.nix
    Ericson2314 committed Nov 1, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    delroth Pierre Bourdon
    Copy the full SHA
    984df7c View commit details
  7. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ffaffb3 View commit details
  8. vulkan-tools: 1.1.82.0 -> 1.1.85

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/vulkan-tools/versions
    r-ryantm authored and dywedir committed Nov 1, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    vcunat Vladimír Čunát
    Copy the full SHA
    ed0d0ee View commit details
  9. Merge pull request #49598 from dtzWill/update/nlohmann_json-3.4.0

    nlohmann_json: 3.3.0 -> 3.4.0
    c0bw3b authored Nov 1, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    32382d2 View commit details
  10. linux bootstrap tools: Use right system for some raw derivations

    This allows cross builds to work. Evidentallyy this has been done wrong
    since I combined the bootstrap tool creation files in
    ab651d2. Oops!
    Ericson2314 committed Nov 1, 2018

    Verified

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

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

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

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e3082c3 View commit details
  14. icecast: 2.4.3 -> 2.4.4

    fpletz committed Nov 1, 2018

    Verified

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

    This commit was signed with the committer’s verified signature.
    vcunat Vladimír Čunát
    Copy the full SHA
    60298d1 View commit details
  16. Merge pull request #49611 from markuskowa/rev-virtualgl

    virtualgl: revert PR #49185
    xeji authored Nov 1, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    vcunat Vladimír Čunát
    Copy the full SHA
    a1d4a77 View commit details
  17. Merge pull request #47375 from taku0/remove_oraclejdk_10

    oraclejdk: remove version 10
    fpletz authored Nov 1, 2018
    Copy the full SHA
    68cf3df View commit details
  18. Copy the full SHA
    9fe0e57 View commit details
  19. Merge pull request #49565 from obsidiansystems/release-lib-cleanup

    release-lib: Cache cross nixpkgs evals too, and other fixes
    Ericson2314 authored Nov 1, 2018
    Copy the full SHA
    3dfd66f View commit details
  20. vulkan-tools: 1.1.85 -> 1.1.85.0 (#49615)

    sdk-1.1.85 is a branch and not the stable release tag
    c0bw3b authored Nov 1, 2018
    Copy the full SHA
    31e9f37 View commit details
  21. incrtcl: add license

    markuskowa committed Nov 1, 2018
    Copy the full SHA
    ba9d6b6 View commit details
  22. jama: add license

    markuskowa committed Nov 1, 2018
    Copy the full SHA
    6afad9b View commit details
  23. jasper: add license

    markuskowa committed Nov 1, 2018
    Copy the full SHA
    b13ab27 View commit details
  24. dbus-java: add license

    markuskowa committed Nov 1, 2018
    Copy the full SHA
    08f4d75 View commit details
  25. gwt-dnd: add license

    markuskowa committed Nov 1, 2018
    Copy the full SHA
    eea1946 View commit details
  26. gwt-widgets: add licenses

    markuskowa committed Nov 1, 2018
    Copy the full SHA
    a923a5a View commit details
  27. hsqldb: add license

    markuskowa committed Nov 1, 2018
    Copy the full SHA
    fe326f8 View commit details
  28. Copy the full SHA
    d356808 View commit details
  29. jdom: add meta data

    markuskowa committed Nov 1, 2018
    Copy the full SHA
    0d14037 View commit details
  30. Copy the full SHA
    4598cf4 View commit details
  31. Copy the full SHA
    5fabd1b View commit details
  32. Copy the full SHA
    645b5a0 View commit details
  33. yarn: 1.10.1 -> 1.12.1 (#49616)

    screendriver authored and dywedir committed Nov 1, 2018
    Copy the full SHA
    678e28d View commit details
  34. nixos/zerotier: binds to network-online.target to avoid the 1m30s tim…

    …eout before kill on shutdown
    obadz committed Nov 1, 2018
    Copy the full SHA
    c8c1ed2 View commit details
  35. dropwatch: init at 1.5 (#49593)

    c0bw3b authored and xeji committed Nov 1, 2018
    Copy the full SHA
    1a91d50 View commit details
  36. Copy the full SHA
    3f0fa62 View commit details
  37. Merge pull request #49614 from markuskowa/licenses-26

    Add licenses
    c0bw3b authored Nov 1, 2018
    Copy the full SHA
    87f97f0 View commit details
Showing with 356 additions and 282 deletions.
  1. +4 −0 lib/licenses.nix
  2. +2 −0 nixos/modules/misc/ids.nix
  3. +1 −0 nixos/modules/module-list.nix
  4. +154 −0 nixos/modules/services/monitoring/kapacitor.nix
  5. +2 −1 nixos/modules/services/networking/zerotierone.nix
  6. +0 −156 pkgs/development/compilers/oraclejdk/jdk10-linux.nix
  7. +4 −2 pkgs/development/libraries/imlib/default.nix
  8. +4 −3 pkgs/development/libraries/incrtcl/default.nix
  9. +4 −3 pkgs/development/libraries/jama/default.nix
  10. +1 −0 pkgs/development/libraries/jasper/default.nix
  11. +4 −3 pkgs/development/libraries/java/dbus-java/default.nix
  12. +5 −4 pkgs/development/libraries/java/gwt-dragdrop/default.nix
  13. +5 −4 pkgs/development/libraries/java/gwt-widgets/default.nix
  14. +4 −3 pkgs/development/libraries/java/hsqldb/default.nix
  15. +4 −2 pkgs/development/libraries/java/httpunit/default.nix
  16. +5 −2 pkgs/development/libraries/java/jdom/default.nix
  17. +4 −3 pkgs/development/libraries/java/libmatthew-java/default.nix
  18. +4 −2 pkgs/development/libraries/java/lucene/default.nix
  19. +4 −2 pkgs/development/libraries/java/mockobjects/default.nix
  20. +7 −6 pkgs/development/libraries/leveldb/default.nix
  21. +2 −2 pkgs/development/libraries/nlohmann_json/default.nix
  22. +2 −2 pkgs/development/tools/yarn/default.nix
  23. +35 −0 pkgs/os-specific/linux/dropwatch/default.nix
  24. +8 −5 pkgs/servers/http/apache-modules/tomcat-connectors/default.nix
  25. +2 −2 pkgs/servers/icecast/default.nix
  26. +2 −2 pkgs/servers/monitoring/kapacitor/default.nix
  27. +11 −11 pkgs/stdenv/linux/make-bootstrap-tools.nix
  28. +0 −6 pkgs/tools/X11/virtualgl/lib.nix
  29. +4 −4 pkgs/tools/graphics/vulkan-tools/default.nix
  30. +5 −12 pkgs/top-level/all-packages.nix
  31. +4 −4 pkgs/top-level/release-cross.nix
  32. +59 −36 pkgs/top-level/release-lib.nix
4 changes: 4 additions & 0 deletions lib/licenses.nix
Original file line number Diff line number Diff line change
@@ -400,6 +400,10 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
free = false;
};

jasper = spdx {
spdxId = "JasPer-2.0";
fullName = "JasPer License";
};

lgpl2 = spdx {
spdxId = "LGPL-2.0";
2 changes: 2 additions & 0 deletions nixos/modules/misc/ids.nix
Original file line number Diff line number Diff line change
@@ -332,6 +332,7 @@
lirc = 305;
lidarr = 306;
slurm = 307;
kapacitor = 308;

# When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399!

@@ -624,6 +625,7 @@
lirc = 305;
lidarr = 306;
slurm = 307;
kapacitor = 308;

# When adding a gid, make sure it doesn't match an existing
# uid. Users and groups with the same name should have equal
1 change: 1 addition & 0 deletions nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
@@ -433,6 +433,7 @@
./services/monitoring/hdaps.nix
./services/monitoring/heapster.nix
./services/monitoring/incron.nix
./services/monitoring/kapacitor.nix
./services/monitoring/longview.nix
./services/monitoring/monit.nix
./services/monitoring/munin.nix
154 changes: 154 additions & 0 deletions nixos/modules/services/monitoring/kapacitor.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
{ options, config, lib, pkgs, ... }:

with lib;

let
cfg = config.services.kapacitor;

kapacitorConf = pkgs.writeTextFile {
name = "kapacitord.conf";
text = ''
hostname="${config.networking.hostName}"
data_dir="${cfg.dataDir}"
[http]
bind-address = "${cfg.bind}:${toString cfg.port}"
log-enabled = false
auth-enabled = false
[task]
dir = "${cfg.dataDir}/tasks"
snapshot-interval = "${cfg.taskSnapshotInterval}"
[replay]
dir = "${cfg.dataDir}/replay"
[storage]
boltdb = "${cfg.dataDir}/kapacitor.db"
${optionalString (cfg.loadDirectory != null) ''
[load]
enabled = true
dir = "${cfg.loadDirectory}"
''}
${optionalString (cfg.defaultDatabase.enable) ''
[[influxdb]]
name = "default"
enabled = true
default = true
urls = [ "${cfg.defaultDatabase.url}" ]
username = "${cfg.defaultDatabase.username}"
password = "${cfg.defaultDatabase.password}"
''}
${cfg.extraConfig}
'';
};
in
{
options.services.kapacitor = {
enable = mkEnableOption "kapacitor";

dataDir = mkOption {
type = types.path;
example = "/var/lib/kapacitor";
default = "/var/lib/kapacitor";
description = "Location where Kapacitor stores its state";
};

port = mkOption {
type = types.int;
default = 9092;
description = "Port of Kapacitor";
};

bind = mkOption {
type = types.str;
default = "";
example = literalExample "0.0.0.0";
description = "Address to bind to. The default is to bind to all addresses";
};

extraConfig = mkOption {
description = "These lines go into kapacitord.conf verbatim.";
default = "";
type = types.lines;
};

user = mkOption {
type = types.str;
default = "kapacitor";
description = "User account under which Kapacitor runs";
};

group = mkOption {
type = types.str;
default = "kapacitor";
description = "Group under which Kapacitor runs";
};

taskSnapshotInterval = mkOption {
type = types.str;
description = "Specifies how often to snapshot the task state (in InfluxDB time units)";
default = "1m0s";
example = "1m0s";
};

loadDirectory = mkOption {
type = types.nullOr types.path;
description = "Directory where to load services from, such as tasks, templates and handlers (or null to disable service loading on startup)";
default = null;
};

defaultDatabase = {
enable = mkEnableOption "kapacitor.defaultDatabase";

url = mkOption {
description = "The URL to an InfluxDB server that serves as the default database";
example = "http://localhost:8086";
type = types.string;
};

username = mkOption {
description = "The username to connect to the remote InfluxDB server";
type = types.string;
};

password = mkOption {
description = "The password to connect to the remote InfluxDB server";
type = types.string;
};
};
};

config = mkIf cfg.enable {
environment.systemPackages = [ pkgs.kapacitor ];

systemd.services.kapacitor = {
description = "Kapacitor Real-Time Stream Processing Engine";
wantedBy = [ "multi-user.target" ];
after = [ "networking.target" ];
serviceConfig = {
ExecStart = "${pkgs.kapacitor}/bin/kapacitord -config ${kapacitorConf}";
User = "kapacitor";
Group = "kapacitor";
PermissionsStartOnly = true;
};
preStart = ''
mkdir -p ${cfg.dataDir}
chown ${cfg.user}:${cfg.group} ${cfg.dataDir}
'';
};

users.users.kapacitor = {
uid = config.ids.uids.kapacitor;
description = "Kapacitor user";
home = cfg.dataDir;
};

users.groups.kapacitor = {
gid = config.ids.gids.kapacitor;
};
};
}
3 changes: 2 additions & 1 deletion nixos/modules/services/networking/zerotierone.nix
Original file line number Diff line number Diff line change
@@ -39,7 +39,8 @@ in
systemd.services.zerotierone = {
description = "ZeroTierOne";
path = [ cfg.package ];
after = [ "network.target" ];
bindsTo = [ "network-online.target" ];
after = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ];
preStart = ''
mkdir -p /var/lib/zerotier-one/networks.d
156 changes: 0 additions & 156 deletions pkgs/development/compilers/oraclejdk/jdk10-linux.nix

This file was deleted.

6 changes: 4 additions & 2 deletions pkgs/development/libraries/imlib/default.nix
Original file line number Diff line number Diff line change
@@ -15,7 +15,9 @@ stdenv.mkDerivation {

buildInputs = [libjpeg libXext libX11 xextproto libtiff libungif libpng];

meta = {
platforms = stdenv.lib.platforms.unix;
meta = with stdenv.lib; {
description = "An image loading and rendering library for X11";
platforms = platforms.unix;
license = with licenses; [ gpl2 lgpl2 ];
};
}
7 changes: 4 additions & 3 deletions pkgs/development/libraries/incrtcl/default.nix
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
stdenv.mkDerivation rec {
name = "incrtcl-${version}";
version = "4.0.4";

src = fetchurl {
url = mirror://sourceforge/incrtcl/%5BIncr%20Tcl_Tk%5D-source/3.4/itcl4.0.4.tar.gz;
sha256 = "1ppc9b13cvmc6rp77k7dl2zb26xk0z30vxygmr4h1xr2r8w091k3";
@@ -22,9 +22,10 @@ stdenv.mkDerivation rec {
libPrefix = "itcl3.4";
};

meta = {
meta = with stdenv.lib; {
homepage = http://incrtcl.sourceforge.net/;
description = "Object Oriented Enhancements for Tcl/Tk";
platforms = stdenv.lib.platforms.unix;
platforms = platforms.unix;
license = licenses.tcltk;
};
}
Loading