From eea9d62c0a3cabc1cb0080437d12ca4409b40c23 Mon Sep 17 00:00:00 2001 From: Aidan Gauland Date: Tue, 12 Sep 2023 10:39:19 +1200 Subject: [PATCH] nushellPlugins: add passthru.updateScript to all packages --- pkgs/shells/nushell/plugins/formats.nix | 2 ++ pkgs/shells/nushell/plugins/gstat.nix | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pkgs/shells/nushell/plugins/formats.nix b/pkgs/shells/nushell/plugins/formats.nix index b1bcacc33df4..9268b191e37d 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 7cabc74cff9c..f4dad7215599 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";