diff options
-rw-r--r-- | tvix/Cargo.lock | 3 | ||||
-rw-r--r-- | tvix/Cargo.nix | 7 | ||||
-rw-r--r-- | tvix/crate-hashes.json | 3 | ||||
-rw-r--r-- | tvix/eval/Cargo.toml | 7 |
4 files changed, 16 insertions, 4 deletions
diff --git a/tvix/Cargo.lock b/tvix/Cargo.lock index bc683b015c88..f5a32107e167 100644 --- a/tvix/Cargo.lock +++ b/tvix/Cargo.lock @@ -1424,8 +1424,7 @@ dependencies = [ [[package]] name = "test-generator" version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea97be90349ab3574f6e74d1566e1c5dd3a4bc74b89f4af4cc10ca010af103c0" +source = "git+https://github.com/JamesGuthrie/test-generator.git?rev=82e799979980962aec1aa324ec6e0e4cad781f41#82e799979980962aec1aa324ec6e0e4cad781f41" dependencies = [ "glob", "proc-macro2 0.4.30", diff --git a/tvix/Cargo.nix b/tvix/Cargo.nix index d670bda4084b..886a39e428ff 100644 --- a/tvix/Cargo.nix +++ b/tvix/Cargo.nix @@ -4036,7 +4036,12 @@ rec { crateName = "test-generator"; version = "0.3.0"; edition = "2018"; - sha256 = "1h03y4503jhhrks4m7xqfjya9lsx3ip5dlbldr7mgcws6j8bx5za"; + workspace_member = null; + src = pkgs.fetchgit { + url = "https://github.com/JamesGuthrie/test-generator.git"; + rev = "82e799979980962aec1aa324ec6e0e4cad781f41"; + sha256 = "08brp3qqa55hijc7xby3lam2cc84hvx1zzfqv6lj7smlczh8k32y"; + }; procMacro = true; authors = [ "Frank Rehberger <frehberg@gmail.com>" diff --git a/tvix/crate-hashes.json b/tvix/crate-hashes.json new file mode 100644 index 000000000000..d312e6bf60f4 --- /dev/null +++ b/tvix/crate-hashes.json @@ -0,0 +1,3 @@ +{ + "test-generator 0.3.0 (git+https://github.com/JamesGuthrie/test-generator.git?rev=82e799979980962aec1aa324ec6e0e4cad781f41#82e799979980962aec1aa324ec6e0e4cad781f41)": "08brp3qqa55hijc7xby3lam2cc84hvx1zzfqv6lj7smlczh8k32y" +} \ No newline at end of file diff --git a/tvix/eval/Cargo.toml b/tvix/eval/Cargo.toml index b08dc139a949..93d45c2166d0 100644 --- a/tvix/eval/Cargo.toml +++ b/tvix/eval/Cargo.toml @@ -27,11 +27,16 @@ rnix = "0.11.0" [dev-dependencies] criterion = "0.4" -test-generator = "0.3.0" pretty_assertions = "1.2.1" itertools = "0.10.3" tempdir = "0.3.7" +[dev-dependencies.test-generator] +# This fork of test-generator adds support for cargo workspaces, see +# also https://github.com/frehberg/test-generator/pull/14 +git = "https://github.com/JamesGuthrie/test-generator.git" +rev = "82e799979980962aec1aa324ec6e0e4cad781f41" + [features] default = [ "impure", "arbitrary", "nix_tests", "backtrace_overflow" ] |