mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2026-05-28 17:21:12 +02:00
bekkalokk/mediawiki: cleanup executable path config
This commit is contained in:
@@ -181,12 +181,17 @@ in {
|
|||||||
];
|
];
|
||||||
|
|
||||||
# Misc program paths
|
# Misc program paths
|
||||||
$wgFFmpegLocation = '${pkgs.ffmpeg}/bin/ffmpeg';
|
$wgFFmpegLocation = '${lib.getExe pkgs.ffmpeg}';
|
||||||
$wgExiftool = '${pkgs.exiftool}/bin/exiftool';
|
$wgExiftool = '${lib.getExe pkgs.exiftool}';
|
||||||
$wgExiv2Command = '${pkgs.exiv2}/bin/exiv2';
|
$wgExiv2Command = '${lib.getExe pkgs.exiv2}';
|
||||||
# See https://gist.github.com/sergejmueller/088dce028b6dd120a16e
|
# See https://gist.github.com/sergejmueller/088dce028b6dd120a16e
|
||||||
$wgJpegTran = '${pkgs.mozjpeg}/bin/jpegtran';
|
$wgJpegTran = '${lib.getExe' pkgs.mozjpeg "jpegtran"}';
|
||||||
$wgGitBin = '${pkgs.git}/bin/git';
|
$wgGitBin = '${lib.getExe pkgs.git}';
|
||||||
|
$wgDiff3 = '${lib.getExe' pkgs.diffutils "diff3"}';
|
||||||
|
$wgDiff = '${lib.getExe' pkgs.diffutils "diff"}';
|
||||||
|
|
||||||
|
$wgUseImageMagick = true;
|
||||||
|
$wgImageMagickConvertCommand = '${lib.getExe pkgs.imagemagick}';
|
||||||
|
|
||||||
# Debugging
|
# Debugging
|
||||||
$wgShowExceptionDetails = false;
|
$wgShowExceptionDetails = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user