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

View file

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