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

feat: Add PHP template #63

Merged
merged 2 commits into from
May 24, 2024
Merged

feat: Add PHP template #63

merged 2 commits into from
May 24, 2024

Conversation

Sironheart
Copy link
Contributor

No description provided.

Copy link
Member

@hbjydev hbjydev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice PR! Thanks for the contrib. I'll approve the CI job to check this builds, just one nitpicky request for changes :)

template/php/flake.nix Outdated Show resolved Hide resolved
@hbjydev hbjydev mentioned this pull request Apr 17, 2024
49 tasks
Copy link
Member

@hbjydev hbjydev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Will get this merged once I verify that it actually builds, CI is having... issues currently lol

Copy link
Member

@hbjydev hbjydev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, so. When trying to build this, it seems this doesn't output anything resembling a binary or script in the /bin path in the derivation output.

/tmp/tmp.mUjAv72oFJ via 🐘
❯ nix run .
error: unable to execute '/nix/store/pn5ag15jq0kkrw6iwd36hh74wwak9q5j-example-0.1.0/bin/example': No such file or directory

If this won't create any form of entrypoint executable, that's fine, but we'll drop the package entries for it and make it a dev shell-only one. Unless you can think of a better implementation here?

Happy for you to implement this as a binary, but I'll not merge this in its current state as it 'builds' but has nothing to run.

We can chat more about it in Discord if I've been unclear at all here.

Copy link
Member

@hbjydev hbjydev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I'll re-review later on :)

Copy link
Member

@hbjydev hbjydev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All works locally! Sorry for the delay @Sironheart :)

@hbjydev hbjydev merged commit de38d08 into ALT-F4-LLC:main May 24, 2024
0 of 40 checks passed
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 this pull request may close these issues.

2 participants