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: 6817991464d8
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: efe35454d4c4
Choose a head ref

Commits on May 18, 2020

  1. texlive: build all official schemes on Hydra

    We are already building texlive.combined.scheme-full as a dependency
    for manim.
    veprbl committed May 18, 2020
    Copy the full SHA
    73e0138 View commit details

Commits on May 20, 2020

  1. Copy the full SHA
    e2b72ec View commit details

Commits on May 21, 2020

  1. freetds: 1.1.33 -> 1.1.39

    r-ryantm committed May 21, 2020
    Copy the full SHA
    6c9081f View commit details

Commits on May 22, 2020

  1. last: 1060 -> 1061

    r-ryantm committed May 22, 2020
    Copy the full SHA
    25841d9 View commit details
  2. Copy the full SHA
    d48125c View commit details

Commits on May 23, 2020

  1. grafana: 6.7.3 -> 7.0.0

    This version removes PhantomJS support.
    
    Upstream also stopped vendoring dependencies, so I switched to buildGoModule.
    JJJollyjim committed May 23, 2020
    Copy the full SHA
    3d2def3 View commit details
  2. Copy the full SHA
    cd79923 View commit details
  3. Copy the full SHA
    88ea965 View commit details
  4. wireguard-go: fix executable name

    It's supposed to be `wireguard-go` instead of `wireguard`. Upstream does
    this right in their Makefile, however we use our own build-script which
    creates a wrong file in $out, so it has to be fixed in the
    `postInstall`-hook.
    
    Closes #88567
    Ma27 committed May 23, 2020
    Copy the full SHA
    0f65693 View commit details
  5. Merge pull request #88640 from r-ryantm/auto-update/opensmtpd

    opensmtpd: 6.6.4p1 -> 6.7.0p1
    Ekleog authored May 23, 2020
    Copy the full SHA
    cac4473 View commit details
  6. lnch: init at 2017-02-16

    lnch is a small go app that launches a process and moves it out of the process
    group. It is useful to some scripts that need to launch a process without
    killing the previous one, like custom script app launchers for lightweight
    window managers.
    AndersonTorres committed May 23, 2020
    Copy the full SHA
    6cbffb9 View commit details
  7. Copy the full SHA
    dc80e07 View commit details
  8. python.tests: also test virtualenv

    Test whether creating a virtualenv functions.
    FRidh committed May 23, 2020
    Copy the full SHA
    2de446e View commit details
  9. Merge pull request #88694 from AndersonTorres/lnch-new

    lnch: init at 2017-02-16
    AndersonTorres authored May 23, 2020
    Copy the full SHA
    29d57de View commit details
  10. Copy the full SHA
    d5386fb View commit details
  11. Merge pull request #88047 from veprbl/pr/texlive_build_schemes

    texlive: build all official schemes on Hydra
    veprbl authored May 23, 2020
    Copy the full SHA
    9a7e2bb View commit details
  12. Copy the full SHA
    e95fce2 View commit details
  13. Merge pull request #88665 from r-ryantm/auto-update/python2.7-bitarray

    python27Packages.bitarray: 1.2.1 -> 1.2.2
    bhipple authored May 23, 2020
    Copy the full SHA
    6b66f9c View commit details
  14. Merge pull request #88242 from JJJollyjim/grafana-7.0.0

    grafana: 6.7.3 -> 7.0.0
    WilliButz authored May 23, 2020
    Copy the full SHA
    10b6f23 View commit details
  15. Merge pull request #88610 from Ma27/wireguard-go

    wireguard-go: fix executable name
    flokli authored May 23, 2020
    Copy the full SHA
    a04104a View commit details
  16. Merge pull request #88568 from r-ryantm/auto-update/last

    last: 1060 -> 1061
    ryantm authored May 23, 2020
    Copy the full SHA
    5505be7 View commit details
  17. Merge pull request #88585 from r-ryantm/auto-update/mbuffer

    mbuffer: 20191016 -> 20200505
    ryantm authored May 23, 2020
    Copy the full SHA
    af699a1 View commit details
  18. Merge pull request #88663 from r-ryantm/auto-update/python2.7-EasyPro…

    …cess
    
    python27Packages.EasyProcess: 0.2.10 -> 0.3
    ryantm authored May 23, 2020
    Copy the full SHA
    5af1ef4 View commit details
  19. Merge pull request #88512 from r-ryantm/auto-update/freetds

    freetds: 1.1.33 -> 1.1.39
    ryantm authored May 23, 2020
    Copy the full SHA
    577b96a View commit details
  20. Merge pull request #88469 from r-ryantm/auto-update/tendermint

    tendermint: 0.32.11 -> 0.32.12
    ryantm authored May 23, 2020
    Copy the full SHA
    efe3545 View commit details
8 changes: 8 additions & 0 deletions nixos/doc/manual/release-notes/rl-2009.xml
Original file line number Diff line number Diff line change
@@ -452,6 +452,14 @@ systemd.services.nginx.serviceConfig.ReadWritePaths = [ "/var/www" ];
In such cases, you most likely want to create a <literal>10-*.link</literal> file through <xref linkend="opt-systemd.network.links"/> and set both name and MAC Address / MTU there.
</para>
</listitem>
<listitem>
<para>
Grafana received a major update to version 7.x. A plugin is now needed for
image rendering support, and plugins must now be signed by default. More
information can be found
<link xlink:href="https://grafana.com/docs/grafana/latest/installation/upgrading/#upgrading-to-v7-0">in the Grafana documentation</link>.
</para>
</listitem>
</itemizedlist>
</section>
</section>
4 changes: 2 additions & 2 deletions pkgs/applications/science/biology/last/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
pname = "last";
version = "1060";
version = "1061";

src = fetchurl {
url = "http://last.cbrc.jp/last-${version}.zip";
sha256 = "0h0604rxg0z0h21dykrnxsb4679zfhibg79gss1v2ik5xpdxl8kk";
sha256 = "1jbvcxfy5xrf90qbhif0bd6aywm9rjqrm0sx24yr312f7r7c1dnx";
};

nativeBuildInputs = [ unzip ];
18 changes: 18 additions & 0 deletions pkgs/development/interpreters/python/tests.nix
Original file line number Diff line number Diff line change
@@ -9,13 +9,28 @@ let
envs = let
inherit python;
pythonEnv = python.withPackages(ps: with ps; [ ]);
pythonVirtualEnv = python.withPackages(ps: with ps; [ virtualenv ]);
in {
# Plain Python interpreter
plain = rec {
env = python;
interpreter = env.interpreter;
is_venv = "False";
is_nixenv = "False";
is_virtualenv = "False";
};
} // lib.optionalAttrs (python.isPy3k && !python.isPyPy) {
# Use virtualenv from a Nix env.
# Does not function with Python 2
# ValueError: source and destination is the same /nix/store/38kz3j1a87cq5y59k5w7k9yk4cqgc5b2-python-2.7.18/lib/python2.7/os.py
nixenv-virtualenv = rec {
env = runCommand "${python.name}-virtualenv" {} ''
${pythonVirtualEnv.interpreter} -m virtualenv $out
'';
interpreter = "${env}/bin/${python.executable}";
is_venv = "False";
is_nixenv = "True";
is_virtualenv = "True";
};
} // lib.optionalAttrs (python.implementation != "graal") {
# Python Nix environment (python.buildEnv)
@@ -24,6 +39,7 @@ let
interpreter = env.interpreter;
is_venv = "False";
is_nixenv = "True";
is_virtualenv = "True";
};
} // lib.optionalAttrs (python.isPy3k && (!python.isPyPy)) rec {
# Venv built using plain Python
@@ -36,6 +52,7 @@ let
interpreter = "${env}/bin/${python.executable}";
is_venv = "True";
is_nixenv = "False";
is_virtualenv = "True";
};

} // lib.optionalAttrs (python.pythonAtLeast "3.8") {
@@ -49,6 +66,7 @@ let
interpreter = "${env}/bin/${pythonEnv.executable}";
is_venv = "True";
is_nixenv = "True";
is_virtualenv = "True";
};
};

3 changes: 2 additions & 1 deletion pkgs/development/interpreters/python/tests/test_python.py
Original file line number Diff line number Diff line change
@@ -16,6 +16,7 @@
INTERPRETER = "@interpreter@"
PYTHON_VERSION = "@pythonVersion@"

IS_VIRTUALENV = @is_virtualenv@
IS_VENV = @is_venv@
IS_NIXENV = @is_nixenv@
IS_PYPY = platform.python_implementation() == "PyPy"
@@ -37,7 +38,7 @@ def test_site_prefix(self):

@unittest.skipIf(IS_PYPY or sys.version_info.major==2, "Python 2 does not have base_prefix")
def test_base_prefix(self):
if IS_VENV or IS_NIXENV:
if IS_VENV or IS_NIXENV or IS_VIRTUALENV:
self.assertNotEqual(sys.prefix, sys.base_prefix)
else:
self.assertEqual(sys.prefix, sys.base_prefix)
4 changes: 2 additions & 2 deletions pkgs/development/libraries/freetds/default.nix
Original file line number Diff line number Diff line change
@@ -8,11 +8,11 @@ assert odbcSupport -> unixODBC != null;

stdenv.mkDerivation rec {
pname = "freetds";
version = "1.1.33";
version = "1.1.39";

src = fetchurl {
url = "https://www.freetds.org/files/stable/${pname}-${version}.tar.bz2";
sha256 = "1gq972ngpdmpb63mc6myxsd0rf3qph95qx542021xh9f2791qffi";
sha256 = "1p5ixc1hxh9mmhplndf1j87cw9989bp0fh0nsbx6l3p2wnqz9nyl";
};

buildInputs = [
5 changes: 3 additions & 2 deletions pkgs/development/python-modules/bitarray/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
{ lib, buildPythonPackage, fetchPypi }:

buildPythonPackage rec {
version = "1.2.1";
pname = "bitarray";
version = "1.2.2";

src = fetchPypi {
inherit pname version;
sha256 = "1kxrlxfj9nrx512sfwifwl9z4v6ky3qschl0zmk3s3dvc3s7bmif";
sha256 = "0m29k3lq37v53pczyr2d5mr3xdh2kv31g2yfnfx8m1ivxvy9z9i7";
};

meta = with lib; {
description = "Efficient arrays of booleans";
homepage = "https://github.com/ilanschnell/bitarray";
changelog = "https://github.com/ilanschnell/bitarray/blob/master/CHANGE_LOG";
license = licenses.psfl;
maintainers = [ maintainers.bhipple ];
};
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/easyprocess/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

buildPythonPackage rec {
pname = "EasyProcess";
version = "0.2.10";
version = "0.3";

src = fetchPypi {
inherit pname version;
sha256 = "06zaxydyqvb5mk5kxs6y3pjbq5nm6lmi3h5g3y41xpic48q5wsv3";
sha256 = "115rzzr0hx4af4m6krf7dxn8851n4l8jfxahjzjc2r0zq2m8v57v";
};

# No tests
41 changes: 32 additions & 9 deletions pkgs/development/python-modules/virtualenv/default.nix
Original file line number Diff line number Diff line change
@@ -1,25 +1,48 @@
{ buildPythonPackage
, fetchPypi
, lib
, recursivePthLoader
, stdenv
, pythonOlder
, isPy27
, appdirs
, contextlib2
, distlib
, filelock
, importlib-metadata
, importlib-resources
, pathlib2
, setuptools_scm
, six
}:

buildPythonPackage rec {
pname = "virtualenv";
version = "16.7.9";
version = "20.0.21";

src = fetchPypi {
inherit pname version;
sha256 = "0d62c70883c0342d59c11d0ddac0d954d0431321a41ab20851facf2b222598f3";
};
sha256 = "1kxnxxwa25ghlkpyrxa8pi49v87b7ps2gyla7d1h6kbz9sfn45m1";

# Doubt this is needed - FRidh 2017-07-07
pythonPath = [ recursivePthLoader ];
};

patches = [ ./virtualenv-change-prefix.patch ];
nativeBuildInputs = [
setuptools_scm
];

# Tarball doesn't contain tests
doCheck = false;
propagatedBuildInputs = [
appdirs
distlib
filelock
six
] ++ lib.optionals isPy27 [
contextlib2
] ++ lib.optionals (isPy27 && !stdenv.hostPlatform.isWindows) [
pathlib2
] ++ lib.optionals (pythonOlder "3.7") [
importlib-resources
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
];

meta = {
description = "A tool to create isolated Python environments";

This file was deleted.

4 changes: 2 additions & 2 deletions pkgs/servers/mail/opensmtpd/default.nix
Original file line number Diff line number Diff line change
@@ -4,14 +4,14 @@

stdenv.mkDerivation rec {
pname = "opensmtpd";
version = "6.6.4p1";
version = "6.7.0p1";

nativeBuildInputs = [ autoconf automake libtool bison ];
buildInputs = [ libasr libevent zlib libressl db pam ];

src = fetchurl {
url = "https://www.opensmtpd.org/archives/${pname}-${version}.tar.gz";
sha256 = "1kyph9ycq0j21dl9n1sq5fns9p4gckdi0fmnf8awrcwrdcm9dyg2";
sha256 = "1f8bp40ywyixflg5qbnang6l210bv4vqa1k2pgm2356bp7bmsgy1";
};

patches = [
18 changes: 7 additions & 11 deletions pkgs/servers/monitoring/grafana/default.nix
Original file line number Diff line number Diff line change
@@ -1,38 +1,34 @@
{ lib, buildGoPackage, fetchurl, fetchFromGitHub, phantomJsSupport ? false, phantomjs2 ? null }:
{ lib, buildGoModule, fetchurl, fetchFromGitHub }:

buildGoPackage rec {
buildGoModule rec {
pname = "grafana";
version = "6.7.3";

goPackagePath = "github.com/grafana/grafana";
version = "7.0.0";

excludedPackages = [ "release_publisher" ];

src = fetchFromGitHub {
rev = "v${version}";
owner = "grafana";
repo = "grafana";
sha256 = "14yrfrn59r3mxbkhs7mg7nlhnvvrmq959r8w4aj6m7wgr32jj8wl";
sha256 = "1xicqsn8qg2wwp7p3p3643vqvpp6fbzpx1x7w0mgv9l2va9px8mq";
};

srcStatic = fetchurl {
url = "https://dl.grafana.com/oss/release/grafana-${version}.linux-amd64.tar.gz";
sha256 = "17h70h6cz1bdhczjqa68kxzfm4vi95zdnqzah8hcjr7rwnx874kr";
sha256 = "1x6b61rsflj9dbj0r9wj1wgp4lqwa1q21s3x7ws50scqhq1m3xmk";
};

vendorSha256 = "00xvpxhnvxdf030978paywl794mlmgqzd94b64hh67946acnbjcl";

postPatch = ''
substituteInPlace pkg/cmd/grafana-server/main.go \
--replace 'var version = "5.0.0"' 'var version = "${version}"'
'';

preBuild = "export GOPATH=$GOPATH:$NIX_BUILD_TOP/go/src/${goPackagePath}/Godeps/_workspace";

postInstall = ''
tar -xvf $srcStatic
mkdir -p $out/share/grafana
mv grafana-*/{public,conf,tools} $out/share/grafana/
'' + lib.optionalString phantomJsSupport ''
ln -sf ${phantomjs2}/bin/phantomjs $out/share/grafana/tools/phantomjs/phantomjs
'';

meta = with lib; {
Loading