chirpstack: smaller cleanups and harmonization (#366031)

This commit is contained in:
Ryan Hendrickson
2024-12-18 17:41:42 -05:00
committed by GitHub
4 changed files with 10 additions and 19 deletions
@@ -24,12 +24,10 @@ buildGoModule rec {
"-X main.version=${version}"
];
nativeInstallCheckInputs = [
versionCheckHook
];
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
versionCheckProgramArg = "version";
checkFlags = [
"-skip=TestStorage" # Depends on external database server
];
@@ -24,12 +24,10 @@ buildGoModule rec {
"-X main.version=v${version}"
];
nativeInstallCheckInputs = [
versionCheckHook
];
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
versionCheckProgramArg = "version";
checkFlags = [
"-skip=TestMQTTBackend" # Depends on external MQTT broker
];
@@ -1,7 +1,6 @@
{
lib,
stdenv,
darwin,
rustPlatform,
fetchFromGitHub,
nix-update-script,
@@ -23,13 +22,12 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ protobuf ];
nativeInstallCheckInputs = [
versionCheckHook
];
nativeInstallCheckInputs = [ versionCheckHook ];
# Skip tests depending on internet connectivity
checkFlags = [ "--skip=end_to_end" ];
doInstallCheck = true;
checkFlags = [
"--skip=end_to_end" # Depends on internet connectivity
];
passthru.updateScript = nix-update-script { };
@@ -1,7 +1,6 @@
{
lib,
stdenv,
darwin,
rustPlatform,
fetchFromGitHub,
nix-update-script,
@@ -23,11 +22,9 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ protobuf ];
nativeInstallCheckInputs = [
versionCheckHook
];
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
versionCheckProgramArg = "--version";
passthru.updateScript = nix-update-script { };