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: da36dfff14fa
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: 1dd960f66ea4
Choose a head ref
  • 4 commits
  • 4 files changed
  • 3 contributors

Commits on Apr 1, 2018

  1. nixos/unbound: don't fail on root trust anchor updates

    Exit code on updates is 1 which makes the inital start of unbound fail.
    
    (cherry picked from commit 35f474d)
    fpletz committed Apr 1, 2018
    Copy the full SHA
    27974ed View commit details
  2. pythonPackages.smart_open: fix build, 1.5.6 -> 1.5.7

    (cherry picked from commit 3ea8574)
    xeji authored and fpletz committed Apr 1, 2018
    Copy the full SHA
    79910a4 View commit details
  3. pythonPackages.root_numpy: fix build

    checkPhase must use nosetest
    
    (cherry picked from commit ebd4d38)
    xeji authored and fpletz committed Apr 1, 2018
    Copy the full SHA
    f67968c View commit details
  4. buildGoPackage: use a separator when joining extraSrcPaths together

    (cherry picked from commit d1fad21)
    pbogdan authored and fpletz committed Apr 1, 2018
    Copy the full SHA
    1dd960f View commit details
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/unbound.nix
Original file line number Diff line number Diff line change
@@ -112,7 +112,7 @@ in
mkdir -m 0755 -p ${stateDir}/dev/
cp ${confFile} ${stateDir}/unbound.conf
${optionalString cfg.enableRootTrustAnchor ''
${pkgs.unbound}/bin/unbound-anchor -a ${rootTrustAnchorFile}
${pkgs.unbound}/bin/unbound-anchor -a ${rootTrustAnchorFile} || echo "Root anchor updated!"
chown unbound ${stateDir} ${rootTrustAnchorFile}
''}
touch ${stateDir}/dev/random
2 changes: 1 addition & 1 deletion pkgs/development/go-modules/generic/default.nix
Original file line number Diff line number Diff line change
@@ -98,7 +98,7 @@ go.stdenv.mkDerivation (
rmdir goPath
'') + (lib.optionalString (extraSrcPaths != []) ''
${rsync}/bin/rsync -a ${lib.concatMapStrings (p: "${p}/src") extraSrcPaths} go
${rsync}/bin/rsync -a ${lib.concatMapStringsSep " " (p: "${p}/src") extraSrcPaths} go
'') + ''
export GOPATH=$NIX_BUILD_TOP/go:$GOPATH
7 changes: 6 additions & 1 deletion pkgs/development/python-modules/root_numpy/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchPypi, isPy3k, buildPythonPackage, numpy, root }:
{ lib, fetchPypi, isPy3k, buildPythonPackage, numpy, root, nose }:

buildPythonPackage rec {
pname = "root_numpy";
@@ -11,6 +11,11 @@ buildPythonPackage rec {
};

disabled = isPy3k; # blocked by #27649
checkInputs = [ nose ];
checkPhase = ''
python setup.py install_lib -d .
nosetests -s -v root_numpy
'';

propagatedBuildInputs = [ numpy root ];

20 changes: 17 additions & 3 deletions pkgs/development/python-modules/smart_open/default.nix
Original file line number Diff line number Diff line change
@@ -3,7 +3,9 @@
, isPy3k
, fetchPypi
, boto
, boto3
, bz2file
, mock
, moto
, requests
, responses
@@ -12,14 +14,26 @@
buildPythonPackage rec {
pname = "smart_open";
name = "${pname}-${version}";
version = "1.5.6";
version = "1.5.7";

src = fetchPypi {
inherit pname version;
sha256 = "8fd2de1c359bd0074bd6d334a5b9820ae1c5b6ba563970b95052bace4b71baeb";
sha256 = "0y1c29pdxxgxkymr7g2n59siqqaq351zbx9vz8433dxvzy4qgd7p";
};

propagatedBuildInputs = [ boto bz2file requests responses moto ];
# nixpkgs version of moto is >=1.2.0, remove version pin to fix build
postPatch = ''
substituteInPlace ./setup.py --replace "moto==0.4.31" "moto"
'';

# moto>=1.0.0 is backwards-incompatible and some tests fail with it,
# so disable tests for now
doCheck = false;

checkInputs = [ mock moto responses ];

# upstream code requires both boto and boto3
propagatedBuildInputs = [ boto boto3 bz2file requests ];
meta = {
license = lib.licenses.mit;
description = "smart_open is a Python 2 & Python 3 library for efficient streaming of very large file";