about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/shells/nushell/plugins/formats.nix2
-rw-r--r--pkgs/shells/nushell/plugins/gstat.nix2
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";