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: 21750051b268
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: 6fd93c338992
Choose a head ref
  • 12 commits
  • 11 files changed
  • 8 contributors

Commits on Apr 6, 2020

  1. ceph: 14.2.6 -> 14.2.7

    (cherry picked from commit 41547d1)
    srhb committed Apr 6, 2020
    Copy the full SHA
    ee47f52 View commit details
  2. ceph: 14.2.7 -> 14.2.8

    (cherry picked from commit ec21f70)
    srhb committed Apr 6, 2020
    Copy the full SHA
    74ee45c View commit details
  3. nixos/tests/ceph: Fix pg number to power of 2

    (cherry picked from commit 6ccd347)
    srhb committed Apr 6, 2020
    Copy the full SHA
    637325d View commit details

Commits on Apr 7, 2020

  1. nixos: kafka test: fix building for other arches

    (cherry picked from commit 8b7e843)
    cleverca22 committed Apr 7, 2020
    Copy the full SHA
    6be1626 View commit details

Commits on Apr 14, 2020

  1. acme: share accounts between certificates

    There are strict rate limits on account creation for Let's Encrypt
    certificates. It is important to reuse credentails when possible.
    
    (cherry picked from commit 827d5e6)
    m1cr0man authored and Mic92 committed Apr 14, 2020
    Copy the full SHA
    ecfd73d View commit details
  2. ethminer: mark as broken

    Doesn't build with gcc9, and if overlayed to use gcc8 stdenv fails on CUDA issues.
    
    (cherry picked from commit 7f453f1)
    bhipple authored and worldofpeace committed Apr 14, 2020
    Copy the full SHA
    89b864d View commit details
  3. Merge pull request #84431 from srhb/bp-ceph-14.2.8

    [20.03] ceph 14.2.6 -> 14.2.8
    worldofpeace authored Apr 14, 2020
    Copy the full SHA
    e5ba0c5 View commit details
  4. luminance-hdr: use Qt5's mkDerivation

    (cherry picked from commit b233a19)
    dominikh authored and worldofpeace committed Apr 14, 2020
    Copy the full SHA
    3add50e View commit details
  5. nixosTests.networking.virtual: fix with networkd

    We only need to wait for network.target to get up, and the
    network-addresses-${interfaceName} units are scripted networking only.
    
    (cherry picked from commit a501abd5499d8f82f0991a7b78bcbc4169b0537f)
    ZHF: #80379
    Fix a failing test.
    flokli authored and rnhmjoj committed Apr 14, 2020
    Copy the full SHA
    897182c View commit details
  6. Merge pull request #84648 from cleverca22/fix-kafka-test

    nixos: kafka test: fix building for other arches
    worldofpeace authored Apr 14, 2020
    Copy the full SHA
    7cf85dd View commit details
  7. dysnomia: 0.9 -> 0.9.1

    (cherry picked from commit dc13460)
    svanderburg committed Apr 14, 2020
    Copy the full SHA
    8b40e89 View commit details
  8. nixos/dysnomia: fix documentRoot property

    (cherry picked from commit 0ffb720)
    svanderburg committed Apr 14, 2020
    Copy the full SHA
    6fd93c3 View commit details
3 changes: 2 additions & 1 deletion nixos/modules/security/acme.nix
Original file line number Diff line number Diff line change
@@ -306,13 +306,14 @@ in
User = data.user;
Group = data.group;
PrivateTmp = true;
StateDirectory = "acme/.lego/${cert} ${lpath}";
StateDirectory = "acme/.lego/${cert} acme/.lego/accounts ${lpath}";
StateDirectoryMode = if data.allowKeysForGroup then "750" else "700";
WorkingDirectory = spath;
# Only try loading the credentialsFile if the dns challenge is enabled
EnvironmentFile = if data.dnsProvider != null then data.credentialsFile else null;
ExecStart = pkgs.writeScript "acme-start" ''
#!${pkgs.runtimeShell} -e
test -L ${spath}/accounts -o -d ${spath}/accounts || ln -s ../accounts ${spath}/accounts
${pkgs.lego}/bin/lego ${renewOpts} || ${pkgs.lego}/bin/lego ${runOpts}
'';
ExecStartPost =
2 changes: 1 addition & 1 deletion nixos/modules/services/misc/dysnomia.nix
Original file line number Diff line number Diff line change
@@ -177,7 +177,7 @@ in
wrapper = {};
}
// lib.optionalAttrs (config.services.httpd.enable) { apache-webapplication = {
documentRoot = config.services.httpd.documentRoot;
documentRoot = config.services.httpd.virtualHosts.localhost.documentRoot;
}; }
// lib.optionalAttrs (config.services.tomcat.axis2.enable) { axis2-webservice = {}; }
// lib.optionalAttrs (config.services.ejabberd.enable) { ejabberd-dump = {
6 changes: 3 additions & 3 deletions nixos/tests/ceph-multi-node.nix
Original file line number Diff line number Diff line change
@@ -183,15 +183,15 @@ let
monA.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'")
monA.succeed(
"ceph osd pool create multi-node-test 100 100",
"ceph osd pool create multi-node-test 128 128",
"ceph osd pool ls | grep 'multi-node-test'",
"ceph osd pool rename multi-node-test multi-node-other-test",
"ceph osd pool ls | grep 'multi-node-other-test'",
)
monA.wait_until_succeeds("ceph -s | grep '1 pools, 100 pgs'")
monA.wait_until_succeeds("ceph -s | grep '1 pools, 128 pgs'")
monA.succeed("ceph osd pool set multi-node-other-test size 2")
monA.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'")
monA.wait_until_succeeds("ceph -s | grep '100 active+clean'")
monA.wait_until_succeeds("ceph -s | grep '128 active+clean'")
monA.fail(
"ceph osd pool ls | grep 'multi-node-test'",
"ceph osd pool delete multi-node-other-test multi-node-other-test --yes-i-really-really-mean-it",
6 changes: 3 additions & 3 deletions nixos/tests/ceph-single-node.nix
Original file line number Diff line number Diff line change
@@ -143,12 +143,12 @@ let
monA.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'")
monA.succeed(
"ceph osd pool create single-node-test 100 100",
"ceph osd pool create single-node-test 128 128",
"ceph osd pool ls | grep 'single-node-test'",
"ceph osd pool rename single-node-test single-node-other-test",
"ceph osd pool ls | grep 'single-node-other-test'",
)
monA.wait_until_succeeds("ceph -s | grep '1 pools, 100 pgs'")
monA.wait_until_succeeds("ceph -s | grep '1 pools, 128 pgs'")
monA.succeed(
"ceph osd getcrushmap -o crush",
"crushtool -d crush -o decrushed",
@@ -158,7 +158,7 @@ let
"ceph osd pool set single-node-other-test size 2",
)
monA.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'")
monA.wait_until_succeeds("ceph -s | grep '100 active+clean'")
monA.wait_until_succeeds("ceph -s | grep '128 active+clean'")
monA.fail(
"ceph osd pool ls | grep 'multi-node-test'",
"ceph osd pool delete single-node-other-test single-node-other-test --yes-i-really-really-mean-it",
2 changes: 1 addition & 1 deletion nixos/tests/kafka.nix
Original file line number Diff line number Diff line change
@@ -77,7 +77,7 @@ let
+ "--from-beginning --max-messages 1"
)
'');
}) {});
}) { inherit system; });

in with pkgs; {
kafka_0_9 = makeKafkaTest "kafka_0_9" apacheKafka_0_9;
4 changes: 2 additions & 2 deletions nixos/tests/networking.nix
Original file line number Diff line number Diff line change
@@ -471,7 +471,7 @@ let
with subtest("Wait for networking to come up"):
machine.start()
machine.wait_for_unit("network-online.target")
machine.wait_for_unit("network.target")
with subtest("Test interfaces set up"):
list = machine.succeed("ip tuntap list | sort").strip()
@@ -486,7 +486,7 @@ let
""".format(
list, targetList
)
'' + optionalString (!networkd) ''
with subtest("Test interfaces clean up"):
machine.succeed("systemctl stop network-addresses-tap0")
machine.sleep(10)
5 changes: 3 additions & 2 deletions pkgs/applications/graphics/luminance-hdr/default.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{ stdenv, cmake, fetchFromGitHub, pkgconfig, boost, exiv2, fftwFloat, gsl
{ stdenv, mkDerivation, cmake, fetchFromGitHub, pkgconfig
, boost, exiv2, fftwFloat, gsl
, ilmbase, lcms2, libraw, libtiff, openexr
, qtbase, qtdeclarative, qttools, qtwebengine, eigen
}:

stdenv.mkDerivation rec {
mkDerivation rec {
pname = "luminance-hdr";
version = "2.6.0";

70 changes: 0 additions & 70 deletions pkgs/tools/filesystems/ceph/0000-dont-check-cherrypy-version.patch

This file was deleted.

5 changes: 2 additions & 3 deletions pkgs/tools/filesystems/ceph/default.nix
Original file line number Diff line number Diff line change
@@ -93,20 +93,19 @@ let
]);
sitePackages = ceph-python-env.python.sitePackages;

version = "14.2.6";
version = "14.2.8";
in rec {
ceph = stdenv.mkDerivation {
pname = "ceph";
inherit version;

src = fetchurl {
url = "http://download.ceph.com/tarballs/ceph-${version}.tar.gz";
sha256 = "0qkyrb25r2a57n6k8ncb43x7hvhkmpi7abhfyi98mlz2lhmhzlm1";
sha256 = "0p7pjycqhxqg1mmix8ykx3xqq01d560p54iiidxps0rcvwfkyyki";
};

patches = [
./0000-fix-SPDK-build-env.patch
./0000-dont-check-cherrypy-version.patch
];

nativeBuildInputs = [
2 changes: 2 additions & 0 deletions pkgs/tools/misc/ethminer/default.nix
Original file line number Diff line number Diff line change
@@ -71,6 +71,8 @@ stdenv.mkDerivation rec {
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ nand0p ];
license = licenses.gpl2;
# Doesn't build with gcc9, and if overlayed to use gcc8 stdenv fails on CUDA issues.
broken = true;
};

}
6 changes: 3 additions & 3 deletions pkgs/tools/package-management/disnix/dysnomia/default.nix
Original file line number Diff line number Diff line change
@@ -22,10 +22,10 @@ assert enableMongoDatabase -> (mongodb != null && mongodb-tools != null);
assert enableInfluxDatabase -> influxdb != null;

stdenv.mkDerivation {
name = "dysnomia-0.9";
name = "dysnomia-0.9.1";
src = fetchurl {
url = https://github.com/svanderburg/dysnomia/releases/download/dysnomia-0.9/dysnomia-0.9.tar.gz;
sha256 = "09pk2l3pss48kvm5wvskh842vakbzmjzxzfzyw1nkqnvni130ikl";
url = "https://github.com/svanderburg/dysnomia/releases/download/dysnomia-0.9.1/dysnomia-0.9.1.tar.gz";
sha256 = "1rrq9jnmpsjg1rrjbnq7znm4gma2ga5j4nlykvxwkylp72dq12ks";
};

preConfigure = if enableEjabberdDump then "export PATH=$PATH:${ejabberd}/sbin" else "";