alacritty: install example config
A user recently asked where to find Alacritty's default config on NixOS [1], since we don't have `/usr/share/doc/` (which is where other operating systems, like Arch, install it). Now it can be accessed by building alacritty and referring to `result/share/doc/alacritty.yml`. [1] https://logs.nix.samueldr.com/nixos/2020-06-13#3598860;
This commit is contained in:
parent
7602241fbd
commit
c615ba3f6a
@ -121,6 +121,8 @@ rustPlatform.buildRustPackage rec {
|
||||
install -dm 755 "$out/share/man/man1"
|
||||
gzip -c extra/alacritty.man > "$out/share/man/man1/alacritty.1.gz"
|
||||
|
||||
install -Dm 644 alacritty.yml $out/share/doc/alacritty.yml
|
||||
|
||||
install -dm 755 "$terminfo/share/terminfo/a/"
|
||||
tic -xe alacritty,alacritty-direct -o "$terminfo/share/terminfo" extra/alacritty.info
|
||||
mkdir -p $out/nix-support
|
||||
|
Loading…
Reference in New Issue
Block a user