aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/fpkg/build.nix
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-02-28 14:39:47 +0900
committerOphestra <cat@gensokyo.uk>2025-02-28 14:43:46 +0900
commit2d4cabe7860cb7ef7aa5bb6a3c21153e624d61b6 (patch)
treecd93b9d2a423bd8112a88327f7b3564fed214547 /cmd/fpkg/build.nix
parent80f9b62d254d4ad8ea05784a509a81d9851f30aa (diff)
nix: increase nixfmt max width
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/fpkg/build.nix')
-rw-r--r--cmd/fpkg/build.nix6
1 files changed, 1 insertions, 5 deletions
diff --git a/cmd/fpkg/build.nix b/cmd/fpkg/build.nix
index 00244538..17dfa93e 100644
--- a/cmd/fpkg/build.nix
+++ b/cmd/fpkg/build.nix
@@ -171,11 +171,7 @@ let
broadcast = { };
});
- enablements =
- (if allow_wayland then 1 else 0)
- + (if allow_x11 then 2 else 0)
- + (if allow_dbus then 4 else 0)
- + (if allow_pulse then 8 else 0);
+ enablements = (if allow_wayland then 1 else 0) + (if allow_x11 then 2 else 0) + (if allow_dbus then 4 else 0) + (if allow_pulse then 8 else 0);
mesa = if gpu then mesaWrappers else null;
nix_gl = if gpu then nixGL else null;