From 51a8ae48cf328587028bbf0c27e4e38bb8e5aee6 Mon Sep 17 00:00:00 2001 From: Justin ! Date: Sat, 31 Jan 2026 22:01:20 -0500 Subject: [PATCH] treewide: fix broken-escape-string The lix deprecation for broken-escape-string has been merged on main, this commit fix the broken escapes that were added since the last patch or left behind. --- pkgs/by-name/ed/edgetx/package.nix | 2 +- pkgs/development/tools/parsing/tree-sitter/grammars/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ed/edgetx/package.nix b/pkgs/by-name/ed/edgetx/package.nix index 9be1dbd82716..5205b6d8a56c 100644 --- a/pkgs/by-name/ed/edgetx/package.nix +++ b/pkgs/by-name/ed/edgetx/package.nix @@ -142,7 +142,7 @@ stdenv.mkDerivation (finalAttrs: { # Yes, this is really how upstream expects packaging to look like ¯\_(ツ)_/¯. # https://github.com/EdgeTX/edgetx/wiki/Build-Instructions-under-Ubuntu-20.04#building-companion-simulator-and-radio-simulator-libraries - for plugin in "$''\{targetsToBuild[@]''\}" + for plugin in "''${targetsToBuild[@]}" do # Variable modified by `get_target_build_options` from build-common.sh. local BUILD_OPTIONS="" diff --git a/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix b/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix index 82437c2b9504..144799432473 100644 --- a/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix +++ b/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix @@ -20,7 +20,7 @@ let parseUrl = url: let - parts = lib.match "(.+):([^/]+)\/([^/?]+)((\/|.+ref=)([^&]+))?" url; + parts = lib.match "(.+):([^/]+)/([^/?]+)((/|.+ref=)([^&]+))?" url; ref = lib.elemAt parts 5; in {