Something changed in nix or in the virtual machine, and now the vm user
is empty when nix tries to read it. This is a temporary workaround. A
full rewrite of the image generation script will probably follow.
---
I found a nicer way to generate the image by using a function from the
official repos. I'll rewrite the image generator from scratch sometimes
in the following weeks (reeally busy now), so in the meantime here's an
hotfix.
images/nixos/image.nix | 1 +
1 file changed, 1 insertion(+)
diff --git a/images/nixos/image.nix b/images/nixos/image.nix
index d11b172..526bbe5 100644
--- a/images/nixos/image.nix+++ b/images/nixos/image.nix
@@ -45,6 +45,7 @@ in pkgs.vmTools.runInLinuxVM (
done
storePaths=$(perl ${pkgs.pathsFromGraph} /tmp/xchg/closure)
+ export USER=root # temporary hotfix echo filling Nix store...
mkdir -p /mnt/nix/store
set -f
--
2.23.0
[PATCH builds.sr.ht 2/2] Add nixos stable 19.09, update latest to it