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: 3f690bfcd4ad
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: 7e571eb9943d
Choose a head ref

Commits on May 26, 2020

  1. Copy the full SHA
    2061fb5 View commit details
  2. pkgconf: 1.6.3 -> 1.7.0

    r-ryantm committed May 26, 2020
    Copy the full SHA
    31e94f5 View commit details
  3. Copy the full SHA
    9b3ca0c View commit details
  4. openmpi: use pkgsHostTarget for gfortran

    This is very confusing. “stdenv” is created from the parent stage so
    pkgsTargetTarget.stdenv.cc is a compiler that runs /on/ host platform
    and creates binaries for target platform. gfortran on the other hand
    is not special cased like stdenv, so the equivalent to
    pkgsTargetTarget.stdenv.cc is pkgsHostTarget.gfortran.
    
    I’ve rewritten this to be a little less confusing, “pkgsHostTarget” is
    equivalent to “pkgs” so it is unneeded. All that is left is
    “pkgsTargetTarget.stdenv” which is equivalent to
    “targetPackages.stdenv”.
    
    Fixes #88951
    
    /cc @markuskowa @Ericson2314
    matthewbauer committed May 26, 2020
    Copy the full SHA
    c60144d View commit details

Commits on May 27, 2020

  1. gcc: optimize cross-compiled libraries

    `libstdc++` and a few other libraries are comiled with the options
    set in `EXTRA_TARGET_FLAGS`. Normally, this is filled form
    `EXTRA_FLAGS` inside of `builder.sh`, from which it inherits its
    optimization option. For cross compilers `EXTRA_TARGET_FLAGS` is
    set by a dedicated function that does not specify any optimization,
    leading to sub-par runtime performance of many C++ programs.
    tobim committed May 27, 2020
    Copy the full SHA
    2be2b53 View commit details
  2. Copy the full SHA
    484eef5 View commit details
  3. Copy the full SHA
    b958b71 View commit details
  4. Copy the full SHA
    c9e0014 View commit details
  5. Merge pull request #89009 from wamserma/python-svgwrite-1.4.0

    pythonPackages.svgwrite: 1.3.1 -> 1.4
    marsam authored May 27, 2020
    Copy the full SHA
    7978a7e View commit details
  6. Merge pull request #88974 from magnetophon/dtrx

    dtrx: remove p7zip, since it's unsafe
    marsam authored May 27, 2020
    Copy the full SHA
    7a056d4 View commit details
  7. Copy the full SHA
    ef5faff View commit details
  8. Copy the full SHA
    bc9c90c View commit details
  9. Copy the full SHA
    159ffc8 View commit details
  10. Merge pull request #88937 from lsix/nano-4.9.3

    nano: 4.9.2 -> 4.9.3
    NickHu authored May 27, 2020
    Copy the full SHA
    99d96a7 View commit details
  11. Copy the full SHA
    440f352 View commit details
  12. Copy the full SHA
    45e53a7 View commit details
  13. Copy the full SHA
    1b5925f View commit details
  14. Merge pull request #89014 from marsam/update-nodejs-12_x

    nodejs-12_x: 12.16.3 -> 12.17.0
    marsam authored May 27, 2020
    Copy the full SHA
    46f975f View commit details
  15. Merge pull request #88945 from r-ryantm/auto-update/pkgconf

    pkgconf: 1.6.3 -> 1.7.0
    ryantm authored May 27, 2020
    Copy the full SHA
    ec5a2bf View commit details
  16. nix: 2.3.4 -> 2.3.5

    edolstra committed May 27, 2020
    Copy the full SHA
    e8896de View commit details
  17. Merge pull request #88984 from matthewbauer/gfortran-no-pkgsTargetTarget

    openmpi: use pkgsHostTarget for gfortran
    matthewbauer authored May 27, 2020
    Copy the full SHA
    673827f View commit details
  18. Merge pull request #88988 from tobim/optimize-cross-libstdc++

    gcc: optimize cross-compiled libraries
    matthewbauer authored May 27, 2020
    Copy the full SHA
    7e571eb View commit details
8 changes: 4 additions & 4 deletions nixos/modules/installer/tools/nix-fallback-paths.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
x86_64-linux = "/nix/store/8928ygfyf9iassfrnj76v55s6zid58ja-nix-2.3.4";
i686-linux = "/nix/store/b5cx3nmba9ahx3wk5ybxa67k40pdpdxn-nix-2.3.4";
aarch64-linux = "/nix/store/p6j4mis6agdjlk4j0cyg7yh58wpm3kif-nix-2.3.4";
x86_64-darwin = "/nix/store/aizhr07dljmlbf17wfrj40x3s0b5iv3d-nix-2.3.4";
x86_64-linux = "/nix/store/xb0nl3z356n0sfrhswfli2g19a19slys-nix-2.3.5";
i686-linux = "/nix/store/k8kdd4yy1yap6lai5idyhmzcwsjh1fik-nix-2.3.5";
aarch64-linux = "/nix/store/dr86cbipxqjcb8pf2k0v8wvw0h0adfpz-nix-2.3.5";
x86_64-darwin = "/nix/store/n6dqdndkv9kac66kdr988kaiyavl44x8-nix-2.3.5";
}
4 changes: 2 additions & 2 deletions pkgs/applications/backup/vorta/default.nix
Original file line number Diff line number Diff line change
@@ -5,13 +5,13 @@

buildPythonApplication rec {
pname = "vorta";
version = "0.6.24";
version = "0.6.26";

src = fetchFromGitHub {
owner = "borgbase";
repo = "vorta";
rev = "v${version}";
sha256 = "1xc4cng4npc7g739qd909a8wim6s6sn8h8bb1wpxzg4gcnfyin8z";
sha256 = "189kzwdmissg9142cd7wvxa1rvc2y7lysgr7if99zc7ks59mv6dq";
};

postPatch = ''
4 changes: 2 additions & 2 deletions pkgs/applications/editors/nano/default.nix
Original file line number Diff line number Diff line change
@@ -20,11 +20,11 @@ let

in stdenv.mkDerivation rec {
pname = "nano";
version = "4.9.2";
version = "4.9.3";

src = fetchurl {
url = "mirror://gnu/nano/${pname}-${version}.tar.xz";
sha256 = "1xifbn1xaklrrf7knxvqif0hy0wgnas7w0wfggay5kifjkm5x8nq";
sha256 = "1d2i3wvsq5lvpxxinq51dcvd58xx7j0d0c2csz9hgvd06gq3hd3f";
};

nativeBuildInputs = [ texinfo ] ++ optional enableNls gettext;
Original file line number Diff line number Diff line change
@@ -15,11 +15,11 @@ assert pulseaudioSupport -> libpulseaudio != null;
let
inherit (stdenv.lib) concatStringsSep makeBinPath optional;

version = "5.0.408598.0517";
version = "5.0.413237.0524";
srcs = {
x86_64-linux = fetchurl {
url = "https://zoom.us/client/${version}/zoom_x86_64.tar.xz";
sha256 = "1irpnrxl91pc9naz0d9m252scnbfdbdi7yh19hd3arvk3fppjk7w";
sha256 = "09hr31pzjgwaa898akl953k7fcshkq8r065i2047mk247bjy278k";
};
};

5 changes: 4 additions & 1 deletion pkgs/development/compilers/gcc/common/extra-target-flags.nix
Original file line number Diff line number Diff line change
@@ -5,9 +5,12 @@ let
in

{
# For non-cross builds these flags are currently assigned in builder.sh.
# It would be good to consolidate the generation of makeFlags
# ({C,CXX,LD}FLAGS_FOR_{BUILD,TARGET}, etc...) at some point.
EXTRA_TARGET_FLAGS = let
mkFlags = dep: langD: lib.optionals (targetPlatform != hostPlatform && dep != null && !langD) ([
"-idirafter ${lib.getDev dep}${dep.incdir or "/include"}"
"-O2 -idirafter ${lib.getDev dep}${dep.incdir or "/include"}"
] ++ stdenv.lib.optionals (! crossStageStatic) [
"-B${lib.getLib dep}${dep.libdir or "/lib"}"
]);
10 changes: 5 additions & 5 deletions pkgs/development/libraries/openmpi/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, fetchpatch, gfortran, perl, libnl
, rdma-core, zlib, numactl, libevent, hwloc, pkgsTargetTarget, symlinkJoin
, rdma-core, zlib, numactl, libevent, hwloc, targetPackages, symlinkJoin
, libpsm2, libfabric

# Enable CUDA support
@@ -75,16 +75,16 @@ in stdenv.mkDerivation rec {
# default compilers should be indentical to the
# compilers at build time
sed -i 's:compiler=.*:compiler=${pkgsTargetTarget.stdenv.cc}/bin/${pkgsTargetTarget.stdenv.cc.targetPrefix}cc:' \
sed -i 's:compiler=.*:compiler=${targetPackages.stdenv.cc}/bin/${targetPackages.stdenv.cc.targetPrefix}cc:' \
$out/share/openmpi/mpicc-wrapper-data.txt
sed -i 's:compiler=.*:compiler=${pkgsTargetTarget.stdenv.cc}/bin/${pkgsTargetTarget.stdenv.cc.targetPrefix}cc:' \
sed -i 's:compiler=.*:compiler=${targetPackages.stdenv.cc}/bin/${targetPackages.stdenv.cc.targetPrefix}cc:' \
$out/share/openmpi/ortecc-wrapper-data.txt
sed -i 's:compiler=.*:compiler=${pkgsTargetTarget.stdenv.cc}/bin/${pkgsTargetTarget.stdenv.cc.targetPrefix}c++:' \
sed -i 's:compiler=.*:compiler=${targetPackages.stdenv.cc}/bin/${targetPackages.stdenv.cc.targetPrefix}c++:' \
$out/share/openmpi/mpic++-wrapper-data.txt
sed -i 's:compiler=.*:compiler=${pkgsTargetTarget.gfortran}/bin/${pkgsTargetTarget.gfortran.targetPrefix}gfortran:' \
sed -i 's:compiler=.*:compiler=${gfortran}/bin/${gfortran.targetPrefix}gfortran:' \
$out/share/openmpi/mpifort-wrapper-data.txt
'';

38 changes: 38 additions & 0 deletions pkgs/development/python-modules/h5netcdf/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchPypi
, h5py
, pytestCheckHook
, netcdf4
, pythonOlder
}:

buildPythonPackage rec {
pname = "h5netcdf";
version = "0.8.0";

src = fetchPypi {
inherit pname version;
sha256 = "b0df12f4692817cf6d8e2fca95f689e61aa68f2f39aea90fd1790fe5ac8d2cbb";
};

propagatedBuildInputs = [
h5py
];

checkInputs = [
pytestCheckHook
netcdf4
];

disabled = pythonOlder "3.6";

dontUseSetuptoolsCheck = true;

meta = {
description = "netCDF4 via h5py";
homepage = https://github.com/shoyer/h5netcdf;
license = lib.licenses.bsd3;
};

}
12 changes: 6 additions & 6 deletions pkgs/development/python-modules/svgwrite/default.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pyparsing
, isPy3k
, pythonOlder
, pytest
}:

buildPythonPackage rec {
pname = "svgwrite";
version = "1.3.1";
version = "1.4";

src = fetchFromGitHub {
owner = "mozman";
repo = "svgwrite";
rev = "v${version}";
sha256 = "14wz0y118a5wwfzin6cirr9254p4y825lnrnackihdbpw22gcw11";
sha256 = "15xjz5b4dw1sg3a5k4wmzky4h5v1n937id8vl6hha1a2xj42z2s5";
};

propagatedBuildInputs = [
pyparsing
];
# svgwrite requires Python 3.6 or newer
disabled = pythonOlder "3.6";

checkInputs = [
pytest
4 changes: 2 additions & 2 deletions pkgs/development/tools/misc/pkgconf/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
pname = "pkgconf";
version = "1.6.3";
version = "1.7.0";

src = fetchurl {
url = "https://distfiles.dereferenced.org/${pname}/${pname}-${version}.tar.xz";
sha256 = "04525vv0y849vvc2pi60g5wd9fjp1wbhra2lniifi82y1ldv7w31";
sha256 = "0sb1a2lgiqaninv5s3zq09ilrkpsamcl68dyhqyz7yi9vsgb0vhy";
};

meta = with stdenv.lib; {
6 changes: 3 additions & 3 deletions pkgs/development/tools/rust/cargo-make/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pkgs/development/tools/rust/cargo-make/default.nix
Original file line number Diff line number Diff line change
@@ -2,15 +2,15 @@

rustPlatform.buildRustPackage rec {
pname = "cargo-make";
version = "0.30.7";
version = "0.30.8";

src =
let
source = fetchFromGitHub {
owner = "sagiegurari";
repo = pname;
rev = version;
sha256 = "0i8jf3161qqazp8cy3kzn2cw7zrcv1ijf2w3s8d8l0y2i2b25cv1";
sha256 = "0sx1kvrk2df5v9f35cd6201b3m8d6ynppmikqm00g55db9r4vfl2";
};
in
runCommand "source" {} ''
@@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ openssl ]
++ stdenv.lib.optionals stdenv.isDarwin [ Security ];

cargoSha256 = "08mn1ckvyffys9wqnvva7w1qzvarqvmnkpliv118vnnr072jnc6y";
cargoSha256 = "1b0x12hcjy061dvbpy5cwgp6pwlzq2k1dapr9glw8dwprns57ar7";

# Some tests fail because they need network access.
# However, Travis ensures a proper build.
4 changes: 2 additions & 2 deletions pkgs/development/web/nodejs/v12.nix
Original file line number Diff line number Diff line change
@@ -8,6 +8,6 @@ let
in
buildNodejs {
inherit enableNpm;
version = "12.16.3";
sha256 = "18srfcv9zi39960szdnd4rgfj9w295z1agjvpw8arwn75449nmgh";
version = "12.17.0";
sha256 = "0csfdwzn1qssmkanxa8m3znjcc6h5qjaw934mkq9bz7zly39wvfa";
}
20 changes: 16 additions & 4 deletions pkgs/servers/mautrix-whatsapp/default.nix
Original file line number Diff line number Diff line change
@@ -2,18 +2,30 @@

buildGoModule {
pname = "mautrix-whatsapp-unstable";
version = "2020-05-21";
version = "2020-05-27";

src = fetchFromGitHub {
owner = "tulir";
repo = "mautrix-whatsapp";
rev = "b4949eec5982643502bb9787cf5e2872a78807c1";
sha256 = "1hjqxqfza6r7fsxr4fgwhfdwjzligxk416692xi4pavd5krfxxmd";
rev = "7cf19b0908dec6cb8239aebc3f79ee88dccbfc51";
sha256 = "14cadqvbcjd9vp6dix3jzn0l071r3i9sz0lwpppgzpid8mg9zbx4";
};

buildInputs = [ olm ];

vendorSha256 = "0ix65b48cpx6vkqmjizzij7zl8h2kjkfsa0s42vnmjdlmsv7yn42";
vendorSha256 = "01psqvxkf13had7gkg1cbzf2flac4a6ivlb7vfzw7s50vhwkb95d";

overrideModAttrs = _: {
postBuild = ''
rm -r vendor/github.com/chai2010/webp
cp -r --reflink=auto ${fetchFromGitHub {
owner = "chai2010";
repo = "webp";
rev = "3da79ec3d682694d42bfd211db18fc1343c07cd7";
sha256 = "0gh3g52vz8na153mjmxkl80g3dvrcjw77xpjs1c02vagpj9jyw46";
}} vendor/github.com/chai2010/webp
'';
};

meta = with stdenv.lib; {
homepage = "https://github.com/tulir/mautrix-whatsapp";
6 changes: 3 additions & 3 deletions pkgs/shells/zsh/oh-my-zsh/default.nix
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@
{ stdenv, fetchgit }:

stdenv.mkDerivation rec {
version = "2020-05-24";
version = "2020-05-26";
pname = "oh-my-zsh";
rev = "5ea25e6736430ab5b8439d11b2e9a837a803771b";
rev = "93cc3964e2d265ab0571298d69d2eed0a65d13f2";

src = fetchgit { inherit rev;
url = "https://github.com/ohmyzsh/ohmyzsh";
sha256 = "047vdx7c5fsli6yh35kmp25nxs2bgji21837iq5dwq8nvyq42a9i";
sha256 = "1g5v7zg22xf338qgymdfybs4m3wpy38s6b3jvw40lc7bw680ldsp";
};

pathsToLink = [ "/share/oh-my-zsh" ];
17 changes: 10 additions & 7 deletions pkgs/tools/compression/dtrx/default.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
{stdenv, lib, fetchurl, pythonPackages
, gnutar, unzip, lhasa, rpm, binutils, cpio, gzip, p7zip, cabextract, unrar, unshield
, gnutar, unzip, lhasa, rpm, binutils, cpio, gzip, cabextract, unrar, unshield
, bzip2, xz, lzip
# unzip is handled by p7zip
, unzipSupport ? false
# unsafe:
# ,p7zip
# unzip is no longer handled by p7zip, since it's unsafe
, unzipSupport ? true
, unrarSupport ? false }:

let
archivers = lib.makeBinPath ([ gnutar lhasa rpm binutils cpio gzip p7zip cabextract unshield ]
++ lib.optional (unzipSupport) unzip
++ lib.optional (unrarSupport) unrar
++ [ bzip2 xz lzip ]);
# p7zip
archivers = lib.makeBinPath ([ gnutar lhasa rpm binutils cpio gzip cabextract unshield ]
++ lib.optional (unzipSupport) unzip
++ lib.optional (unrarSupport) unrar
++ [ bzip2 xz lzip ]);

in pythonPackages.buildPythonApplication rec {
pname = "dtrx";
4 changes: 2 additions & 2 deletions pkgs/tools/package-management/nix/default.nix
Original file line number Diff line number Diff line change
@@ -178,10 +178,10 @@ in rec {
nix = nixStable;

nixStable = callPackage common (rec {
name = "nix-2.3.4";
name = "nix-2.3.5";
src = fetchurl {
url = "https://nixos.org/releases/nix/${name}/${name}.tar.xz";
sha256 = "1c626a0de0acc69830b1891ec4d3c96aabe673b2a9fd04cef84f2304d05ad00d";
sha256 = "25445353c27d7c2703cd74216bce6458a02068965055d111765ac4186ed678c1";
};

inherit storeDir stateDir confDir boehmgc;
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -799,6 +799,8 @@ in {
hdf5 = pkgs.hdf5-mpi;
};

h5netcdf = callPackage ../development/python-modules/h5netcdf { };

ha-ffmpeg = callPackage ../development/python-modules/ha-ffmpeg { };

habanero = callPackage ../development/python-modules/habanero { };