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: f0da3b5e94ab
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: fadb04457919
Choose a head ref
  • 18 commits
  • 14 files changed
  • 16 contributors

Commits on Apr 21, 2020

  1. Copy the full SHA
    dc80c49 View commit details

Commits on Apr 25, 2020

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ccfdcf1 View commit details
  2. Copy the full SHA
    77dc7ef View commit details
  3. Copy the full SHA
    21ec1f5 View commit details
  4. Copy the full SHA
    a4347f2 View commit details

Commits on Apr 26, 2020

  1. nixpkgs-fmt: 0.7.0 -> 0.8.0

    rizary authored and Jon committed Apr 26, 2020
    Copy the full SHA
    7c399a4 View commit details
  2. Get rid of go 1.13 (#86036)

    Kubernetes builds with go1.14.
    Terraform has an upstream patch which fixes the macos mojave issues -
    it's a bug in terraform, not go.
    c00w authored Apr 26, 2020
    Copy the full SHA
    3e0aa4a View commit details
  3. Copy the full SHA
    2cd8c35 View commit details
  4. Copy the full SHA
    ef959a1 View commit details
  5. Merge pull request #85671 from romildo/upd.yaru-theme

    yaru-theme: 20.04.1 -> 20.04.6, unmark as broken
    romildo authored Apr 26, 2020
    Copy the full SHA
    47cc163 View commit details
  6. rofi-file-browser: init at 1.1.1 (#86052)

    Co-authored-by: zimbatm <zimbatm@zimbatm.com>
    jluttine and zimbatm authored Apr 26, 2020
    Copy the full SHA
    9d7f94a View commit details
  7. Copy the full SHA
    3581287 View commit details
  8. gpxsee: 7.28 -> 7.29 (#86050)

    sikmir authored Apr 26, 2020
    Copy the full SHA
    f56459f View commit details
  9. Copy the full SHA
    73f3469 View commit details
  10. Update commit policy for stable release branches (#86026)

    only very few people followed the strict policy in the last 5 years. the 
    maintainers accept backports without reason when it's obvious, so i 
    updated the policy to reflect that
    davidak authored Apr 26, 2020
    Copy the full SHA
    579e56f View commit details
  11. Copy the full SHA
    5e4abf7 View commit details
  12. ec2-amis.nix: add NixOS 20.03 images

    Fixes #85857.
    AmineChikhaoui committed Apr 26, 2020
    Copy the full SHA
    9cf9e66 View commit details
  13. Merge pull request #86059 from AmineChikhaoui/20.03-amis

    ec2-amis.nix: add NixOS 20.03 images
    grahamc authored Apr 26, 2020
    Copy the full SHA
    fadb044 View commit details
48 changes: 36 additions & 12 deletions doc/contributing/submitting-changes.xml
Original file line number Diff line number Diff line change
@@ -407,23 +407,47 @@ Additional information.
<section xml:id="submitting-changes-stable-release-branches">
<title>Stable release branches</title>

<itemizedlist>
<para>
For cherry-picking a commit to a stable release branch (<quote>backporting</quote>), use <literal>git cherry-pick -x &lt;original commit&gt;</literal> so that the original commit id is included in the commit.
</para>

<para>
Add a reason for the backport by using <literal>git cherry-pick -xe &lt;original commit&gt;</literal> instead when it is not obvious from the original commit message. It is not needed when it’s a minor version update that includes security and bug fixes but don’t add new features or when the commit fixes an otherwise broken package.
</para>

<para>
Here is an example of a cherry-picked commit message with good reason description:
</para>

<screen>
zfs: Keep trying root import until it works

Works around #11003.

(cherry picked from commit 98b213a11041af39b39473906b595290e2a4e2f9)

Reason: several people cannot boot with ZFS on NVMe
</screen>

<para>
Other examples of reasons are:
</para>

<itemizedlist spacing="compact">
<listitem>
<para>
If you're cherry-picking a commit to a stable release branch (“backporting”), always use <command>git cherry-pick -xe</command> and ensure the message contains a clear description about why this needs to be included in the stable branch.
Previously the build would fail due to, e.g., <literal>getaddrinfo</literal> not being defined
</para>
</listitem>
<listitem>
<para>
An example of a cherry-picked commit would look like this:
The previous download links were all broken
</para>
</listitem>
<listitem>
<para>
Crash when starting on some X11 systems
</para>
<screen>
nixos: Refactor the world.

The original commit message describing the reason why the world was torn apart.

(cherry picked from commit abcdef)
Reason: I just had a gut feeling that this would also be wanted by people from
the stone age.
</screen>
</listitem>
</itemizedlist>
</section>
5 changes: 5 additions & 0 deletions doc/languages-frameworks/python.section.md
Original file line number Diff line number Diff line change
@@ -1059,6 +1059,11 @@ let
in newpkgs.inkscape
```

If you'd like to disable tests for a particular Python based package built with
`buildPythonPackage` or `buildPythonApplication`, you'd need to set
`doInstallCheck = false` and not `doCheck = false` as the later will take no
effect.

### `python setup.py bdist_wheel` cannot create .whl

Executing `python setup.py bdist_wheel` in a `nix-shell `fails with
21 changes: 20 additions & 1 deletion nixos/modules/virtualisation/ec2-amis.nix
Original file line number Diff line number Diff line change
@@ -310,5 +310,24 @@ let self = {
"19.09".ap-east-1.hvm-ebs = "ami-055b2348db2827ff1";
"19.09".sa-east-1.hvm-ebs = "ami-018aab68377227e06";

latest = self."19.09";
# 20.03.1554.94e39623a49
"20.03".eu-west-1.hvm-ebs = "ami-02c34db5766cc7013";
"20.03".eu-west-2.hvm-ebs = "ami-0e32bd8c7853883f1";
"20.03".eu-west-3.hvm-ebs = "ami-061edb1356c1d69fd";
"20.03".eu-central-1.hvm-ebs = "ami-0a1a94722dcbff94c";
"20.03".eu-north-1.hvm-ebs = "ami-02699abfacbb6464b";
"20.03".us-east-1.hvm-ebs = "ami-0c5e7760748b74e85";
"20.03".us-east-2.hvm-ebs = "ami-030296bb256764655";
"20.03".us-west-1.hvm-ebs = "ami-050be818e0266b741";
"20.03".us-west-2.hvm-ebs = "ami-06562f78dca68eda2";
"20.03".ca-central-1.hvm-ebs = "ami-02365684a173255c7";
"20.03".ap-southeast-1.hvm-ebs = "ami-0dbf353e168d155f7";
"20.03".ap-southeast-2.hvm-ebs = "ami-04c0f3a75f63daddd";
"20.03".ap-northeast-1.hvm-ebs = "ami-093d9cc49c191eb6c";
"20.03".ap-northeast-2.hvm-ebs = "ami-0087df91a7b6ebd45";
"20.03".ap-south-1.hvm-ebs = "ami-0a1a6b569af04af9d";
"20.03".ap-east-1.hvm-ebs = "ami-0d18fdd309cdefa86";
"20.03".sa-east-1.hvm-ebs = "ami-09859378158ae971d";

latest = self."20.03";
}; in self
15 changes: 5 additions & 10 deletions pkgs/applications/graphics/azpainter/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoreconfHook
{ stdenv, fetchFromGitHub
, libX11, libXext, libXi
, freetype, fontconfig
, libpng, libjpeg
@@ -7,32 +7,27 @@

stdenv.mkDerivation rec {
pname = "azpainter";
version = "2.1.5";
version = "2.1.6";

src = fetchFromGitHub {
owner = "Symbian9";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "0x5jmsprjissqcvwq75pqq9wgv4k9b7cy507hai8xk6xs3vxwgba";
rev = "v${version}";
sha256 = "sha256-al87Rnf4HkKdmtN3EqxC0zEHgVWwnVi7WttqT/Qxr0Q=";
};

nativeBuildInputs = [ autoreconfHook ];

buildInputs = [
libX11 libXext libXi
freetype fontconfig
libpng libjpeg
zlib
];

configureFlags = [
"--with-freetype-dir=${stdenv.lib.getDev freetype}/include/freetype2"
];

meta = with stdenv.lib; {
description = "Full color painting software for illustration drawing";
homepage = "https://osdn.net/projects/azpainter";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dtzWill ];
platforms = with platforms; linux ++ darwin;
};
}
6 changes: 3 additions & 3 deletions pkgs/applications/misc/gpxsee/default.nix
Original file line number Diff line number Diff line change
@@ -2,19 +2,19 @@

mkDerivation rec {
pname = "gpxsee";
version = "7.28";
version = "7.29";

src = fetchFromGitHub {
owner = "tumic0";
repo = "GPXSee";
rev = version;
sha256 = "0077y5az3hb46rvkqrpl4zxga5wnm85ca6rz1rdpwiwhq4ch9q8y";
sha256 = "sha256-OTKyxEu7RZZy3JBHTM7YoH+G4lhoRfb1INLtQEKC5p4=";
};

nativeBuildInputs = [ qmake qttools ];

preConfigure = ''
lrelease lang/*.ts
lrelease gpxsee.pro
'';

postInstall = with stdenv; lib.optionalString isDarwin ''
34 changes: 34 additions & 0 deletions pkgs/applications/misc/rofi-file-browser/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, rofi, gtk3 }:

stdenv.mkDerivation rec {
pname = "rofi-file-browser-extended";
version = "1.1.1";

src = fetchFromGitHub {
owner = "marvinkreis";
repo = pname;
rev = version;
sha256 = "10wk5sif3bmvsgyk2gdy0qhpv1b37zgzf89n3h0yh7pg195fi2gn";
fetchSubmodules = true;
};

prePatch = ''
substituteInPlace ./CMakeLists.txt \
--replace ' ''${ROFI_PLUGINS_DIR}' " $out/lib/rofi" \
--replace "/usr/share/" "$out/share/"
'';

nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ rofi gtk3 ];

ROFI_PLUGINS_DIR = "$out/lib/rofi";

dontUseCmakeBuildDir = true;

meta = with stdenv.lib; {
description = "Use rofi to quickly open files";
homepage = "https://github.com/marvinkreis/rofi-file-browser-extended";
license = licenses.mit;
maintainers = with maintainers; [ jluttine ];
};
}
10 changes: 8 additions & 2 deletions pkgs/applications/networking/cluster/terraform/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, lib, buildEnv, buildGoPackage, fetchFromGitHub, makeWrapper, coreutils
, runCommand, writeText, terraform-providers }:
, runCommand, writeText, terraform-providers, fetchpatch }:

let
goPackagePath = "github.com/hashicorp/terraform";
@@ -120,7 +120,13 @@ in rec {
terraform_0_12 = pluggable (generic {
version = "0.12.24";
sha256 = "1rjihp6qcaizp2nnv4z20kpmjnqcw95pq5rnhq381a3pdzr0cd0z";
patches = [ ./provider-path.patch ];
patches = [
./provider-path.patch
(fetchpatch {
name = "fix-mac-mojave-crashes.patch";
url = "https://github.com/hashicorp/terraform/pull/24562.patch";
sha256 = "1k70kk4hli72x8gza6fy3vpckdm3sf881w61fmssrah3hgmfmbrs";
}) ];
passthru = { inherit plugins; };
});

5 changes: 2 additions & 3 deletions pkgs/data/themes/yaru/default.nix
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@

stdenv.mkDerivation rec {
pname = "yaru";
version = "20.04.1";
version = "20.04.6";

src = fetchFromGitHub {
owner = "ubuntu";
repo = "yaru";
rev = version;
sha256 = "0c9az0bmnrnkgxfifp6nkan5bvjrkqrpg38zsp2vg493bm3bpbg1";
sha256 = "04z16bcv1xdq4acnchd6cq9a8j46zl2bjp50cj90qmd6plpiiz50";
};

nativeBuildInputs = [ meson sassc pkg-config glib ninja python3 ];
@@ -25,6 +25,5 @@ stdenv.mkDerivation rec {
license = with licenses; [ cc-by-sa-40 gpl3 ];
platforms = platforms.linux;
maintainers = [ maintainers.jD91mZM2 ];
broken = true; # since libsass 3.6.3
};
}
244 changes: 0 additions & 244 deletions pkgs/development/compilers/go/1.13.nix

This file was deleted.

28 changes: 15 additions & 13 deletions pkgs/os-specific/linux/wireguard/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchzip, kernel, perl, wireguard-tools }:
{ stdenv, fetchzip, kernel, perl, wireguard-tools, bc }:

# module requires Linux >= 3.10 https://www.wireguard.io/install/#kernel-requirements
assert stdenv.lib.versionAtLeast kernel.version "3.10";
@@ -7,29 +7,31 @@ assert stdenv.lib.versionOlder kernel.version "5.6";

stdenv.mkDerivation rec {
pname = "wireguard";
version = "1.0.20200401";
version = "1.0.20200413";

src = fetchzip {
url = "https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-${version}.tar.xz";
sha256 = "1q4gfpbvbyracnl219xqfz5yqfc08i6g41z6bn2skx5x8jbll3aq";
sha256 = "11dpw1inszbc3qjcfnap74kgjxkyyrx90vxv6wmsgkbp8lsl4p66";
};

preConfigure = ''
cd src
sed -i '/depmod/,+1d' Makefile
'';

hardeningDisable = [ "pic" ];

KERNELDIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
INSTALL_MOD_PATH = "\${out}";

NIX_CFLAGS = ["-Wno-error=cpp"];

nativeBuildInputs = [ perl ] ++ kernel.moduleBuildDependencies;
nativeBuildInputs = [ perl bc ] ++ kernel.moduleBuildDependencies;

preBuild = "cd src";
buildFlags = [ "module" ];
installTargets = [ "module-install" ];

INSTALL_MOD_PATH = placeholder "out";
installFlags = [ "DEPMOD=true" ];
enableParallelBuilding = true;

passthru = {
# remove this when our kernel comes with native wireguard support
# and our tests no longer tests this package
inherit (wireguard-tools) tests;
};

meta = with stdenv.lib; {
inherit (wireguard-tools.meta) homepage license maintainers;
6 changes: 3 additions & 3 deletions pkgs/tools/misc/bat/default.nix
Original file line number Diff line number Diff line change
@@ -4,17 +4,17 @@

rustPlatform.buildRustPackage rec {
pname = "bat";
version = "0.14.0";
version = "0.15.0";

src = fetchFromGitHub {
owner = "sharkdp";
repo = pname;
rev = "v${version}";
sha256 = "0wxmn3ifrgpfq44xs747qqik2p2vazdw5zi4imxqap2krha4k2ms";
sha256 = "07yng5bwhin7yqj1hihmxgi8w0n45nks05a8795zwsw92k373ib4";
fetchSubmodules = true;
};

cargoSha256 = "0bs6pqrg0vdam2h2ddikmgmksqlfjljqacc52rh6p546is6jcp2s";
cargoSha256 = "1xqbpij6lr0bqyi0cfwgp3d4hcjhibpdc4dfm9gb39mmbgradrzf";

nativeBuildInputs = [ pkgconfig llvmPackages.libclang installShellFiles makeWrapper ];

25 changes: 15 additions & 10 deletions pkgs/tools/networking/wireguard-tools/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
stdenv, fetchzip,

iptables ? null,
iproute ? null,
makeWrapper ? null,
openresolv ? null,
procps ? null,
wireguard-go ? null,
{ stdenv
, fetchzip
, nixosTests
, iptables ? null
, iproute ? null
, makeWrapper ? null
, openresolv ? null
, procps ? null
, wireguard-go ? null
}:

with stdenv.lib;
@@ -47,7 +47,12 @@ stdenv.mkDerivation rec {
done
'';

passthru.updateScript = ./update.sh;
passthru = {
updateScript = ./update.sh;
tests = {
inherit (nixosTests) wireguard wg-quick wireguard-generated wireguard-namespaces;
};
};

meta = {
description = "Tools for the WireGuard secure network tunnel";
6 changes: 3 additions & 3 deletions pkgs/tools/nix/nixpkgs-fmt/default.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "nixpkgs-fmt";
version = "0.7.0";
version = "0.8.0";

src = fetchFromGitHub {
owner = "nix-community";
repo = pname;
rev = "v${version}";
sha256 = "0b9wwv77bpq24yxky44ndgvxsx2zgsl15lvl6wklbkr41mwz3xis";
sha256 = "09lhi8aidw9qf94n07mgs2nfac32a96wkx50glj35dhn06iwzwqr";
};

cargoSha256 = "1vv2gypbmgd9lksrk5h2z3agcs1269p1i3im9529nhcsl62ckj7n";
cargoSha256 = "15m40d9354412h51zn806pxsqjai48xiw8chf8slbi0cjxd268j9";

meta = with lib; {
description = "Nix code formatter for nixpkgs";
24 changes: 4 additions & 20 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -8585,13 +8585,6 @@ in
buildPackages = buildPackages // { stdenv = gcc8Stdenv; };
});

go_1_13 = callPackage ../development/compilers/go/1.13.nix ({
inherit (darwin.apple_sdk.frameworks) Security Foundation;
} // lib.optionalAttrs stdenv.isAarch64 {
stdenv = gcc8Stdenv;
buildPackages = buildPackages // { stdenv = gcc8Stdenv; };
});

go_1_14 = callPackage ../development/compilers/go/1.14.nix ({
inherit (darwin.apple_sdk.frameworks) Security Foundation;
} // lib.optionalAttrs stdenv.isAarch64 {
@@ -15230,9 +15223,6 @@ in
buildGo112Package = callPackage ../development/go-packages/generic {
go = buildPackages.go_1_12;
};
buildGo113Package = callPackage ../development/go-packages/generic {
go = buildPackages.go_1_13;
};
buildGo114Package = callPackage ../development/go-packages/generic {
go = buildPackages.go_1_14;
};
@@ -15242,9 +15232,6 @@ in
buildGo112Module = callPackage ../development/go-modules/generic {
go = buildPackages.go_1_12;
};
buildGo113Module = callPackage ../development/go-modules/generic {
go = buildPackages.go_1_13;
};
buildGo114Module = callPackage ../development/go-modules/generic {
go = buildPackages.go_1_14;
};
@@ -20343,9 +20330,7 @@ in

kubeval-schema = callPackage ../applications/networking/cluster/kubeval/schema.nix { };

kubernetes = callPackage ../applications/networking/cluster/kubernetes {
go = buildPackages.go_1_13;
};
kubernetes = callPackage ../applications/networking/cluster/kubernetes { };

kubeseal = callPackage ../applications/networking/cluster/kubeseal { };

@@ -20771,6 +20756,8 @@ in

rofi-emoji = callPackage ../applications/misc/rofi-emoji { };

rofi-file-browser = callPackage ../applications/misc/rofi-file-browser { };

ympd = callPackage ../applications/audio/ympd { };

nload = callPackage ../applications/networking/nload { };
@@ -25973,10 +25960,7 @@ in

termpdfpy = python3Packages.callPackage ../applications/misc/termpdf.py {};

inherit (callPackage ../applications/networking/cluster/terraform {
# terraform 0.12 crashes with go1.14 on darwin https://github.com/hashicorp/terraform/issues/24287
buildGoPackage = if stdenv.isDarwin then buildGo113Package else buildGoPackage;
})
inherit (callPackage ../applications/networking/cluster/terraform { })
terraform_0_11
terraform_0_11-full
terraform_0_12