nushellPlugins: add passthru.updateScript to all packages

This commit is contained in:
Aidan Gauland 2023-09-12 10:39:19 +12:00 committed by Yt
parent b830062237
commit eea9d62c0a
2 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,7 @@
, pkg-config
, IOKit
, Foundation
, nix-update-script
}:
rustPlatform.buildRustPackage rec {
@ -17,6 +18,7 @@ rustPlatform.buildRustPackage rec {
checkPhase = ''
cargo test --manifest-path crates/nu_plugin_formats/Cargo.toml
'';
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "A formats plugin for Nushell";
homepage = "https://github.com/nushell/nushell/tree/${version}/crates/nu_plugin_formats";

View File

@ -5,6 +5,7 @@
, nushell
, pkg-config
, Security
, nix-update-script
}:
rustPlatform.buildRustPackage rec {
@ -17,6 +18,7 @@ rustPlatform.buildRustPackage rec {
checkPhase = ''
cargo test --manifest-path crates/nu_plugin_gstat/Cargo.toml
'';
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "A git status plugin for Nushell";
homepage = "https://github.com/nushell/nushell/tree/${version}/crates/nu_plugin_gstat";