diff options
author | Florian Klink <flokli@flokli.de> | 2024-01-16T20·00+0200 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2024-01-17T07·33+0000 |
commit | 850a4bfc7b93a802518128755bdbb4aa7a5eed9c (patch) | |
tree | c1217d9f8a7aeac2e3966a0056820434be37c554 /third_party/overlays/tvl.nix | |
parent | 62b10cac4490dd1b6b0001d12ef94560e40eecb9 (diff) |
chore(third_party/crate2nix): run tests in /build/source r/7397
Cherry-pick of https://github.com/nix-community/crate2nix/pull/328. This should fix rstest runs inside crate2nix-generated derivations. Change-Id: I9d393768f7f764e33c5938bd8fa14bd1bb0b72e1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10650 Reviewed-by: raitobezarius <tvl@lahfa.xyz> Tested-by: BuildkiteCI
Diffstat (limited to 'third_party/overlays/tvl.nix')
-rw-r--r-- | third_party/overlays/tvl.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/overlays/tvl.nix b/third_party/overlays/tvl.nix index 0985bcb5a65c..9888fc449627 100644 --- a/third_party/overlays/tvl.nix +++ b/third_party/overlays/tvl.nix @@ -85,6 +85,8 @@ depot.nix.readTree.drvTargets { hash = "sha256-JTMe8GViCQt51WUiaaoIPmWtwEeeYrl6pBxo2DNuKig="; }; + patches = [ ./patches/crate2nix-run-tests-in-build-source.patch ]; + sourceRoot = "${src.name}/crate2nix"; cargoHash = "sha256-dhlSXY1CJE+JJt+6Y7W1MVMz36nwr6ny543py1TcjyY="; |