this post was submitted on 01 Sep 2023
3 points (71.4% liked)
NixOS
232 readers
1 users here now
NixOS is a Linux distribution built on top of the Nix package manager. Its declarative configuration allows reliable system upgrades via several official channels of stability and size.
This community discusses NixOS, Nix, and everything related.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This is what you want in your
configuration.nix
:Let me know how that works out for you.
That worked! Thank you! How did you know how to solve it?
I'm in the NixOS php maintainers team.
And how could I find out something like this?
Looks like you almost had it figured out.
composer
belongs to thephpPackages
set, an alias forphp.packages
, and any package under that set should use thephp
package you specify. This way you can customize thephp
configuration for various programs.I briefly looked at the documentation and I'm not sure that this is specifically mentioned. Unless I missed it this would be nice to add to our documentation.