koboldcpp: add separator to the prefix option of makeWrapper

This commit is contained in:
百地 希留耶
2024-07-26 08:14:13 +08:00
parent d01482ec08
commit f0ff293509
+2 -2
View File
@@ -40,7 +40,7 @@ let
makeBool = option: bool: (if bool then "${option}=1" else "");
libraryPathWrapperArgs = lib.optionalString config.cudaSupport ''
--prefix LD_LIBRARY_PATH: "${lib.makeLibraryPath [ addDriverRunpath.driverLink ]}"
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ addDriverRunpath.driverLink ]}"
'';
darwinFrameworks =
@@ -158,7 +158,7 @@ effectiveStdenv.mkDerivation (finalAttrs: {
postFixup = ''
wrapPythonProgramsIn "$out/bin" "$pythonPath"
makeWrapper "$out/bin/koboldcpp.unwrapped" "$out/bin/koboldcpp" \
--prefix PATH ${lib.makeBinPath [ tk ]} ${libraryPathWrapperArgs}
--prefix PATH : ${lib.makeBinPath [ tk ]} ${libraryPathWrapperArgs}
'';
passthru.updateScript = gitUpdater { rev-prefix = "v"; };