about summary refs log tree commit diff
path: root/tvix/Cargo.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-12-18T14·23+0300
committertazjin <tazjin@tvl.su>2022-12-21T13·23+0000
commit9d6ee5b6a69195bc1a3d5543f04998b631584076 (patch)
tree34794bf6cae65fecfd552a1b68cee84a1f4cf29d /tvix/Cargo.nix
parent257c67f204c2a2d1ca8a1d0ac266312167a170eb (diff)
fix(tvix/eval): use test-generator fork that supports workspaces r/5442
This should make no difference in Nix builds, but allows running tests
locally again with `cargo test` for //tvix/eval.

Change-Id: I97d61840143d5c14db61d5862781bf635f9a28e7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7590
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/Cargo.nix')
-rw-r--r--tvix/Cargo.nix7
1 files changed, 6 insertions, 1 deletions
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>"