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

Git submodule support #181

Open
e-nikolov opened this issue Oct 16, 2023 · 2 comments
Open

Git submodule support #181

e-nikolov opened this issue Oct 16, 2023 · 2 comments

Comments

@e-nikolov
Copy link

I'm trying to deploy to a host from a flake that contains a git submodule. Flakes can support submodules by doing something like this:

nix build .?submodules=1#package

Is there a way to achieve this when deploying via colmena? I could not find a colmena flag to modify the installable url.

@ryan4yin
Copy link

ryan4yin commented Mar 8, 2024

Same problem here, would like to have this feature.

@NeverBehave
Copy link
Contributor

NeverBehave commented Apr 17, 2024

@ryan4yin for your config, have you tried url = "git+ssh://git@github.com/ryan4yin/nix-secrets.git?submodule=1"; ?

https://github.com/ryan4yin/nix-config/pull/76/files#diff-206b9ce276ab5971a2489d75eb1b12999d4bf3843b7988cbe8d687cfde61dea0L200

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

3 participants