silence eval warnings in make-disk-image tests

This commit is contained in:
Jörg Thalheim 2023-08-11 08:09:40 +02:00 committed by mergify[bot]
parent ceabbec315
commit 049d1bd952
2 changed files with 8 additions and 2 deletions

View file

@ -5,7 +5,10 @@ diskoLib.makeDiskImageScript {
nixosConfig = pkgs.nixos [ nixosConfig = pkgs.nixos [
../module.nix ../module.nix
../example/simple-efi.nix ../example/simple-efi.nix
{ documentation.enable = false; } ({ config, ... }: {
documentation.enable = false;
system.stateVersion = config.system.nixos.version;
})
]; ];
checked = true; checked = true;
} }

View file

@ -5,6 +5,9 @@ diskoLib.makeDiskImage {
nixosConfig = pkgs.nixos [ nixosConfig = pkgs.nixos [
../module.nix ../module.nix
../example/simple-efi.nix ../example/simple-efi.nix
{ documentation.enable = false; } ({ config, ... }: {
documentation.enable = false;
system.stateVersion = config.system.nixos.version;
})
]; ];
} }