Corrected fontDir builder; beginning of changes to allow configuration having multiple variaions in GRUB menu/
svn path=/nixos/trunk/; revision=9957
This commit is contained in:
parent
4892139b38
commit
6733486ec8
@ -89,6 +89,8 @@ EOF
|
|||||||
# Add all generations of the system profile to the menu, in reverse
|
# Add all generations of the system profile to the menu, in reverse
|
||||||
# (most recent to least recent) order.
|
# (most recent to least recent) order.
|
||||||
for generation in $(
|
for generation in $(
|
||||||
|
(cd $default/fine-tune && ls -d *) \
|
||||||
|
| sort -n) $(
|
||||||
(cd /nix/var/nix/profiles && ls -d system-*-link) \
|
(cd /nix/var/nix/profiles && ls -d system-*-link) \
|
||||||
| sed 's/system-\([0-9]\+\)-link/\1/' \
|
| sed 's/system-\([0-9]\+\)-link/\1/' \
|
||||||
| sort -n -r); do
|
| sort -n -r); do
|
||||||
|
@ -178,7 +178,7 @@ rec {
|
|||||||
|
|
||||||
# Font aggregation
|
# Font aggregation
|
||||||
fontDir = import ./fontdir.nix {
|
fontDir = import ./fontdir.nix {
|
||||||
inherit (pkgs) stdenv;
|
stdenv = pkgs.stdenvUsingSetupNew2;
|
||||||
inherit pkgs config;
|
inherit pkgs config;
|
||||||
inherit (pkgs.xorg) mkfontdir mkfontscale fontalias;
|
inherit (pkgs.xorg) mkfontdir mkfontscale fontalias;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user