nushellPlugins: fix check phases
This commit is contained in:
parent
48ae3d24bc
commit
8024ef9b1c
@ -15,7 +15,9 @@ rustPlatform.buildRustPackage {
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ IOKit Foundation ];
|
||||
cargoBuildFlags = [ "--package nu_plugin_formats" ];
|
||||
doCheck = false;
|
||||
checkPhase = ''
|
||||
cargo test --manifest-path crates/nu_plugin_formats/Cargo.toml
|
||||
'';
|
||||
meta = with lib; {
|
||||
description = "A formats plugin for Nushell";
|
||||
homepage = "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_formats";
|
||||
|
@ -15,7 +15,9 @@ rustPlatform.buildRustPackage {
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
|
||||
cargoBuildFlags = [ "--package nu_plugin_gstat" ];
|
||||
doCheck = false; # some tests fail
|
||||
checkPhase = ''
|
||||
cargo test --manifest-path crates/nu_plugin_gstat/Cargo.toml
|
||||
'';
|
||||
meta = with lib; {
|
||||
description = "A git status plugin for Nushell";
|
||||
homepage = "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_gstat";
|
||||
|
@ -19,8 +19,9 @@ rustPlatform.buildRustPackage {
|
||||
|
||||
cargoBuildFlags = [ "--package nu_plugin_query" ];
|
||||
|
||||
# compilation fails with a missing symbol
|
||||
doCheck = false;
|
||||
checkPhase = ''
|
||||
cargo test --manifest-path crates/nu_plugin_query/Cargo.toml
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
|
Loading…
Reference in New Issue
Block a user