chore(third_party/crate2nix): run tests in /build/source
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
This commit is contained in:
parent
62b10cac44
commit
850a4bfc7b
3 changed files with 81 additions and 0 deletions
2
third_party/overlays/tvl.nix
vendored
2
third_party/overlays/tvl.nix
vendored
|
|
@ -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=";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue