summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2017-10-11 20:01:45 +0200
committeraszlig <aszlig@redmoonstudios.org>2017-10-11 20:08:11 +0200
commit20487112ed9cbc3fe0d5b92e0b861a7c09a33735 (patch)
tree17f6783ab4b6a72811b63dcd055798883d89dccc /lib
parent5dda1324be421c1a2afd5a559a87f97691287003 (diff)
downloadnixlib-20487112ed9cbc3fe0d5b92e0b861a7c09a33735.tar
nixlib-20487112ed9cbc3fe0d5b92e0b861a7c09a33735.tar.gz
nixlib-20487112ed9cbc3fe0d5b92e0b861a7c09a33735.tar.bz2
nixlib-20487112ed9cbc3fe0d5b92e0b861a7c09a33735.tar.lz
nixlib-20487112ed9cbc3fe0d5b92e0b861a7c09a33735.tar.xz
nixlib-20487112ed9cbc3fe0d5b92e0b861a7c09a33735.tar.zst
nixlib-20487112ed9cbc3fe0d5b92e0b861a7c09a33735.zip
nixos: Fix output path generation of runInMachine
Regression introduced by a02bb00156086b45e68c1112008db506734f8649.

The fix is done by disabling writableStore, because the latter will set
up an overlayfs on the Nix store within the VM, which in turn will
discard all the outputs of the resulting output path.

However in runInMachine we actually *want* the contents of the generated
path and also don't want a writable store within the VM (except of
course for $out, which is writable anyway).

I've added a small regression test to verifify the output in
nixos/tests/run-in-machine.nix to make sure this won't break again in
the future.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions