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: f072cfe1ebff
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: 2cd0061bbda3
Choose a head ref

Commits on Jan 2, 2019

  1. Copy the full SHA
    420b83b View commit details

Commits on Jan 22, 2019

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ea02ddc View commit details

Commits on Jan 26, 2019

  1. qt59: 5.9.3 -> 5.9.7

    FlorianFranzen committed Jan 26, 2019
    Copy the full SHA
    776c962 View commit details

Commits on Jan 28, 2019

  1. pdns-recursor: 4.1.8 -> 4.1.10

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/pdns-recursor/versions
    r-ryantm committed Jan 28, 2019
    Copy the full SHA
    48b40d0 View commit details
  2. nyx: 2.0.4 -> 2.1.0

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/nyx/versions
    r-ryantm committed Jan 28, 2019
    Copy the full SHA
    4370930 View commit details
  3. Copy the full SHA
    d80651d View commit details
  4. kakoune: 2018.10.27 -> 2019.01.20

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/kakoune-unstable/versions
    r-ryantm committed Jan 28, 2019
    Copy the full SHA
    955f212 View commit details
  5. isso: 0.11.1 -> 0.12.2

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/isso/versions
    r-ryantm committed Jan 28, 2019
    Copy the full SHA
    5a35483 View commit details
  6. minishift: 1.29.0 -> 1.30.0

    Signed-off-by: Vincent Demeester <vincent@sbr.pm>
    vdemeester committed Jan 28, 2019
    Copy the full SHA
    a827b02 View commit details

Commits on Jan 29, 2019

  1. Revert "qt59-qtbase: fix darwin build with clang-5"

    The fix is already included in Qt 5.9.7
    
    This reverts commit 0bf153f.
    veprbl committed Jan 29, 2019
    Copy the full SHA
    fd75bbc View commit details
  2. Copy the full SHA
    89f79a5 View commit details
  3. Merge pull request #53245 from Izorkin/zsh-syntaxHighlighting

    zsh.syntaxHighlighting: add option to customize styles
    grahamc authored Jan 29, 2019
    Copy the full SHA
    0fe1645 View commit details
  4. elixir: remember where a package is defined

    A bunch of human-facing things around Nixpkgs depend on knowing where
    a package was defined. This PR makes it so ofborg can ping elixir
    maintainers.
    grahamc committed Jan 29, 2019
    Copy the full SHA
    18993b3 View commit details
  5. Merge pull request #54892 from grahamc/elixer-maintainer-ping

    elixir: remember where a package is defined
    grahamc authored Jan 29, 2019
    Copy the full SHA
    fb7ffda View commit details
  6. Merge pull request #54692 from Anton-Latukha/fetchFromGitHub-clementine

    clementine: use fetchFromGitHub
    infinisil authored Jan 29, 2019
    Copy the full SHA
    c1a44bd View commit details
  7. nginx-sso: init at 0.15.1

    delroth committed Jan 29, 2019
    Copy the full SHA
    aa000aa View commit details
  8. nixos: add nginx-sso service

    delroth committed Jan 29, 2019
    Copy the full SHA
    43fcfc2 View commit details
  9. Copy the full SHA
    20b1feb View commit details
  10. Merge pull request #54475 from Izorkin/mysql-restartTrigger

    mysql: add restartTrigger for my.cnf
    infinisil authored Jan 29, 2019
    Copy the full SHA
    997cd31 View commit details
  11. Merge pull request #53002 from delroth/nginx-sso

    nginx-sso: init at 0.15.1 (+ nixos service/test)
    infinisil authored Jan 29, 2019
    Copy the full SHA
    400912d View commit details
  12. LTS Haskell 13.5

    peti committed Jan 29, 2019
    Copy the full SHA
    4a1c5ee View commit details
  13. hackage2nix: disable broken builds on Hydra

    @gridaphobe: ghc-srcspan-plugin has been broken for quite a while now.
    peti committed Jan 29, 2019
    Copy the full SHA
    be1cae3 View commit details
  14. hackage-packages.nix: automatic Haskell package set update

    This update was generated by hackage2nix v2.13-1-gda47f40 from Hackage revision
    commercialhaskell/all-cabal-hashes@01238f9.
    peti committed Jan 29, 2019
    Copy the full SHA
    f3dc051 View commit details
  15. ghcjs: mark compiler builds as broken

    These builds have been failing for a long time ...
    peti committed Jan 29, 2019
    Copy the full SHA
    3b1158c View commit details
  16. vimPlugins: update (#54889)

    Auto-generated update.
    timokau authored Jan 29, 2019
    Copy the full SHA
    2564e78 View commit details
  17. Merge pull request #54814 from vdemeester/update-minishift

    minishift: 1.29.0 -> 1.30.0
    infinisil authored Jan 29, 2019
    Copy the full SHA
    c6d3297 View commit details
  18. Copy the full SHA
    eaf0b5e View commit details
  19. Merge pull request #54794 from r-ryantm/auto-update/isso

    isso: 0.11.1 -> 0.12.2
    infinisil authored Jan 29, 2019
    Copy the full SHA
    35faffe View commit details
  20. Merge pull request #54787 from FlorianFranzen/qt59

    qt59: 5.9.3 -> 5.9.7
    veprbl authored Jan 29, 2019
    Copy the full SHA
    571e44b View commit details
  21. Merge pull request #54790 from r-ryantm/auto-update/kakoune-unstable

    kakoune: 2018.10.27 -> 2019.01.20
    infinisil authored Jan 29, 2019
    Copy the full SHA
    9c507b4 View commit details
  22. Merge pull request #54769 from tadeokondrak/update-libratbag

    libratbag: 0.9.903 -> 0.9.904
    infinisil authored Jan 29, 2019
    Copy the full SHA
    96c9575 View commit details
  23. Merge pull request #54758 from r-ryantm/auto-update/nyx

    nyx: 2.0.4 -> 2.1.0
    infinisil authored Jan 29, 2019
    Copy the full SHA
    346aff1 View commit details
  24. Merge pull request #54754 from r-ryantm/auto-update/pdns-recursor

    pdns-recursor: 4.1.8 -> 4.1.10
    infinisil authored Jan 29, 2019
    Copy the full SHA
    7897dad View commit details
  25. Copy the full SHA
    2cd0061 View commit details
1 change: 1 addition & 0 deletions nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
@@ -681,6 +681,7 @@
./services/security/hologram-server.nix
./services/security/hologram-agent.nix
./services/security/munge.nix
./services/security/nginx-sso.nix
./services/security/oauth2_proxy.nix
./services/security/oauth2_proxy_nginx.nix
./services/security/physlock.nix
22 changes: 22 additions & 0 deletions nixos/modules/programs/zsh/zsh-syntax-highlighting.nix
Original file line number Diff line number Diff line change
@@ -48,6 +48,23 @@ in
https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/pattern.md
'';
};
styles = mkOption {
default = {};
type = types.attrsOf types.string;

example = literalExample ''
{
"alias" = "fg=magenta,bold";
}
'';

description = ''
Specifies custom styles to be highlighted by zsh-syntax-highlighting.
Please refer to the docs for more information about the usage:
https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/main.md
'';
};
};
};

@@ -73,6 +90,11 @@ in
pattern: design:
"ZSH_HIGHLIGHT_PATTERNS+=('${pattern}' '${design}')"
) cfg.patterns)
++ optionals (length(attrNames cfg.styles) > 0)
(mapAttrsToList (
styles: design:
"ZSH_HIGHLIGHT_STYLES[${styles}]='${design}'"
) cfg.styles)
);
};
}
1 change: 1 addition & 0 deletions nixos/modules/services/databases/mysql.nix
Original file line number Diff line number Diff line change
@@ -249,6 +249,7 @@ in

after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
restartTriggers = [ config.environment.etc."my.cnf".source ];

unitConfig.RequiresMountsFor = "${cfg.dataDir}";

58 changes: 58 additions & 0 deletions nixos/modules/services/security/nginx-sso.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{ config, lib, pkgs, ... }:

with lib;

let
cfg = config.services.nginx.sso;
pkg = getBin pkgs.nginx-sso;
configYml = pkgs.writeText "nginx-sso.yml" (builtins.toJSON cfg.configuration);
in {
options.services.nginx.sso = {
enable = mkEnableOption "nginx-sso service";

configuration = mkOption {
type = types.attrsOf types.unspecified;
default = {};
example = literalExample ''
{
listen = { addr = "127.0.0.1"; port = 8080; };
providers.token.tokens = {
myuser = "MyToken";
};
acl = {
rule_sets = [
{
rules = [ { field = "x-application"; equals = "MyApp"; } ];
allow = [ "myuser" ];
}
];
};
}
'';
description = ''
nginx-sso configuration
(<link xlink:href="https://github.com/Luzifer/nginx-sso/wiki/Main-Configuration">documentation</link>)
as a Nix attribute set.
'';
};
};

config = mkIf cfg.enable {
systemd.services.nginx-sso = {
description = "Nginx SSO Backend";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = ''
${pkg}/bin/nginx-sso \
--config ${configYml} \
--frontend-dir ${pkg}/share/frontend
'';
Restart = "always";
DynamicUser = true;
};
};
};
}
1 change: 1 addition & 0 deletions nixos/tests/all-tests.nix
Original file line number Diff line number Diff line change
@@ -153,6 +153,7 @@ in
nfs4 = handleTest ./nfs.nix { version = 4; };
nghttpx = handleTest ./nghttpx.nix {};
nginx = handleTest ./nginx.nix {};
nginx-sso = handleTest ./nginx-sso.nix {};
nix-ssh-serve = handleTest ./nix-ssh-serve.nix {};
novacomd = handleTestOn ["x86_64-linux"] ./novacomd.nix {};
nsd = handleTest ./nsd.nix {};
44 changes: 44 additions & 0 deletions nixos/tests/nginx-sso.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
import ./make-test.nix ({ pkgs, ... }: {
name = "nginx-sso";
meta = {
maintainers = with pkgs.stdenv.lib.maintainers; [ delroth ];
};

machine = {
services.nginx.sso = {
enable = true;
configuration = {
listen = { addr = "127.0.0.1"; port = 8080; };

providers.token.tokens = {
myuser = "MyToken";
};

acl = {
rule_sets = [
{
rules = [ { field = "x-application"; equals = "MyApp"; } ];
allow = [ "myuser" ];
}
];
};
};
};
};

testScript = ''
startAll;
$machine->waitForUnit("nginx-sso.service");
$machine->waitForOpenPort(8080);
# No valid user -> 401.
$machine->fail("curl -sSf http://localhost:8080/auth");
# Valid user but no matching ACL -> 403.
$machine->fail("curl -sSf -H 'Authorization: Token MyToken' http://localhost:8080/auth");
# Valid user and matching ACL -> 200.
$machine->succeed("curl -sSf -H 'Authorization: Token MyToken' -H 'X-Application: MyApp' http://localhost:8080/auth");
'';
})
12 changes: 7 additions & 5 deletions pkgs/applications/audio/clementine/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch, boost, cmake, chromaprint, gettext, gst_all_1, liblastfm
{ stdenv, fetchFromGitHub, fetchpatch, boost, cmake, chromaprint, gettext, gst_all_1, liblastfm
, qt4, taglib, fftw, glew, qjson, sqlite, libgpod, libplist, usbmuxd, libmtp
, libpulseaudio, gvfs, libcdio, libechonest, libspotify, pcre, projectm, protobuf
, qca2, pkgconfig, sparsehash, config, makeWrapper, gst_plugins }:
@@ -11,14 +11,16 @@ let

version = "1.3.1";

src = fetchurl {
url = https://github.com/clementine-player/Clementine/archive/1.3.1.tar.gz;
sha256 = "0z7k73wyz54c3020lb6x2dgw0vz4ri7wcl3vs03qdj5pk8d971gq";
src = fetchFromGitHub {
owner = "clementine-player";
repo = "Clementine";
rev = version;
sha256 = "0i3jkfs8dbfkh47jq3cnx7pip47naqg7w66vmfszk4d8vj37j62j";
};

patches = [
./clementine-spotify-blob.patch
# Required so as to avoid adding libspotify as a build dependency (as it is
# Required so as to avoid adding libspotify as a build dependency (as it is
# unfree and thus would prevent us from having a free package).
./clementine-spotify-blob-remove-from-build.patch
(fetchpatch {
4 changes: 2 additions & 2 deletions pkgs/applications/editors/eclipse/plugins.nix
Original file line number Diff line number Diff line change
@@ -555,12 +555,12 @@ rec {

spotbugs = buildEclipseUpdateSite rec {
name = "spotbugs-${version}";
version = "3.1.10";
version = "3.1.11";

src = fetchzip {
stripRoot = false;
url = "https://github.com/spotbugs/spotbugs/releases/download/${version}/eclipsePlugin.zip";
sha256 = "0xrflgw0h05z3za784ach2fx6dh04lgmfr426m1q235vv2ibds5y";
sha256 = "0aanqwx3gy1arpbkqd846381hiy6272lzwhfjl94x8jhfykpqqbj";
};

meta = with stdenv.lib; {
4 changes: 2 additions & 2 deletions pkgs/applications/editors/kakoune/default.nix
Original file line number Diff line number Diff line change
@@ -4,12 +4,12 @@ with stdenv.lib;

stdenv.mkDerivation rec {
name = "kakoune-unstable-${version}";
version = "2018.10.27";
version = "2019.01.20";
src = fetchFromGitHub {
repo = "kakoune";
owner = "mawww";
rev = "v${version}";
sha256 = "1w7jmq57h8gxxbzg0n3lgd6cci77xb9mziy6lr8330nzqc85zp9p";
sha256 = "04ak1jm7b1i03sx10z3fxw08rn692y2fj482jn5kpzfzj91b2ila";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ncurses asciidoc docbook_xsl libxslt ];
6 changes: 3 additions & 3 deletions pkgs/applications/networking/cluster/minishift/default.nix
Original file line number Diff line number Diff line change
@@ -4,10 +4,10 @@
}:

let
version = "1.29.0";
version = "1.30.0";

# Update these on version bumps according to Makefile
centOsIsoVersion = "v1.13.0";
centOsIsoVersion = "v1.14.0";
openshiftVersion = "v3.11.0";

in buildGoPackage rec {
@@ -18,7 +18,7 @@ in buildGoPackage rec {
owner = "minishift";
repo = "minishift";
rev = "v${version}";
sha256 = "17scvv60hgk7s9fy4s9z26sc8a69ryh33rhr1f7p92kb5wfh2x40";
sha256 = "0p7g7r4m3brssy2znw7pd60aph6m6absqy23x88c07n5n4mv9wj8";
};

nativeBuildInputs = [ pkgconfig go-bindata makeWrapper ];
3 changes: 3 additions & 0 deletions pkgs/development/compilers/ghcjs-ng/default.nix
Original file line number Diff line number Diff line change
@@ -104,4 +104,7 @@ in stdenv.mkDerivation {
inherit passthru;

meta.platforms = passthru.bootPkgs.ghc.meta.platforms;
meta.hydraPlatforms = [];
meta.broken = true; # does not compile: https://hydra.nixos.org/build/88052615

}
Loading