From fde2a4be630cb09225a9fd131297f158fba63d9a Mon Sep 17 00:00:00 2001 From: Qyriad Date: Mon, 28 Jul 2025 19:15:43 +0200 Subject: [PATCH] rnix: 0.11.0 -> 0.12.0 Fixes rnix not parsing files with chained pipe operators in them. Though honestly I'm not sure how this was working before with any pipe operators at all? See: https://github.com/nix-community/rnix-parser/pull/167 Fixes: https://git.lix.systems/lix-project/lix/issues/938 Change-Id: Ifbd737a02bd43f994bfef61d035d40391836aeb9 --- Cargo.lock | 6 +++--- lix/lix-doc/Cargo.toml | 2 +- lix/lix-doc/meson.build | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cf93e2dd4..3ed416d82 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "countme" @@ -47,9 +47,9 @@ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "rnix" -version = "0.11.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb35cedbeb70e0ccabef2a31bcff0aebd114f19566086300b8f42c725fc2cb5f" +checksum = "6f15e00b0ab43abd70d50b6f8cd021290028f9b7fdd7cdfa6c35997173bc1ba9" dependencies = [ "rowan", ] diff --git a/lix/lix-doc/Cargo.toml b/lix/lix-doc/Cargo.toml index b52e6bb3b..4aeb3fdf0 100644 --- a/lix/lix-doc/Cargo.toml +++ b/lix/lix-doc/Cargo.toml @@ -9,7 +9,7 @@ homepage = "https://github.com/lf-/nix-doc" repository = "https://github.com/lf-/nix-doc" [dependencies] -rnix = "0.11.0" +rnix = "0.12.0" # Necessary because rnix fails to export a critical trait (Rowan's AstNode). rowan = "0.15.16" diff --git a/lix/lix-doc/meson.build b/lix/lix-doc/meson.build index 586045769..c92d39727 100644 --- a/lix/lix-doc/meson.build +++ b/lix/lix-doc/meson.build @@ -1,4 +1,4 @@ -rnix = dependency('rnix-0.11-rs') +rnix = dependency('rnix-0.12-rs') rowan = dependency('rowan-0.15-rs') lix_doc = static_library(