nushellPlugins: add passthru.updateScript to all packages
This commit is contained in:
parent
b830062237
commit
eea9d62c0a
2 changed files with 4 additions and 0 deletions
|
@ -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";
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue