From 47e3a9133326f81deb04b1bc101aaa68ed1879c7 Mon Sep 17 00:00:00 2001 From: Aidan Gauland Date: Sat, 24 Dec 2022 14:44:23 +1300 Subject: [PATCH 1/2] nushell: Add updater script --- pkgs/shells/nushell/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/shells/nushell/default.nix b/pkgs/shells/nushell/default.nix index 11c9aa67a2e2..b64c7a93da13 100644 --- a/pkgs/shells/nushell/default.nix +++ b/pkgs/shells/nushell/default.nix @@ -21,6 +21,7 @@ , withExtraFeatures ? true , testers , nushell +, nix-update-script }: rustPlatform.buildRustPackage rec { @@ -99,5 +100,8 @@ rustPlatform.buildRustPackage rec { tests.version = testers.testVersion { package = nushell; }; + updateScript = nix-update-script { + attrPath = pname; + }; }; } From eb416f1bc06839be5e88144827ac82b61ed61253 Mon Sep 17 00:00:00 2001 From: Aidan Gauland Date: Sat, 24 Dec 2022 15:26:08 +1300 Subject: [PATCH 2/2] nushell: 0.72.1 -> 0.73 --- pkgs/shells/nushell/default.nix | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/pkgs/shells/nushell/default.nix b/pkgs/shells/nushell/default.nix index b64c7a93da13..1885a40d4c4d 100644 --- a/pkgs/shells/nushell/default.nix +++ b/pkgs/shells/nushell/default.nix @@ -26,26 +26,16 @@ rustPlatform.buildRustPackage rec { pname = "nushell"; - version = "0.72.1"; + version = "0.73.0"; src = fetchFromGitHub { owner = pname; repo = pname; rev = version; - sha256 = "sha256-OVJr+usN+47yBHFAy94rIVlU2F+Klo6xdrV2MwUoKUE="; + sha256 = "sha256-hxcB5nzhVjsC5XYR4Pt3GN4ZEgWpetQQZr0mj3bAnRc="; }; - patches = [ - # https://github.com/nushell/nushell/pull/7423: make tests - # more resilient (less dependent on env). - # Already merged upstream, so can be dropped in the next version - (fetchpatch { - url = "https://github.com/nushell/nushell/commit/87631e7068bfc6635d5b31413856f0a791994527.patch"; - hash = "sha256-9vrcmBe5gXLLodynb3jyarwi/a0YiurJ6WsDxXl2vjo="; - }) - ]; - - cargoSha256 = "sha256-v6mPr+gOT64rKYuog+hS7/AqUZDailoOBXX3Sfeo+sk="; + cargoSha256 = "sha256-pw+pBZeXuKSaP/qC3aiauXAH/BRR1rQZ2jVVmR1JQhU="; # enable pkg-config feature of zstd cargoPatches = [ ./zstd-pkg-config.patch ];