koboldcpp: drop postPatch

This commit is contained in:
DontEatOreo 2024-11-08 18:37:54 +02:00
parent 30a3b42239
commit bccff63bbb
No known key found for this signature in database
GPG Key ID: 0DB5361BEEE530AB

View File

@ -110,12 +110,6 @@ effectiveStdenv.mkDerivation (finalAttrs: {
runHook postInstall
'';
# Remove an unused argument, mainly intended for Darwin to reduce warnings
postPatch = ''
substituteInPlace Makefile \
--replace-warn " -s " " "
'';
postFixup = ''
wrapPythonProgramsIn "$out/bin" "$pythonPath"
makeWrapper "$out/bin/koboldcpp.unwrapped" "$out/bin/koboldcpp" \