lms: remove CMAKE_BUILD_TYPE from cmakeFlags

This commit is contained in:
jopejoe1 2024-08-23 19:09:31 +02:00
parent 07654aeb36
commit 2277260e75

View File

@ -55,8 +55,6 @@ stdenv.mkDerivation rec {
substituteInPlace src/tools/cover/LmsCover.cpp --replace-fail "/etc/lms.conf" "$out/share/lms/lms.conf"
'';
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
postInstall = ''
substituteInPlace $out/share/lms/lms.conf --replace-fail "/usr/bin/ffmpeg" "${ffmpeg}/bin/ffmpeg"
substituteInPlace $out/share/lms/lms.conf --replace-fail "/usr/share/Wt/resources" "${wt}/share/Wt/resources"