koboldcpp: add separator to the prefix option of makeWrapper
This commit is contained in:
@@ -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"; };
|
||||
|
||||
Reference in New Issue
Block a user