!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

224 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.47 Servers

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


SenderMessageTime
15 Jan 2024
@qbit:tapenet.org@qbit:tapenet.org by default it builds ./... 14:20:12
@qbit:tapenet.org@qbit:tapenet.orguh, you should only have to set it once for every change of deps14:20:24
@qbit:tapenet.org@qbit:tapenet.orgdo you have external C deps? 14:20:30
@qbit:tapenet.org@qbit:tapenet.org if so you will need to set proxyVendor = true; or the hash can change every build 14:20:49
@fionera:matrix.orgfioneraNo but I hoped to even skip the initial pinning :D14:20:49
@fionera:matrix.orgfioneraI am migrating vom bazel to nix 14:21:08
@qbit:tapenet.org@qbit:tapenet.orgonly way to do that is to have your stuff vendor'd already 14:21:14
@qbit:tapenet.org@qbit:tapenet.org as in go mod vendor; git add vindor; git commit ... etc 14:21:26
@qbit:tapenet.org@qbit:tapenet.organd then cut a new release14:21:32
@qbit:tapenet.org@qbit:tapenet.orgnot ideal14:21:34
@fionera:matrix.orgfionerayeah vendoring isnt possible as I am importing k8s and friends14:21:52
@qbit:tapenet.org@qbit:tapenet.org typically you just have src.hash = "" and vendorHash = "", then run nix-build 2x 14:22:13
@qbit:tapenet.org@qbit:tapenet.orgfilling in the hashes as they come14:22:17
@fionera:matrix.orgfioneraok :D Thank you very much :)14:23:01
@qbit:tapenet.org@qbit:tapenet.orgnp!14:24:43
@katexochen:matrix.orgPaul Meyer (katexochen) fionera: or use nix-update, for example nix-update --version=skip --flake <package-attr> will update the vendor hash of a local package. 14:55:58
@katexochen:matrix.orgPaul Meyer (katexochen) * fionera: or use nix-update, for example nix-update --version=skip --flake <package-attr> will update the vendor hash of a local package in a nix flake. 14:56:12
@katexochen:matrix.orgPaul Meyer (katexochen) * fionera: or use nix-update, for example nix-update --version=skip --flake <package-attr> will update the vendor hash of a local package in a nix flake. 15:18:17
16 Jan 2024
@badbayan:matrix.org@badbayan:matrix.org joined the room.12:16:49
@badbayan:matrix.org@badbayan:matrix.org left the room.12:17:04
@galaxyyy:matrix.orgSaturn set a profile picture.17:55:57
17 Jan 2024
@sumner:nevarro.spaceSumner Evans changed their profile picture.05:26:12
@garionion:entr0py.degarionion changed their profile picture.09:36:17
23 Jan 2024
@adam:robins.wtf@adam:robins.wtf joined the room.00:43:27

Show newer messages


Back to Room ListRoom Version: 9