mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-13 20:30:02 +00:00
Merge pull request #533 from Enzime/terminfo
environment: support installing terminfo files
This commit is contained in:
commit
be8e20e7d3
1 changed files with 6 additions and 1 deletions
|
@ -159,7 +159,11 @@ in
|
|||
[ "/run/current-system/sw" "/nix/var/nix/profiles/default" ]
|
||||
];
|
||||
|
||||
environment.pathsToLink = [ "/bin" "/share/locale" ];
|
||||
environment.pathsToLink = [
|
||||
"/bin"
|
||||
"/share/locale"
|
||||
"/share/terminfo"
|
||||
];
|
||||
|
||||
environment.extraInit = ''
|
||||
# reset TERM with new TERMINFO available (if any)
|
||||
|
@ -173,6 +177,7 @@ in
|
|||
{
|
||||
XDG_CONFIG_DIRS = map (path: path + "/etc/xdg") cfg.profiles;
|
||||
XDG_DATA_DIRS = map (path: path + "/share") cfg.profiles;
|
||||
TERMINFO_DIRS = map (path: path + "/share/terminfo") cfg.profiles;
|
||||
EDITOR = mkDefault "nano";
|
||||
PAGER = mkDefault "less -R";
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue