feat(3p/nix): Add build for VM for testing tvix

Add an expression, based on the nixos qemu virtualisation framework, for
a basic system whose nix is tvix, to be used for testing tvix

Change-Id: I3c7422bb10d3ce05a3094671cb770f1f745d814c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1423
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: Alyssa Ross <hi@alyssa.is>
Tested-by: BuildkiteCI
This commit is contained in:
Griffin Smith 2020-07-24 21:03:42 -04:00 committed by glittershark
parent 6936ee40af
commit 4dca023385
3 changed files with 23 additions and 1 deletions

View file

@ -1,4 +1,6 @@
{ pkgs ? (import ../.. {}).third_party
args@{
pkgs ? (import ../.. {}).third_party
, lib
, buildType ? "release"
, depotPath ? ../..
, ...
@ -138,4 +140,6 @@ in pkgs.llvmPackages.libcxxStdenv.mkDerivation {
# TODO(tazjin): integration test setup?
# TODO(tazjin): docs generation?
passthru = { test-vm = import ./test-vm.nix args; };
}