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

Readme installation instructions give error with flakes (with solution) #6

Open
Zaphodious opened this issue Oct 18, 2024 · 0 comments

Comments

@Zaphodious
Copy link

Hi there!

When trying to add madness to a config using flakes following the instruction in the readme, I encountered the following error:

error: in pure evaluation mode, 'fetchGit' will not fetch unlocked input 'git+https://github.com/antithesishq/madness.git?exportIgnore=1'

I was able to fix it by adding "rev" to the import statement, pointing at the most recent commit:

"${builtins.fetchGit {
    url = "https://github.com/antithesishq/madness.git";
    rev = "c22c9c03579b7175d94f63e44ee0e518bb5ccdba"
}}/modules"

Thank you for your time!

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

1 participant