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

Liqwid libs #26

Open
smunx opened this issue Jan 17, 2023 · 1 comment
Open

Liqwid libs #26

smunx opened this issue Jan 17, 2023 · 1 comment

Comments

@smunx
Copy link

smunx commented Jan 17, 2023

Is your feature request related to a problem? Please describe.
How do you add the liqwid-libs to the flake.nix
https://github.com/Liqwid-Labs/liqwid-libs

@gabrielhdt
Copy link
Contributor

gabrielhdt commented Feb 3, 2023

I see two ways: either you add a paragraph in the cabal.project file (and then the required package in package.yaml, or you use the liqwid-nix integration.

The diff for the cabal.project would be (assuming only plutarch-quickcheck is imported)

diff --git a/cabal.project b/cabal.project
index f9364a1..83ecf1a 100644
--- a/cabal.project
+++ b/cabal.project
@@ -38,6 +38,13 @@ source-repository-package
   subdir: plutarch-extra
   --sha256: 1wbzzdkrf4n1r44iddnw501imd0xq1kkn25sjjck9z55xyw3286g
 
+source-repository-package
+  type: git
+  location: https://github.com/Liqwid-Labs/liqwid-libs
+  tag: f747c0b50e4035d4f3a13f4f3c028855466a3469
+  subdir: plutarch-quickcheck
+  --sha256: 18ih1w0rf8kxlb11h2ziypg671yqvd7bwnsk9afy2il5fwqk6g15
+
 -- Plutarch builds with `-Werror` but does have warnings. We disable this
 -- behaviour locally by making warnings warnings again.
 --

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants