From de702f8882fe643388cb6a87a5b2f0b4c345d9ad Mon Sep 17 00:00:00 2001
From: Jens Nolte <jens@nightmarestudio.de>
Date: Wed, 22 Jan 2020 02:25:29 +0100
Subject: [PATCH] Create /mnt during installation

---
 bin/lib/installation.nix | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/lib/installation.nix b/bin/lib/installation.nix
index 2db5857..494c1f0 100644
--- a/bin/lib/installation.nix
+++ b/bin/lib/installation.nix
@@ -226,6 +226,8 @@ assert (typeOf swap) == "string";
 
     mount_point=/mnt
 
+    mkdir -p $mount_point
+
     # Create subvolumes
     ${mount-bin} -o noatime,compress=zstd $root_partition $mount_point
     ${btrfs-bin} subvolume create $mount_point/${hostname}
-- 
GitLab