immich: re-add perl to $PATH (#355266)
This commit is contained in:
commit
13b0b44e78
@ -19,9 +19,6 @@ python.pkgs.buildPythonApplication rec {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml --replace-fail 'fastapi-slim' 'fastapi'
|
||||
|
||||
# AttributeError: module 'cv2' has no attribute 'Mat'
|
||||
substituteInPlace app/test_main.py --replace-fail ": cv2.Mat" ""
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
@ -23,6 +23,7 @@
|
||||
imagemagick,
|
||||
libraw,
|
||||
libheif,
|
||||
perl,
|
||||
vips,
|
||||
}:
|
||||
let
|
||||
@ -188,8 +189,6 @@ buildNpmPackage' {
|
||||
|
||||
# If exiftool-vendored.pl isn't found, exiftool is searched for on the PATH
|
||||
rm -r node_modules/exiftool-vendored.*
|
||||
substituteInPlace node_modules/exiftool-vendored/dist/DefaultExifToolOptions.js \
|
||||
--replace-fail "checkPerl: !(0, IsWin32_1.isWin32)()," "checkPerl: false,"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
@ -212,6 +211,7 @@ buildNpmPackage' {
|
||||
lib.makeBinPath [
|
||||
exiftool
|
||||
jellyfin-ffmpeg
|
||||
perl # exiftool-vendored checks for Perl even if exiftool comes from $PATH
|
||||
]
|
||||
}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user