!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

229 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.49 Servers

Load older messages


SenderMessageTime
1 Nov 2023
@qbit:tapenet.org@qbit:tapenet.orgmaybe remove that from the store and see if it gives you the hash? 14:49:04
@bumperboat:matrix.orgbumperboati did a nix-store --delete same thing trying to build the mock14:58:47
@qbit:tapenet.org@qbit:tapenet.orgwell, that was specifically to get the hash for the -go-modules derivation14:59:13
@bumperboat:matrix.orgbumperboatnix-store --delete /nix/store/6hb3rkffr6gszgrvbsjlc3xn5dhmiwx7-resticprofile-0.24.0-go-modules.drv finding garbage collector roots... deleting '/nix/store/6hb3rkffr6gszgrvbsjlc3xn5dhmiwx7-resticprofile-0.24.0-go-modules.drv' deleting unused links... note: currently hard linking saves 958.38 MiB 1 store paths deleted, 0.00 MiB freed 15:01:35
@bumperboat:matrix.orgbumperboatis that what you meant15:01:42
@qbit:tapenet.org@qbit:tapenet.orginteresting.. it goes right into the build 15:01:47
@qbit:tapenet.org@qbit:tapenet.orgya, my hope was thatremoving the -go-moudles derivation you could get the vendorHash to print15:02:07
@bumperboat:matrix.orgbumperboat

i did this ``` nix-hash --base32 /nix/store/6hb3rkffr6gszgrvbsjlc3xn5dhmiwx7-resticprofile-0.24.0-go-modules.drv
3gkhkbk332xsxqyfrvn29yn8ap

15:02:52
@bumperboat:matrix.orgbumperboatbut it didnt like that format15:03:12
@qbit:tapenet.org@qbit:tapenet.org need to nix hash to-sri --type sha256 $(nix-hash --type sha256 /nix/store/6hb3rkffr6gszgrvbsjlc3xn5dhmiwx7-resticprofile-0.24.0-go-modules.drv) i think 15:04:17
@qbit:tapenet.org@qbit:tapenet.orgit won't help anyway15:04:44
@qbit:tapenet.org@qbit:tapenet.orgsince it's trying to build right away for some reason15:04:58
@bumperboat:matrix.orgbumperboat

go test

github.com/creativeprojects/resticprofile

wrapper_test.go:24:2: no required module provides package github.com/creativeprojects/resticprofile/monitor/mocks; to add it:
go get github.com/creativeprojects/resticprofile/monitor/mocks
FAIL github.com/creativeprojects/resticprofile [setup failed]

15:11:10
@bumperboat:matrix.orgbumperboatthats if i run in the cloned repo15:11:26
@qbit:tapenet.org@qbit:tapenet.orgya, on the v0.24.0 checkout it fails too15:15:04
@qbit:tapenet.org@qbit:tapenet.orgi think they cut a bad release15:15:09
@bumperboat:matrix.orgbumperboatgo build works fine15:20:31
@qbit:tapenet.org@qbit:tapenet.orggo mod tidy fails though15:21:57
@bumperboat:matrix.orgbumperboatah - should i submit an issue with that to them? 15:23:18
@qbit:tapenet.org@qbit:tapenet.orgi am not sure :D15:23:48
@bumperboat:matrix.orgbumperboat:)15:23:56
@qbit:tapenet.org@qbit:tapenet.org it looks like the "/mocks/" stuff gets created.. then removed later on 15:26:05
@qbit:tapenet.org@qbit:tapenet.orgthey are def doing some funky stuff with the build15:26:49
@qbit:tapenet.org@qbit:tapenet.orglike the tests point to things that don't exist..15:27:20
@bumperboat:matrix.orgbumperboatthanks for your help 🙏I put in an issue with upstream to see if they have ideas 🤗15:59:01
@qbit:tapenet.org@qbit:tapenet.orgnp! sorry i couldn't resolve it :D16:03:09
@bumperboat:matrix.orgbumperboatyou were super helpful thanks!16:03:22
2 Nov 2023
@netthier:matrix.orgnetthier joined the room.11:40:22
@netthier:matrix.orgnetthier I'm trying to submit an update PR for the kluctl package, but it's refusing to build. I'm struggling to find any relevant results for the error on Google, and the error does not occur when building the package manually using the official instructions.
error: builder for '/nix/store/jqkx3yj3q2x73k5y0ch5pq0g0q3d1kag-kluctl-2.22.0.drv' failed with exit code 1;
       last 10 log lines:
       > Building subPackage ./e2e
       > Building subPackage ./e2e/test-utils
       > Building subPackage ./e2e/test-utils/http-server
       > Building subPackage ./e2e/test-utils/port-tool
       > Building subPackage ./e2e/test-utils/test-helm-chart
       > Building subPackage ./e2e/test_project
       > Building subPackage ./e2e/test_resources
       > Building subPackage ./install/controller
       > Building subPackage ./internal/ipfs-exchange-info
       > main module (github.com/kluctl/kluctl/v2) does not contain package github.com/kluctl/kluctl/v2/internal/ipfs-exchange-info
       For full logs, run 'nix log /nix/store/jqkx3yj3q2x73k5y0ch5pq0g0q3d1kag-kluctl-2.22.0.drv'.
Anyone know what could be going on here?
11:40:54
@qbit:tapenet.org@qbit:tapenet.org netthier: is it supposed to build test_* packages? 12:32:33

Show newer messages


Back to Room ListRoom Version: 9