!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

241 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.51 Servers

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


SenderMessageTime
25 Sep 2023
@katexochen:matrix.orgPaul Meyer (katexochen)The builder has a field vendorHash, that's what I'm talking about. As far as I understand, it creates a intermediate derivation with the vendored dependencies.05:14:32
@artturin:matrix.orgArtturinI consider vendoring copying files to the repo05:15:10
@katexochen:matrix.orgPaul Meyer (katexochen)* The builder has a field vendorHash, that's what I'm talking about. As far as I understand, it creates an intermediate derivation with the vendored dependencies.05:15:11
@artturin:matrix.orgArtturinthe vendorHash thingy is just for a fod05:15:25
@artturin:matrix.orgArtturinso the deps can be fetched05:15:29
@katexochen:matrix.orgPaul Meyer (katexochen)fod?05:18:44
@artturin:matrix.orgArtturinfixed output derivation05:18:52
@artturin:matrix.orgArtturinonly those and impure derivations have access to network05:19:00
@katexochen:matrix.orgPaul Meyer (katexochen)Sure, makes sense to separate those derivations. But couldn't it use the go.sum file instead of its own hash? How would I validate the vendorHash actually is the hash of the dependencies in the go.sum file? 05:22:52
@artturin:matrix.orgArtturin
In reply to @katexochen:matrix.org
Sure, makes sense to separate those derivations. But couldn't it use the go.sum file instead of its own hash? How would I validate the vendorHash actually is the hash of the dependencies in the go.sum file?
Using a file from inside the derivation would be ifd
05:26:48

Show newer messages


Back to Room ListRoom Version: 9