-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
ci(build): Get libtexpdf into build using flake inputs #1777
Conversation
Thanks! This makes perfect sense and if Nix was the only thing in play here I'd be all for it. As it is I'm a bit unsure since this workflow now splits the workflows that update the upstream source build vs. the Nix flake. I am not sure I want it to be a separate action that could be out of sync. I'll probably fiddle with a way to get them both updated at the same time or otherwise kept in sync. Just triggering |
There's also the option:
|
d586bce
to
72d3378
Compare
72d3378
to
9598c84
Compare
I hope you tested that nix command. I slightly afraid it is missing a `--write-lock-file` flag but I'm not sure.
|
Yes I put it through a few paces by downgrading libtexpdf and updating it again, it seemed to work as expected. The lock file definitely gets updated with the expected submodule update. I had to remove the |
After experimenting with building projects that depend on git submodules, I reached the conclusion that this is the most comfortable way of handling such dependencies. You may like this approach since updating
libtexpdf
for the flakes will only require:and the above will also update libtexpdf to it's latest version. Using a specific version of libtexpdf is possible using:
You can also do the above while disabling changing the
flake.lock
file: