aarch64-darwin compatible nix

This commit is contained in:
temidaradev 2026-06-26 18:49:38 +03:00
commit bff031b35b
Signed by: temidaradev
GPG key ID: CF0CCF7E9AD5BD9D
3 changed files with 28 additions and 18 deletions

View file

@ -1,4 +1,6 @@
{
lib,
stdenv,
mkShell,
rustc,
cargo,
@ -35,15 +37,18 @@ mkShell {
scdoc # generate man pages from doc/*.scd
];
buildInputs = [
wayland
wayland-protocols
wayland-scanner
libxkbcommon
freetype
fontconfig
harfbuzz
];
buildInputs =
[
freetype
fontconfig
harfbuzz
]
++ lib.optionals stdenv.hostPlatform.isLinux [
wayland
wayland-protocols
wayland-scanner
libxkbcommon
];
# Compile the beer terminfo into a project-local database and put it ahead of
# the system one, so TERM=beer resolves inside the shell (and for the shell