mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-22 16:16:11 +01:00
Add image handling support in nix shell.
This commit is contained in:
parent
af8a50dc3b
commit
1daff9de4a
3 changed files with 6 additions and 4 deletions
|
@ -28,7 +28,7 @@ Nothing
|
||||||
Tasks
|
Tasks
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Nothing
|
* Add image handling support in nix shell.
|
||||||
|
|
||||||
Deprecation
|
Deprecation
|
||||||
-----------
|
-----------
|
||||||
|
|
|
@ -76,9 +76,9 @@ abstract class AbstractFunctionalTestCase extends FunctionalTestCase
|
||||||
],
|
],
|
||||||
'GFX' => [
|
'GFX' => [
|
||||||
'processor_enabled' => true,
|
'processor_enabled' => true,
|
||||||
'processor_path' => '/usr/bin/',
|
'processor_path' => getenv('GRAPHICSMAGICK_PATH') ?: '/usr/bin/',
|
||||||
'processor_path_lzw' => '/usr/bin/',
|
'processor_path_lzw' => getenv('GRAPHICSMAGICK_PATH') ?: '/usr/bin/',
|
||||||
'processor' => 'ImageMagick',
|
'processor' => getenv('GRAPHICSMAGICK_PATH') ? 'GraphicsMagick' : 'ImageMagick',
|
||||||
],
|
],
|
||||||
'SC_OPTIONS' => [
|
'SC_OPTIONS' => [
|
||||||
'Core/TypoScript/TemplateService' => [
|
'Core/TypoScript/TemplateService' => [
|
||||||
|
|
|
@ -129,6 +129,8 @@ in pkgs.mkShell {
|
||||||
composer
|
composer
|
||||||
];
|
];
|
||||||
|
|
||||||
|
GRAPHICSMAGICK_PATH = pkgs.lib.makeBinPath [ pkgs.graphicsmagick ] + "/";
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
export PROJECT_ROOT="$(pwd)"
|
export PROJECT_ROOT="$(pwd)"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue