nushellPlugins: fix update script
Because of inheriting the version attribute from nushell, we need to tell the updater script to ignore the version and check the hash anyway.
This commit is contained in:
parent
be2e62a36d
commit
fa845cc3b6
@ -21,7 +21,10 @@ rustPlatform.buildRustPackage rec {
|
||||
cargo test --manifest-path crates/nu_plugin_formats/Cargo.toml
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
passthru.updateScript = nix-update-script {
|
||||
# Skip the version check and only check the hash because we inherit version from nushell.
|
||||
extraArgs = [ "--version=skip" ];
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A formats plugin for Nushell";
|
||||
|
@ -21,7 +21,10 @@ rustPlatform.buildRustPackage rec {
|
||||
cargo test --manifest-path crates/nu_plugin_gstat/Cargo.toml
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
passthru.updateScript = nix-update-script {
|
||||
# Skip the version check and only check the hash because we inherit version from nushell.
|
||||
extraArgs = [ "--version=skip" ];
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A git status plugin for Nushell";
|
||||
|
@ -19,7 +19,10 @@ rustPlatform.buildRustPackage {
|
||||
cargo test --manifest-path crates/nu_plugin_query/Cargo.toml
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
passthru.updateScript = nix-update-script {
|
||||
# Skip the version check and only check the hash because we inherit version from nushell.
|
||||
extraArgs = [ "--version=skip" ];
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Nushell plugin to query JSON, XML, and various web data";
|
||||
|
Loading…
Reference in New Issue
Block a user