!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

230 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.50 Servers

Load older messages


SenderMessageTime
27 Jul 2024
@bumperboat:matrix.orgbumperboat left the room.11:58:49
29 Jul 2024
@kaya:catnip.eekaya changed their profile picture.07:47:18
2 Aug 2024
@marcusramberg:matrix.orgMarcus Mic92: Have you seen https://github.com/nix-community/gomod2nix/pull/165 ? Would be kinda nice to get darwin support back šŸ˜… 09:05:30
@octvs:matrix.orgoctvs left the room.09:08:48
@marcusramberg:matrix.orgMarcusThanks!09:12:17
6 Aug 2024
@phanirithvij:matrix.orgloudgolemHi I have added a few packages I use fairly regularly, please review https://github.com/NixOS/nixpkgs/pull/332765, thank you18:27:57
7 Aug 2024
@kaya:catnip.eekaya changed their profile picture.09:17:24
8 Aug 2024
@galaxyyy:matrix.orgSaturn left the room.05:37:24
@phanirithvij:matrix.orgloudgolemApologies, I missed the review-requests channel, I will post in the appropriate channel #review-requests:nixos.org from now on.14:06:53
@qyliss:fairydust.spaceAlyssa Ross set a profile picture.18:48:44
10 Aug 2024
@creepinson:matrix.orgTheo Paris joined the room.01:34:59
@creepinson:matrix.orgTheo Paris

I'm trying to package aws-lc in nixpkgs and I tested with nix build .#aws-lc and it works fine, but nix build .#pkgsStatic.aws-lc causes errors with go run. I am using buildGoModule, and I tried CGO_ENABLED=0 as well as ldflags = ["-extldflags=-static"] and it didn't fix it.

 > FAILED: crypto_test_data.cc /build/source/build/crypto_test_data.cc
       > cd /build/source && /nix/store/83ffvqm5g4ig8jmmgjicri31iyv27bwm-go-1.22.5/bin/go run util/embed_test_data.go -file-list /build/source/build/embed_test_data_args.txt > /build/source/build/crypto_test_data.cc
       > fork/exec /build/go-build1317377595/b001/exe/embed_test_data: no such file or directory
       > [95/558] Generating err_data.c
       > FAILED: crypto/err_data.c /build/source/build/crypto/err_data.c
       > cd /build/source/crypto/err && /nix/store/83ffvqm5g4ig8jmmgjicri31iyv27bwm-go-1.22.5/bin/go run err_data_generate.go > /build/source/build/crypto/err_data.c
       > fork/exec /build/go-build1857997573/b001/exe/err_data_generate: no such file or directory
01:36:19
@creepinson:matrix.orgTheo Paris *

I'm trying to package aws-lc in nixpkgs and I tested with nix build .#aws-lc and it works fine, but nix build .#pkgsStatic.aws-lc causes errors with go run. I am using buildGoModule, and I tried CGO_ENABLED=0 as well as ldflags = ["-extldflags=-static"] and it didn't fix it. Any ideas?

 > FAILED: crypto_test_data.cc /build/source/build/crypto_test_data.cc
       > cd /build/source && /nix/store/83ffvqm5g4ig8jmmgjicri31iyv27bwm-go-1.22.5/bin/go run util/embed_test_data.go -file-list /build/source/build/embed_test_data_args.txt > /build/source/build/crypto_test_data.cc
       > fork/exec /build/go-build1317377595/b001/exe/embed_test_data: no such file or directory
       > [95/558] Generating err_data.c
       > FAILED: crypto/err_data.c /build/source/build/crypto/err_data.c
       > cd /build/source/crypto/err && /nix/store/83ffvqm5g4ig8jmmgjicri31iyv27bwm-go-1.22.5/bin/go run err_data_generate.go > /build/source/build/crypto/err_data.c
       > fork/exec /build/go-build1857997573/b001/exe/err_data_generate: no such file or directory
01:36:54
@creepinson:matrix.orgTheo ParisHmm, the same issue happens with the existing boringssl package01:43:30
@atalii:matrix.org@atalii:matrix.org left the room.20:10:56
12 Aug 2024
@jgero:matrix.orgjgero left the room.06:13:38
14 Aug 2024
@fudgemaster:matrix.orgFrank Geusch changed their display name from Master Fudge to Frank Geusch.13:25:42
@kaya:catnip.eekaya changed their profile picture.19:51:16
17 Aug 2024
@isabel:isabelroses.comisabel joined the room.12:43:24
@glepage:matrix.orgGaƩtan Lepage joined the room.20:52:53
@glepage:matrix.orgGaƩtan Lepage

Hi !
I'm trying to package FindMyDevice server, but it fails to build with:

go: downloading github.com/google/flatbuffers v23.5.26+incompatible
go: downloading github.com/objectbox/objectbox-go v1.7.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/objectbox/objectbox-generator v0.13.0
go: findmydeviceserver/debug/crypto imports
        golang.org/x/crypto/pbkdf2: no required module provides package golang.org/x/crypto/pbkdf2; to add it:
        go get golang.org/x/crypto/pbkdf2

probably caused by this line

20:54:21
@glepage:matrix.orgGaƩtan LepageAny idea to get around this ?20:54:29
18 Aug 2024
@qbit:tapenet.org@qbit:tapenet.org I think you will need to set the subModules section to cmd/... 02:02:34
@qbit:tapenet.org@qbit:tapenet.orglooks like the docker file has the build steps02:02:56
@qbit:tapenet.org@qbit:tapenet.org sorry, subPackages 02:04:00
@qbit:tapenet.org@qbit:tapenet.org subPackages = [ "./cmd/fmdserver.go" ]; 02:04:27
@qbit:tapenet.org@qbit:tapenet.orgshould do it02:04:31
@r3vx:matrix.orgr3vx joined the room.14:17:52
@glepage:matrix.orgGaƩtan Lepage Oh I see, thank you for your answer.
Actually, I discovered that someone else was already on it in https://github.com/NixOS/nixpkgs/pull/326998
19:12:13
20 Aug 2024
@benjaminedwardwebb:envs.netbenwebb changed their display name from benjaminedwardwebb to benwebb.12:44:16

Show newer messages


Back to Room ListRoom Version: 9