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: 99a2467722da
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: 5f8bf63a3ba2
Choose a head ref

Commits on Mar 20, 2020

  1. Copy the full SHA
    f028498 View commit details

Commits on Mar 25, 2020

  1. Copy the full SHA
    a9708e0 View commit details

Commits on Mar 27, 2020

  1. keycloak: 9.0.0 -> 9.0.2

    r-ryantm committed Mar 27, 2020
    Copy the full SHA
    b260826 View commit details
  2. Copy the full SHA
    335e097 View commit details
  3. Copy the full SHA
    8a774b7 View commit details
  4. freeoffice: 974 -> 976

    romildo committed Mar 27, 2020
    Copy the full SHA
    55b6146 View commit details
  5. pythonPackages.tensorflow-estimator_1_15_1: init at 1.15.1

    TF 1.15 still needs an older version of the tensorflow-estimator
    package.
    
    (cherry picked from commit c539f93)
    andir authored and Ericson2314 committed Mar 27, 2020
    Copy the full SHA
    07bd893 View commit details
  6. Copy the full SHA
    276bfbc View commit details
  7. Merge branch 'tensorflow-versions'

    No code is changed, just trying to assist with eventual backport.
    Ericson2314 committed Mar 27, 2020
    Copy the full SHA
    ea5c800 View commit details
  8. zita-at1: init at 0.6.2

    orivej committed Mar 27, 2020
    Copy the full SHA
    b8bcf8c View commit details
  9. Merge pull request #83277 from robertodr/update-mkl

    mkl: 2019.5.281 -> 2020.0.166 (Linux only)
    bhipple authored Mar 27, 2020
    Copy the full SHA
    feb39bd View commit details
  10. python3Packages.dipy: init at 1.1.1

    bcdarwin authored and Jon committed Mar 27, 2020
    Copy the full SHA
    17611f1 View commit details
  11. Copy the full SHA
    9a5c27a View commit details
  12. Merge pull request #83126 from mkg20001/pkg/mint-y-icons

    cinnamon.mint-y-icons: init at unstable-2020-03-21
    worldofpeace authored Mar 27, 2020
    Copy the full SHA
    5e65872 View commit details
  13. Merge pull request #81207 from aaronjanse/update-ulauncher-561

    ulauncher: 4.4.0.r1 -> 5.6.1
    worldofpeace authored Mar 27, 2020
    Copy the full SHA
    bee6c1a View commit details
  14. Copy the full SHA
    2a491a5 View commit details
  15. poetry2nix: 1.6.1 -> 1.7.0

    adisbladis committed Mar 27, 2020
    Copy the full SHA
    dda52a4 View commit details
  16. Copy the full SHA
    181ab9e View commit details
  17. x42-autotune: init at 0.6.1

    orivej committed Mar 27, 2020
    Copy the full SHA
    2f826a6 View commit details
  18. Merge pull request #83495 from romildo/upd.freeoffice

    freeoffice: 974 -> 976
    romildo authored Mar 27, 2020
    Copy the full SHA
    b101527 View commit details
  19. ion: 1.0.5 -> unstable-2020-03-22

    The app is still maintained upstream, but they aren't cutting releases on
    crates.io anymore:
    https://crates.io/crates/ion-shell
    
    This fixes the build with the latest Rust toolchain by upgrading to the current
    commit off the project's `master`.
    
    ZHF: #80379
    bhipple committed Mar 27, 2020
    Copy the full SHA
    16cdff0 View commit details
  20. poetry2nix: 1.7.0 -> 1.7.1

    adisbladis committed Mar 27, 2020
    Copy the full SHA
    aa2552c View commit details
  21. Copy the full SHA
    f76890f View commit details
  22. x42-autotune: remove

    It is a part of x42-plugins (under the name of x42-fat1).
    orivej committed Mar 27, 2020
    Copy the full SHA
    1475300 View commit details
  23. x42-avldrums: init at 0.4.1

    orivej committed Mar 27, 2020
    Copy the full SHA
    8a43a28 View commit details
  24. x42-gmsynth: init at 0.4.1

    orivej committed Mar 27, 2020
    Copy the full SHA
    0dae508 View commit details

Commits on Mar 28, 2020

  1. Merge pull request #83542 from bhipple/zhf/ion

    ion: 1.0.5 -> unstable-2020-03-22 and fix build
    worldofpeace authored Mar 28, 2020
    Copy the full SHA
    eddc4f3 View commit details
  2. pythonPackages.scikit-build: fix python3.8 bug

    Python3.8 removes ``platform.linux_distribution()`` call,
    must use ``pythonPackages.distro`` to get same information.
    Closes #83305
    Upstream PR: https://www.github.com/scikit-build/scikit-build/pull/458
    Also formatting.
    drewrisinger committed Mar 28, 2020
    Copy the full SHA
    c8dd834 View commit details
  3. Merge pull request #83526 from drewrisinger/dr-pr-python-scikit-build-38

    pythonPackages.scikit-build: fix test bug on python3.8
    bhipple authored Mar 28, 2020
    Copy the full SHA
    ae6bdcc View commit details
  4. Merge pull request #82998 from OPNA2608/update-rpcs3

    rpcs3: 0.0.6-8187-790962425 -> 0.0.8-9300-341fdf7eb
    bhipple authored Mar 28, 2020
    Copy the full SHA
    b96cdee View commit details
  5. nginx: Fix ETag patch to ignore realpath(3) error

    While our ETag patch works pretty fine if it comes to serving data off
    store paths, it unfortunately broke something that might be a bit more
    common, namely when using regexes to extract path components of
    location directives for example.
    
    Recently, @devhell has reported a bug with a nginx location directive
    like this:
    
      location ~^/\~([a-z0-9_]+)(/.*)?$" {
        alias /home/$1/public_html$2;
      }
    
    While this might look harmless at first glance, it does however cause
    issues with our ETag patch. The alias directive gets broken up by nginx
    like this:
    
      *2 http script copy: "/home/"
      *2 http script capture: "foo"
      *2 http script copy: "/public_html/"
      *2 http script capture: "bar.txt"
    
    In our patch however, we use realpath(3) to get the canonicalised path
    from ngx_http_core_loc_conf_s.root, which returns the *configured* value
    from the root or alias directive. So in the example above, realpath(3)
    boils down to the following syscalls:
    
      lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
      lstat("/home/$1", 0x7ffd08da6f60) = -1 ENOENT (No such file or directory)
    
    During my review[1] of the initial patch, I didn't actually notice that
    what we're doing here is returning NGX_ERROR if the realpath(3) call
    fails, which in turn causes an HTTP 500 error.
    
    Since our patch actually made the canonicalisation (and thus additional
    syscalls) necessary, we really shouldn't introduce an additional error
    so let's - at least for now - silently skip return value if realpath(3)
    has failed.
    
    However since we're using the unaltered root from the config we have
    another issue, consider this root:
    
      /nix/store/...-abcde/$1
    
    Calling realpath(3) on this path will fail (except if there's a file
    called "$1" of course), so even this fix is not enough because it
    results in the ETag not being set to the store path hash.
    
    While this is very ugly and we should fix this very soon, it's not as
    serious as getting HTTP 500 errors for serving static files.
    
    I added a small NixOS VM test, which uses the example above as a
    regression test.
    
    It seems that my memory is failing these days, since apparently I *knew*
    about this issue since digging for existing issues in nixpkgs, I found
    this similar pull request which I even reviewed:
    
    NixOS/nixpkgs#66532
    
    However, since the comments weren't addressed and the author hasn't
    responded to the pull request, I decided to keep this very commit and do
    a follow-up pull request.
    
    [1]: NixOS/nixpkgs#48337
    
    Signed-off-by: aszlig <aszlig@nix.build>
    Reported-by: @devhell
    Acked-by: @7c6f434c
    Acked-by: @yorickvP
    Merges: NixOS/nixpkgs#80671
    Fixes: NixOS/nixpkgs#66532
    aszlig committed Mar 28, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e1d63ad View commit details
  6. Merge pull request #83536 from zowoq/buildah

    buildah: 1.14.4 -> 1.14.5
    marsam authored Mar 28, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2c76b8f View commit details
  7. acme: fix darwin build

    Jonathan Ringer committed Mar 28, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    da41b78 View commit details
  8. onnxruntime: 1.1.2 -> 1.2.0

    Jonathan Ringer committed Mar 28, 2020
    Copy the full SHA
    d0f556a View commit details
  9. curaengine-lulzbot: fix build

    Mic92 committed Mar 28, 2020
    Copy the full SHA
    716aa1a View commit details
  10. Merge pull request #83463 from r-ryantm/auto-update/keycloak

    keycloak: 9.0.0 -> 9.0.2
    marsam authored Mar 28, 2020
    Copy the full SHA
    dccfefe View commit details
  11. Merge pull request #83547 from lopsided98/patch-1

    proj: use pname instead of name
    marsam authored Mar 28, 2020
    Copy the full SHA
    5dbb356 View commit details
  12. Merge pull request #83539 from r-ryantm/auto-update/python3.7-minidb

    python37Packages.minidb: 2.0.2 -> 2.0.3
    marsam authored Mar 28, 2020
    Copy the full SHA
    9b31568 View commit details
  13. Merge pull request #83538 from r-ryantm/auto-update/python2.7-fire

    python27Packages.fire: 0.2.1 -> 0.3.0
    marsam authored Mar 28, 2020
    Copy the full SHA
    f856191 View commit details
  14. jellyfin: 10.5.0 -> 10.5.2

    minijackson authored and Jon committed Mar 28, 2020
    Copy the full SHA
    3cff761 View commit details
  15. pianobooster: 0.6.4b -> 0.7.2b

    orivej committed Mar 28, 2020
    Copy the full SHA
    d80adaa View commit details
  16. zita-ajbridge: init at 0.8.2

    orivej committed Mar 28, 2020
    Copy the full SHA
    6cf0bc1 View commit details
  17. Revert "zita-ajbridge: init at 0.8.2"

    This reverts commit 6cf0bc1.
    
    This breaks evaluation:
    cc @orivej
    Mic92 committed Mar 28, 2020
    Copy the full SHA
    5f8bf63 View commit details
Showing with 554 additions and 218 deletions.
  1. +1 −0 nixos/tests/all-tests.nix
  2. +20 −0 nixos/tests/nginx-pubhtml.nix
  3. +18 −22 pkgs/applications/audio/pianobooster/default.nix
  4. +0 −11 pkgs/applications/audio/pianobooster/pianobooster-0.6.4b-cmake-gcc4.7.patch
  5. +0 −44 pkgs/applications/audio/pianobooster/pianobooster-0.6.4b-cmake.patch
  6. +31 −0 pkgs/applications/audio/x42-avldrums/default.nix
  7. +30 −0 pkgs/applications/audio/x42-gmsynth/default.nix
  8. +36 −0 pkgs/applications/audio/zita-at1/default.nix
  9. +3 −4 pkgs/applications/misc/cura/lulzbot/curaengine.nix
  10. +55 −0 pkgs/applications/misc/ulauncher/0001-Adjust-get_data_path-for-NixOS.patch
  11. +24 −13 pkgs/applications/misc/ulauncher/default.nix
  12. +13 −0 pkgs/applications/misc/ulauncher/fix-extensions.patch
  13. +12 −0 pkgs/applications/misc/ulauncher/fix-permissions.patch
  14. +2 −2 pkgs/applications/office/softmaker/freeoffice.nix
  15. +1 −0 pkgs/desktops/cinnamon/default.nix
  16. +46 −0 pkgs/desktops/cinnamon/mint-y-icons/default.nix
  17. +5 −0 pkgs/development/compilers/acme/default.nix
  18. +2 −2 pkgs/development/libraries/onnxruntime/default.nix
  19. +1 −1 pkgs/development/libraries/proj/default.nix
  20. +8 −7 pkgs/development/libraries/science/math/mkl/default.nix
  21. +68 −0 pkgs/development/python-modules/dipy/default.nix
  22. +2 −2 pkgs/development/python-modules/fire/default.nix
  23. +2 −2 pkgs/development/python-modules/minidb/default.nix
  24. +58 −11 pkgs/development/python-modules/scikit-build/default.nix
  25. +2 −2 pkgs/development/tools/buildah/default.nix
  26. +11 −6 pkgs/development/tools/poetry2nix/poetry2nix/bin/poetry2nix
  27. +2 −1 pkgs/development/tools/poetry2nix/poetry2nix/default.nix
  28. +2 −0 pkgs/development/tools/poetry2nix/poetry2nix/mk-poetry-dep.nix
  29. +54 −48 pkgs/development/tools/poetry2nix/poetry2nix/overrides.nix
  30. +9 −9 pkgs/misc/emulators/rpcs3/default.nix
  31. +15 −14 pkgs/servers/http/nginx/nix-etag-1.15.4.patch
  32. +2 −2 pkgs/servers/jellyfin/default.nix
  33. +3 −2 pkgs/servers/keycloak/default.nix
  34. +6 −11 pkgs/shells/ion/default.nix
  35. +8 −2 pkgs/top-level/all-packages.nix
  36. +2 −0 pkgs/top-level/python-packages.nix
1 change: 1 addition & 0 deletions nixos/tests/all-tests.nix
Original file line number Diff line number Diff line change
@@ -211,6 +211,7 @@ in
nghttpx = handleTest ./nghttpx.nix {};
nginx = handleTest ./nginx.nix {};
nginx-etag = handleTest ./nginx-etag.nix {};
nginx-pubhtml = handleTest ./nginx-pubhtml.nix {};
nginx-sso = handleTest ./nginx-sso.nix {};
nix-ssh-serve = handleTest ./nix-ssh-serve.nix {};
nixos-generate-config = handleTest ./nixos-generate-config.nix {};
20 changes: 20 additions & 0 deletions nixos/tests/nginx-pubhtml.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import ./make-test-python.nix {
name = "nginx-pubhtml";

machine = { pkgs, ... }: {
services.nginx.enable = true;
services.nginx.virtualHosts.localhost = {
locations."~ ^/\\~([a-z0-9_]+)(/.*)?$".alias = "/home/$1/public_html$2";
};
users.users.foo.isNormalUser = true;
};

testScript = ''
machine.wait_for_unit("nginx")
machine.wait_for_open_port(80)
machine.succeed("chmod 0711 /home/foo")
machine.succeed("su -c 'mkdir -p /home/foo/public_html' foo")
machine.succeed("su -c 'echo bar > /home/foo/public_html/bar.txt' foo")
machine.succeed('test "$(curl -fvvv http://localhost/~foo/bar.txt)" = bar')
'';
}
40 changes: 18 additions & 22 deletions pkgs/applications/audio/pianobooster/default.nix
Original file line number Diff line number Diff line change
@@ -1,35 +1,31 @@
{ stdenv, fetchurl, alsaLib, cmake, libGLU, libGL, makeWrapper, qt4 }:
{ stdenv, fetchFromGitHub, cmake, pkg-config, qttools
, alsaLib, ftgl, libGLU, libjack2, qtbase, rtmidi
}:

stdenv.mkDerivation {
stdenv.mkDerivation rec {
pname = "pianobooster";
version = "0.6.4b";
version = "0.7.2b";

src = fetchurl {
url = "mirror://sourceforge/pianobooster/pianobooster-src-0.6.4b.tar.gz";
sha256 = "1xwyap0288xcl0ihjv52vv4ijsjl0yq67scc509aia4plmlm6l35";
src = fetchFromGitHub {
owner = "captnfab";
repo = "PianoBooster";
rev = "v${version}";
sha256 = "03xcdnlpsij22ca3i6xj19yqzn3q2ch0d32r73v0c96nm04gvhjj";
};

patches = [
./pianobooster-0.6.4b-cmake.patch
./pianobooster-0.6.4b-cmake-gcc4.7.patch
];

preConfigure = "cd src";
nativeBuildInputs = [ cmake pkg-config qttools ];

buildInputs = [ alsaLib cmake makeWrapper libGLU libGL qt4 ];
NIX_LDFLAGS = "-lGL -lpthread";
buildInputs = [ alsaLib ftgl libGLU libjack2 qtbase rtmidi ];

postInstall = ''
wrapProgram $out/bin/pianobooster \
--prefix LD_LIBRARY_PATH : ${libGL}/lib \
--prefix LD_LIBRARY_PATH : ${libGLU}/lib
'';
cmakeFlags = [
"-DOpenGL_GL_PREFERENCE=GLVND"
];

meta = with stdenv.lib; {
description = "A MIDI file player that teaches you how to play the piano";
homepage = http://pianobooster.sourceforge.net;
license = licenses.gpl3;
homepage = https://github.com/captnfab/PianoBooster;
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = [ maintainers.goibhniu ];
maintainers = with maintainers; [ goibhniu orivej ];
};
}

This file was deleted.

This file was deleted.

31 changes: 31 additions & 0 deletions pkgs/applications/audio/x42-avldrums/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{ stdenv, fetchFromGitHub, pkgconfig, cairo, glib, libGLU, lv2, pango }:

stdenv.mkDerivation rec {
pname = "x42-avldrums";
version = "0.4.1";

src = fetchFromGitHub {
owner = "x42";
repo = "avldrums.lv2";
rev = "v${version}";
sha256 = "1vwdp3d8qzd493qa99ddya7iql67bbfxmbcl8hk96lxif2lhmyws";
fetchSubmodules = true;
};

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cairo glib libGLU lv2 pango ];

makeFlags = [
"PREFIX=$(out)"
];

enableParallelBuilding = true;

meta = with stdenv.lib; {
description = "Drum sample player LV2 plugin dedicated to Glen MacArthur's AVLdrums";
homepage = https://x42-plugins.com/x42/x42-avldrums;
maintainers = with maintainers; [ orivej ];
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}
30 changes: 30 additions & 0 deletions pkgs/applications/audio/x42-gmsynth/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub, pkgconfig, glib, lv2 }:

stdenv.mkDerivation rec {
pname = "x42-gmsynth";
version = "0.4.1";

src = fetchFromGitHub {
owner = "x42";
repo = "gmsynth.lv2";
rev = "v${version}";
sha256 = "08dvdj8r17sfl6l18g2b8abgls2irkbrq5vhrfai01hp2m0rlm34";
};

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib lv2 ];

makeFlags = [
"PREFIX=$(out)"
];

enableParallelBuilding = true;

meta = with stdenv.lib; {
description = "Chris Colins' General User soundfont player LV2 plugin";
homepage = https://x42-plugins.com/x42/x42-gmsynth;
maintainers = with maintainers; [ orivej ];
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}
36 changes: 36 additions & 0 deletions pkgs/applications/audio/zita-at1/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{ stdenv, fetchurl
, cairo, fftwSinglePrec, libX11, libXft, libclthreads, libclxclient, libjack2
, xorgproto, zita-resampler
}:

stdenv.mkDerivation rec {
name = "zita-at1-0.6.2";

src = fetchurl {
url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
sha256 = "0mxfn61zvhlq3r1mqipyqzjbanrfdkk8x4nxbz8nlbdk0bf3vfqr";
};

buildInputs = [
cairo fftwSinglePrec libX11 libXft libclthreads libclxclient libjack2
xorgproto zita-resampler
];

preConfigure = ''
cd ./source/
'';

makeFlags = [
"PREFIX=$(out)"
];

enableParallelBuilding = true;

meta = with stdenv.lib; {
description = "Autotuner Jack application to correct the pitch of vocal tracks";
homepage = https://kokkinizita.linuxaudio.org/linuxaudio/index.html;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ orivej ];
platforms = platforms.linux;
};
}
7 changes: 3 additions & 4 deletions pkgs/applications/misc/cura/lulzbot/curaengine.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, callPackage, fetchgit, fetchpatch, cmake, libarcusLulzbot, stb, protobuf }:
{ gcc8Stdenv, callPackage, fetchgit, fetchpatch, cmake, libarcusLulzbot, stb, protobuf }:

stdenv.mkDerivation rec {
gcc8Stdenv.mkDerivation rec {
pname = "curaengine-lulzBot";
version = "3.6.21";

@@ -15,12 +15,11 @@ stdenv.mkDerivation rec {

cmakeFlags = [ "-DCURA_ENGINE_VERSION=${version}" ];

meta = with stdenv.lib; {
meta = with gcc8Stdenv.lib; {
description = "A powerful, fast and robust engine for processing 3D models into 3D printing instruction";
homepage = https://code.alephobjects.com/source/curaengine-lulzbot/;
license = licenses.agpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ chaduffy ];
};
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
From 86cc27022015697a61d1ec1b13e52f9dbe7f6c57 Mon Sep 17 00:00:00 2001
From: worldofpeace <worldofpeace@protonmail.ch>
Date: Mon, 23 Mar 2020 18:34:00 -0400
Subject: [PATCH] Adjust get_data_path for NixOS

We construct the ulauncher data path from xdg_data_dirs
and prevent it from being a nix store path or being xdg_data_home.
We do this to prevent /nix/store paths being hardcoded to shortcuts.json.
On NixOS this path will either be /run/current-system/sw/share/ulauncher
or $HOME/.nix-profile/share/ulauncher if the user used nix-env.
---
ulauncher/config.py | 27 ++++++++++++++++++---------
1 file changed, 18 insertions(+), 9 deletions(-)

diff --git a/ulauncher/config.py b/ulauncher/config.py
index f21014e..cc636e1 100644
--- a/ulauncher/config.py
+++ b/ulauncher/config.py
@@ -50,15 +50,24 @@ def get_data_path():
is specified at installation time.
"""

- # Get pathname absolute or relative.
- path = os.path.join(
- os.path.dirname(__file__), __ulauncher_data_directory__)
-
- abs_data_path = os.path.abspath(path)
- if not os.path.exists(abs_data_path):
- raise ProjectPathNotFoundError(abs_data_path)
-
- return abs_data_path
+ paths = list(
+ filter(
+ os.path.exists,
+ [
+ os.path.join(dir, "ulauncher")
+ for dir in xdg_data_dirs
+ # Get path that isn't in the /nix/store so they don't get hardcoded into configs
+ if not dir.startswith("/nix/store/")
+ # Exclude .local/share/ulauncher which isn't what we want
+ if not dir.startswith(xdg_data_home)
+ ],
+ )
+ )
+
+ try:
+ return paths[0]
+ except:
+ raise ProjectPathNotFoundError()


def is_wayland():
--
2.25.1

Loading