summary refs log tree commit diff
path: root/nixos/tests/installer.nix
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2023-07-08 20:49:37 +0200
committerGitHub <noreply@github.com>2023-07-08 20:49:37 +0200
commita1d0ee8c505472625e1c48a73843447269878bf0 (patch)
tree3f87fcb659fff2f1a68d00add9e7d2c59cbaabff /nixos/tests/installer.nix
parent61afc4d1662fe426f02b28e386f2e053f887b6d6 (diff)
downloadnixpkgs-a1d0ee8c505472625e1c48a73843447269878bf0.tar
nixpkgs-a1d0ee8c505472625e1c48a73843447269878bf0.tar.gz
nixpkgs-a1d0ee8c505472625e1c48a73843447269878bf0.tar.bz2
nixpkgs-a1d0ee8c505472625e1c48a73843447269878bf0.tar.lz
nixpkgs-a1d0ee8c505472625e1c48a73843447269878bf0.tar.xz
nixpkgs-a1d0ee8c505472625e1c48a73843447269878bf0.tar.zst
nixpkgs-a1d0ee8c505472625e1c48a73843447269878bf0.zip
nixos/nix-channel: Apply suggestions from code review
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'nixos/tests/installer.nix')
-rw-r--r--nixos/tests/installer.nix13
1 files changed, 5 insertions, 8 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix
index 5c6b70732fe..4941eb9a6eb 100644
--- a/nixos/tests/installer.nix
+++ b/nixos/tests/installer.nix
@@ -300,13 +300,11 @@ let
           rm /etc/nixos/configuration.nix
         """)
         machine.copy_from_host_via_shell(
-          "${ makeConfig {
-                inherit bootLoader grubDevice grubIdentifier
-                        grubUseEfi extraConfig;
-                forceGrubReinstallCount = 1;
-                flake = true;
-              }
-          }",
+          "${makeConfig {
+               inherit bootLoader grubDevice grubIdentifier grubUseEfi extraConfig;
+               forceGrubReinstallCount = 1;
+               flake = true;
+            }}",
           "/root/my-config/configuration.nix",
         )
         machine.copy_from_host_via_shell(
@@ -366,7 +364,6 @@ let
 
       ${postBootCommands}
       machine.shutdown()
-
     '';