php-embed: Drop the declaration of the php-embed attributes

This commit is contained in:
Elis Hirwing
2020-04-03 10:11:07 +02:00
parent 1983417a2f
commit be7bf5a18d
3 changed files with 26 additions and 19 deletions
+7 -2
View File
@@ -4,10 +4,15 @@
, pam, withPAM ? stdenv.isLinux
, systemd, withSystemd ? stdenv.isLinux
, python2, python3, ncurses
, ruby, php-embed, libmysqlclient
, ruby, php, libmysqlclient
}:
let pythonPlugin = pkg : lib.nameValuePair "python${if pkg.isPy2 then "2" else "3"}" {
let php-embed = php.override {
config.php.embed = true;
config.php.apxs2 = false;
};
pythonPlugin = pkg : lib.nameValuePair "python${if pkg.isPy2 then "2" else "3"}" {
interpreter = pkg.interpreter;
path = "plugins/python";
inputs = [ pkg ncurses ];