| 5 Jan 2024 |
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 |
Vladislav Vasilev | Ah | 17:10:39 |
Vladislav Vasilev | Nice, i got it | 17:10:47 |