From 9f6e4d1f06f9d0c26575e67ae9a46c1f2b00e4b0 Mon Sep 17 00:00:00 2001 From: K900 Date: Sun, 1 Feb 2026 11:05:45 +0300 Subject: [PATCH] treewide: clean up useless escapes Identified by recent changes in Lix. --- nixos/modules/services/networking/llama-swap.nix | 4 ++-- pkgs/by-name/li/libcupsfilters/package.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/modules/services/networking/llama-swap.nix b/nixos/modules/services/networking/llama-swap.nix index 3aac9fc556dc..9cb71732d21c 100644 --- a/nixos/modules/services/networking/llama-swap.nix +++ b/nixos/modules/services/networking/llama-swap.nix @@ -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; }; }; diff --git a/pkgs/by-name/li/libcupsfilters/package.nix b/pkgs/by-name/li/libcupsfilters/package.nix index 8630c5fc3d72..05e8fae55327 100644 --- a/pkgs/by-name/li/libcupsfilters/package.nix +++ b/pkgs/by-name/li/libcupsfilters/package.nix @@ -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 {