Conversation
|
belongs to nixpkgs pull request: NixOS/nixpkgs#487 |
|
hashString was only introduced in Nix 1.4. I don't think we should use such new feature in nix in nixpkgs. Currently nix 1.2 is required for nixpkgs, and when we switched, that caused quite some annoyances to some users. I think we should be a bit conservative with the nix version required for nixpkgs, so I would prefer not needed nix > 1.2 for nixpkgs currently. Can this be pull request be made to work with nix <= 1.2 as well somehow (e.g. alternative to hashString). Edit: I guess it should be fine for nixos (to which this changeset refers to, sorry still early) |
|
Some of the description strings have improper punctuation / formatting (descriptions are DocBook fragments, so they should use DocBook markup). |
modules/services/misc/phpfpm.nix
Outdated
some changes to PHP: (the pull request for nixpkgs will be given in a comment) - id tag - system_fpm_config - requires recent nix hashString implementation (everybody should have it now ?) - include improvements suggesteb by Eelco More information see comments in phpfpm.nix
…you don't have php5_2fpm
|
+1 hosting wordpress it is :D |
|
So, what's the status with merging this in? |
|
So what is the state with merging this? I would really like to add some PHP packages like wordpress and serve then with this great PHP process manager. |
|
Excerpts from Jaka Hudoklin's message of Wed Aug 21 11:51:50 +0200 2013:
|
|
Well yes, but it would be nice to have this in official nixos repo :) |
|
Someone needs to test it with full setup and confirm it's handy :-) |
|
Will do that. But it does cover most of the things that @brodul once explained how secure wordpress deployments shuld be made :D But yes, code really needs some refactoring to be more clean and readable. |
|
Next week beer? How is the status with the wiki? So we can write some cookbooks/examples. |
|
Can someone provide a config I can test in a vm for all this php stuff? I'll be glad to work on merging this. |
|
One sample is contained in the patch, another can be found here: If I didn't miss anything this creates users and PHP config at once. second example: and put http://mawercer.de/tmp/php-hosts.nix into /etc/nixos |
|
Now included in: NixOS/nixpkgs#487 |
some changes to PHP: (the pull request for nixpkgs will be given in a comment)
More information see comments in phpfpm.nix