diff --git a/Cargo.lock b/Cargo.lock index ea870238..d5abbcdf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1239,7 +1239,7 @@ dependencies = [ [[package]] name = "ndc-client" version = "0.1.0" -source = "git+http://github.com/hasura/ndc-spec.git?tag=v0.1.0-rc.8#2c2def8a01af2f95100b4274599030c930525bee" +source = "git+https://github.com/hasura//ndc-spec.git?rev=3778605#3778605e9428d46e1f21ae02b077414afd0d0a68" dependencies = [ "async-trait", "indexmap 1.9.3", @@ -1319,7 +1319,7 @@ dependencies = [ [[package]] name = "ndc-test" version = "0.1.0" -source = "git+http://github.com/hasura/ndc-spec.git?tag=v0.1.0-rc.8#2c2def8a01af2f95100b4274599030c930525bee" +source = "git+https://github.com/hasura//ndc-spec.git?rev=3778605#3778605e9428d46e1f21ae02b077414afd0d0a68" dependencies = [ "async-trait", "clap", diff --git a/Cargo.toml b/Cargo.toml index ccac3f07..6c09086f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,3 +7,12 @@ members = [ "crates/ndc-sqlserver", "crates/query-engine", ] + + +# Temporary patch to get the build working. We shall remove this once a new +# version of ndc-spec is published, and ndc-sdk is updated accordingly. +# The "//" is to convince Cargo to accept this, due to +# https://github.com/rust-lang/cargo/issues/10756 . +[patch."https://github.com/hasura/ndc-spec.git"] +ndc-client = { git = "https://github.com/hasura//ndc-spec.git", rev = "3778605" } +ndc-test = { git = "https://github.com/hasura//ndc-spec.git", rev = "3778605" } diff --git a/flake.nix b/flake.nix index afa1382f..ee5c1e0f 100644 --- a/flake.nix +++ b/flake.nix @@ -8,8 +8,6 @@ crane = { url = "github:ipetkov/crane"; inputs.nixpkgs.follows = "nixpkgs"; - inputs.rust-overlay.follows = "rust-overlay"; - inputs.flake-utils.follows = "flake-utils"; }; rust-overlay = {