!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

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

You have reached the beginning of time (for this room).


SenderMessageTime
5 Jan 2024
@qbit:tapenet.org@qbit:tapenet.org \o/ : /nix/store/ww1inj006h7q79li8wd0mlnz93zj60dv-neutrond-2.0.0 16:53:37
@qbit:tapenet.org@qbit:tapenet.orghad to disable cgo and use -trimpath16:53:48
@qbit:tapenet.org@qbit:tapenet.org Vladislav Vasilev: http://sprunge.us/Pt0OZc 16:54:09
@faust403:matrix.orgVladislav VasilevOne moment17:04:09
@faust403:matrix.orgVladislav VasilevAnd previously you got same error ?17:04:26
@faust403:matrix.orgVladislav VasilevWith my default.ni17:04:32
@faust403:matrix.orgVladislav Vasilev * With my default.nix17:04:38
@qbit:tapenet.org@qbit:tapenet.orgif you remove the cgo and trimpath stuff it will hit the issue with the embedded /build17:04:54
@faust403:matrix.orgVladislav VasilevOh, thank you 17:05:50
@faust403:matrix.orgVladislav VasilevIt works17:05:51
@faust403:matrix.orgVladislav VasilevBut why? I removed gcc17:06:01
@qbit:tapenet.org@qbit:tapenet.orgthat -X line is just setting a variable - it isn't actually changing any build stuff17:06:43
@qbit:tapenet.org@qbit:tapenet.orgCGO and trimpath make it work by telling go that the build needs to be reproducible 17:07:09
@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

Show newer messages


Back to Room ListRoom Version: 9