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

Input boolean arguments might be being ignored/git submodules #20

Closed
SomeoneSerge opened this issue Feb 17, 2021 · 2 comments · Fixed by #36
Closed

Input boolean arguments might be being ignored/git submodules #20

SomeoneSerge opened this issue Feb 17, 2021 · 2 comments · Fixed by #36

Comments

@SomeoneSerge
Copy link

Flake inputs since recently support boolean arguments, including submodules = true for git inputs, which are supposed to trigger recursive checkout.

It seems, however, that flake-compat ignores those arguments:

Related:

@charlesbaynham
Copy link
Contributor

Hi @SomeoneSerge, I ran into this too - did you find a workaround?

@SomeoneSerge
Copy link
Author

Hello @charlesbaynham, I actually don't remember when have I last run into this problem (or the need to use flake inputs with submodules). Lately, I've been using the new builtins.getFlake instead of flake-compat, because I more often needed "shell.nix" for impure evaluation, rather than for handling flake-less installations of Nix

I haven't tested your PR yet, but I presume it would fix the issue

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 a pull request may close this issue.

2 participants