diff options
-rw-r--r-- | corp/tvixbolt/Cargo.lock | 15 | ||||
-rw-r--r-- | corp/tvixbolt/Cargo.toml | 5 | ||||
-rw-r--r-- | corp/tvixbolt/default.nix | 12 | ||||
-rw-r--r-- | tvix/eval/Cargo.lock | 5 | ||||
-rw-r--r-- | tvix/eval/Cargo.toml | 7 |
5 files changed, 23 insertions, 21 deletions
diff --git a/corp/tvixbolt/Cargo.lock b/corp/tvixbolt/Cargo.lock index 3359f6b36335..5ddeb6beecd2 100644 --- a/corp/tvixbolt/Cargo.lock +++ b/corp/tvixbolt/Cargo.lock @@ -433,8 +433,9 @@ checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244" [[package]] name = "rnix" -version = "0.11.0-dev" -source = "git+https://github.com/nix-community/rnix-parser.git?rev=85a045afd33e073a3eab4c0ea2f515b6bed557ab#85a045afd33e073a3eab4c0ea2f515b6bed557ab" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb35cedbeb70e0ccabef2a31bcff0aebd114f19566086300b8f42c725fc2cb5f" dependencies = [ "rowan", ] @@ -619,6 +620,16 @@ dependencies = [ "serde_json", "smol_str", "tabwriter", + "tvix-eval-builtin-macros", +] + +[[package]] +name = "tvix-eval-builtin-macros" +version = "0.0.1" +dependencies = [ + "proc-macro2", + "quote", + "syn", ] [[package]] diff --git a/corp/tvixbolt/Cargo.toml b/corp/tvixbolt/Cargo.toml index 7182e88d83ae..75006bec188e 100644 --- a/corp/tvixbolt/Cargo.toml +++ b/corp/tvixbolt/Cargo.toml @@ -10,14 +10,11 @@ yew = "0.19.3" yew-router = "0.16" codemap = "0.1.3" serde_urlencoded = "*" # pinned by yew +rnix = "0.11.0" # needs to be in sync with nixpkgs wasm-bindgen = "= 0.2.83" -[dependencies.rnix] -git = "https://github.com/nix-community/rnix-parser.git" -rev = "85a045afd33e073a3eab4c0ea2f515b6bed557ab" - [dependencies.tvix-eval] path = "../../tvix/eval" default-features = false diff --git a/corp/tvixbolt/default.nix b/corp/tvixbolt/default.nix index 963be6623826..6d02836c4668 100644 --- a/corp/tvixbolt/default.nix +++ b/corp/tvixbolt/default.nix @@ -38,18 +38,19 @@ let # tvix-eval. cargoTomlPatch = pkgs.writeText "tvix-eval-src.patch" '' diff --git a/Cargo.toml b/Cargo.toml - index 2e6c793..67280e7 100644 + index 75006bec18..6ca244bbb2 100644 --- a/Cargo.toml +++ b/Cargo.toml - @@ -18,5 +18,5 @@ git = "https://github.com/nix-community/rnix-parser.git" - rev = "97b438e34be5211a4b48aeed9cc3ded489b4d6da" + @@ -16,7 +16,7 @@ rnix = "0.11.0" + wasm-bindgen = "= 0.2.83" [dependencies.tvix-eval] -path = "../../tvix/eval" +path = "${depot.tvix.eval.src}" default-features = false - ''; + [dependencies.serde] + ''; in pkgs.rustPlatform.buildRustPackage rec { pname = "tvixbolt"; @@ -57,9 +58,6 @@ pkgs.rustPlatform.buildRustPackage rec { src = lib.cleanSource ./.; cargoLock.lockFile = ./Cargo.lock; - cargoLock.outputHashes = { - "rnix-0.11.0-dev" = "sha256:01c3fdsfyp8iwr36nv2mvr2xw33ci3vcx6pw8a9qrc8pjr6q22f8"; - }; patches = [ cargoTomlPatch diff --git a/tvix/eval/Cargo.lock b/tvix/eval/Cargo.lock index ff2908281878..7dab150fb9a4 100644 --- a/tvix/eval/Cargo.lock +++ b/tvix/eval/Cargo.lock @@ -984,8 +984,9 @@ dependencies = [ [[package]] name = "rnix" -version = "0.11.0-dev" -source = "git+https://github.com/nix-community/rnix-parser.git?rev=85a045afd33e073a3eab4c0ea2f515b6bed557ab#85a045afd33e073a3eab4c0ea2f515b6bed557ab" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb35cedbeb70e0ccabef2a31bcff0aebd114f19566086300b8f42c725fc2cb5f" dependencies = [ "rowan", ] diff --git a/tvix/eval/Cargo.toml b/tvix/eval/Cargo.toml index 1d42b793d3c5..e0c452ed5890 100644 --- a/tvix/eval/Cargo.toml +++ b/tvix/eval/Cargo.toml @@ -29,12 +29,7 @@ serde_json = "1.0" regex = "1.6.0" builtin-macros = { path = "./builtin-macros", package = "tvix-eval-builtin-macros" } backtrace-on-stack-overflow = { version = "0.2.0", optional = true } - -# rnix has not been released in a while (as of 2022-09-23), we will -# use it from git. -[dependencies.rnix] -git = "https://github.com/nix-community/rnix-parser.git" -rev = "85a045afd33e073a3eab4c0ea2f515b6bed557ab" +rnix = "0.11.0" [dev-dependencies] criterion = "0.3.6" |