Add image handling support in nix shell.

This commit is contained in:
Daniel Siepmann 2024-07-23 14:46:07 +02:00
parent af8a50dc3b
commit 1daff9de4a
3 changed files with 6 additions and 4 deletions

View file

@ -28,7 +28,7 @@ Nothing
Tasks
-----
Nothing
* Add image handling support in nix shell.
Deprecation
-----------

View file

@ -76,9 +76,9 @@ abstract class AbstractFunctionalTestCase extends FunctionalTestCase
],
'GFX' => [
'processor_enabled' => true,
'processor_path' => '/usr/bin/',
'processor_path_lzw' => '/usr/bin/',
'processor' => 'ImageMagick',
'processor_path' => getenv('GRAPHICSMAGICK_PATH') ?: '/usr/bin/',
'processor_path_lzw' => getenv('GRAPHICSMAGICK_PATH') ?: '/usr/bin/',
'processor' => getenv('GRAPHICSMAGICK_PATH') ? 'GraphicsMagick' : 'ImageMagick',
],
'SC_OPTIONS' => [
'Core/TypoScript/TemplateService' => [

View file

@ -129,6 +129,8 @@ in pkgs.mkShell {
composer
];
GRAPHICSMAGICK_PATH = pkgs.lib.makeBinPath [ pkgs.graphicsmagick ] + "/";
shellHook = ''
export PROJECT_ROOT="$(pwd)"