diff --git a/docs/disko-install.md b/docs/disko-install.md index f7bfeaf..7abaff9 100644 --- a/docs/disko-install.md +++ b/docs/disko-install.md @@ -204,6 +204,11 @@ let self.nixosConfigurations.your-machine.config.system.build.diskoScript self.nixosConfigurations.your-machine.config.system.build.diskoScript.drvPath self.nixosConfigurations.your-machine.pkgs.stdenv.drvPath + + # https://github.com/NixOS/nixpkgs/blob/f2fd33a198a58c4f3d53213f01432e4d88474956/nixos/modules/system/activation/top-level.nix#L342 + self.nixosConfigurations.your-machine.pkgs.perlPackages.ConfigIniFiles + self.nixosConfigurations.your-machine.pkgs.perlPackages.FileSlurp + (self.nixosConfigurations.your-machine.pkgs.closureInfo { rootPaths = [ ]; }).drvPath ] ++ builtins.map (i: i.outPath) (builtins.attrValues self.inputs); diff --git a/tests/disko-install/default.nix b/tests/disko-install/default.nix index e9a2ed4..8ed04ec 100644 --- a/tests/disko-install/default.nix +++ b/tests/disko-install/default.nix @@ -5,6 +5,11 @@ let dependencies = [ self.nixosConfigurations.testmachine.pkgs.stdenv.drvPath (self.nixosConfigurations.testmachine.pkgs.closureInfo { rootPaths = [ ]; }).drvPath + + # https://github.com/NixOS/nixpkgs/blob/f2fd33a198a58c4f3d53213f01432e4d88474956/nixos/modules/system/activation/top-level.nix#L342 + self.nixosConfigurations.your-machine.pkgs.perlPackages.ConfigIniFiles + self.nixosConfigurations.your-machine.pkgs.perlPackages.FileSlurp + self.nixosConfigurations.testmachine.config.system.build.toplevel self.nixosConfigurations.testmachine.config.system.build.diskoScript ] ++ builtins.map (i: i.outPath) (builtins.attrValues self.inputs);