diff --git a/pkgs/build-support/vm/default.nix b/pkgs/build-support/vm/default.nix index 81a9f89dd100..07ea6f6e76b6 100644 --- a/pkgs/build-support/vm/default.nix +++ b/pkgs/build-support/vm/default.nix @@ -123,8 +123,9 @@ rec { mkdir -p /fs/dev mount -o bind /dev /fs/dev - mkdir -p /fs/dev /fs/dev/shm + mkdir -p /fs/dev/shm /fs/dev/pts mount -t tmpfs -o "mode=1777" none /fs/dev/shm + mount -t devpts none /fs/dev/pts echo "mounting Nix store..." mkdir -p /fs/nix/store