-
Notifications
You must be signed in to change notification settings - Fork 15
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
nix: build package from repository source #25
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ignis.url = "git+https://github.com/linkfrg/ignis?submodules=1";
I'm a bit confused by this line. Is it possible to fetch submodules in ignis.nix
as it is now?
No, the following command gives the error nix build "github:ratson/ignis/a1ea09b19302944cbf7137e89dddc80f58fa3c47" while the follow command builds without problem, nix build "git+https://github.com/ratson/ignis?submodules=1&rev=a1ea09b19302944cbf7137e89dddc80f58fa3c47" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm just a little scared by the length of this line in the docs, in ags for example Gvc fetch manually in default.nix
.
Anyway, thanks!
Btw you also need to make a PR for the (no need, i did in a94e205)stable
branch to update the stable docs.
Hyprland build from the GitHub repository requires the same, so it should be fine. Here why |
nix/
src
to use repositorymainProgram
instead ofmain_program
version
to include commit short hash and modified date