treewide: remove dead code (shadowed GOOS and GOARCH specification)

buildGoModule internally shadow the GOOS and GOARCH specification as its
arguments.

Beside, GOOS and GOARCH inheritance from buildGoModule.go is broken,
since buildGoModule.go doesn't exist.
This commit is contained in:
Yueh-Shun Li
2024-12-18 23:16:41 +08:00
parent 2718b24d90
commit 9e13482d9f
5 changed files with 0 additions and 6 deletions
-1
View File
@@ -62,7 +62,6 @@ buildGo123Module {
];
CGO_ENABLED = 0;
GOOS = "linux";
doCheck = false;
ldflags = [
@@ -41,8 +41,6 @@ import ./versions.nix (
zlib
];
inherit (buildGoModule.go) GOOS GOARCH;
# need to provide GO* env variables & patch for reproducibility
postPatch = ''
substituteInPlace src/go/Makefile.am \
@@ -16,7 +16,6 @@ import ./versions.nix (
rev = "v${version}";
hash = sha256;
};
inherit (buildGoModule.go) GOOS GOARCH;
meta = with lib; {
description = "provides a simple CRUD interface for dealing with per-dataset markers on honeycomb.io";
@@ -16,7 +16,6 @@ import ./versions.nix (
rev = "v${version}";
hash = sha256;
};
inherit (buildGoModule.go) GOOS GOARCH;
meta = with lib; {
description = "agent for ingesting log file data into honeycomb.io and making it available for exploration";
@@ -16,7 +16,6 @@ import ./versions.nix (
rev = "v${version}";
hash = sha256;
};
inherit (buildGoModule.go) GOOS GOARCH;
meta = with lib; {
description = "CLI for sending individual events to honeycomb.io";