!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

234 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.48 Servers

Load older messages


SenderMessageTime
5 Jan 2024
@qbit:tapenet.org@qbit:tapenet.orgso go will remove references to full paths like th wasm thing17:07:23
@faust403:matrix.orgVladislav VasilevAnd by default cgo is enabled ?17:08:26
@qbit:tapenet.org@qbit:tapenet.org=0 tells go to make a static binary17:10:25
@faust403:matrix.orgVladislav VasilevAh17:10:39
@faust403:matrix.orgVladislav VasilevNice, i got it17:10:47
@faust403:matrix.orgVladislav VasilevYou are magician, thank you very much17:11:06
@faust403:matrix.orgVladislav VasilevBy default I should enable this thing in future everywhere17:11:29
@qbit:tapenet.org@qbit:tapenet.orgno, you usually don't have to 17:12:02
@faust403:matrix.orgVladislav VasilevAs I understood, the problem was triggered because of shared linking with dangling paths17:13:07
@faust403:matrix.orgVladislav VasilevSo, static building fix it17:13:25
@qbit:tapenet.org@qbit:tapenet.orgstatic build was part of the fix - trimpath was the other17:13:36
@faust403:matrix.orgVladislav Vasilevtrimpath removing some dirs from path ?17:14:57
@qbit:tapenet.org@qbit:tapenet.orgya, if you look at the binary from the failing build it has the explicit path to the vendor derectory for CosmWasm/wasmvm17:25:11
@qbit:tapenet.org@qbit:tapenet.org oh no, seems i am mistaken - only adding CGO_ENABLED = 0; does fix it 17:28:20
@faust403:matrix.orgVladislav VasilevbuildGoModule placing every binary in $out/bin ? 17:32:16
@faust403:matrix.orgVladislav Vasilevimage.png
Download image.png
17:33:25
@faust403:matrix.orgVladislav VasilevStrange libraries17:33:27
@qbit:tapenet.org@qbit:tapenet.orgya, buildGoModule does TheRightThing™17:35:39
@faust403:matrix.orgVladislav Vasilevmeaningful names is a good idea17:39:28
@qbit:tapenet.org@qbit:tapenet.orgno idea what those names are about :P17:39:50
@faust403:matrix.orgVladislav VasilevROFL17:42:58
@faust403:matrix.orgVladislav VasilevThis one who starts with R building with error17:43:08
@faust403:matrix.orgVladislav VasilevI have no any idea now how to install it 17:43:28
@faust403:matrix.orgVladislav Vasilevahahhaha i love go17:43:30
@faust403:matrix.orgVladislav Vasilevimage.png
Download image.png
17:43:35
@qbit:tapenet.org@qbit:tapenet.orgwhat are you trying to install?17:43:45
@faust403:matrix.orgVladislav VasilevThis package17:43:54
@faust403:matrix.orgVladislav Vasilevnix-env -i .17:43:57
@qbit:tapenet.org@qbit:tapenet.orgfrom nixpkgs? 17:44:20
@faust403:matrix.orgVladislav VasilevNo, local17:44:28

Show newer messages


Back to Room ListRoom Version: 9