From e472aa016e4d8bef79930d750c65e40ce21dba3a Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Mon, 31 Aug 2020 20:58:16 -0400 Subject: feat(tvix): Expose depot in the test vm Expose depot to the test vm via NIX_PATH, so we can test the build of depot packages from inside the test vm. Change-Id: I26314634895ab1339f5715c0b0b261028eefdaa3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1923 Tested-by: BuildkiteCI Reviewed-by: tazjin --- third_party/nix/test-vm.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'third_party/nix/test-vm.nix') diff --git a/third_party/nix/test-vm.nix b/third_party/nix/test-vm.nix index 534a3fc9304c..2a1056826852 100644 --- a/third_party/nix/test-vm.nix +++ b/third_party/nix/test-vm.nix @@ -10,6 +10,10 @@ let nix.package = depot.third_party.nix; virtualisation.qemu.options = [ "-nographic" ]; + + nix.nixPath = [ + "depot=${depot.depotPath}" + ]; }; system = pkgs.nixos { inherit configuration; }; -- cgit 1.4.1