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

Default ini files provided by the nix package #9187

Open
Atry opened this issue Sep 13, 2022 · 0 comments
Open

Default ini files provided by the nix package #9187

Atry opened this issue Sep 13, 2022 · 0 comments

Comments

@Atry
Copy link
Contributor

Atry commented Sep 13, 2022

Is your feature request related to a problem? Please describe.
Our native Debian/Ubuntu deb packages provide some default configuration files at /etc/hhvm/php.ini and /etc/hhvm/server.ini. However we did not provide the same files from the nix package.

Describe the solution you'd like
It would be good if we could provide the default configuration files for nix package as well.

Describe alternatives you've considered
I am not sure about the purpose of the default configuration files. The files are provided in native deb packages under /etc because they are system packages. A user can install the deb packages and then manually update the configuration files. However, nix packages do not follow Filesystem Hierarchy Standard, and the nix store is expected to be read only. Even if we provide the configuration files at /nix/store/xxxxxxxx-hhvm-xxxx/etc/hhvm, the users should not change it. For comparison, in our previously supported Homebrew bottles, the configurations files were under /usr/local/Cellar/hhvm/x.yyy/.bottle/etc/hhvm and were symbolically linked to /usr/local/etc.

Additional context
Given that we have universal deb packages packed from nix packages, should we adopt some part of Filesystem Hierarchy Standard in the universal deb package? Should we support /etc/hhvm/ path instead of /nix/store/xxxxxxxx-hhvm-xxxx/etc/hhvm path?

@Atry Atry changed the title Default ini files from the nix package Default ini files in the nix package Sep 13, 2022
@Atry Atry changed the title Default ini files in the nix package Default ini files provided by the nix package Sep 13, 2022
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

No branches or pull requests

1 participant