!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

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

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


SenderMessageTime
5 Jan 2024
@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
@faust403:matrix.orgVladislav VasilevAh17:10:39
@faust403:matrix.orgVladislav VasilevNice, i got it17:10:47

Show newer messages


Back to Room ListRoom Version: 9