treewide: clean up useless escapes (#485866)
This commit is contained in:
@@ -81,14 +81,14 @@ in
|
||||
healthCheckTimeout = 60;
|
||||
models = {
|
||||
"some-model" = {
|
||||
cmd = "''\${llama-server} --port ''\${PORT} -m /var/lib/llama-cpp/models/some-model.gguf -ngl 0 --no-webui";
|
||||
cmd = "''${llama-server} --port ''${PORT} -m /var/lib/llama-cpp/models/some-model.gguf -ngl 0 --no-webui";
|
||||
aliases = [
|
||||
"the-best"
|
||||
];
|
||||
};
|
||||
"other-model" = {
|
||||
proxy = "http://127.0.0.1:5555";
|
||||
cmd = "$\{llama-server\} --port 5555 -m /var/lib/llama-cpp/models/other-model.gguf -ngl 0 -c 4096 -np 4 --no-webui";
|
||||
cmd = "''${llama-server} --port 5555 -m /var/lib/llama-cpp/models/other-model.gguf -ngl 0 -c 4096 -np 4 --no-webui";
|
||||
concurrencyLimit = 4;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -38,7 +38,7 @@ stdenv.mkDerivation {
|
||||
name = "CVE-2025-64503.patch";
|
||||
url = "https://github.com/OpenPrinting/libcupsfilters/commit/fd01543f372ca3ba1f1c27bd3427110fa0094e3f.patch";
|
||||
# File has been renamed before the fix
|
||||
decode = "sed -e 's/pdftoraster\.c/pdftoraster\.cxx/g'";
|
||||
decode = "sed -e 's/pdftoraster\\.c/pdftoraster\\.cxx/g'";
|
||||
hash = "sha256-cKbDHZEc/A51M+ce3kVsRxjRUWA96ynGv/avpq4iUHU=";
|
||||
})
|
||||
(fetchpatch {
|
||||
|
||||
Reference in New Issue
Block a user