summary refs log tree commit diff
path: root/pkgs/tools/misc/grub
diff options
context:
space:
mode:
authorVictor Engmark <victor@engmark.name>2021-11-14 15:54:33 +1300
committerVictor Engmark <victor@engmark.name>2021-11-14 16:04:46 +1300
commit57b496ea98bdbd633c48f16af1c69a196aaf963a (patch)
treee12cd5e6735aa44ae5725d8210b933de4a1234aa /pkgs/tools/misc/grub
parent90dbec47b7c8eff5262fda73d97335fb29e079fa (diff)
downloadnixpkgs-57b496ea98bdbd633c48f16af1c69a196aaf963a.tar
nixpkgs-57b496ea98bdbd633c48f16af1c69a196aaf963a.tar.gz
nixpkgs-57b496ea98bdbd633c48f16af1c69a196aaf963a.tar.bz2
nixpkgs-57b496ea98bdbd633c48f16af1c69a196aaf963a.tar.lz
nixpkgs-57b496ea98bdbd633c48f16af1c69a196aaf963a.tar.xz
nixpkgs-57b496ea98bdbd633c48f16af1c69a196aaf963a.tar.zst
nixpkgs-57b496ea98bdbd633c48f16af1c69a196aaf963a.zip
misc: Replace tab indentation with spaces
I've tried to be consistent, using four or eight spaces to line up
with existing code.
Diffstat (limited to 'pkgs/tools/misc/grub')
-rwxr-xr-xpkgs/tools/misc/grub/grub1.patches.sh68
1 files changed, 34 insertions, 34 deletions
diff --git a/pkgs/tools/misc/grub/grub1.patches.sh b/pkgs/tools/misc/grub/grub1.patches.sh
index d3b138ad357..a7db25afb64 100755
--- a/pkgs/tools/misc/grub/grub1.patches.sh
+++ b/pkgs/tools/misc/grub/grub1.patches.sh
@@ -13,39 +13,39 @@ set -u
 
 # https://salsa.debian.org/grub-team/grub-legacy/tree/master/debian/patches
 SERIES=(
-	snapshot.patch
-	menu.lst_gnu-hurd.patch
-	graphics.patch
-	raid.patch
-	raid_cciss.patch
-	xfs_freeze.patch
-	2gb_limit.patch
-	grub-special_device_names.patch
-	grub-xvd_drives.patch
-	initrd_max_address.patch
-	splashimage_help.patch
-	grub-install_addsyncs.patch
-	grub-install_regexp.patch
-	grub-install_aoe_support.patch
-	grub-install_xvd.patch
-	geometry-26kernel.patch
-	print_func.patch
-	mprotect.patch
-	savedefault.patch
-	find-grub-dir.patch
-	intelmac.patch
-	crossreference_manpages.patch
-	ext3_256byte_inode.patch
+    snapshot.patch
+    menu.lst_gnu-hurd.patch
+    graphics.patch
+    raid.patch
+    raid_cciss.patch
+    xfs_freeze.patch
+    2gb_limit.patch
+    grub-special_device_names.patch
+    grub-xvd_drives.patch
+    initrd_max_address.patch
+    splashimage_help.patch
+    grub-install_addsyncs.patch
+    grub-install_regexp.patch
+    grub-install_aoe_support.patch
+    grub-install_xvd.patch
+    geometry-26kernel.patch
+    print_func.patch
+    mprotect.patch
+    savedefault.patch
+    find-grub-dir.patch
+    intelmac.patch
+    crossreference_manpages.patch
+    ext3_256byte_inode.patch
     # Breaks on NixOS.
-	#use_grub-probe_in_grub-install.patch
-	objcopy-absolute.patch
-	no-reorder-functions.patch
+    #use_grub-probe_in_grub-install.patch
+    objcopy-absolute.patch
+    no-reorder-functions.patch
 
-	# We aren't building amd64 binaries, see #244498
-	#fix_amd64_compile.patch
-	modern-automake.patch
-	no-combine-stack-adjustments.patch
-	no-pie.patch
+    # We aren't building amd64 binaries, see #244498
+    #fix_amd64_compile.patch
+    modern-automake.patch
+    no-combine-stack-adjustments.patch
+    no-pie.patch
 )
 
 # Revision mapping to current tip of the 0.97-73 branch.
@@ -63,8 +63,8 @@ in
 EOF
 
 for PATCH in "${SERIES[@]}"; do
-	URL="$prefix/$PATCH"
-	HASH="$(nix-prefetch-url "$URL")"
-	echo "{ url = \"\${prefix}/$PATCH\"; sha256 = \"$HASH\"; }" >> "$FILE"
+    URL="$prefix/$PATCH"
+    HASH="$(nix-prefetch-url "$URL")"
+    echo "{ url = \"\${prefix}/$PATCH\"; sha256 = \"$HASH\"; }" >> "$FILE"
 done
 echo "]" >> "$FILE"