From 8dc7361b9c34805391a0c8d514bf7d5241c3d227 Mon Sep 17 00:00:00 2001
From: Scott Worley <scottworley@scottworley.com>
Date: Sun, 19 Dec 2021 18:53:02 -0800
Subject: [PATCH] =?utf8?q?21.11:=20Follow=20the=20pathsInNixDB=20=E2=86=92?=
 =?utf8?q?=20additionalPaths=20rename?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

This rename is unfortunate.  We depend here upon this actually being *all
the paths in the Nix DB*.  It still *is* all the paths in the Nix DB —
nothing has changed about its implementation — but now it's named after
one use case (adding some additional paths) rather than what it *is*
(all the paths), which makes this usage here read as if it couldn't
possibly work.  :(
---
 modules/qemu-vm-isolation.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/qemu-vm-isolation.nix b/modules/qemu-vm-isolation.nix
index 7e0a37f..a9bf0df 100644
--- a/modules/qemu-vm-isolation.nix
+++ b/modules/qemu-vm-isolation.nix
@@ -28,7 +28,7 @@ in {
 
   system.build.squashfsStore =
     pkgs.callPackage (modulesPath + "/../lib/make-squashfs.nix") {
-      storeContents = config.virtualisation.pathsInNixDB;
+      storeContents = config.virtualisation.additionalPaths;
     };
 
   virtualisation = {
-- 
2.47.2