summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix
index 3a0f0b3..7f50392 100644
--- a/flake.nix
+++ b/flake.nix
@@ -70,6 +70,7 @@
ninja
meson
cmake
+ wayland-scanner.bin
makeWrapper
];
buildInputs = [
@@ -85,10 +86,10 @@
] ++ lib.optionals (window == "wayland") [
wayland
wayland-protocols
- wayland-scanner
wlr-protocols
egl-wayland
] ++ lib.optionals (window == "x11") [
+ xorg.libX11
xorg.libXext
xorg.libXrandr
xorg.libXfixes
@@ -119,7 +120,7 @@
devShells = forAllDevSystems (pkgs: {
default = with pkgs; mkShell {
NIX_HARDENING_ENABLE = "";
- nativeBuildInputs = packages.${system}.default.nativeBuildInputs ++ [
+ nativeBuildInputs = packages.${stdenv.hostPlatform.system}.default.nativeBuildInputs ++ [
gdb
clang-tools
perf-tools
@@ -129,7 +130,7 @@
python-pkgs.pygments
]))
];
- buildInputs = packages.${system}.default.buildInputs ++ [
+ buildInputs = packages.${stdenv.hostPlatform.system}.default.buildInputs ++ [
# sway build
json_c
pcre2
@@ -141,7 +142,7 @@
libdrm
gdk-pixbuf
xwayland
- xorg.xcbutilwm
+ libxcb-wm
# wlroots build
mesa
vulkan-headers