Skip to content
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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 16174037b3b6
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2f7fa4bb8887
Choose a head ref
  • 20 commits
  • 16 files changed
  • 12 contributors

Commits on Jan 4, 2021

  1. visidata: 2.1 -> 2.1.1

    r-ryantm committed Jan 4, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    bagder Daniel Stenberg
    Copy the full SHA
    9708bf6 View commit details
  2. eksctl: 0.34.0 -> 0.35.0

    afreakk committed Jan 4, 2021

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    afaef8a View commit details
  3. linux: 5.11-rc1 -> 5.11-rc2

    Added temporary patch for a syntax error in the wireless drivers
    NeQuissimus committed Jan 4, 2021

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    f284b44 View commit details
  4. warsow: fix src url

    Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
    rissson committed Jan 4, 2021

    Partially verified

    This commit is signed with the committer’s verified signature.
    vcunat’s contribution has been verified via GPG key.
    We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
    Copy the full SHA
    559cf76 View commit details
  5. overmind: 2.1.1 -> 2.2.0

    Joe Dupuis committed Jan 4, 2021
    Copy the full SHA
    75dfb5f View commit details
  6. aws-nuke: init at 2.14.0

    grahamc committed Jan 4, 2021
    Copy the full SHA
    2bb0558 View commit details
  7. Copy the full SHA
    4582af6 View commit details
  8. Revert "python: 3.8.6 -> 3.8.7."

    Need to fix a patch first. Next iteration.
    
    This reverts commit 507efdb.
    FRidh committed Jan 4, 2021
    Copy the full SHA
    e1ed9b3 View commit details
  9. Copy the full SHA
    d815581 View commit details
  10. Copy the full SHA
    214effe View commit details
  11. rustracer: 2.1.35 -> 2.1.40, fix build

    Failing build: https://hydra.nixos.org/build/134175791
    ChangeLog: https://github.com/racer-rust/racer/blob/v2.1.40/CHANGELOG.md
    
    A few more things are worth noting:
    
    * It's not possible to update to latest version (2.1.42) at the time of
      committing since this requires a newer `rustc` (1.51 to be precise) to
      compile.
    * For proper completion, `rustLibSrc` rather than `rustcSrc` must be
      used now. The two were separated here previously[1].
    * Dropped the `checkPhase` and replaced it with a list of `checkFlags`.
      This has the benefit that the default `checkPhase` from
      `buildRustPackage` can be used which properly configures parallelism
      and which target to use (i.e. `release` in this case which reduces
      build time).
    
    [1] 68060f6
    Ma27 committed Jan 4, 2021
    Copy the full SHA
    61b8a2c View commit details
  12. Merge pull request #108422 from JoeDupuis/update-overmind-2.1.1-to-2.2.0

    overmind: 2.1.1 -> 2.2.0
    samueldr authored Jan 4, 2021
    Copy the full SHA
    32b542b View commit details
  13. Merge pull request #108397 from afreakk/eksctl-v0-35-0

    eksctl: 0.34.0 -> 0.35.0
    SuperSandro2000 authored Jan 4, 2021
    Copy the full SHA
    cb54c23 View commit details
  14. Merge pull request #108393 from r-ryantm/auto-update/visidata

    visidata: 2.1 -> 2.1.1
    SuperSandro2000 authored Jan 4, 2021
    Copy the full SHA
    91b89bd View commit details
  15. Merge pull request #108418 from rissson/pkgs-warsow

    warsow: fix src url
    SuperSandro2000 authored Jan 4, 2021
    Copy the full SHA
    2e8cc1c View commit details
  16. Copy the full SHA
    a080e9b View commit details
  17. Merge pull request #108420 from grahamc/aws-nuke

    aws-nuke: init at 2.14.0
    Ma27 authored Jan 4, 2021
    Copy the full SHA
    7cd7ff7 View commit details
  18. python37Packages.flufl_i18n: 3.1.3 -> 3.1.4

    r-ryantm authored and Jonathan Ringer committed Jan 4, 2021
    Copy the full SHA
    a43963d View commit details

Commits on Jan 5, 2021

  1. Copy the full SHA
    0e4e475 View commit details
  2. Copy the full SHA
    2f7fa4b View commit details
4 changes: 2 additions & 2 deletions pkgs/applications/misc/overmind/default.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

buildGoPackage rec {
pname = "overmind";
version = "2.1.1";
version = "2.2.0";
goPackagePath = "github.com/DarthSim/overmind";

nativeBuildInputs = [ makeWrapper ];
@@ -15,7 +15,7 @@ buildGoPackage rec {
owner = "DarthSim";
repo = pname;
rev = "v${version}";
sha256 = "0akqn8s1mgk5q00gzh3ymq7nrnkyi6avyaxxvbxnjyq9bxsqz327";
sha256 = "00v6l4138vv32bqfkzrhk4hfl52a00rlg9ywhp4difgrnz7zj6xb";
};

goDeps = ./deps.nix;
18 changes: 0 additions & 18 deletions pkgs/applications/misc/overmind/deps.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pkgs/applications/misc/visidata/default.nix
Original file line number Diff line number Diff line change
@@ -15,13 +15,13 @@
}:
buildPythonApplication rec {
pname = "visidata";
version = "2.1";
version = "2.1.1";

src = fetchFromGitHub {
owner = "saulpw";
repo = "visidata";
rev = "v${version}";
sha256 = "1psb3ycrb7k00b5blg9zr52bzdxs1mkdc7rpjn4m9kh09yfs3sx4";
sha256 = "018z06bfcw0l4k2zdwbgxna9fss4wdqj64ckw5qjis14sb3zkr28";
};

propagatedBuildInputs = [
6 changes: 3 additions & 3 deletions pkgs/development/interpreters/evcxr/default.nix
Original file line number Diff line number Diff line change
@@ -2,16 +2,16 @@

rustPlatform.buildRustPackage rec {
pname = "evcxr";
version = "0.6.0";
version = "0.7.0";

src = fetchFromGitHub {
owner = "google";
repo = "evcxr";
rev = "v${version}";
sha256 = "sha256-QpUhUE65/IuT/VenziPX6z+CbJswbPPIv/ZnTthZpEU=";
sha256 = "sha256-33XeepqwYmTMcObroPTuxykYuM9qYI1+LV5lZIFSomg=";
};

cargoSha256 = "sha256-iUzVd4XtD+41yTV/BmqWLenzAUNPfS7vIHm1KfuPe9A=";
cargoSha256 = "sha256-tjCID3YeGkxcq/LqJDMHGNpv1MCXKtcLlDnNkFwx1zU=";

RUST_SRC_PATH = "${rustPlatform.rustLibSrc}";

44 changes: 19 additions & 25 deletions pkgs/development/interpreters/python/cpython/3.8/no-ldconfig.patch
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
From 66f492d2eda94bd64db833839a325caf6ba0fed5 Mon Sep 17 00:00:00 2001
From: Greg Roodt <greg@canva.com>
Date: Wed, 9 Dec 2020 17:59:24 +1100
From 597e73f2a4b2f0b508127931b36d5540d6941823 Mon Sep 17 00:00:00 2001
From: Frederik Rietdijk <fridh@fridh.nl>
Date: Mon, 28 Aug 2017 09:24:06 +0200
Subject: [PATCH] Don't use ldconfig

---
Lib/ctypes/util.py | 77 ++--------------------------------------------
1 file changed, 2 insertions(+), 75 deletions(-)
Lib/ctypes/util.py | 70 ++----------------------------------------------------
1 file changed, 2 insertions(+), 68 deletions(-)

diff --git a/Lib/ctypes/util.py b/Lib/ctypes/util.py
index 0c2510e161..7fb98af308 100644
index 5e8b31a854..7b45ce6c15 100644
--- a/Lib/ctypes/util.py
+++ b/Lib/ctypes/util.py
@@ -100,53 +100,7 @@ elif os.name == "posix":
return thefile.read(4) == elf_header

@@ -94,46 +94,7 @@ elif os.name == "posix":
import re, tempfile
def _findLib_gcc(name):
- # Run GCC's linker with the -t (aka --trace) option and examine the
- # library name it prints out. The GCC command will fail because we
@@ -51,24 +51,17 @@ index 0c2510e161..7fb98af308 100644
- # Raised if the file was already removed, which is the normal
- # behaviour of GCC if linking fails
- pass
- res = re.findall(expr, trace)
- res = re.search(expr, trace)
- if not res:
- return None
-
- for file in res:
- # Check if the given file is an elf file: gcc can report
- # some files that are linker scripts and not actual
- # shared objects. See bpo-41976 for more details
- if not _is_elf(file):
- continue
- return os.fsdecode(file)
- return os.fsdecode(res.group(0))
+ return None


if sys.platform == "sunos5":
@@ -268,34 +222,7 @@ elif os.name == "posix":
@@ -255,34 +216,7 @@ elif os.name == "posix":
else:

def _findSoname_ldconfig(name):
- import struct
- if struct.calcsize('l') == 4:
@@ -99,8 +92,9 @@ index 0c2510e161..7fb98af308 100644
- except OSError:
- pass
+ return None

def _findLib_ld(name):
# See issue #9998 for why this is needed
--
2.24.3 (Apple Git-128)
--
2.15.0

4 changes: 2 additions & 2 deletions pkgs/development/interpreters/python/default.nix
Original file line number Diff line number Diff line change
@@ -154,10 +154,10 @@ in {
sourceVersion = {
major = "3";
minor = "8";
patch = "7";
patch = "6";
suffix = "";
};
sha256 = "sha256-3cwd8Wu1uHqkLsXSCluQLy0IjKommyjgFZD5enmOxQo=";
sha256 = "qeC3nSeqBW65zOjWOkJ7X5urFGXe4/lC3P2yWoL0q4o=";
inherit (darwin) configd;
inherit passthruFun;
};
15 changes: 9 additions & 6 deletions pkgs/development/ocaml-modules/ppx_import/default.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
{ lib, fetchurl, buildDunePackage, ocaml
, ounit, ppx_deriving, ppx_tools_versioned
, ppxlib, ocaml-migrate-parsetree
}:

if !lib.versionAtLeast ocaml.version "4.04"
then throw "ppx_import is not available for OCaml ${ocaml.version}"
else

buildDunePackage rec {
pname = "ppx_import";
version = "1.7.1";

useDune2 = true;

minimumOCamlVersion = "4.04";

src = fetchurl {
url = "https://github.com/ocaml-ppx/ppx_import/releases/download/v${version}/ppx_import-v${version}.tbz";
sha256 = "16dyxfb7syz659rqa7yq36ny5vzl7gkqd7f4m6qm2zkjc1gc8j4v";
};

buildInputs = [ ounit ppx_deriving ];
propagatedBuildInputs = [ ppx_tools_versioned ];
propagatedBuildInputs = [
ppxlib ppx_tools_versioned ocaml-migrate-parsetree
];

doCheck = true;
checkInputs = [ ounit ppx_deriving ];

meta = {
description = "A syntax extension that allows to pull in types or signatures from other compiled interface files";
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/flufl/i18n.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

buildPythonPackage rec {
pname = "flufl.i18n";
version = "3.1.3";
version = "3.1.4";

propagatedBuildInputs = [ atpublic ];

@@ -12,6 +12,6 @@ buildPythonPackage rec {

src = fetchPypi {
inherit pname version;
sha256 = "dcca738be27f2c43ddf6f9307667a17478353190071f38a9f92c9af8d2252ba4";
sha256 = "e19036292a825a69f0e0a87566d1628830c69eecd3b0295d22f582039477a6bb";
};
}
29 changes: 14 additions & 15 deletions pkgs/development/tools/rust/racer/default.nix
Original file line number Diff line number Diff line change
@@ -2,38 +2,37 @@

rustPlatform.buildRustPackage rec {
pname = "racer";
version = "2.1.35";
version = "2.1.40";

src = fetchFromGitHub {
owner = "racer-rust";
repo = "racer";
rev = "v${version}";
sha256 = "0c00b81s7abnadjbf4i39lhdkipx7z44sr8p78jd1fl61yyrspli";
sha256 = "sha256-8Is+RBfcXKbGSFzYoolLHs30rxlNI//xVGEOhxP2TV8=";
};

cargoSha256 = "1nbp2jp65fqwsq9i04iyi4pbszs035w6id50p5ypw234cqxznikm";
cargoSha256 = "sha256-iUomr9viCdZk4nV75/OP8vHtJpMbmy+pq1IbaA2lLmE=";

nativeBuildInputs = [ makeWrapper ];
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;

# a nightly compiler is required unless we use this cheat code.
RUSTC_BOOTSTRAP = 1;

RUST_SRC_PATH = rustPlatform.rustcSrc;
RUST_SRC_PATH = rustPlatform.rustLibSrc;
postInstall = ''
wrapProgram $out/bin/racer --set-default RUST_SRC_PATH ${rustPlatform.rustcSrc}
wrapProgram $out/bin/racer --set-default RUST_SRC_PATH ${rustPlatform.rustLibSrc}
'';

checkPhase = ''
cargo test -- \
--skip nameres::test_do_file_search_std \
--skip util::test_get_rust_src_path_rustup_ok \
--skip util::test_get_rust_src_path_not_rust_source_tree \
--skip extern --skip completes_pub_fn --skip find_crate_doc \
--skip follows_use_local_package --skip follows_use_for_reexport \
--skip follows_rand_crate --skip get_completion_in_example_dir \
--skip test_resolve_global_path_in_modules
'';
checkFlags = [
"--skip nameres::test_do_file_search_std"
"--skip util::test_get_rust_src_path_rustup_ok"
"--skip util::test_get_rust_src_path_not_rust_source_tree"
"--skip extern --skip completes_pub_fn --skip find_crate_doc"
"--skip follows_use_local_package --skip follows_use_for_reexport"
"--skip follows_rand_crate --skip get_completion_in_example_dir"
"--skip test_resolve_global_path_in_modules"
];

doInstallCheck = true;
installCheckPhase = ''
2 changes: 1 addition & 1 deletion pkgs/games/warsow/default.nix
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
version = "2.1.2";

src = fetchurl {
url = "http://slice.sh/warsow/${pname}-${version}.tar.gz";
url = "http://warsow.net/${pname}-${version}.tar.gz";
sha256 = "07y2airw5qg3s1bf1c63a6snjj22riz0mqhk62jmfm9nrarhavrc";
};

4 changes: 2 additions & 2 deletions pkgs/os-specific/linux/kernel/linux-testing.nix
Original file line number Diff line number Diff line change
@@ -3,15 +3,15 @@
with stdenv.lib;

buildLinux (args // rec {
version = "5.11-rc1";
version = "5.11-rc2";
extraMeta.branch = "5.11";

# modDirVersion needs to be x.y.z, will always add .0
modDirVersion = if (modDirVersionArg == null) then builtins.replaceStrings ["-"] [".0-"] version else modDirVersionArg;

src = fetchurl {
url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
sha256 = "sha256-nPJpz058khWE83QV9ITylTXjimBBw7SQwg7WBjWA7H0=";
sha256 = "092jgmzqfpylwbwhv7j8hy5y0ai14b6wm7p7vw6pxj7alixyynq0";
};

# Should the testing kernels ever be built on Hydra?
10 changes: 10 additions & 0 deletions pkgs/os-specific/linux/kernel/patches.nix
Original file line number Diff line number Diff line change
@@ -104,4 +104,14 @@
name = "mac_nvme_t2";
patch = ./mac-nvme-t2.patch;
};

# https://lkml.org/lkml/2020/12/18/461
wireless_syntax_error = rec {
name = "wireless-syntax_error";
patch = fetchpatch {
name = name + ".patch";
url = "https://lkml.org/lkml/diff/2020/12/18/461/1";
sha256 = "11rnw9z7311crsx37sk68b71q51cni70lzf40ildqjnnn71m3q58";
};
};
}
4 changes: 2 additions & 2 deletions pkgs/os-specific/linux/wireguard/default.nix
Original file line number Diff line number Diff line change
@@ -7,11 +7,11 @@ assert stdenv.lib.versionOlder kernel.version "5.6";

stdenv.mkDerivation rec {
pname = "wireguard";
version = "1.0.20201112";
version = "1.0.20201221";

src = fetchzip {
url = "https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-${version}.tar.xz";
sha256 = "sha256-HnYvjZ3VUH79NwNIvyTTygWYbVqEL2ttvlOlLiHhb5s=";
sha256 = "sha256-8RPJEk+6NaJP3LNZYEncLlkdrw2jHxNekKwEr+YpHeQ=";
};

hardeningDisable = [ "pic" ];
36 changes: 36 additions & 0 deletions pkgs/tools/admin/aws-nuke/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{ stdenv
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
pname = "aws-nuke";
version = "2.14.0";

src = fetchFromGitHub {
owner = "rebuy-de";
repo = pname;
rev = "v${version}";
sha256 = "sha256-ULHT2ysAVZHSojIdsbPTuwskwOQVrK8f14r9eq+Effs=";
};

vendorSha256 = "sha256-GUCsl5VyptNvStJZgCsJDlllZasX1OhbVkahcQFuiC8=";

preBuild = ''
if [ "x$outputHashAlgo" != "x" ]; then
# Only `go generate` when fetching the go mod vendor code
go generate ./...
fi
'';

doCheck = false;

subPackages = [ "." ];

meta = with stdenv.lib; {
description = "Nuke a whole AWS account and delete all its resources";
homepage = "https://github.com/rebuy-de/aws-nuke";
license = licenses.mit;
maintainers = with maintainers; [ grahamc ];
};
}
6 changes: 3 additions & 3 deletions pkgs/tools/admin/eksctl/default.nix
Original file line number Diff line number Diff line change
@@ -2,16 +2,16 @@

buildGoModule rec {
pname = "eksctl";
version = "0.34.0";
version = "0.35.0";

src = fetchFromGitHub {
owner = "weaveworks";
repo = pname;
rev = version;
sha256 = "1n2mvnis6r5vpb60jlb3c84sllsbvy93gzsds54igsp6l3zngq19";
sha256 = "0l4wlg6x074slndkihvwdvw4frsyzwxfqm1pkzqwc3x8awa9nlbv";
};

vendorSha256 = "0ggxilp44mm81b8hrxyb7642vy2q1109yz619z97mgvk0drhkhc0";
vendorSha256 = "0sfx8x1iwdqwbyiid5hc9wiwjc16aig8vplpjlqxkmcvig8qlwff";

doCheck = false;

Loading