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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user