Nix: add changes from Nixpkgs derivation

This commit is contained in:
Mihai Fufezan 2025-03-23 18:19:34 +02:00
parent 006bd9eef5
commit e4abf26069
No known key found for this signature in database

View file

@ -11,6 +11,7 @@
aquamarine,
binutils,
cairo,
epoll-shim,
git,
glaze,
hyprcursor,
@ -141,6 +142,7 @@ in
wayland-scanner
xorg.libXcursor
]
(optionals customStdenv.hostPlatform.isBSD [ epoll-shim ])
(optionals customStdenv.hostPlatform.isMusl [libexecinfo])
(optionals enableXWayland [
xorg.libxcb
@ -153,6 +155,8 @@ in
(optional withSystemd systemd)
];
strictDeps = true;
mesonBuildType =
if debug
then "debug"
@ -162,6 +166,7 @@ in
(mapAttrsToList mesonEnable {
"xwayland" = enableXWayland;
"legacy_renderer" = legacyRenderer;
"systemd" = withSystemd;
"uwsm" = false;
"hyprpm" = false;
})