!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

237 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
25 Sep 2023
@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
@artturin:matrix.orgArtturinImport from derivation05:26:55
@artturin:matrix.orgArtturinWhich isn't allowed in nixpkgs05:27:14
@artturin:matrix.orgArtturinFiles would have to be downloaded during evaluation05:27:25

Show newer messages


Back to Room ListRoom Version: 9