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: 256deeb33e41
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: 327f7da2607d
Choose a head ref

Commits on Dec 15, 2018

  1. manuskript: 0.3.0 -> 0.8.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/manuskript/versions
    r-ryantm committed Dec 15, 2018
    Copy the full SHA
    53aec10 View commit details
  2. mruby: 1.4.1 -> 2.0.0

    marsam committed Dec 15, 2018
    Copy the full SHA
    a70c4c1 View commit details
  3. librealsense: 2.16.4 -> 2.17.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/librealsense/versions
    r-ryantm committed Dec 15, 2018
    Copy the full SHA
    79a5a76 View commit details

Commits on Dec 19, 2018

  1. clickhouse: 18.14.9 -> 18.14.18

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/clickhouse/versions
    r-ryantm authored and Ma27 committed Dec 19, 2018
    Copy the full SHA
    e5d6f9e View commit details
  2. fwts: 18.11.00 -> 18.12.00

    dtzWill committed Dec 19, 2018
    Copy the full SHA
    926965d View commit details
  3. Copy the full SHA
    76127c3 View commit details

Commits on Dec 20, 2018

  1. clickhouse: fix module and package runtime

    Although the package itself builds fine, the module fails because it
    tries to log into a non-existant file in `/var/log` which breaks the
    service. Patching to default config to log to stdout by default fixes
    the issue. Additionally this is the better solution as NixOS heavily
    relies on systemd (and thus journald) for logging.
    
    Also, the runtime relies on `/etc/localtime` to start, as it's not
    required by the module system we set UTC as sensitive default when using
    the module.
    
    To ensure that the service's basic functionality is available, a simple
    NixOS test has been added.
    Ma27 committed Dec 20, 2018
    Copy the full SHA
    64d05bb View commit details
  2. Copy the full SHA
    72eae72 View commit details
  3. gcompris: 0.91 -> 0.95

    guibou committed Dec 20, 2018
    Copy the full SHA
    2141b4a View commit details
  4. Copy the full SHA
    ce66baa View commit details
  5. Copy the full SHA
    843b40f View commit details
  6. Copy the full SHA
    551ffcc View commit details
  7. Copy the full SHA
    4043e15 View commit details
  8. linux: 4.19.10 -> 4.19.11

    NeQuissimus committed Dec 20, 2018
    Copy the full SHA
    1b84b9f View commit details
  9. Copy the full SHA
    ca0c253 View commit details
  10. Copy the full SHA
    d5fe466 View commit details
  11. Merge pull request #52558 from Ericson2314/openspades-darwin

    openspades: Fix Darwin build
    Ericson2314 authored Dec 20, 2018
    Copy the full SHA
    8a3ad1c View commit details
  12. Merge pull request #52569 from alyssais/qyliss-ruby

    Make myself a Ruby maintainer
    Mic92 authored Dec 20, 2018
    Copy the full SHA
    6bcfd5c View commit details
  13. Merge pull request #52566 from LumiGuide/fix-openblas-darwin

    openblas: fix build on x86_64-darwin
    Mic92 authored Dec 20, 2018
    Copy the full SHA
    e166aca View commit details
  14. Merge pull request #52345 from r-ryantm/auto-update/clickhouse

    clickhouse: 18.14.9 -> 18.14.18
    Ma27 authored Dec 20, 2018
    Copy the full SHA
    87ebc2a View commit details
  15. Merge pull request #52538 from dtzWill/update/fwts-18.12.00

    fwts: 18.11.00 -> 18.12.00
    Ma27 authored Dec 20, 2018
    Copy the full SHA
    66bea3d View commit details
  16. Merge pull request #52222 from r-ryantm/auto-update/librealsense

    librealsense: 2.16.4 -> 2.17.0
    Ma27 authored Dec 20, 2018
    Copy the full SHA
    539679f View commit details
  17. allegro5: fix build for mesa 18.2.5

    mesa 18.2.5, introduced in 6b490ee
    changed some private headers, that allegro is relying on. This fix backports
    the relevant commit from allegro upstream
    
    cc @7c6f434c
    bendlas committed Dec 20, 2018
    Copy the full SHA
    d06770b View commit details
  18. Merge pull request #52567 from guibou/gcompris-0.95

    gcompris: 0.91 -> 0.95
    Mic92 authored Dec 20, 2018
    Copy the full SHA
    1bb5662 View commit details
  19. Merge pull request #52570 from tg-x/tparsec-2018-11-09

    idrisPackages.tparsec: 2018-06-26 -> 2018-11-09
    Mic92 authored Dec 20, 2018
    Copy the full SHA
    eaeb20d View commit details
  20. Merge pull request #52214 from marsam/update-mruby

    mruby: 1.4.1 -> 2.0.0
    Ma27 authored Dec 20, 2018
    Copy the full SHA
    f7daa8e View commit details
  21. Merge pull request #52194 from r-ryantm/auto-update/manuskript

    manuskript: 0.3.0 -> 0.8.0
    Ma27 authored Dec 20, 2018
    Copy the full SHA
    6ad7f4d View commit details
  22. Copy the full SHA
    327f7da View commit details
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -69,8 +69,8 @@
/pkgs/development/r-modules @peti

# Ruby
/pkgs/development/interpreters/ruby @zimbatm
/pkgs/development/ruby-modules @zimbatm
/pkgs/development/interpreters/ruby @alyssais @zimbatm
/pkgs/development/ruby-modules @alyssais @zimbatm

# Rust
/pkgs/development/compilers/rust @Mic92 @LnL7
5 changes: 5 additions & 0 deletions nixos/modules/services/databases/clickhouse.nix
Original file line number Diff line number Diff line change
@@ -70,6 +70,11 @@ with lib;
};
};

environment.systemPackages = [ pkgs.clickhouse ];

# startup requires a `/etc/localtime` which only if exists if `time.timeZone != null`
time.timeZone = mkDefault "UTC";

};

}
1 change: 1 addition & 0 deletions nixos/tests/all-tests.nix
Original file line number Diff line number Diff line change
@@ -39,6 +39,7 @@ in
cfssl = handleTestOn ["x86_64-linux"] ./cfssl.nix {};
chromium = (handleTestOn ["x86_64-linux"] ./chromium.nix {}).stable or {};
cjdns = handleTest ./cjdns.nix {};
clickhouse = handleTest ./clickhouse.nix {};
cloud-init = handleTest ./cloud-init.nix {};
codimd = handleTest ./codimd.nix {};
containers-bridge = handleTest ./containers-bridge.nix {};
25 changes: 25 additions & 0 deletions nixos/tests/clickhouse.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import ./make-test.nix ({ pkgs, ... }: {
name = "clickhouse";
meta.maintainers = with pkgs.stdenv.lib.maintainers; [ ma27 ];

machine = {
services.clickhouse.enable = true;
};

testScript =
let
# work around quote/substitution complexity by Nix, Perl, bash and SQL.
tableDDL = pkgs.writeText "ddl.sql" "CREATE TABLE `demo` (`value` FixedString(10)) engine = MergeTree PARTITION BY value ORDER BY tuple();";
insertQuery = pkgs.writeText "insert.sql" "INSERT INTO `demo` (`value`) VALUES ('foo');";
selectQuery = pkgs.writeText "select.sql" "SELECT * from `demo`";
in
''
$machine->start();
$machine->waitForUnit("clickhouse.service");
$machine->waitForOpenPort(9000);
$machine->succeed("cat ${tableDDL} | clickhouse-client");
$machine->succeed("cat ${insertQuery} | clickhouse-client");
$machine->succeed("cat ${selectQuery} | clickhouse-client | grep foo");
'';
})
4 changes: 2 additions & 2 deletions pkgs/applications/editors/manuskript/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

python3Packages.buildPythonApplication rec {
pname = "manuskript";
version = "0.3.0";
version = "0.8.0";

src = fetchFromGitHub {
repo = pname;
owner = "olivierkes";
rev = version;
sha256 = "0bqxc4a8kyi6xz1zs0dp85wxl9h4v8lzc6073bbcsn1zg4y59ys7";
sha256 = "0vqz02p3m9n4hk2jplnklr9s6niqdm5iykab6nblqdm4plb04c34";
};

propagatedBuildInputs = [
18 changes: 9 additions & 9 deletions pkgs/applications/networking/browsers/chromium/upstream-info.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# This file is autogenerated from update.sh in the same directory.
{
beta = {
sha256 = "03ddfxxzh8pxil9n28y8nkzl8x0kb5bzzjy4mihg448dflh3anq2";
sha256bin64 = "147lh1way8db0j0m6wbpfzmfsvvlsjb29cjgf7s9hljb00wqv6ay";
version = "71.0.3578.80";
sha256 = "1xcdbf5yia3xm0kil0gyd1mlj3m902w1px3lzpdqv31mr2lzaz08";
sha256bin64 = "0pcbz3201nyl07psdxwphb3z9shqj4crj16f97xclyvjnwpl1jnp";
version = "72.0.3626.28";
};
dev = {
sha256 = "0whw1kq5gd07k061ycfdn7bygahbl6zqa54wkz2lqh73yknbbnj4";
sha256bin64 = "0hlfzzf7kx90jw0zin685c4haiv262hf9a4sj6fmb2yhj21hbp87";
version = "72.0.3622.0";
sha256 = "1vlpcafg3xx6bpnf74xs6ifqjbpb5bpxp10r55w4784yr57pmhq3";
sha256bin64 = "02y974zbxy1gbiv9q8hp7nfl0l5frn35ggmgc44g90pbry48h8rg";
version = "73.0.3642.0";
};
stable = {
sha256 = "03ddfxxzh8pxil9n28y8nkzl8x0kb5bzzjy4mihg448dflh3anq2";
sha256bin64 = "1rnw3whn2aaxxb4w3s2nf0wb91qjrq099550j42wig7xa71j6rz4";
version = "71.0.3578.80";
sha256 = "0icxdg4fvz30jzq0xvl11zlwc9anb3lr9lb8sn1lqxr513isjmhw";
sha256bin64 = "07kiqx5bpk54il0ynxl61bs5yscxb470q2bw3sx6cxjbhmnvbcn2";
version = "71.0.3578.98";
};
}
4 changes: 2 additions & 2 deletions pkgs/development/compilers/mruby/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

stdenv.mkDerivation rec {
name = "mruby-${version}";
version = "1.4.1";
version = "2.0.0";

src = fetchFromGitHub {
owner = "mruby";
repo = "mruby";
rev = version;
sha256 = "0pw72acbqgs4n1qa297nnja23v9hxz9g7190yfx9kwm7mgbllmww";
sha256 = "1r6w1asjshff43ymdwa6xmrkggza99mi2kw88k7ic6ag2j81hcj5";
};

patches = [
6 changes: 3 additions & 3 deletions pkgs/development/idris-modules/tparsec.nix
Original file line number Diff line number Diff line change
@@ -4,15 +4,15 @@
}:
build-idris-package {
name = "tparsec";
version = "2018-06-26";
version = "2018-11-09";

ipkgName = "TParsec";

src = fetchFromGitHub {
owner = "gallais";
repo = "idris-tparsec";
rev = "ca32d1a83f3de95f8979d48016e79d010f47b3c2";
sha256 = "1zjzk8xjmyyx1qwrdwwg7yjzcgj5wkbwpx8a3wpbj5sv4b5s2r30";
rev = "fc5bc1e0bf21a53ec854990ed799c4c73e304b06";
sha256 = "0ladks6x1qhs884w4rsxnzpq8dpijyqfqbvhk55kq10xh6w1smrz";
};

meta = {
12 changes: 10 additions & 2 deletions pkgs/development/libraries/allegro/5.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, texinfo, libXext, xextproto, libX11, xproto
{ stdenv, fetchFromGitHub, fetchpatch, texinfo, libXext, xextproto, libX11, xproto
, libXpm, libXt, libXcursor, alsaLib, cmake, zlib, libpng, libvorbis
, libXxf86dga, libXxf86misc, xf86dgaproto, xf86miscproto
, xf86vidmodeproto, libXxf86vm, openal, libGLU_combined, kbproto, libjpeg, flac
@@ -28,7 +28,15 @@ stdenv.mkDerivation rec {
libpulseaudio libpthreadstubs
];

patchPhase = ''
patches = [
# fix compilation with mesa 18.2.5
(fetchpatch {
url = "https://github.com/liballeg/allegro5/commit/a40d30e21802ecf5c9382cf34af9b01bd3781e47.patch";
sha256 = "1f1xlj5y2vr6wzmcz04s8kxn8cfdwrg9kjlnvpz9dix1z3qjnd4m";
})
];

postPatch = ''
sed -e 's@/XInput2.h@/XI2.h@g' -i CMakeLists.txt "src/"*.c
'';

4 changes: 2 additions & 2 deletions pkgs/development/libraries/librealsense/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

stdenv.mkDerivation rec {
name = "librealsense-${version}";
version = "2.16.4";
version = "2.17.0";

src = fetchFromGitHub {
owner = "IntelRealSense";
repo = "librealsense";
rev = "v${version}";
sha256 = "0664lsdw9a3s3apqiv9kkzfnz86ai9wdc8y00qyxrmxq9lpjsq11";
sha256 = "1ac580yhxmvxpdvlzdzpcdffysr6z3dl8dykndnq5758alkyspd7";
};

buildInputs = [
6 changes: 3 additions & 3 deletions pkgs/development/libraries/qmlbox2d/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{stdenv, qtdeclarative, fetchFromGitHub, qmake }:
stdenv.mkDerivation rec {
name = "qml-box2d-2018-03-16";
name = "qml-box2d-2018-04-06";
src = fetchFromGitHub {
owner = "qml-box2d";
repo = "qml-box2d";
sha256 = "1fbsvv28b4r0szcv8bk5gxpf8v534jp2axyfp438384sy757wsq2";
rev = "21e57f1";
sha256 = "0gb8limy6ck23z3k0k2j7c4c4s95p40f6lbzk4szq7fjnnw22kb7";
rev = "b7212d5640701f93f0cd88fbd3a32c619030ae62";
};

enableParallelBuilding = true;
11 changes: 9 additions & 2 deletions pkgs/development/libraries/science/math/openblas/default.nix
Original file line number Diff line number Diff line change
@@ -89,6 +89,15 @@ stdenv.mkDerivation rec {

inherit blas64;

patches = [
# Fixes build on x86_64-darwin. See:
# https://github.com/xianyi/OpenBLAS/issues/1926
(fetchpatch {
url = https://github.com/xianyi/OpenBLAS/commit/701ea88347461e4c5d896765438dc870281b3834.patch;
sha256 = "18rcfgkjsijl9d2510jn961wqvz7zdlz2fgy1yjmax29kvv8fqd9";
})
];

# Some hardening features are disabled due to sporadic failures in
# OpenBLAS-based programs. The problem may not be with OpenBLAS itself, but
# with how these flags interact with hardening measures used downstream.
@@ -118,8 +127,6 @@ stdenv.mkDerivation rec {
] ++ stdenv.lib.optional (stdenv.hostPlatform.libc == "musl") "NO_AFFINITY=1"
++ mapAttrsToList (var: val: var + "=" + val) config;

patches = [];

doCheck = true;
checkTarget = "tests";

2 changes: 1 addition & 1 deletion pkgs/development/ruby-modules/bundix/default.nix
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ buildRubyGem rec {
'';
homepage = https://github.com/manveru/bundix;
license = "MIT";
maintainers = with lib.maintainers; [ manveru zimbatm ];
maintainers = with lib.maintainers; [ manveru qyliss zimbatm ];
platforms = lib.platforms.all;
};
}
4 changes: 2 additions & 2 deletions pkgs/games/gcompris/default.nix
Original file line number Diff line number Diff line change
@@ -2,12 +2,12 @@
gst_all_1, ninja
}:
stdenv.mkDerivation rec {
version = "0.91";
version = "0.95";
name = "gcompris-${version}";

src = fetchurl {
url = "http://gcompris.net/download/qt/src/gcompris-qt-${version}.tar.xz";
sha256 = "09h098w9q79hnzla1pcpqlnnr6dbafm4q6zmdp7wlk11ym8n9kvg";
sha256 = "1aaijjx2b7k1cyx59jhs64hlp1sppw1faa81qxl5lxc79vifrlrl";
};

cmakeFlags = "-DQML_BOX2D_LIBRARY=${qmlbox2d}/${qtbase.qtQmlPrefix}/Box2D.2.0";
15 changes: 13 additions & 2 deletions pkgs/games/openspades/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ stdenv, fetchurl, fetchFromGitHub, cmake, unzip, zip, file
{ stdenv, fetchurl, fetchFromGitHub, fetchpatch, cmake, unzip, zip, file
, curl, glew , libGL, SDL2, SDL2_image, zlib, freetype, imagemagick
, openal , opusfile, libogg
, Cocoa
}:

stdenv.mkDerivation rec {
@@ -19,6 +20,16 @@ stdenv.mkDerivation rec {

buildInputs = [
freetype SDL2 SDL2_image libGL zlib curl glew opusfile openal libogg
] ++ stdenv.lib.optionals stdenv.hostPlatform.isDarwin [
Cocoa
];

patches = [
# https://github.com/yvt/openspades/pull/793 fix Darwin build
(fetchpatch {
url = "https://github.com/yvt/openspades/commit/2d13704fefc475b279337e89057b117f711a35d4.diff";
sha256 = "1i7rcpjzkjhbv5pp6byzrxv7sb1iamqq5k1vyqlvkbr38k2dz0rv";
})
];

cmakeFlags = [
@@ -43,6 +54,6 @@ stdenv.mkDerivation rec {
description = "A compatible client of Ace of Spades 0.75";
homepage = "https://github.com/yvt/openspades/";
license = licenses.gpl3;
platforms = platforms.linux;
platforms = platforms.all;
};
}
6 changes: 4 additions & 2 deletions pkgs/os-specific/linux/fwts/default.nix
Original file line number Diff line number Diff line change
@@ -3,11 +3,11 @@

stdenv.mkDerivation rec {
name = "fwts-${version}";
version = "18.11.00";
version = "18.12.00";

src = fetchzip {
url = "http://fwts.ubuntu.com/release/fwts-V${version}.tar.gz";
sha256 = "14dxw0ny5z681kz4dpm2phyanr2q4c8fqml3mhdr1mb2ndrrwqgz";
sha256 = "10kzn5r099i4b8m5l7s68fs885d126l9cingq9gj1g574c18hg2s";
stripRoot = false;
};

@@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
substituteInPlace src/lib/include/fwts_binpaths.h --replace "/usr/bin/iasl" "${iasl}/bin/iasl"
'';

enableParallelBuilding = true;

meta = with stdenv.lib; {
homepage = "https://wiki.ubuntu.com/FirmwareTestSuite";
description = "Firmware Test Suite";
4 changes: 2 additions & 2 deletions pkgs/os-specific/linux/kernel/linux-4.19.nix
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
with stdenv.lib;

buildLinux (args // rec {
version = "4.19.10";
version = "4.19.11";

# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
@@ -13,6 +13,6 @@ buildLinux (args // rec {

src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "151ync20fz8bmiw3826jznx8kd7fna85vygrfchsqgm9xk76isdg";
sha256 = "1v3rbkf0vby9qav2d73zqzb4ch3vm4w8b54davmkz003452v6phs";
};
} // (args.argsOverride or {}))
9 changes: 7 additions & 2 deletions pkgs/servers/clickhouse/default.nix
Original file line number Diff line number Diff line change
@@ -6,13 +6,13 @@

stdenv.mkDerivation rec {
name = "clickhouse-${version}";
version = "18.14.9";
version = "18.14.18";

src = fetchFromGitHub {
owner = "yandex";
repo = "ClickHouse";
rev = "v${version}-stable";
sha256 = "1dsqwihh48fgsjy3jmfjk5271dw3052agw5wpfdm054nkkych86i";
sha256 = "0nivnmlnamcjxwc66ja9fagi5fqzzjsnrrfk32f4g8sxffx2rjy3";
};

nativeBuildInputs = [ cmake libtool ninja ];
@@ -36,6 +36,11 @@ stdenv.mkDerivation rec {

postInstall = ''
rm -rf $out/share/clickhouse-test
sed -i -e '\!<log>/var/log/clickhouse-server/clickhouse-server\.log</log>!d' \
$out/etc/clickhouse-server/config.xml
substituteInPlace $out/etc/clickhouse-server/config.xml \
--replace "<errorlog>/var/log/clickhouse-server/clickhouse-server.err.log</errorlog>" "<console>1</console>"
'';

meta = with stdenv.lib; {
Loading