mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
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
|
||||
# (most recent to least recent) order.
|
||||
for generation in $(
|
||||
(cd $default/fine-tune && ls -d *) \
|
||||
| sort -n) $(
|
||||
(cd /nix/var/nix/profiles && ls -d system-*-link) \
|
||||
| sed 's/system-\([0-9]\+\)-link/\1/' \
|
||||
| sort -n -r); do
|
||||
|
@ -178,7 +178,7 @@ rec {
|
||||
|
||||
# Font aggregation
|
||||
fontDir = import ./fontdir.nix {
|
||||
inherit (pkgs) stdenv;
|
||||
stdenv = pkgs.stdenvUsingSetupNew2;
|
||||
inherit pkgs config;
|
||||
inherit (pkgs.xorg) mkfontdir mkfontscale fontalias;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user