!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

229 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
23 Jul 2023
@qbit:tapenet.org@qbit:tapenet.orgare you getting an error ?18:33:43
@atalii:matrix.org@atalii:matrix.orgno; just trying to understand the build process so i can do something like it for a different language. my understanding is that first go-modules is built, which runs go mod vendor or go mod download, and that output is then linked into the main derivation?18:35:21
@atalii:matrix.org@atalii:matrix.org^oh, and, if this is correct... how is that possible? go mod vendor downloads the sources for deps (right?), which shouldn't be able to happen in the sandbox?18:41:26
@qbit:tapenet.org@qbit:tapenet.orgi am not sure on the download side of things 21:48:06
@artturin:matrix.orgArtturin
In reply to @atalii:matrix.org
^oh, and, if this is correct... how is that possible? go mod vendor downloads the sources for deps (right?), which shouldn't be able to happen in the sandbox?
It uses a fixed output derivation which can access network
22:26:57
@artturin:matrix.orgArtturin
In reply to @atalii:matrix.org
^oh, and, if this is correct... how is that possible? go mod vendor downloads the sources for deps (right?), which shouldn't be able to happen in the sandbox?
* go-modules uses a fixed output derivation which can access network
22:27:25
@artturin:matrix.orgArtturin * go-modules is a fixed output derivation which can access network 22:27:30
@qbit:tapenet.org@qbit:tapenet.orgah, so FOD works because we know what the hash will be? 22:40:28
@qbit:tapenet.org@qbit:tapenet.orgso network access is .. ok-ish22:40:40
@qbit:tapenet.org@qbit:tapenet.org?22:40:59
@qbit:tapenet.org@qbit:tapenet.orgwhat denotes that it's FOD?22:44:02
@qbit:tapenet.org@qbit:tapenet.orgor.. i guess.. how would one know it was FOD?22:44:53
@atalii:matrix.org@atalii:matrix.org
In reply to @artturin:matrix.org
go-modules is a fixed output derivation which can access network
ah, thank you - same question as qbit, how does nix 'know' its fixed?
22:45:51

Show newer messages


Back to Room ListRoom Version: 9