diff options
author | Aidan Gauland <aidalgol@fastmail.net> | 2023-09-12 10:39:19 +1200 |
---|---|---|
committer | Yt <happysalada@tuta.io> | 2023-10-05 21:32:21 +0000 |
commit | eea9d62c0a3cabc1cb0080437d12ca4409b40c23 (patch) | |
tree | e9867ffceb4738f89f3fd35d8353db3a8e4b7308 /pkgs | |
parent | b830062237613fe0b76e2c25bd7336d57f83d8f2 (diff) |
nushellPlugins: add passthru.updateScript to all packages
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/shells/nushell/plugins/formats.nix | 2 | ||||
-rw-r--r-- | pkgs/shells/nushell/plugins/gstat.nix | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/shells/nushell/plugins/formats.nix b/pkgs/shells/nushell/plugins/formats.nix index b1bcacc33df43..9268b191e37dd 100644 --- a/pkgs/shells/nushell/plugins/formats.nix +++ b/pkgs/shells/nushell/plugins/formats.nix @@ -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"; diff --git a/pkgs/shells/nushell/plugins/gstat.nix b/pkgs/shells/nushell/plugins/gstat.nix index 7cabc74cff9c3..f4dad72155992 100644 --- a/pkgs/shells/nushell/plugins/gstat.nix +++ b/pkgs/shells/nushell/plugins/gstat.nix @@ -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"; |