1
0
Fork 0
mirror of https://github.com/hyprwm/Hyprland synced 2025-04-10 00:32:02 +02:00

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
Signed by: fufexan
SSH key fingerprint: SHA256:SdnKmEpJrDu1+2UO1QpB/Eg4HKcdDi6n+xSRqFNJVpg

View file

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