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: f7036e2cfc81
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: 1ae28ebfdb7e
Choose a head ref

Commits on Jun 1, 2020

  1. Copy the full SHA
    557a4df View commit details
  2. skaffold: 1.9.1 -> 1.10.1

    There's a bug in 1.9.1 where `skaffold debug` adds a spurious `args: ""` to the deployment manifest. It was fixed in 1.10.
    dsyer authored Jun 1, 2020
    Copy the full SHA
    f7651f7 View commit details
  3. coz: fix python shebang

    minijackson committed Jun 1, 2020
    Copy the full SHA
    0332c06 View commit details
  4. Copy the full SHA
    07d3ca8 View commit details
  5. qemu: wrap GTK binaries

    Applications using a different GTK version than the user session don't
    work well, and people often run NixOS VM tests on different channels.
    
    Wrapping these GTK binaries is a common way to fix this.
    
    Fixes #69158
    flokli committed Jun 1, 2020
    Copy the full SHA
    c7eb16c View commit details

Commits on Jun 2, 2020

  1. Copy the full SHA
    5db5b25 View commit details
  2. php.extensions.mysqlnd: Fix compression support

    HAVE_ZLIB has to be defined in mysqlnd.h for compression support to be
    turned on, but the configure script doesn't actually define it even
    when zlib is available.
    talyz committed Jun 2, 2020
    Copy the full SHA
    2e0d4a8 View commit details
  3. olive-editor: use wrapQtAppsHook

    josephtheengineer committed Jun 2, 2020
    Copy the full SHA
    654d1ca View commit details

Commits on Jun 3, 2020

  1. Copy the full SHA
    0de586e View commit details
  2. grafana: 7.0.2 -> 7.0.3

    Frostman committed Jun 3, 2020
    Copy the full SHA
    f1bf95f View commit details
  3. Merge pull request #89266 from talyz/mysqlnd-fix-compression

    php.extensions.mysqlnd: Fix compression support
    talyz authored Jun 3, 2020
    Copy the full SHA
    b084cf2 View commit details
  4. Copy the full SHA
    3b343be View commit details
  5. Merge pull request #89328 from flokli/qemu-wrap

    qemu: wrap GTK binaries
    flokli authored Jun 3, 2020
    Copy the full SHA
    aad06c8 View commit details
  6. Copy the full SHA
    bf1c120 View commit details
  7. Merge pull request #89404 from priegger/fix/factorio-update

    factorio{,-headless}-experimental: 0.18.26 -> 0.18.29
    NickHu authored Jun 3, 2020
    Copy the full SHA
    e37b999 View commit details
  8. Merge pull request #89285 from rmcgibbo/tachyon

    tachyon: install header files
    7c6f434c authored Jun 3, 2020
    Copy the full SHA
    4f9053c View commit details

Commits on Jun 4, 2020

  1. Merge pull request #89429 from Frostman/grafana-7.0.3

    grafana: 7.0.2 -> 7.0.3
    marsam authored Jun 4, 2020
    Copy the full SHA
    402661b View commit details
  2. Merge pull request #89319 from zaninime/sane-airscan-update

    sane-airscan: 0.99.0 -> 0.99.3
    marsam authored Jun 4, 2020
    Copy the full SHA
    0ad42c6 View commit details
  3. Merge pull request #89437 from prusnak/wasabiwallet

    wasabiwallet: 1.1.9.2 -> 1.1.11.1
    bhipple authored Jun 4, 2020
    Copy the full SHA
    a8acfde View commit details
  4. Merge pull request #89306 from minijackson/coz-fix-python-shebang

    coz: fix python shebang
    bhipple authored Jun 4, 2020
    Copy the full SHA
    9fc6768 View commit details
  5. Merge pull request #89340 from utdemir/cookiecutter-fix

    python3Packages.cookiecutter: add missing slugify dependency
    bhipple authored Jun 4, 2020
    Copy the full SHA
    94bb84f View commit details
  6. Merge pull request #89291 from dsyer/patch-2

    skaffold: 1.9.1 -> 1.10.1
    bhipple authored Jun 4, 2020
    Copy the full SHA
    2068c82 View commit details
  7. Merge pull request #89345 from josephtheengineer/olive-editor-wrap-qt

    olive-editor: use wrapQtAppsHook
    bhipple authored Jun 4, 2020
    Copy the full SHA
    1ae28eb View commit details
30 changes: 26 additions & 4 deletions pkgs/applications/blockchains/wasabiwallet/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,34 @@
{ stdenv, fetchurl, makeDesktopItem, openssl, xorg, curl, fontconfig, krb5, zlib, dotnet-netcore }:
{ stdenv
, fetchurl
, makeDesktopItem
, curl
, dotnet-netcore
, fontconfig
, krb5
, openssl
, xorg
, zlib
}:

let
libPath = stdenv.lib.makeLibraryPath [
curl
dotnet-netcore
fontconfig.lib
krb5
openssl
stdenv.cc.cc.lib
xorg.libX11
zlib
];
in
stdenv.mkDerivation rec {
pname = "wasabiwallet";
version = "1.1.9.2";
version = "1.1.11.1";

src = fetchurl {
url = "https://github.com/zkSNACKs/WalletWasabi/releases/download/v${version}/WasabiLinux-${version}.tar.gz";
sha256 = "0qcgrw106rqcls6p5iq02sq3w6xrzhc5z7w8v5almbw7ikv6f0s2";
sha256 = "04v8f2h67aqvcb5a8vmzbp2sqnq7g4m0v1ng52ccb4ii668ya8hy";
};

dontBuild = true;
@@ -27,7 +49,7 @@ stdenv.mkDerivation rec {
cd $out/opt/${pname}
for i in $(find . -type f -name '*.so') wassabee
do
patchelf --set-rpath ${stdenv.lib.makeLibraryPath [ openssl stdenv.cc.cc.lib xorg.libX11 curl fontconfig.lib krb5 zlib dotnet-netcore ]} $i
patchelf --set-rpath ${libPath} $i
done
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" wassabee
ln -s $out/opt/${pname}/wassabee $out/bin/${pname}
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/sane/backends/airscan/default.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
, sane-backends, meson, ninja }:
stdenv.mkDerivation rec {
pname = "sane-airscan";
version = "0.99.0";
version = "0.99.3";

nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [ avahi libsoup libjpeg libpng sane-backends ];
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
owner = "alexpevzner";
repo = pname;
rev = version;
sha256 = "0bbw3s95v5fmkpmmd26v9cf1c40dm85bgxlhs06ski5my803ck0a";
sha256 = "1sxp207vzjzi0ad5202n46acbha4dfmzcijl2v0b9j9lj4k42a8k";
};

meta = with lib; {
7 changes: 3 additions & 4 deletions pkgs/applications/video/olive-editor/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, pkgconfig, which, qmake, mkDerivation,
qtbase, qtmultimedia, frei0r, opencolorio, ffmpeg-full,
CoreFoundation }:
qtmultimedia, wrapQtAppsHook, frei0r, opencolorio, ffmpeg-full,
CoreFoundation }:

mkDerivation rec {
pname = "olive-editor";
@@ -17,15 +17,14 @@ mkDerivation rec {
pkgconfig
which
qmake
wrapQtAppsHook
];

buildInputs = [
ffmpeg-full
frei0r
opencolorio
qtbase
qtmultimedia
qtmultimedia.dev
] ++ stdenv.lib.optional stdenv.isDarwin CoreFoundation;

meta = with stdenv.lib; {
14 changes: 10 additions & 4 deletions pkgs/applications/virtualization/qemu/default.nix
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
, seccompSupport ? stdenv.isLinux, libseccomp
, pulseSupport ? !stdenv.isDarwin, libpulseaudio
, sdlSupport ? !stdenv.isDarwin, SDL2
, gtkSupport ? !stdenv.isDarwin && !xenSupport, gtk3, gettext, vte
, gtkSupport ? !stdenv.isDarwin && !xenSupport, gtk3, gettext, vte, wrapGAppsHook
, vncSupport ? true, libjpeg, libpng
, smartcardSupport ? true, libcacard
, spiceSupport ? !stdenv.isDarwin, spice, spice-protocol
@@ -46,7 +46,8 @@ stdenv.mkDerivation rec {
sha256 = "1gczv8hn3wqci86css3mhzrppp3z8vppxw25l08j589k6bvz7x1w";
};

nativeBuildInputs = [ python python.pkgs.sphinx pkgconfig flex bison ];
nativeBuildInputs = [ python python.pkgs.sphinx pkgconfig flex bison ]
++ optionals gtkSupport [ wrapGAppsHook ];
buildInputs =
[ zlib glib ncurses perl pixman
vde2 texinfo makeWrapper lzo snappy
@@ -165,12 +166,17 @@ stdenv.mkDerivation rec {
++ optional smbdSupport "--smbd=${samba}/bin/smbd";

doCheck = false; # tries to access /dev
dontWrapGApps = true;

postFixup =
''
postFixup = ''
# copy qemu-ga (guest agent) to separate output
mkdir -p $ga/bin
cp $out/bin/qemu-ga $ga/bin/
'' + optionalString gtkSupport ''
# wrap GTK Binaries
for f in $out/bin/qemu-system-*; do
wrapGApp $f
done
'';

# Add a ‘qemu-kvm’ wrapper for compatibility/convenience.
1 change: 1 addition & 0 deletions pkgs/development/libraries/tachyon/default.nix
Original file line number Diff line number Diff line change
@@ -60,6 +60,7 @@ stdenv.mkDerivation rec {
cp tachyon "$out"/bin
cp libtachyon.* "$out/lib"
cd ../..
cp src/*.h "$out/include/"
cp Changes Copyright README "$out/share/doc/tachyon"
cp -r scenes "$out/share/tachyon/scenes"
'';
5 changes: 3 additions & 2 deletions pkgs/development/python-modules/cookiecutter/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ stdenv, buildPythonPackage, fetchPypi, isPyPy
, pytest, pytestcov, pytest-mock, freezegun
, jinja2, future, binaryornot, click, whichcraft, poyo, jinja2_time, requests }:
, jinja2, future, binaryornot, click, whichcraft, poyo, jinja2_time, requests
, python-slugify }:

buildPythonPackage rec {
pname = "cookiecutter";
@@ -16,7 +17,7 @@ buildPythonPackage rec {

checkInputs = [ pytest pytestcov pytest-mock freezegun ];
propagatedBuildInputs = [
jinja2 future binaryornot click whichcraft poyo jinja2_time requests
jinja2 future binaryornot click whichcraft poyo jinja2_time requests python-slugify
];

# requires network access for cloning git repos
6 changes: 3 additions & 3 deletions pkgs/development/tools/analysis/coz/default.nix
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
, libelfin
, ncurses
, python3
, python3Packages
, makeWrapper
}:
stdenv.mkDerivation rec {
@@ -28,6 +29,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
ncurses
makeWrapper
python3Packages.wrapPython
];

buildInputs = [
@@ -42,9 +44,7 @@ stdenv.mkDerivation rec {
# fix executable includes
chmod -x $out/include/coz.h
# make sure that PYTHONPATH doesn't leak from the environment
wrapProgram $out/bin/coz \
--unset PYTHONPATH
wrapPythonPrograms
'';

meta = {
6 changes: 3 additions & 3 deletions pkgs/development/tools/skaffold/default.nix
Original file line number Diff line number Diff line change
@@ -2,9 +2,9 @@

buildGoPackage rec {
pname = "skaffold";
version = "1.9.1";
version = "1.10.1";
# rev is the ${version} commit, mainly for skaffold version command output
rev = "7bac6a150c9618465f5ad38cc0a5dbc4677c39ba";
rev = "931a70a6334436735bfc4ff7633232dd5fc73cc1";

goPackagePath = "github.com/GoogleContainerTools/skaffold";
subPackages = ["cmd/skaffold"];
@@ -20,7 +20,7 @@ buildGoPackage rec {
owner = "GoogleContainerTools";
repo = "skaffold";
rev = "v${version}";
sha256 = "0l0x89xv5brinafrvbz6hgs5kvmpl4ajcrsjdjh3myf7i0mvh3gm";
sha256 = "1qi4b0304jjpv5npa5yfrrfg7yv5p838qqql3sgx4f47ysyyq0as";
};

nativeBuildInputs = [ installShellFiles ];
4 changes: 2 additions & 2 deletions pkgs/games/factorio/default.nix
Original file line number Diff line number Diff line change
@@ -53,11 +53,11 @@ let
x86_64-linux = let bdist = bdistForArch { inUrl = "linux64"; inTar = "x64"; }; in {
alpha = {
stable = bdist { sha256 = "1fg2wnia6anzya4m53jf2xqwwspvwskz3awdb3j0v3fzijps94wc"; version = "0.17.79"; withAuth = true; };
experimental = bdist { sha256 = "1ypq9qxry2b9a74p2i20f1yl20yf37xr4kvflbg1cn5nb8vvznxq"; version = "0.18.26"; withAuth = true; };
experimental = bdist { sha256 = "1xkmx29dxbg9vbhbrdbq6bb229mc0mbar3r14b49bdia3qfvvx8p"; version = "0.18.29"; withAuth = true; };
};
headless = {
stable = bdist { sha256 = "1pr39nm23fj83jy272798gbl9003rgi4vgsi33f2iw3dk3x15kls"; version = "0.17.79"; };
experimental = bdist { sha256 = "1srlzncwp1gcdy6ih8cc1ml5ggvg6xkw5jc2q95qjb9gpjv29mnl"; version = "0.18.26"; };
experimental = bdist { sha256 = "0z1n9p7cqbzmmjniwjyxp7x058c4d1knf4mwg14vgvh77ywz0y8j"; version = "0.18.29"; };
};
demo = {
stable = bdist { sha256 = "07qknasaqvzl9vy1fglm7xmdi7ynhmslrb0a209fhbfs0s7qqlgi"; version = "0.17.79"; };
6 changes: 3 additions & 3 deletions pkgs/servers/monitoring/grafana/default.nix
Original file line number Diff line number Diff line change
@@ -2,20 +2,20 @@

buildGoModule rec {
pname = "grafana";
version = "7.0.2";
version = "7.0.3";

excludedPackages = [ "release_publisher" ];

src = fetchFromGitHub {
rev = "v${version}";
owner = "grafana";
repo = "grafana";
sha256 = "0ijaljj4c5bvv6z2dzsdr3d1rbza4lw29hy6gh805d01aadyag18";
sha256 = "1s5hq7icfnaiq7msk7vdz30wdhw13s115vg8ws7gqv5sl1hi0vlg";
};

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

vendorSha256 = "00xvpxhnvxdf030978paywl794mlmgqzd94b64hh67946acnbjcl";
25 changes: 20 additions & 5 deletions pkgs/top-level/php-packages.nix
Original file line number Diff line number Diff line change
@@ -854,6 +854,9 @@ in
inherit configureFlags internalDeps buildInputs
zendExtension doCheck;

prePatch = "pushd ../..";
postPatch = "popd";

preConfigure = ''
nullglobRestore=$(shopt -p nullglob)
shopt -u nullglob # To make ?-globbing work
@@ -983,14 +986,14 @@ in
# The configure script doesn't correctly add library link
# flags, so we add them to the variable used by the Makefile
# when linking.
MYSQLND_SHARED_LIBADD = "-lssl -lcrypto -lz";
MYSQLND_SHARED_LIBADD = "-lssl -lcrypto";
# The configure script builds a config.h which is never
# included. Let's include it in the main header file
# included by all .c-files.
patches = [
(pkgs.writeText "mysqlnd_config.patch" ''
--- a/mysqlnd.h
+++ b/mysqlnd.h
--- a/ext/mysqlnd/mysqlnd.h
+++ b/ext/mysqlnd/mysqlnd.h
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
@@ -999,6 +1002,18 @@ in
+----------------------------------------------------------------------+
| Copyright (c) The PHP Group |
'')
(pkgs.writeText "mysqlnd_fix_compression.patch" ''
--- a/ext/mysqlnd/mysqlnd.h
+++ b/ext/mysqlnd/mysqlnd.h
@@ -48,7 +48,7 @@
#define MYSQLND_DBG_ENABLED 0
#endif
-#if defined(MYSQLND_COMPRESSION_WANTED) && defined(HAVE_ZLIB)
+#if defined(MYSQLND_COMPRESSION_WANTED)
#define MYSQLND_COMPRESSION_ENABLED 1
#endif
'')
];
postPhpize = lib.optionalString (lib.versionOlder php.version "7.4") ''
substituteInPlace configure --replace '$OPENSSL_LIBDIR' '${openssl}/lib' \
@@ -1013,8 +1028,8 @@ in
# included after the ifdef...
patches = lib.optional (lib.versionOlder php.version "7.4") [
(pkgs.writeText "zend_file_cache_config.patch" ''
--- a/zend_file_cache.c
+++ b/zend_file_cache.c
--- a/ext/opcache/zend_file_cache.c
+++ b/ext/opcache/zend_file_cache.c
@@ -27,9 +27,9 @@
#include "ext/standard/md5.h"
#endif