git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #96094 from helsinki-systems/fix/test/installer-btrfs-warning

nixosTests.installer.btrfsSubvolDefault: fix warning

commit7e545bd7f353692cb803d799a3a5aab98b021b4d authorJacek Galowicz <jacek@galowicz.de> dateSun 23 Aug 2020, 20:42 (6 years ago) parent70cfd9db4fab1c
1 file changed+1−1
nixos/tests/installer.nix+1−1
nixos/tests/installer.nix+1−1
@@ -799,7 +799,7 @@ in {
799799 "btrfs subvol create /mnt/badpath/boot",
800800 "btrfs subvol create /mnt/nixos",
801801 "btrfs subvol set-default "
802− + "$(btrfs subvol list /mnt | grep 'nixos' | awk '{print \$2}') /mnt",
802+ + "$(btrfs subvol list /mnt | grep 'nixos' | awk '{print $2}') /mnt",
803803 "umount /mnt",
804804 "mount -o defaults LABEL=root /mnt",
805805 "mkdir -p /mnt/badpath/boot", # Help ensure the detection mechanism