From 4b39e819bfe4c9531e94c261031fcb110dc617a1 Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Thu, 28 Nov 2024 17:21:22 +0800 Subject: [PATCH 1/2] erigon: fix tags `tags` should be specified as a list of elements to form `-tags=e1,e2`, not the `-tags=e1,e2` flag string itself. --- pkgs/by-name/er/erigon/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/er/erigon/package.nix b/pkgs/by-name/er/erigon/package.nix index e8e5efd2452ee..bf65a3dce21bf 100644 --- a/pkgs/by-name/er/erigon/package.nix +++ b/pkgs/by-name/er/erigon/package.nix @@ -40,7 +40,7 @@ buildGoModule { # Enabling silkworm also breaks the build as it requires dynamically linked libraries. # If we need it in the future, we should consider packaging silkworm and silkworm-go # as depenedencies explicitly. - tags = "-tags=nosqlite,noboltdb,nosilkworm"; + tags = [ "nosqlite" "noboltdb" "nosilkworm" ]; passthru.updateScript = nix-update-script { }; From 3afd26366a3983d5b6a515340348e5a6869b21e3 Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Fri, 29 Nov 2024 10:01:14 +0800 Subject: [PATCH 2/2] nodeinfo: fix tags (should be a list) --- pkgs/by-name/no/nodeinfo/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/no/nodeinfo/package.nix b/pkgs/by-name/no/nodeinfo/package.nix index 76577fd154c90..1d86aaa00226d 100644 --- a/pkgs/by-name/no/nodeinfo/package.nix +++ b/pkgs/by-name/no/nodeinfo/package.nix @@ -17,7 +17,7 @@ buildGoModule rec { }; modRoot = "./cli"; - tags = "extension"; + tags = [ "extension" ]; ldflags = [ "-s" "-w"