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: 3625ce7a44f7
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: 381c09b22502
Choose a head ref
  • 11 commits
  • 10 files changed
  • 9 contributors

Commits on Sep 13, 2018

  1. kubernetes: 1.10.5 -> 1.11.3

    Fixed minor issue where kube-addon manager complaints about
    /opt/namespace.yaml missing.
    
    Added release notes with reference to Kubernetes 1.11 release notes.
    
    closes #43882
    
    (cherry picked from commit a49f56c)
    Johan Thomsen authored and srhb committed Sep 13, 2018
    Copy the full SHA
    0c84b5c View commit details
  2. aliases: add nixos-rebuild

    Fixes #44135
    
    (cherry picked from commit 0b124c1)
    matthewbauer authored and Mic92 committed Sep 13, 2018
    Copy the full SHA
    d9f1e37 View commit details
  3. pythonPackages.zodb: fix tests

    Tests failed after `persistent` was updated to 4.4.
    Apply an upstream patch to fix them.
    
    (cherry picked from commit b546779)
    xeji authored and Mic92 committed Sep 13, 2018
    Copy the full SHA
    77d9ad1 View commit details
  4. Merge pull request #46598 from srhb/kube-1.11-backport-1809

    18.09: kubernetes: 1.10.5 -> 1.11.3
    samueldr authored Sep 13, 2018
    Copy the full SHA
    43a15a7 View commit details
  5. Revert "aliases: add nixos-rebuild"

    This reverts commit 0b124c1. We
    should really stop adding things that are not packages to
    all-packages.nix. For example, having nixos-rebuild.nix in
    all-packages.nix causes 'nix-env -qa' to evaluate a NixOS
    configuration, which obviously is not good for performance. (We should
    probably also remove the 'nixos' attribute from all-packages.nix, but
    at least that's a function so nix-env will ignore it.)
    
    (cherry picked from commit f1c978a)
    edolstra authored and Mic92 committed Sep 13, 2018
    Copy the full SHA
    51b62e6 View commit details
  6. grafana: 5.2.3 -> 5.2.4

    (cherry picked from commit 68b2500)
    WilliButz authored and globin committed Sep 13, 2018
    Copy the full SHA
    214e4e5 View commit details
  7. atlassian-confluence: 6.8.0 -> 6.11.1

    (cherry picked from commit 4d962b6)
    ciil authored and globin committed Sep 13, 2018
    Copy the full SHA
    00ba14d View commit details
  8. atlassian-crowd: 3.1.2 -> 3.2.5

    (cherry picked from commit f05e51a)
    ciil authored and globin committed Sep 13, 2018
    Copy the full SHA
    8ade355 View commit details
  9. atlassian-jira: 7.12.0 -> 7.12.1

    (cherry picked from commit a431f3e)
    ciil authored and globin committed Sep 13, 2018
    Copy the full SHA
    8b5f311 View commit details
  10. google-compute-engine: 20180129 -> 20180510 (#46278)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    google-compute-engine
    
    (cherry picked from commit 035b2f5)
    r-ryantm authored and zimbatm committed Sep 13, 2018
    Copy the full SHA
    4293f9f View commit details
  11. brlaser: cleanup and mark linux only (#46622)

    The test binaries depend use open_memstream which isn't available on
    darwin.
    
        error: use of undeclared identifier 'open_memstream'
    
    /cc ZHF #45961
    
    (cherry picked from commit 04cba83)
    LnL7 authored and xeji committed Sep 13, 2018
    Copy the full SHA
    381c09b View commit details
8 changes: 8 additions & 0 deletions nixos/doc/manual/release-notes/rl-1809.xml
Original file line number Diff line number Diff line change
@@ -407,6 +407,14 @@ inherit (pkgs.nixos {
deprecated. Use <literal>networking.networkmanager.dns</literal> instead.
</para>
</listitem>
<listitem>
<para>
The Kubernetes package has been bumped to major version 1.11.
Please consult the
<link xlink:href="https://github.com/kubernetes/kubernetes/blob/release-1.11/CHANGELOG-1.11.md">release notes</link>
for details on new features and api changes.
</para>
</listitem>
<listitem>
<para>
The option
16 changes: 9 additions & 7 deletions pkgs/applications/networking/cluster/kubernetes/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, removeReferencesTo, which, go_1_9, go-bindata, makeWrapper, rsync
{ stdenv, lib, fetchFromGitHub, removeReferencesTo, which, go_1_10, go-bindata, makeWrapper, rsync
, components ? [
"cmd/kubeadm"
"cmd/kubectl"
@@ -15,17 +15,16 @@ with lib;

stdenv.mkDerivation rec {
name = "kubernetes-${version}";
version = "1.10.5";
version = "1.11.3";

src = fetchFromGitHub {
owner = "kubernetes";
repo = "kubernetes";
rev = "v${version}";
sha256 = "1k6ayb43l68l0qw31cc4k1pwvm8aks3l2xm0gdxdxbbww1mnzix2";
sha256 = "1gwb5gs9l0adv3qc70wf8dwvbjh1mmgd3hh1jkwsbbnach28dvzb";
};

# Build using golang v1.9 in accordance with https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.10.md#external-dependencies
buildInputs = [ removeReferencesTo makeWrapper which go_1_9 rsync go-bindata ];
buildInputs = [ removeReferencesTo makeWrapper which go_1_10 rsync go-bindata ];

outputs = ["out" "man" "pause"];

@@ -39,7 +38,7 @@ stdenv.mkDerivation rec {
patchShebangs ./hack
'';

WHAT="--use_go_build ${concatStringsSep " " components}";
WHAT="${concatStringsSep " " components}";

postBuild = ''
./hack/generate-docs.sh
@@ -53,16 +52,19 @@ stdenv.mkDerivation rec {
cp build/pause/pause "$pause/bin/pause"
cp -R docs/man/man1 "$man/share/man"
cp cluster/addons/addon-manager/namespace.yaml $out/share
cp cluster/addons/addon-manager/kube-addons.sh $out/bin/kube-addons
patchShebangs $out/bin/kube-addons
substituteInPlace $out/bin/kube-addons \
--replace /opt/namespace.yaml $out/share/namespace.yaml
wrapProgram $out/bin/kube-addons --set "KUBECTL_BIN" "$out/bin/kubectl"
$out/bin/kubectl completion bash > $out/share/bash-completion/completions/kubectl
$out/bin/kubectl completion zsh > $out/share/zsh/site-functions/_kubectl
'';

preFixup = ''
find $out/bin $pause/bin -type f -exec remove-references-to -t ${go_1_9} '{}' +
find $out/bin $pause/bin -type f -exec remove-references-to -t ${go_1_10} '{}' +
'';

meta = {
15 changes: 10 additions & 5 deletions pkgs/development/python-modules/zodb/default.nix
Original file line number Diff line number Diff line change
@@ -4,7 +4,6 @@
, zope_testrunner
, transaction
, six
, wheel
, zope_interface
, zodbpickle
, zconfig
@@ -24,15 +23,16 @@ buildPythonPackage rec {
};

patches = [
./ZODB-5.3.0-fix-tests.patch
./ZODB-5.3.0-fix-tests.patch # still needeed with 5.4.0
# Upstream patch to fix tests with persistent 4.4,
# cannot fetchpatch because only one hunk of the upstream commit applies.
# TODO remove on next release
./fix-tests-with-persistent-4.4.patch
];

propagatedBuildInputs = [
manuel
transaction
zope_testrunner
six
wheel
zope_interface
zodbpickle
zconfig
@@ -41,6 +41,11 @@ buildPythonPackage rec {
BTrees
];

checkInputs = [
manuel
zope_testrunner
];

meta = with stdenv.lib; {
description = "Zope Object Database: object database and persistence";
homepage = https://pypi.python.org/pypi/ZODB;
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From 2d0ae7199501795617a82a32bafe19b4b5ae89c3 Mon Sep 17 00:00:00 2001
From: Jason Madden <jamadden@gmail.com>
Date: Wed, 22 Aug 2018 10:43:19 -0500
Subject: [PATCH] Fix tests with, and depend on, persistent 4.4.

Fixes #213.
---
src/ZODB/tests/util.py | 5 +++++
3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/ZODB/tests/util.py b/src/ZODB/tests/util.py
index 4ffde92c1..e9bf547fa 100644
--- a/src/ZODB/tests/util.py
+++ b/src/ZODB/tests/util.py
@@ -37,6 +37,11 @@
r"\1"),
(re.compile('b(".*?")'),
r"\1"),
+ # Persistent 4.4 changes the repr of persistent subclasses,
+ # and it is slightly different with the C extension and
+ # pure-Python module
+ (re.compile('ZODB.tests.testcrossdatabasereferences.'),
+ ''),
# Python 3 adds module name to exceptions.
(re.compile("ZODB.interfaces.BlobError"),
r"BlobError"),
10 changes: 4 additions & 6 deletions pkgs/misc/cups/drivers/brlaser/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ stdenv, fetchFromGitHub, cmake, zlib, cups }:

stdenv.mkDerivation rec {

name = "brlaser-${version}";
version = "4";

@@ -12,11 +11,10 @@ stdenv.mkDerivation rec {
sha256 = "1yy4mpf68c82h245srh2sd1yip29w6kx14gxk4hxkv496gf55lw5";
};

buildInputs = [ cmake zlib cups ];
nativeBuildInputs = [ cmake ];
buildInputs = [ zlib cups ];

preConfigure = ''
cmakeFlags="$cmakeFlags -DCUPS_SERVER_BIN=$out/lib/cups/ -DCUPS_DATA_DIR=$out/share/cups/"
'';
cmakeFlags = [ "-DCUPS_SERVER_BIN=$out/lib/cups" "-DCUPS_DATA_DIR=$out/share/cups" ];

meta = with stdenv.lib; {
description = "A CUPS driver for Brother laser printers";
@@ -37,7 +35,7 @@ stdenv.mkDerivation rec {
'';
homepage = https://github.com/pdewacht/brlaser;
license = licenses.gpl2;
platforms = platforms.unix;
platforms = platforms.linux;
maintainers = with maintainers; [ StijnDW ];
};
}
4 changes: 2 additions & 2 deletions pkgs/servers/atlassian/confluence.nix
Original file line number Diff line number Diff line change
@@ -5,11 +5,11 @@

stdenv.mkDerivation rec {
name = "atlassian-confluence-${version}";
version = "6.8.0";
version = "6.11.1";

src = fetchurl {
url = "https://www.atlassian.com/software/confluence/downloads/binary/${name}.tar.gz";
sha256 = "07awdbkjxkk4rbnpbb5xfjp4125c33bwxncmydlgzgk5fzy6dg2w";
sha256 = "0sp1ggllvxdz0pf409yyil1x9dah1jyqspknfzgivkmwhcqj7brr";
};

phases = [ "unpackPhase" "buildPhase" "installPhase" ];
4 changes: 2 additions & 2 deletions pkgs/servers/atlassian/crowd.nix
Original file line number Diff line number Diff line change
@@ -3,11 +3,11 @@

stdenv.mkDerivation rec {
name = "atlassian-crowd-${version}";
version = "3.1.2";
version = "3.2.5";

src = fetchurl {
url = "https://www.atlassian.com/software/crowd/downloads/binary/${name}.tar.gz";
sha256 = "0pnl0zl38827ckgxh4y1mnq3lr7bvd7v3ysdxxv3nfr5zya4xgki";
sha256 = "1h8kxh89d2wm0hkgrzx5dnnfy8sbhpgisgdwn3srhb4js8h4qil6";
};

phases = [ "unpackPhase" "buildPhase" "installPhase" "fixupPhase" ];
4 changes: 2 additions & 2 deletions pkgs/servers/atlassian/jira.nix
Original file line number Diff line number Diff line change
@@ -5,11 +5,11 @@

stdenv.mkDerivation rec {
name = "atlassian-jira-${version}";
version = "7.12.0";
version = "7.12.1";

src = fetchurl {
url = "https://downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-${version}.tar.gz";
sha256 = "0kpsgq54xs43rwhg9zwh869jl64ywhb4fcyp5sq1zd19y5cqfnkn";
sha256 = "0qk72dq53kk40m8rz7i3r45cgrka2s1682b8d3kzdmmhclnzbaym";
};

phases = [ "unpackPhase" "buildPhase" "installPhase" "fixupPhase" ];
6 changes: 3 additions & 3 deletions pkgs/servers/monitoring/grafana/default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{ lib, buildGoPackage, fetchurl, fetchFromGitHub, phantomjs2 }:

buildGoPackage rec {
version = "5.2.3";
version = "5.2.4";
name = "grafana-${version}";
goPackagePath = "github.com/grafana/grafana";

src = fetchFromGitHub {
rev = "v${version}";
owner = "grafana";
repo = "grafana";
sha256 = "08ws8kpqxl0rihw8xa93285gal6f6c3imymdi9iif13vsn458hiw";
sha256 = "15w935i22ddx6ff32ynypjh3q670vnrj74qw0vdkxdmrlwk3q7wc";
};

srcStatic = fetchurl {
url = "https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-${version}.linux-amd64.tar.gz";
sha256 = "098xrzq7wkizww9552bk8cn300336y51qfzf1fkfwrn1fqf9nswl";
sha256 = "187dqjahz1z1gkcx9pxnf2hri6g3b5j3ppadwfahz0rwsqj4v2lf";
};

postPatch = ''
4 changes: 2 additions & 2 deletions pkgs/tools/virtualization/google-compute-engine/default.nix
Original file line number Diff line number Diff line change
@@ -10,14 +10,14 @@

buildPythonApplication rec {
name = "google-compute-engine-${version}";
version = "20180129";
version = "20180510";
namePrefix = "";

src = fetchFromGitHub {
owner = "GoogleCloudPlatform";
repo = "compute-image-packages";
rev = version;
sha256 = "0380fnr64109hv8l1f3sgdg8a5mf020axj7jh8y25xq6wzkjm20c";
sha256 = "13hmg29s1pljcvf40lrv5yickg8x51rcnv68wxhs6zkkg75k448p";
};

postPatch = ''