From: Scott Worley Date: Mon, 20 Dec 2021 02:53:02 +0000 (-0800) Subject: 21.11: Follow the pathsInNixDB → additionalPaths rename X-Git-Url: http://git.scottworley.com/nixos-qemu-vm-isolation/commitdiff_plain/8dc7361b9c34805391a0c8d514bf7d5241c3d227?ds=sidebyside;hp=7bd3b5bc2c943c637bee35b34a8555cb96279f49 21.11: Follow the pathsInNixDB → additionalPaths rename 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. :( --- 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 = {