nixpkgs/nixos
aszlig 20487112ed
nixos: Fix output path generation of runInMachine
Regression introduced by a02bb00156.

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>
2017-10-11 20:08:11 +02:00
..
doc/manual 18.03 release notes: mention ZNC mutability change 2017-10-08 00:43:40 +01:00
lib nixos: Fix output path generation of runInMachine 2017-10-11 20:08:11 +02:00
maintainers Don't generate instance-store AMIs 2017-09-28 17:33:13 +02:00
modules Merge pull request #30312 from florianjacob/locatedb-fix-systemd-path-capabilities 2017-10-11 14:59:13 +01:00
tests nixos: Fix output path generation of runInMachine 2017-10-11 20:08:11 +02:00
COPYING
default.nix
README
release-combined.nix nixos/release-combined: remove basic kernel tests 2017-09-16 12:45:30 +02:00
release-small.nix
release.nix treewide: mark a bunch of failing builds as broken 2017-10-01 00:26:52 +03:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.