Skip to content

Commit

Permalink
Add image handling support in nix shell.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSiepmann committed Jul 23, 2024
1 parent af8a50d commit b59e3d8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Documentation/Changelog/3.9.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Nothing
Tasks
-----

Nothing
* Add image handling support in nix shell.

Deprecation
-----------
Expand Down
6 changes: 3 additions & 3 deletions Tests/Functional/AbstractFunctionalTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ protected function setUp(): void
],
'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' => 'GraphicsMagick',
],
'SC_OPTIONS' => [
'Core/TypoScript/TemplateService' => [
Expand Down
2 changes: 2 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ in pkgs.mkShell {
composer
];

GRAPHICSMAGICK_PATH = pkgs.lib.makeBinPath [ pkgs.graphicsmagick ] + "/";

shellHook = ''
export PROJECT_ROOT="$(pwd)"
Expand Down

0 comments on commit b59e3d8

Please sign in to comment.