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: 4a672de9e65e
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: 9d45737ae77a
Choose a head ref
  • 18 commits
  • 18 files changed
  • 11 contributors

Commits on Feb 23, 2020

  1. Copy the full SHA
    b23de14 View commit details

Commits on Mar 7, 2020

  1. Copy the full SHA
    0ac00f0 View commit details
  2. librustzcash: 2018-10-27 -> 0.1.0

    Also includes updates for:
    
    - NixOS/nixpkgs#79975
    - NixOS/rfcs#45
    bhipple committed Mar 7, 2020
    Copy the full SHA
    176d90e View commit details
  3. zcash: 2.1.0-1 -> 2.1.1-1

    Also enabled parallel building, because otherwise this takes 45+ minutes to
    compile! With it enabled, it can build in a couple minutes.
    bhipple committed Mar 7, 2020
    Copy the full SHA
    bd1b24b View commit details

Commits on Mar 16, 2020

  1. Copy the full SHA
    10e5a43 View commit details

Commits on Mar 17, 2020

  1. doc: update 20.03 release notes regarding upower

    UPower works just fine in 20.03, but only if the service is enabled.
    
    Resolves #82529; see issue for details.
    bhipple committed Mar 17, 2020
    Copy the full SHA
    90c3fa4 View commit details
  2. Copy the full SHA
    2c77f1c View commit details
  3. Copy the full SHA
    31206e4 View commit details
  4. Copy the full SHA
    bfcb191 View commit details

Commits on Mar 18, 2020

  1. Merge pull request #82774 from B4dM4n/virtualbox-extpack-update

    virtualboxExtpack: synchronize version with virtualbox
    cdepillabout authored Mar 18, 2020
    Copy the full SHA
    ac0da76 View commit details
  2. Merge pull request #82740 from piotr-szegda/keybase-5-3-0-update

    keybase,kbfs,keybase-gui: 5.2.1 -> 5.3.0
    nh2 authored Mar 18, 2020
    Copy the full SHA
    dd4da93 View commit details
  3. Merge pull request #82665 from bhipple/doc/upower

    doc: update 20.03 release notes regarding upower
    nh2 authored Mar 18, 2020
    Copy the full SHA
    0908ec4 View commit details
  4. nixos/firewall: fix types in reverse path assertion

    Broken by 0f973e273c284a97a8dffeab7d9c0b09a88b7139 in #73533
    
    The type of the checkReversePath option allows "strict" and "loose" as
    well as boolean values.
    thefloweringash committed Mar 18, 2020
    Copy the full SHA
    e110f5e View commit details
  5. Merge pull request #82802 from roberth/lib-modules-test-config-option…

    …s-laziness
    
    lib/modules: Test the ability for config to depend on options for compatibility
    infinisil authored Mar 18, 2020
    Copy the full SHA
    05cf8a7 View commit details
  6. Merge pull request #81994 from bhipple/u/librustzcash

    zcash: 2.1.0-1 -> 2.1.1-1; libzrustzcash: 2018-10-27 -> 0.1.0
    nh2 authored Mar 18, 2020
    Copy the full SHA
    2fb0068 View commit details
  7. Merge pull request #67608 from alexarice/variant-ant-themes

    Variant Ant themes: init at 1.3.0
    nh2 authored Mar 18, 2020
    Copy the full SHA
    6232fbd View commit details
  8. Merge pull request #79356 from bbigras/mtail

    mtail: 3.0.0-rc4 -> 3.0.0-rc34
    nh2 authored Mar 18, 2020
    Copy the full SHA
    4366606 View commit details
  9. Merge pull request #82767 from thefloweringash/rpfilter-assertion-types

    nixos/firewall: fix types in reverse path assertion
    nh2 authored Mar 18, 2020
    Copy the full SHA
    9d45737 View commit details
5 changes: 5 additions & 0 deletions lib/tests/modules.sh
Original file line number Diff line number Diff line change
@@ -185,6 +185,11 @@ checkConfigError 'The option .* defined in .* does not exist' config.enable ./di
# Check that imports can depend on derivations
checkConfigOutput "true" config.enable ./import-from-store.nix

# Check that configs can be conditional on option existence
checkConfigOutput true config.enable ./define-option-dependently.nix ./declare-enable.nix ./declare-int-positive-value.nix
checkConfigOutput 360 config.value ./define-option-dependently.nix ./declare-enable.nix ./declare-int-positive-value.nix
checkConfigOutput 7 config.value ./define-option-dependently.nix ./declare-int-positive-value.nix

# Check attrsOf and lazyAttrsOf. Only lazyAttrsOf should be lazy, and only
# attrsOf should work with conditional definitions
# In addition, lazyAttrsOf should honor an options emptyValue
16 changes: 16 additions & 0 deletions lib/tests/modules/define-option-dependently.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{ lib, options, ... }:

# Some modules may be distributed separately and need to adapt to other modules
# that are distributed and versioned separately.
{

# Always defined, but the value depends on the presence of an option.
config = {
value = if options ? enable then 360 else 7;
}
# Only define if possible.
// lib.optionalAttrs (options ? enable) {
enable = true;
};

}
7 changes: 7 additions & 0 deletions nixos/doc/manual/release-notes/rl-2003.xml
Original file line number Diff line number Diff line change
@@ -641,6 +641,13 @@ auth required pam_succeed_if.so uid >= 1000 quiet
The previous behavior can be restored by setting <literal>config.riot-web.conf = { disable_guests = false; piwik = true; }</literal>.
</para>
</listitem>
<listitem>
<para>
Stand-alone usage of <literal>Upower</literal> now requires
<option>services.upower.enable</option> instead of just installing into
<xref linkend="opt-environment.systemPackages"/>.
</para>
</listitem>
</itemizedlist>
</section>

10 changes: 7 additions & 3 deletions nixos/modules/services/networking/firewall.nix
Original file line number Diff line number Diff line change
@@ -546,9 +546,13 @@ in
options nf_conntrack nf_conntrack_helper=1
'';

assertions = [ { assertion = cfg.checkReversePath -> kernelHasRPFilter;
message = "This kernel does not support rpfilter"; }
];
assertions = [
# This is approximately "checkReversePath -> kernelHasRPFilter",
# but the checkReversePath option can include non-boolean
# values.
{ assertion = cfg.checkReversePath == false || kernelHasRPFilter;
message = "This kernel does not support rpfilter"; }
];

systemd.services.firewall = {
description = "Firewall";
16 changes: 9 additions & 7 deletions pkgs/applications/blockchains/zcash/default.nix
Original file line number Diff line number Diff line change
@@ -7,33 +7,35 @@ with stdenv.lib;
stdenv.mkDerivation rec {

pname = "zcash";
version = "2.1.0-1";
version = "2.1.1-1";

src = fetchFromGitHub {
owner = "zcash";
repo = "zcash";
rev = "v${version}";
sha256 = "05bnn4lxrrcv1ha3jdfrgwg4ar576161n3j9d4gpc14ww3zgf9vz";
sha256 = "1g5zlfzfp31my8w8nlg5fncpr2y95iv9fm04x57sjb93rgmjdh5n";
};

patchPhase = ''
sed -i"" 's,-fvisibility=hidden,,g' src/Makefile.am
'';

nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ gtest gmock gmp openssl wget db62 boost17x zlib
protobuf libevent libsodium librustzcash ]
++ optionals stdenv.isLinux [ utillinux ];

configureFlags = [ "--with-boost-libdir=${boost17x.out}/lib" ];

patchPhase = ''
sed -i"" 's,-fvisibility=hidden,,g' src/Makefile.am
'';

postInstall = ''
cp zcutil/fetch-params.sh $out/bin/zcash-fetch-params
'';

enableParallelBuilding = true;

meta = {
description = "Peer-to-peer, anonymous electronic cash system";
homepage = https://z.cash/;
homepage = "https://z.cash/";
maintainers = with maintainers; [ rht tkerber ];
license = licenses.mit;
platforms = platforms.linux;
16 changes: 7 additions & 9 deletions pkgs/applications/blockchains/zcash/librustzcash/default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
{ stdenv, fetchFromGitHub, rustPlatform }:

rustPlatform.buildRustPackage rec {
pname = "librustzcash-unstable";
version = "2018-10-27";
pname = "librustzcash";
version = "0.1.0";

src = fetchFromGitHub {
owner = "zcash";
repo = "librustzcash";
rev = "06da3b9ac8f278e5d4ae13088cf0a4c03d2c13f5";
sha256 = "0md0pp3k97iv7kfjpfkg14pjanhrql4vafa8ggbxpkajv1j4xldv";
rev = version;
sha256 = "0d28k29sgzrg9clynz29kpw50kbkp0a4dfdayqhmpjmsh05y6261";
};

# Delete this on next update; see #79975 for details
legacyCargoFetcher = true;

cargoSha256 = "166v8cxlpfslbs5gljbh7wp0lxqakayw47ikxm9r9a39n7j36mq1";
cargoSha256 = "1wzyrcmcbrna6rjzw19c4lq30didzk4w6fs6wmvxp0xfg4qqdlax";

installPhase = ''
mkdir -p $out/lib
@@ -23,11 +20,12 @@ rustPlatform.buildRustPackage rec {
cp librustzcash/include/librustzcash.h $out/include/
'';

# The tests do pass, but they take an extremely long time to run.
doCheck = false;

meta = with stdenv.lib; {
description = "Rust-language assets for Zcash";
homepage = https://github.com/zcash/librustzcash;
homepage = "https://github.com/zcash/librustzcash";
maintainers = with maintainers; [ rht tkerber ];
license = with licenses; [ mit asl20 ];
platforms = platforms.unix;
16 changes: 8 additions & 8 deletions pkgs/applications/misc/toggldesktop/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchzip, buildEnv, makeDesktopItem, runCommand, writeText, pkgconfig
{ mkDerivation, lib, fetchzip, buildEnv, makeDesktopItem, runCommand, writeText, pkgconfig
, cmake, qmake, cacert, jsoncpp, libX11, libXScrnSaver, lua, openssl, poco
, qtbase, qtwebengine, qtx11extras, sqlite }:

@@ -11,7 +11,7 @@ let
sha256 = "01hqkx9dljnhwnyqi6mmzfp02hnbi2j50rsfiasniqrkbi99x9v1";
};

bugsnag-qt = stdenv.mkDerivation rec {
bugsnag-qt = mkDerivation rec {
pname = "bugsnag-qt";
version = "20180522.005732";

@@ -24,7 +24,7 @@ let
buildInputs = [ qtbase ];
};

qxtglobalshortcut = stdenv.mkDerivation rec {
qxtglobalshortcut = mkDerivation rec {
pname = "qxtglobalshortcut";
version = "f584471dada2099ba06c574bdfdd8b078c2e3550";

@@ -37,7 +37,7 @@ let
buildInputs = [ qtbase qtx11extras ];
};

qt-oauth-lib = stdenv.mkDerivation rec {
qt-oauth-lib = mkDerivation rec {
pname = "qt-oauth-lib";
version = "20190125.190943";

@@ -62,7 +62,7 @@ let
mkdir -p $out/lib/pkgconfig && ln -s ${poco-pc} $_/poco.pc
'';

libtoggl = stdenv.mkDerivation {
libtoggl = mkDerivation {
name = "libtoggl-${version}";
inherit src version;

@@ -77,7 +77,7 @@ let
'';
};

toggldesktop = stdenv.mkDerivation {
toggldesktop = mkDerivation {
name = "${name}-unwrapped";
inherit src version;

@@ -108,7 +108,7 @@ let
];
};

toggldesktop-icons = stdenv.mkDerivation {
toggldesktop-icons = mkDerivation {
name = "${name}-icons";
inherit (toggldesktop) src sourceRoot;

@@ -138,7 +138,7 @@ buildEnv {
inherit name;
paths = [ desktopItem toggldesktop-icons toggldesktop-wrapped ];

meta = with stdenv.lib; {
meta = with lib; {
description = "Client for Toggl time tracking service";
homepage = https://github.com/toggl/toggldesktop;
license = licenses.bsd3;
7 changes: 4 additions & 3 deletions pkgs/applications/virtualization/virtualbox/extpack.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{fetchurl, lib}:
{fetchurl, lib, virtualbox}:

with lib;

let version = "6.0.14";
let
inherit (virtualbox) version;
in
fetchurl rec {
name = "Oracle_VM_VirtualBox_Extension_Pack-${version}.vbox-extpack";
@@ -11,7 +12,7 @@ fetchurl rec {
# Manually sha256sum the extensionPack file, must be hex!
# Thus do not use `nix-prefetch-url` but instead plain old `sha256sum`.
# Checksums can also be found at https://www.virtualbox.org/download/hashes/${version}/SHA256SUMS
let value = "c8a5cc980c9c94cdac3d94e23cf159c2433aae76b416dbfb5b1a918758f21e63";
let value = "3b73798d776ff223ea8025b1a45001762f8d4e5bcd1ea61449773c1249935800";
in assert (builtins.stringLength value) == 64; value;

meta = {
40 changes: 40 additions & 0 deletions pkgs/data/themes/ant-theme/ant-bloody.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{ stdenv, fetchurl, gtk-engine-murrine }:

let
themeName = "Ant-Bloody";
in
stdenv.mkDerivation rec {
pname = "ant-bloody-theme";
version = "1.3.0";

src = fetchurl {
url = "https://github.com/EliverLara/${themeName}/releases/download/v${version}/${themeName}.tar";
sha256 = "0rrz50kmzjmqj17hvrw67pbaclwxv85i5m08s7842iky6dnn5z8s";
};

propagatedUserEnvPkgs = [
gtk-engine-murrine
];

dontBuild = true;

installPhase = ''
runHook preInstall
mkdir -p $out/share/themes/${themeName}
cp -a * $out/share/themes/${themeName}
rm -r $out/share/themes/${themeName}/{Art,LICENSE,README.md,gtk-2.0/render-assets.sh}
runHook postInstall
'';

outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "0v5pdhysa2460sh400cpq11smcfsi9g1lbfzx8nj1w5a21d811cz";

meta = with stdenv.lib; {
description = "Bloody variant of the Ant theme";
homepage = "https://github.com/EliverLara/${themeName}";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ alexarice ];
};
}
40 changes: 40 additions & 0 deletions pkgs/data/themes/ant-theme/ant-dracula.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{ stdenv, fetchurl, gtk-engine-murrine }:

let
themeName = "Ant-Dracula";
in
stdenv.mkDerivation rec {
pname = "ant-dracula-theme";
version = "1.3.0";

src = fetchurl {
url = "https://github.com/EliverLara/${themeName}/releases/download/v${version}/${themeName}.tar";
sha256 = "00b8w69xapqy8kc7zqwlfz1xpld6hibbh35djvhcnd905gzzymkd";
};

propagatedUserEnvPkgs = [
gtk-engine-murrine
];

dontBuild = true;

installPhase = ''
runHook preInstall
mkdir -p $out/share/themes/${themeName}
cp -a * $out/share/themes/${themeName}
rm -r $out/share/themes/${themeName}/{Art,LICENSE,README.md,gtk-2.0/render-assets.sh}
runHook postInstall
'';

outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "1a9mkxfb0zixx8s05h15lhnnzygh2qzc8k2q10i0khx90bf72x14";

meta = with stdenv.lib; {
description = "Dracula variant of the Ant theme";
homepage = "https://github.com/EliverLara/${themeName}";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ alexarice ];
};
}
40 changes: 40 additions & 0 deletions pkgs/data/themes/ant-theme/ant-nebula.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{ stdenv, fetchurl, gtk-engine-murrine }:

let
themeName = "Ant-Nebula";
in
stdenv.mkDerivation rec {
pname = "ant-nebula-theme";
version = "1.3.0";

src = fetchurl {
url = "https://github.com/EliverLara/${themeName}/releases/download/v${version}/${themeName}.tar";
sha256 = "1xpgw577nmgjk547mg2vvv0gdai60srgncykm5pb1w8dnlk69jbz";
};

propagatedUserEnvPkgs = [
gtk-engine-murrine
];

dontBuild = true;

installPhase = ''
runHook preInstall
mkdir -p $out/share/themes/${themeName}
cp -a * $out/share/themes/${themeName}
rm -r $out/share/themes/${themeName}/{Art,LICENSE,README.md,gtk-2.0/render-assets.sh}
runHook postInstall
'';

outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "1lmlc4fvjnp05gshc0arfysh8r1xxzpzdv3j0bk40mjf3d59814c";

meta = with stdenv.lib; {
description = "Nebula variant of the Ant theme";
homepage = "https://github.com/EliverLara/${themeName}";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ alexarice ];
};
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{ stdenv, fetchurl, gtk-engine-murrine }:

let
themeName = "Ant";
in
stdenv.mkDerivation rec {
pname = "ant-theme";
version = "1.3.0";

src = fetchurl {
url = "https://github.com/EliverLara/Ant/releases/download/v${version}/Ant.tar";
url = "https://github.com/EliverLara/${themeName}/releases/download/v${version}/${themeName}.tar";
sha256 = "1r795v96ywzcb4dq08q2fdbmfia32g36cc512mhy41s8fb1a47dz";
};

@@ -17,21 +20,21 @@ stdenv.mkDerivation rec {

installPhase = ''
runHook preInstall
mkdir -p $out/share/themes/Ant
cp -a * $out/share/themes/Ant
rm -r $out/share/themes/Ant/{Art,LICENSE,README.md,gtk-2.0/render-assets.sh}
mkdir -p $out/share/themes/${themeName}
cp -a * $out/share/themes/${themeName}
rm -r $out/share/themes/${themeName}/{Art,LICENSE,README.md,gtk-2.0/render-assets.sh}
runHook postInstall
'';

outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "1gpacrmi5y87shp39jgy78n0ca2xdpvbqfh0mgldlxx99ca9rvvy";
outputHash = "07iv4jangqnzrvjr749vl3x31z7dxds51bq1bhz5acbjbwf25wjf";

meta = with stdenv.lib; {
description = "A flat and light theme with a modern look";
homepage = https://github.com/EliverLara/Ant;
homepage = "https://github.com/EliverLara/${themeName}";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = [ ];
maintainers = with maintainers; [ alexarice ];
};
}
Loading