summary refs log tree commit diff
path: root/pkgs/shells/nushell/plugins/gstat.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/shells/nushell/plugins/gstat.nix')
-rw-r--r--pkgs/shells/nushell/plugins/gstat.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/shells/nushell/plugins/gstat.nix b/pkgs/shells/nushell/plugins/gstat.nix
index 7cabc74cff9..f4dad721559 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";