mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
treewide: clean up useless escapes
Identified by recent changes in Lix.
This commit is contained in:
parent
d06ab99a50
commit
9f6e4d1f06
2 changed files with 3 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue