Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: nix build with RLN #747

Merged
merged 1 commit into from
Sep 18, 2023
Merged

fix: nix build with RLN #747

merged 1 commit into from
Sep 18, 2023

Conversation

richard-ramos
Copy link
Member

Description

buildGo119Module uses go mod vendor. Looking at how this command works, I noticed that it only downloads the files that are inside packages referenced in the code. The linking for RLN is not referenced as a package but via cgo. To solve this, I added some dummy files in go-zerokit-rln x86_64, arm and apple, and references to this file to force go mod vendor to download the static libraries

Issue

closes #731

@status-im-auto
Copy link

status-im-auto commented Sep 16, 2023

Jenkins Builds

Click to see older builds (16)
Commit #️⃣ Finished (UTC) Duration Platform Result
✖️ 2579679 #1 2023-09-16 17:54:39 ~18 sec nix-flake 📄log
2579679 #1 2023-09-16 17:55:42 ~1 min linux 📄log
✔️ 2579679 #1 2023-09-16 17:57:10 ~2 min tests 📄log
✔️ 2579679 #1 2023-09-16 17:57:35 ~3 min tests 📄log
✔️ 2579679 #1 2023-09-16 17:58:40 ~4 min android 📦tgz
✔️ 2579679 #1 2023-09-16 17:58:59 ~4 min ios 📦tgz
✖️ 2579679 #2 2023-09-16 18:02:23 ~13 sec nix-flake 📄log
✖️ 2579679 #3 2023-09-16 19:38:49 ~15 sec nix-flake 📄log
✖️ 2579679 #4 2023-09-17 17:56:49 ~15 sec nix-flake 📄log
✔️ 2579679 #5 2023-09-18 13:13:50 ~2 min nix-flake 📄log
5dae32d #2 2023-09-18 13:18:49 ~33 sec linux 📄log
✔️ 5dae32d #2 2023-09-18 13:20:13 ~1 min tests 📄log
✔️ 5dae32d #6 2023-09-18 13:20:14 ~1 min nix-flake 📄log
✔️ 5dae32d #2 2023-09-18 13:21:38 ~3 min android 📦tgz
✔️ 5dae32d #2 2023-09-18 13:21:51 ~3 min ios 📦tgz
✔️ 5dae32d #2 2023-09-18 13:22:07 ~3 min tests 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ c983f3a #3 2023-09-18 13:23:04 ~49 sec tests 📄log
✔️ c983f3a #3 2023-09-18 13:23:56 ~1 min linux 📦deb
✔️ c983f3a #3 2023-09-18 13:24:00 ~1 min tests 📄log
✔️ c983f3a #7 2023-09-18 13:24:09 ~1 min nix-flake 📄log
✔️ c983f3a #3 2023-09-18 13:25:33 ~3 min ios 📦tgz
✔️ c983f3a #3 2023-09-18 13:25:53 ~3 min android 📦tgz
✔️ 39e08d1 #4 2023-09-18 13:25:04 ~1 min tests 📄log
✔️ 39e08d1 #4 2023-09-18 13:25:05 ~1 min linux 📦deb
✔️ 39e08d1 #4 2023-09-18 13:25:55 ~1 min tests 📄log
✔️ 39e08d1 #8 2023-09-18 13:26:05 ~1 min nix-flake 📄log
✔️ 39e08d1 #4 2023-09-18 13:27:36 ~3 min ios 📦tgz
✔️ 39e08d1 #4 2023-09-18 13:29:10 ~3 min android 📦tgz

@richard-ramos richard-ramos force-pushed the fix/nix/rln branch 2 times, most recently from 5dae32d to c983f3a Compare September 18, 2023 13:21
Copy link
Contributor

@jakubgs jakubgs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch.

flake.nix Show resolved Hide resolved
@richard-ramos richard-ramos merged commit be4601e into master Sep 18, 2023
11 checks passed
@richard-ramos richard-ramos deleted the fix/nix/rln branch September 18, 2023 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

bug: nix build fails when using RLN support
3 participants