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 #370 ] add locate command, data-files in cabal config #372

Merged
merged 3 commits into from
Oct 1, 2024

Conversation

flupe
Copy link
Contributor

@flupe flupe commented Oct 1, 2024

Added the data-files info to bundle the agda2hs prelude with the cabal package.
Had to bump cabal version to 2.4 for the wildcards to be accepted.

agda2hs locate will now print out the path to the bundled .agda-lib file of the prelude, still need to update the documentation to explain how to run the command when setting up agda2hs.

Let me know if this command should be renamed to something else (I just chose the same name as agda-mode locate).

Copy link
Contributor

@omelkonian omelkonian left a comment

Choose a reason for hiding this comment

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

LGTM; I agree with naming the command locate to be consistent with normal Agda.

src/Main.hs Outdated Show resolved Hide resolved
@jespercockx
Copy link
Member

Thank you, this looks great!

@jespercockx jespercockx merged commit 0412c42 into agda:master Oct 1, 2024
6 checks passed
@anka-213
Copy link
Member

hmm, I wonder if this change would affect the nix-distribution, as it packages the agda2hs library separately. I'll have to research that

@liesnikov liesnikov mentioned this pull request Dec 18, 2024
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

Successfully merging this pull request may close these issues.

Add agda2hs library to data-files + add command to print location of the library
4 participants