From 2e8c51ac4e9736134d40dcb2d55d117836504041 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Wed, 13 Apr 2022 08:24:53 -0400 Subject: [PATCH] bump nixpkgs-21.11 and drop the special zfec handling the latest zfec release works fine without help --- default.nix | 14 -------------- nix/sources.json | 6 +++--- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/default.nix b/default.nix index 095c54578..5f4db2c78 100644 --- a/default.nix +++ b/default.nix @@ -86,24 +86,10 @@ mach-nix.buildPythonPackage rec { # There are some reasonable defaults so we only need to specify certain # packages where the default configuration runs into some issue. providers = { - # Through zfec 1.5.5 the wheel has an incorrect runtime dependency - # declared on argparse, not available for recent versions of Python 3. - # Force mach-nix to use the sdist instead. This allows us to apply a - # patch that removes the offending declaration. - zfec = "sdist"; }; # Define certain overrides to the way Python dependencies are built. _ = { - # Apply the argparse declaration fix to zfec sdist. - zfec.patches = with pkgs; [ - (fetchpatch { - name = "fix-argparse.patch"; - url = "https://github.com/tahoe-lafs/zfec/commit/c3e736a72cccf44b8e1fb7d6c276400204c6bc1e.patch"; - sha256 = "1md9i2fx1ya7mgcj9j01z58hs3q9pj4ch5is5b5kq4v86cf6x33x"; - }) - ]; - # Remove a click-default-group patch for a test suite problem which no # longer applies because the project apparently no longer has a test suite # in its source distribution. diff --git a/nix/sources.json b/nix/sources.json index e0235a3fb..ced730ab7 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -41,10 +41,10 @@ "homepage": "", "owner": "NixOS", "repo": "nixpkgs", - "rev": "6c4b9f1a2fd761e2d384ef86cff0d208ca27fdca", - "sha256": "1yl5gj0mzczhl1j8sl8iqpwa1jzsgr12fdszw9rq13cdig2a2r5f", + "rev": "838eefb4f93f2306d4614aafb9b2375f315d917f", + "sha256": "1bm8cmh1wx4h8b4fhbs75hjci3gcrpi7k1m1pmiy3nc0gjim9vkg", "type": "tarball", - "url": "https://github.com/nixos/nixpkgs/archive/6c4b9f1a2fd761e2d384ef86cff0d208ca27fdca.tar.gz", + "url": "https://github.com/NixOS/nixpkgs/archive/838eefb4f93f2306d4614aafb9b2375f315d917f.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, "pypi-deps-db": {