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
php package does not consider anymore /etc/php.d/xxx.ini #89011
Comments
cc @NixOS/php |
@shyim correct, this impure side effect inducing behavior was removed. You are encouraged to use Is your use case |
I just want to increase the limit on the cli and all php packages like composer etc |
@shyim does this satisfy your requirements:
|
I actually didn't know that the old But if it was, it was bad I'd say. And I'm happy that we fixed that. But since it was impure before and is pure now we should probably add a mention for that in the release notes for 20.09. |
Thanks @aanderse |
@aanderse It seems so that now extensions are missing. How can I get with buildEnv all extensions like the normal? |
@shyim please let us know how this works out for you. Don't be hesitant to ask any questions! |
php.buildEnv {
extensions = { enabled, ... }: enabled;
extraConfig = "memory_limit=2G";
} @NixOS/php It seems weird to me that one would need to define that the default set should be active by changing the config. EDIT: Maybe we could have a |
If only extraConfig is specified in buildEnv, keep the currently enabled extensions active. Brought up in NixOS#89011.
Describe the bug
PHP does not consider anymore ini files under /etc/php.d/
To Reproduce
php -i | grep memory_limit is still 128MB.
This did worked in previous channel
Expected behavior
I can override the default values
Screenshots
Additional context
Notify maintainers
@etu
Metadata
"x86_64-linux"
Linux 5.6.13, NixOS, 20.09pre226148.0f5ce2fac0c (Nightingale)
yes
yes
nix-env (Nix) 2.3.4
"nixos-20.09pre226148.0f5ce2fac0c"
"nixos-20.09pre226148.0f5ce2fac0c"
Maintainer information:
The text was updated successfully, but these errors were encountered: