]> git.scottworley.com Git - nixos-qemu-vm-isolation/commitdiff
21.11: Follow the pathsInNixDB → additionalPaths rename
authorScott Worley <scottworley@scottworley.com>
Mon, 20 Dec 2021 02:53:02 +0000 (18:53 -0800)
committerScott Worley <scottworley@scottworley.com>
Mon, 20 Dec 2021 06:42:40 +0000 (22:42 -0800)
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

index 7e0a37f6b0cda943ade4821d34685bb28aff6a24..a9bf0dfc8177d28376c004c3aafd964ec5e19de6 100644 (file)
@@ -28,7 +28,7 @@ in {
 
   system.build.squashfsStore =
     pkgs.callPackage (modulesPath + "/../lib/make-squashfs.nix") {
-      storeContents = config.virtualisation.pathsInNixDB;
+      storeContents = config.virtualisation.additionalPaths;
     };
 
   virtualisation = {