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

Move sublime into config module #2580

Merged
merged 1 commit into from
Oct 11, 2024
Merged

Move sublime into config module #2580

merged 1 commit into from
Oct 11, 2024

Conversation

bemyak
Copy link
Contributor

@bemyak bemyak commented Jul 19, 2024

This is maybe a bit of controversial change, but I stumbled upon inability to build my crate (which depends on some parts of Zola) using Nix. The problem is that Nix builds every crate in an isolated environment, but since the config component depends on sublime files outside its crate root, the build fails.

I discussed the issue with a person who maintains the rust harness for Nix, and he suggested fixing it in Zola: ipetkov/crane#666 (comment)
There's a bit more info attached there.

Hope you will consider these changes 😊
It would also make publishing Zola's subcrates to crates.io a bit more feasible.


Sanity check:

  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Are you doing the PR on the next branch?

@Keats
Copy link
Collaborator

Keats commented Aug 15, 2024

I think it's fine? I can't think of issues caused by that.

Having a crate depend on files outside of its directory
breaks building Zola as a dependency using Nix
@bemyak
Copy link
Contributor Author

bemyak commented Oct 11, 2024

I don't think there are any issues caused by this change, it's more like a matter of aesthetics 🙂

If you don't object, maybe let's get it merged?

@Keats Keats merged commit 9119e9f into getzola:next Oct 11, 2024
5 checks passed
@Keats
Copy link
Collaborator

Keats commented Oct 11, 2024

Yep sorry forgot about it

@bemyak bemyak deleted the move-sublime branch October 11, 2024 14:24
@bemyak
Copy link
Contributor Author

bemyak commented Oct 11, 2024

Thank you! 🙏

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