-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add holo-dev-server to the dev shell when --holo is passed #181
Conversation
52b1d70
to
8d18755
Compare
8d18755
to
87e3f64
Compare
@c12i I pushed a commit to hopefully fix the tests. Weird though that github does not show any log output for the failed runs. |
I noticed this too, not sure why this is the case. However, I ran the tests locally (with above fixes), and the script exits with this error holo-dev-server is NOT available in the PATH |
They were definitely working locally for me. I'll look into it. |
@r-vdp the tests are still failing after your fix, could you kindly have a look? I would like to support, but I'm unfortunately still new to nix, feel free to follow up with the rest of the team on mattermost for assistance with this if it continues to persist |
Hi @c12i. Well, I know why we get the error, but we are still discussing with some other team members about the most desirable manner of fixing it, since there are some trade-offs to take into account. I will mark the PR as draft for now until we've figured out how we want to continue. For posterity: the current error is because the flake input is pointing to a tar.xz archive and nix is not automatically unpacking that, that's why we then get the error that the source path is not a directory (nix is expecting a directory containing a flake.nix). |
06dccae
to
0c72f4e
Compare
0c72f4e
to
b31b462
Compare
@c12i we finally got all the required pieces in place at the holo side. Would you be able to give this another look? |
Please review the commits separately, as the first two commits are just the result of running standard formatters to avoid reformatting later on. |
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.
LGTM, should probably remove it from draft mode, right @r-vdp?
We add a --holo flag to the example subcommand, it already existed for the web-app subcommand. When this flag is passed, we add holo-host/hbs-releases as a flake input and we add holo-dev-server-bin to the dev shell of the generated nix flake.
b31b462
to
a59c2ac
Compare
@c12i I undrafted and pushed a small change to remove a line from the diff that was not needed anymore. |
* Merge pull request #206 from c12i/ci-improvements enhancement: improve ci runtime * Merge pull request #233 from c12i/make-foo-for-bar-components-reactive fix(templates): Make linked entry-types reactive * Merge pull request #235 from c12i/bump-ci-actions-versions chore: bump ci action versions * Merge pull request #242 from c12i/set-agent-count-via-env-var feat: add option to set agent count via env var * Merge pull request #243 from c12i/prefer-dynamic-ports fix: prefer dynamic ports for starting ui for local development * Merge pull request #181 from r-vdp/add_holo_dev_server * fix failing tests * update app nix flake * chore: update Cargo lock * add missng holo flag
We add a --holo flag to the example subcommand.
When this flag is passed, we add holo-nixpkgs as a flake input and we add holo-dev-server to the dev shell's packages.
This PR builds on #165 that was opened by @alastairong