diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-01-24 13:41:07 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-01-24 13:41:07 +0100 |
commit | 2abb172bacad70f5b7b451df2a1a984bfff4a2da (patch) | |
tree | 09326493af68598c17f4c52b6911e96b92fae832 /virtual/modules/websites/connexionswing/connexionswing.nix | |
parent | 73ed4b9052db660572eddcad325f0a6b8e21d234 (diff) | |
download | Nix-2abb172bacad70f5b7b451df2a1a984bfff4a2da.tar.gz Nix-2abb172bacad70f5b7b451df2a1a984bfff4a2da.tar.zst Nix-2abb172bacad70f5b7b451df2a1a984bfff4a2da.zip |
Add imagick for connexionswing
Fixes https://git.immae.eu/mantisbt/view.php?id=108
Diffstat (limited to 'virtual/modules/websites/connexionswing/connexionswing.nix')
-rw-r--r-- | virtual/modules/websites/connexionswing/connexionswing.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/virtual/modules/websites/connexionswing/connexionswing.nix b/virtual/modules/websites/connexionswing/connexionswing.nix index ecbbfd5..f394574 100644 --- a/virtual/modules/websites/connexionswing/connexionswing.nix +++ b/virtual/modules/websites/connexionswing/connexionswing.nix | |||
@@ -1,4 +1,4 @@ | |||
1 | { pkgs, lib, writeText, fetchedGitPrivate, stdenv, composerEnv, fetchurl, fetchgit }: | 1 | { pkgs, lib, writeText, fetchedGitPrivate, stdenv, composerEnv, phpPackages, fetchurl, fetchgit }: |
2 | let | 2 | let |
3 | connexionswing = { config }: rec { | 3 | connexionswing = { config }: rec { |
4 | environment = config.environment; | 4 | environment = config.environment; |
@@ -23,6 +23,9 @@ let | |||
23 | ''; | 23 | ''; |
24 | phpFpm = rec { | 24 | phpFpm = rec { |
25 | socket = "/var/run/phpfpm/connexionswing-${environment}.sock"; | 25 | socket = "/var/run/phpfpm/connexionswing-${environment}.sock"; |
26 | phpConfig = '' | ||
27 | extension=${phpPackages.imagick}/lib/php/extensions/imagick.so | ||
28 | ''; | ||
26 | pool = '' | 29 | pool = '' |
27 | listen = ${socket} | 30 | listen = ${socket} |
28 | user = ${apache.user} | 31 | user = ${apache.user} |