summaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorMihai Fufezan <mihai@fufexan.net>2025-03-23 18:19:34 +0200
committerMihai Fufezan <mihai@fufexan.net>2025-03-23 18:19:34 +0200
commite4abf26069b4d43c8f6ad6b3dfb56c952abb38c2 (patch)
treee93458584c55ea64efaed2809c32debff587b25c /nix
parent006bd9eef5771e0ef9d764af1be9a35b78f20736 (diff)
Nix: add changes from Nixpkgs derivation
Diffstat (limited to 'nix')
-rw-r--r--nix/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nix/default.nix b/nix/default.nix
index 2d9ee99f..f66bac93 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -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;
})