From fea8babd692c05fd1ec52997b0065c49f42968ae Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Wed, 28 Jan 2026 12:16:11 +0100 Subject: [PATCH] lighthouse: fix cargoTestFlags/cargoBuildFlags for structuredAttrs --- pkgs/by-name/li/lighthouse/package.nix | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/li/lighthouse/package.nix b/pkgs/by-name/li/lighthouse/package.nix index fa09eb2b4509..3a2acc3ca68d 100644 --- a/pkgs/by-name/li/lighthouse/package.nix +++ b/pkgs/by-name/li/lighthouse/package.nix @@ -78,7 +78,8 @@ rustPlatform.buildRustPackage rec { }; cargoBuildFlags = [ - "--package lighthouse" + "--package" + "lighthouse" ]; __darwinAllowLocalNetworking = true; @@ -88,15 +89,15 @@ rustPlatform.buildRustPackage rec { # All of these tests require network access and/or docker cargoTestFlags = [ "--workspace" - "--exclude beacon_chain" - "--exclude beacon_node" - "--exclude http_api" - "--exclude lighthouse" - "--exclude lighthouse_network" - "--exclude network" - "--exclude slashing_protection" - "--exclude watch" - "--exclude web3signer_tests" + "--exclude=beacon_chain" + "--exclude=beacon_node" + "--exclude=http_api" + "--exclude=lighthouse" + "--exclude=lighthouse_network" + "--exclude=network" + "--exclude=slashing_protection" + "--exclude=watch" + "--exclude=web3signer_tests" ]; # All of these tests require network access