about summary refs log tree commit diff
path: root/nixos/modules/system/boot/loader/grub/grub.nix
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2019-08-13 21:52:01 +0000
committervolth <volth@volth.com>2019-08-26 21:40:19 +0000
commit35d68ef143412f579544eaac7aaa87e29f84b15e (patch)
tree7e4cc2079e73fde7e1cacdbeb17a4ea290f0a02e /nixos/modules/system/boot/loader/grub/grub.nix
parentfe9c9f719d143632d31ac2b01f5f7cfbad161ce1 (diff)
downloadnixlib-35d68ef143412f579544eaac7aaa87e29f84b15e.tar
nixlib-35d68ef143412f579544eaac7aaa87e29f84b15e.tar.gz
nixlib-35d68ef143412f579544eaac7aaa87e29f84b15e.tar.bz2
nixlib-35d68ef143412f579544eaac7aaa87e29f84b15e.tar.lz
nixlib-35d68ef143412f579544eaac7aaa87e29f84b15e.tar.xz
nixlib-35d68ef143412f579544eaac7aaa87e29f84b15e.tar.zst
nixlib-35d68ef143412f579544eaac7aaa87e29f84b15e.zip
treewide: remove redundant quotes
Diffstat (limited to 'nixos/modules/system/boot/loader/grub/grub.nix')
-rw-r--r--nixos/modules/system/boot/loader/grub/grub.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/loader/grub/grub.nix b/nixos/modules/system/boot/loader/grub/grub.nix
index 4e4d14985b0d..4c85bd5db4a8 100644
--- a/nixos/modules/system/boot/loader/grub/grub.nix
+++ b/nixos/modules/system/boot/loader/grub/grub.nix
@@ -72,7 +72,7 @@ let
              else "${convertedFont}");
     });
 
-  bootDeviceCounters = fold (device: attr: attr // { "${device}" = (attr."${device}" or 0) + 1; }) {}
+  bootDeviceCounters = fold (device: attr: attr // { ${device} = (attr.${device} or 0) + 1; }) {}
     (concatMap (args: args.devices) cfg.mirroredBoots);
 
   convertedFont = (pkgs.runCommand "grub-font-converted.pf2" {}