nixpkgs/pkgs/build-support/vm
Maximilian Bosch 97ed6b4565
runInLinuxVM: fix for structured attrs
Closes #334705
Addresses #205690

The main issue was that the output variable (i.e. `$out` and friends)
didn't exist. I figured the easiest way to add those is to source
`stdenv` here. Given that we build another derivation in this builder,
it's pretty likely that `stdenv` gets pulled already, so I don't expect
a real overhead here.

Also, this mounts `/build` into the VM: this is required to make sure
`.attrs.json` & `.attrs.sh` are available. Dropped the mount of `xchg`
into `/tmp` now since it's also part of `/build`.
2024-11-22 20:02:22 +01:00
..
deb
rpm
default.nix runInLinuxVM: fix for structured attrs 2024-11-22 20:02:22 +01:00
test.nix