summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2016-12-19 14:16:03 +0100
committerEelco Dolstra <edolstra@gmail.com>2016-12-20 10:52:47 +0100
commita02bb00156086b45e68c1112008db506734f8649 (patch)
tree8215c11f92145b6272cdbbdc9684c6cc8ce6f1e8 /nixos
parentf173da375da9642fb5dd7047e8d4a2e5a9ac5db4 (diff)
downloadnixlib-a02bb00156086b45e68c1112008db506734f8649.tar
nixlib-a02bb00156086b45e68c1112008db506734f8649.tar.gz
nixlib-a02bb00156086b45e68c1112008db506734f8649.tar.bz2
nixlib-a02bb00156086b45e68c1112008db506734f8649.tar.lz
nixlib-a02bb00156086b45e68c1112008db506734f8649.tar.xz
nixlib-a02bb00156086b45e68c1112008db506734f8649.tar.zst
nixlib-a02bb00156086b45e68c1112008db506734f8649.zip
Enable virtualisation.writableStore by default
This works around:

  machine: must succeed: nix-store -qR /run/current-system | grep nixos-
  machine# error: changing ownership of path ‘/nix/store’: Invalid argument

Probably Nix shouldn't be anal about the ownership of the store unless
it's trying to build/write to the store.

http://hydra.nixos.org/build/45093872/nixlog/17/raw
(cherry picked from commit 57a0f140643cde409022e297ed05e05f8d34d778)
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/virtualisation/qemu-vm.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix
index bd964723d408..6423432c78b6 100644
--- a/nixos/modules/virtualisation/qemu-vm.nix
+++ b/nixos/modules/virtualisation/qemu-vm.nix
@@ -274,7 +274,7 @@ in
 
     virtualisation.writableStore =
       mkOption {
-        default = false;
+        default = true; # FIXME
         description =
           ''
             If enabled, the Nix store in the VM is made writable by