Skip to content

Commit ceb168b

Browse files
authored
fix(flake.nix): remove preBuild to fix building on Linux (#15259)
1 parent 097fdaf commit ceb168b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

flake.nix

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
name = "protoc-gen-go";
4545
owner = "protocolbuffers";
4646
repo = "protobuf-go";
47-
rev = "v1.30.0";
47+
rev = "v1.30.0";
4848
src = pkgs.fetchFromGitHub {
4949
owner = "protocolbuffers";
5050
repo = "protobuf-go";
@@ -54,11 +54,6 @@
5454
};
5555
subPackages = [ "cmd/protoc-gen-go" ];
5656
vendorHash = null;
57-
proxyVendor = true;
58-
preBuild = ''
59-
export GOPROXY=https://proxy.golang.org,direct
60-
go mod download
61-
'';
6257
};
6358

6459
# The minimal set of packages to build Coder.
@@ -172,7 +167,7 @@
172167
'';
173168
};
174169
packages = {
175-
proto_gen_go = proto_gen_go_1_30;
170+
proto_gen_go = proto_gen_go_1_30;
176171
all = pkgs.buildEnv {
177172
name = "all-packages";
178173
paths = devShellPackages;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy