mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
Merge pull request #154952 from colemickens/extlinux
extlinux-conf-builder: specialisations entries
This commit is contained in:
commit
4e21f361d6
@ -141,7 +141,13 @@ if [ "$numGenerations" -gt 0 ]; then
|
||||
| sort -n -r \
|
||||
| head -n $numGenerations); do
|
||||
link=/nix/var/nix/profiles/system-$generation-link
|
||||
addEntry $link $generation
|
||||
addEntry $link "${generation}-default"
|
||||
for specialisation in $(
|
||||
ls /nix/var/nix/profiles/system-$generation-link/specialisation \
|
||||
| sort -n -r); do
|
||||
link=/nix/var/nix/profiles/system-$generation-link/specialisation/$specialisation
|
||||
addEntry $link "${generation}-${specialisation}"
|
||||
done
|
||||
done >> $tmpFile
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user