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: c7af822248be
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: 1f23abf3b6f8
Choose a head ref

Commits on Oct 29, 2019

  1. Copy the full SHA
    03ca141 View commit details

Commits on Nov 3, 2019

  1. Copy the full SHA
    503dd12 View commit details
  2. Copy the full SHA
    75cc535 View commit details
  3. Copy the full SHA
    852974a View commit details
  4. Copy the full SHA
    a910bcd View commit details
  5. Copy the full SHA
    c1e9a4e View commit details
  6. Copy the full SHA
    0835e48 View commit details
  7. Copy the full SHA
    20899a2 View commit details
  8. Copy the full SHA
    0050f13 View commit details
  9. Copy the full SHA
    41a446c View commit details
  10. Copy the full SHA
    5f6c3e0 View commit details
  11. Copy the full SHA
    1551aa3 View commit details

Commits on Nov 7, 2019

  1. Copy the full SHA
    a934a7f View commit details
  2. Copy the full SHA
    a6558f6 View commit details

Commits on Nov 11, 2019

  1. nixos/libvirtd: install /etc/ethertypes

    Fix #58200
    c0bw3b committed Nov 11, 2019
    Copy the full SHA
    8d3ef32 View commit details

Commits on Nov 12, 2019

  1. Copy the full SHA
    152d2fd View commit details
  2. python.pkgs.tensorflow: fix build with bazel 1.0

    The tensorflow build was broken by the bazel 1.0 update in
    73eb01bde000c34b54764f6f2b9fd1d89a54ccfa.
    timokau committed Nov 12, 2019
    Copy the full SHA
    1fbd307 View commit details
  3. Copy the full SHA
    4fb7831 View commit details

Commits on Nov 13, 2019

  1. geekbench: 5.0.2 -> 5.0.3

    (#72514)
    r-ryantm authored and c0bw3b committed Nov 13, 2019
    Copy the full SHA
    baf72d3 View commit details
  2. airsonic: 10.4.1 -> 10.4.2

    (#72460)
    r-ryantm authored and c0bw3b committed Nov 13, 2019
    Copy the full SHA
    6469c61 View commit details
  3. atlassian-cli: 8.5.0 -> 9.0.0

    (#72425)
    r-ryantm authored and c0bw3b committed Nov 13, 2019
    Copy the full SHA
    1728996 View commit details
  4. Merge pull request #72273 from Ma27/dnsmasq-exporter-bump

    prometheus-dnsmasq-exporter: 0.1.0 -> 0.2.0
    c0bw3b authored Nov 13, 2019
    Copy the full SHA
    4f3cfc3 View commit details
  5. git-revise: 0.5.0 -> 0.5.1

    emilazy committed Nov 13, 2019
    Copy the full SHA
    d6bc2d9 View commit details
  6. texlab: init at 1.6.0

    kira-bruneau committed Nov 13, 2019
    Copy the full SHA
    a4e600e View commit details
  7. Merge pull request #73087 from MetaDark/texlab

    texlab: init at 1.6.0
    marsam authored Nov 13, 2019
    Copy the full SHA
    854f51b View commit details
  8. obs-studio: add build for obs-ndi plugin

    Note that the plugin won't do anything without the NDI library packaged, too.
    I'll add that one ASAP.
    peti committed Nov 13, 2019
    Copy the full SHA
    11e9807 View commit details
  9. Copy the full SHA
    ff06057 View commit details
  10. Merge pull request #73338 from emilazy/git-revise-0.5.1

    git-revise: 0.5.0 -> 0.5.1
    etu authored Nov 13, 2019
    Copy the full SHA
    25838a2 View commit details
  11. Merge pull request #73211 from c0bw3b/mod/libvirt

    nixos/libvirtd: install /etc/ethertypes
    fpletz authored Nov 13, 2019
    Copy the full SHA
    cebc135 View commit details
  12. uclibc: 1.0.31 -> 1.0.32

    * uclibc: 1.0.31 -> 1.0.32 (#72684)
    
    * uclibc: restrict to x86 Linux platforms
    It was always failing on Hydra ARM builders
    r-ryantm authored and c0bw3b committed Nov 13, 2019
    Copy the full SHA
    030f40a View commit details
  13. firefox-devedition-bin-unwrapped: 70.0b2 -> 71.0b6

    (#72602)
    jonafato authored and c0bw3b committed Nov 13, 2019
    Copy the full SHA
    3919fbb View commit details
  14. python.pkgs.tensorflow: add functools32 dependency

    Now needed at runtime with the python2 build.
    timokau committed Nov 13, 2019
    Copy the full SHA
    6832f1d View commit details
  15. grml-zsh-config: 0.16.0 -> 0.16.1

    (#72511)
    r-ryantm authored and c0bw3b committed Nov 13, 2019
    Copy the full SHA
    96630a9 View commit details
  16. syslogng: 3.23.1 -> 3.24.1

    * syslogng: 3.23.1 -> 3.24.1 (#72674)
    
    * syslogng: refresh homepage and source url
    r-ryantm authored and c0bw3b committed Nov 13, 2019
    Copy the full SHA
    faa4b27 View commit details
  17. Copy the full SHA
    e4378d4 View commit details
  18. Copy the full SHA
    8e382a7 View commit details
  19. renpy: explicitly use python2

    FRidh committed Nov 13, 2019
    Copy the full SHA
    5004cc9 View commit details
  20. hplip: use python2Packages

    While Python 3 is (partially) supported, it requires more effort to fix
    it.
    FRidh committed Nov 13, 2019
    Copy the full SHA
    8ea5095 View commit details
  21. cpplint: use python3

    FRidh committed Nov 13, 2019
    Copy the full SHA
    4b51113 View commit details
  22. dosage: fix build, use python3

    FRidh committed Nov 13, 2019
    Copy the full SHA
    9978f5b View commit details
  23. libgpod: use python3

    there is a syntax error shown during configuration, but build succeeds
    and clementineUnfree that uses this lib seems to work fine.
    FRidh committed Nov 13, 2019
    Copy the full SHA
    96191ad View commit details
  24. Copy the full SHA
    8e3c19b View commit details
  25. Copy the full SHA
    7e7cec1 View commit details
  26. eccodes: use python3

    FRidh committed Nov 13, 2019
    Copy the full SHA
    06b1b52 View commit details
  27. afew: use python3

    FRidh committed Nov 13, 2019
    Copy the full SHA
    92a57ed View commit details
  28. couchpotato: pin python2

    FRidh committed Nov 13, 2019
    Copy the full SHA
    d17d071 View commit details
  29. Copy the full SHA
    cf5e5e4 View commit details
  30. dkimpy: use python3 version

    FRidh committed Nov 13, 2019
    Copy the full SHA
    45cff47 View commit details
  31. Copy the full SHA
    f266854 View commit details
  32. klaus: use python3 version

    FRidh committed Nov 13, 2019
    Copy the full SHA
    98739e7 View commit details
Showing with 4,069 additions and 2,172 deletions.
  1. +27 −0 doc/contributing/submitting-changes.xml
  2. +18 −0 doc/languages-frameworks/python.section.md
  3. +0 −1 nixos/modules/services/audio/mpd.nix
  4. +3 −3 nixos/modules/services/web-servers/varnish/default.nix
  5. +2 −1 nixos/modules/virtualisation/libvirtd.nix
  6. +42 −28 nixos/tests/mpd.nix
  7. +1 −3 nixos/tests/prometheus-exporters.nix
  8. +2 −2 pkgs/applications/audio/bitwig-studio/bitwig-studio3.nix
  9. +4 −6 pkgs/applications/audio/mpc/default.nix
  10. +2 −2 pkgs/applications/audio/snd/default.nix
  11. +22 −22 pkgs/applications/editors/jetbrains/default.nix
  12. +15 −4 pkgs/applications/graphics/displaycal/default.nix
  13. +5 −5 pkgs/applications/graphics/dosage/default.nix
  14. +403 −373 pkgs/applications/networking/browsers/firefox-bin/devedition_sources.nix
  15. +3 −3 pkgs/applications/networking/cluster/cni/plugins.nix
  16. +8 −8 pkgs/applications/networking/mailreaders/afew/default.nix
  17. +2 −2 pkgs/applications/office/atlassian-cli/default.nix
  18. +13 −0 pkgs/applications/video/obs-studio/fix-search-path.patch
  19. +39 −0 pkgs/applications/video/obs-studio/obs-ndi.nix
  20. +5 −5 pkgs/data/fonts/xits-math/default.nix
  21. +4 −4 pkgs/development/interpreters/hy/default.nix
  22. +2 −2 pkgs/development/interpreters/renpy/default.nix
  23. +36 −11 pkgs/development/libraries/bamf/default.nix
  24. +53 −0 pkgs/development/libraries/bamf/gtester2xunit-python3.patch
  25. +1 −1 pkgs/development/libraries/fontconfig/make-fonts-cache.nix
  26. +2 −2 pkgs/development/libraries/libgpod/default.nix
  27. +2 −2 pkgs/development/libraries/libindicate/default.nix
  28. +1 −0 pkgs/development/node-packages/node-packages-v10.json
  29. +2,733 −1,301 pkgs/development/node-packages/node-packages-v10.nix
  30. +5 −5 pkgs/development/node-packages/node-packages-v12.nix
  31. +5 −5 pkgs/development/node-packages/node-packages-v13.nix
  32. +2 −2 pkgs/development/python-modules/git-revise/default.nix
  33. +3 −2 pkgs/development/python-modules/tensorflow-estimator/default.nix
  34. +3 −3 pkgs/development/python-modules/tensorflow-tensorboard/default.nix
  35. +54 −15 pkgs/development/python-modules/tensorflow/default.nix
  36. +13 −0 pkgs/development/python-modules/tensorflow/lift-gast-restriction.patch
  37. +213 −0 pkgs/development/python-modules/tensorflow/tf-1.15-bazel-1.0.patch
  38. +2 −2 pkgs/development/tools/analysis/cpplint/default.nix
  39. +31 −0 pkgs/development/tools/misc/texlab/citeproc/package.json
  40. +14 −0 pkgs/development/tools/misc/texlab/citeproc/update-package.json.sh
  41. +39 −0 pkgs/development/tools/misc/texlab/default.nix
  42. +3 −3 pkgs/misc/drivers/hplip/3.16.11.nix
  43. +3 −3 pkgs/misc/drivers/hplip/3.18.5.nix
  44. +3 −3 pkgs/misc/drivers/hplip/default.nix
  45. +2 −2 pkgs/os-specific/linux/microcode/intel.nix
  46. +19 −9 pkgs/os-specific/linux/nftables/default.nix
  47. +3 −3 pkgs/os-specific/linux/uclibc/default.nix
  48. +2 −2 pkgs/servers/couchpotato/default.nix
  49. +2 −2 pkgs/servers/misc/airsonic/default.nix
  50. +0 −138 pkgs/servers/monitoring/prometheus/dnsmasq-exporter-deps.nix
  51. +6 −8 pkgs/servers/monitoring/prometheus/dnsmasq-exporter.nix
  52. +148 −134 pkgs/servers/mpd/default.nix
  53. +2 −2 pkgs/servers/nosql/neo4j/default.nix
  54. +2 −2 pkgs/shells/zsh/grml-zsh-config/default.nix
  55. +2 −2 pkgs/tools/misc/geekbench/default.nix
  56. +3 −3 pkgs/tools/security/enpass/default.nix
  57. +5 −5 pkgs/tools/security/vulnix/default.nix
  58. +5 −9 pkgs/tools/system/syslog-ng/default.nix
  59. +2 −2 pkgs/tools/text/source-highlight/default.nix
  60. +23 −15 pkgs/top-level/all-packages.nix
27 changes: 27 additions & 0 deletions doc/contributing/submitting-changes.xml
Original file line number Diff line number Diff line change
@@ -228,6 +228,33 @@ Additional information.
</listitem>
</itemizedlist>
</section>
<section xml:id="submitting-changes-submitting-security-fixes">
<title>Submitting security fixes</title>

<para>
Security fixes are submitted in the same way as other changes and thus the same guidelines apply.
</para>

<para>
If the security fix comes in the form of a patch and a CVE is available, then the name of the patch should be the CVE identifier, so e.g. <literal>CVE-2019-13636.patch</literal> in the case of a patch that is included in the Nixpkgs tree. If a patch is fetched the name needs to be set as well, e.g.:
</para>

<programlisting>
(fetchpatch {
name = "CVE-2019-11068.patch";
url = "https://gitlab.gnome.org/GNOME/libxslt/commit/e03553605b45c88f0b4b2980adfbbb8f6fca2fd6.patch";
sha256 = "0pkpb4837km15zgg6h57bncp66d5lwrlvkr73h0lanywq7zrwhj8";
})
</programlisting>

<para>
If a security fix applies to both master and a stable release then, similar to regular changes, they are preferably delivered via master first and cherry-picked to the release branch.
</para>

<para>
Critical security fixes may by-pass the staging branches and be delivered directly to release branches such as <literal>master</literal> and <literal>release-*</literal>.
</para>
</section>
<section xml:id="submitting-changes-pull-request-template">
<title>Pull Request Template</title>

18 changes: 18 additions & 0 deletions doc/languages-frameworks/python.section.md
Original file line number Diff line number Diff line change
@@ -144,6 +144,24 @@ What's happening here?
2. Then we create a Python 3.5 environment with the `withPackages` function.
3. The `withPackages` function expects us to provide a function as an argument that takes the set of all python packages and returns a list of packages to include in the environment. Here, we select the packages `numpy` and `toolz` from the package set.

To combine this with `mkShell` you can:

```nix
with import <nixpkgs> {};
let
pythonEnv = python35.withPackages (ps: [
ps.numpy
ps.toolz
]);
in mkShell {
buildInputs = [
pythonEnv
hello
];
}
```

##### Execute command with `--run`
A convenient option with `nix-shell` is the `--run`
option, with which you can execute a command in the `nix-shell`. We can
1 change: 0 additions & 1 deletion nixos/modules/services/audio/mpd.nix
Original file line number Diff line number Diff line change
@@ -18,7 +18,6 @@ let
''}
state_file "${cfg.dataDir}/state"
sticker_file "${cfg.dataDir}/sticker.sql"
log_file "syslog"
user "${cfg.user}"
group "${cfg.group}"
6 changes: 3 additions & 3 deletions nixos/modules/services/web-servers/varnish/default.nix
Original file line number Diff line number Diff line change
@@ -15,8 +15,8 @@ in

package = mkOption {
type = types.package;
default = pkgs.varnish5;
defaultText = "pkgs.varnish5";
default = pkgs.varnish;
defaultText = "pkgs.varnish";
description = ''
The package to use
'';
@@ -48,7 +48,7 @@ in
extraModules = mkOption {
type = types.listOf types.package;
default = [];
example = literalExample "[ pkgs.varnish5Packages.geoip ]";
example = literalExample "[ pkgs.varnishPackages.geoip ]";
description = "
Varnish modules (except 'std').
";
3 changes: 2 additions & 1 deletion nixos/modules/virtualisation/libvirtd.nix
Original file line number Diff line number Diff line change
@@ -146,7 +146,8 @@ in {
# this file is expected in /etc/qemu and not sysconfdir (/var/lib)
etc."qemu/bridge.conf".text = lib.concatMapStringsSep "\n" (e:
"allow ${e}") cfg.allowedBridges;
systemPackages = with pkgs; [ libvirt libressl.nc cfg.qemuPackage ];
systemPackages = with pkgs; [ libvirt libressl.nc iptables cfg.qemuPackage ];
etc.ethertypes.source = "${iptables}/etc/ethertypes";
};

boot.kernelModules = [ "tun" ];
70 changes: 42 additions & 28 deletions nixos/tests/mpd.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ./make-test.nix ({ pkgs, ... }:
import ./make-test.nix ({ pkgs, lib, ... }:
let
track = pkgs.fetchurl {
# Sourced from http://freemusicarchive.org/music/Blue_Wave_Theory/Surf_Music_Month_Challenge/Skyhawk_Beach_fade_in
@@ -46,38 +46,51 @@ import ./make-test.nix ({ pkgs, ... }:
};

nodes =
{ client =
{ client =
{ ... }: { };

serverALSA =
{ ... }: (mkServer {
mpd = defaultMpdCfg // {
network.listenAddress = "any";
extraConfig = ''
audio_output {
type "alsa"
name "ALSA"
mixer_type "null"
}
'';
};

musicService = with defaultMpdCfg; musicService { inherit user group musicDirectory; };
}) // { networking.firewall.allowedTCPPorts = [ 6600 ]; };
{ ... }: lib.mkMerge [
(mkServer {
mpd = defaultMpdCfg // {
network.listenAddress = "any";
extraConfig = ''
audio_output {
type "alsa"
name "ALSA"
mixer_type "null"
}
'';
};
musicService = with defaultMpdCfg; musicService { inherit user group musicDirectory; };
})
{ networking.firewall.allowedTCPPorts = [ 6600 ]; }
];

serverPulseAudio =
{ ... }: (mkServer {
mpd = defaultMpdCfg // {
extraConfig = ''
audio_output {
type "pulse"
name "The Pulse"
}
'';
};

musicService = with defaultCfg; musicService { inherit user group musicDirectory; };
}) // { hardware.pulseaudio.enable = true; };
{ ... }: lib.mkMerge [
(mkServer {
mpd = defaultMpdCfg // {
extraConfig = ''
audio_output {
type "pulse"
name "The Pulse"
}
'';
};

musicService = with defaultCfg; musicService { inherit user group musicDirectory; };
})
{
hardware.pulseaudio = {
enable = true;
systemWide = true;
tcp.enable = true;
tcp.anonymousClients.allowAll = true;
};
systemd.services.mpd.environment.PULSE_SERVER = "localhost";
}
];
};

testScript = ''
@@ -110,6 +123,7 @@ import ./make-test.nix ({ pkgs, ... }:
play_some_music($serverALSA);
play_some_music($serverPulseAudio);
$client->waitForUnit("multi-user.target");
$client->succeed("$mpc -h serverALSA status");
# The PulseAudio-based server is configured not to accept external client connections
4 changes: 1 addition & 3 deletions nixos/tests/prometheus-exporters.nix
Original file line number Diff line number Diff line change
@@ -457,9 +457,7 @@ let
wait_for_unit("prometheus-varnish-exporter.service")
wait_for_open_port(6081)
wait_for_open_port(9131)
succeed(
"curl -sSf http://localhost:9131/metrics | grep -q 'varnish_up 1'"
)
succeed("curl -sSf http://localhost:9131/metrics | grep -q 'varnish_up 1'")
'';
};

4 changes: 2 additions & 2 deletions pkgs/applications/audio/bitwig-studio/bitwig-studio3.nix
Original file line number Diff line number Diff line change
@@ -3,11 +3,11 @@

bitwig-studio1.overrideAttrs (oldAttrs: rec {
name = "bitwig-studio-${version}";
version = "3.0.1";
version = "3.0.3";

src = fetchurl {
url = "https://downloads.bitwig.com/stable/${version}/bitwig-studio-${version}.deb";
sha256 = "0k25p1j4kgnhm7p90qp1cz79xddgi6nh1nx1y5wz42x8qrpxya0s";
sha256 = "162l95imq2fb4blfkianlkymm690by9ri73xf9zigknqf0gacgsa";
};

runtimeDependencies = [
10 changes: 4 additions & 6 deletions pkgs/applications/audio/mpc/default.nix
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, mpd_clientlib }:
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, mpd_clientlib, sphinx }:

stdenv.mkDerivation rec {
pname = "mpc";
version = "0.28";
version = "0.31";

src = fetchFromGitHub {
owner = "MusicPlayerDaemon";
repo = "mpc";
rev = "v${version}";
sha256 = "1g8i4q5xsqdhidyjpvj6hzbhxacv27cb47ndv9k68whd80c5f9n9";
sha256 = "06wn5f24bgkqmhh2p8rbizmqibzqr4x1q7c6zl0pfq7mdy49g5ds";
};

buildInputs = [ mpd_clientlib ];

nativeBuildInputs = [ autoreconfHook pkgconfig ];

enableParallelBuilding = true;
nativeBuildInputs = [ meson ninja pkgconfig sphinx ];

meta = with stdenv.lib; {
description = "A minimalist command line interface to MPD";
4 changes: 2 additions & 2 deletions pkgs/applications/audio/snd/default.nix
Original file line number Diff line number Diff line change
@@ -4,11 +4,11 @@
}:

stdenv.mkDerivation rec {
name = "snd-19.7";
name = "snd-19.8";

src = fetchurl {
url = "mirror://sourceforge/snd/${name}.tar.gz";
sha256 = "1pr3l9iadvwinmxfl9a2lsm67yi7w3rhxglidpd41m2ni8jf2rlm";
sha256 = "0cdf3940cjvf5kls5l1zjll9wgg152xzlxs0jmpsq1kml12qa67b";
};

nativeBuildInputs = [ pkgconfig ];
Loading