| 5 Jan 2024 |
@qbit:tapenet.org | \o/ : /nix/store/ww1inj006h7q79li8wd0mlnz93zj60dv-neutrond-2.0.0 | 16:53:37 |
@qbit:tapenet.org | had to disable cgo and use -trimpath | 16:53:48 |
@qbit:tapenet.org | Vladislav Vasilev: http://sprunge.us/Pt0OZc | 16:54:09 |
Vladislav Vasilev | One moment | 17:04:09 |
Vladislav Vasilev | And previously you got same error ? | 17:04:26 |
Vladislav Vasilev | With my default.ni | 17:04:32 |
Vladislav Vasilev | * With my default.nix | 17:04:38 |
@qbit:tapenet.org | if you remove the cgo and trimpath stuff it will hit the issue with the embedded /build | 17:04:54 |
Vladislav Vasilev | Oh, thank you | 17:05:50 |
Vladislav Vasilev | It works | 17:05:51 |
Vladislav Vasilev | But why? I removed gcc | 17:06:01 |
@qbit:tapenet.org | that -X line is just setting a variable - it isn't actually changing any build stuff | 17:06:43 |
@qbit:tapenet.org | CGO and trimpath make it work by telling go that the build needs to be reproducible | 17:07:09 |
@qbit:tapenet.org | so go will remove references to full paths like th wasm thing | 17:07:23 |
Vladislav Vasilev | And by default cgo is enabled ? | 17:08:26 |
@qbit:tapenet.org | =0 tells go to make a static binary | 17:10:25 |