summary refs log tree commit diff
path: root/nixos/modules/system/boot/loader/init-script/init-script-builder.sh
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2020-03-05 17:07:20 -0500
committerGraham Christensen <graham@grahamc.com>2020-04-12 08:12:50 -0400
commitec2d28e3233c4c04fe6afe13e828691d099167ae (patch)
tree80d3efd6ffd191559bd5d222a765570cc73c604e /nixos/modules/system/boot/loader/init-script/init-script-builder.sh
parent807ca93fadd5197c2260490de0c76e500562dc05 (diff)
downloadnixpkgs-ec2d28e3233c4c04fe6afe13e828691d099167ae.tar
nixpkgs-ec2d28e3233c4c04fe6afe13e828691d099167ae.tar.gz
nixpkgs-ec2d28e3233c4c04fe6afe13e828691d099167ae.tar.bz2
nixpkgs-ec2d28e3233c4c04fe6afe13e828691d099167ae.tar.lz
nixpkgs-ec2d28e3233c4c04fe6afe13e828691d099167ae.tar.xz
nixpkgs-ec2d28e3233c4c04fe6afe13e828691d099167ae.tar.zst
nixpkgs-ec2d28e3233c4c04fe6afe13e828691d099167ae.zip
specialisation: replace nesting with named configurations
Co-authored-by: worldofpeace <worldofpeace@protonmail.ch>
Diffstat (limited to 'nixos/modules/system/boot/loader/init-script/init-script-builder.sh')
-rw-r--r--nixos/modules/system/boot/loader/init-script/init-script-builder.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/loader/init-script/init-script-builder.sh b/nixos/modules/system/boot/loader/init-script/init-script-builder.sh
index 08d4ab14c9c..6f48d2539ac 100644
--- a/nixos/modules/system/boot/loader/init-script/init-script-builder.sh
+++ b/nixos/modules/system/boot/loader/init-script/init-script-builder.sh
@@ -69,7 +69,7 @@ addEntry "NixOS - Default" $defaultConfig ""
 
 # Add all generations of the system profile to the menu, in reverse
 # (most recent to least recent) order.
-for link in $((ls -d $defaultConfig/fine-tune/* ) | sort -n); do
+for link in $((ls -d $defaultConfig/specialisation/* ) | sort -n); do
     date=$(stat --printf="%y\n" $link | sed 's/\..*//')
     addEntry "NixOS - variation" $link ""
 done