From e8b90591d5145dad3ecfab957060f3c9f8b79f7a Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Tue, 28 Jul 2026 17:13:55 -0400 Subject: [PATCH] only include wayland in devshell on macos --- linux/nix/devshell.nix | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/linux/nix/devshell.nix b/linux/nix/devshell.nix index c29ac4d..812082c 100644 --- a/linux/nix/devshell.nix +++ b/linux/nix/devshell.nix @@ -18,20 +18,22 @@ let }; in pkgs.mkShell { - packages = with pkgs; [ - go - git - jdk17 - libGL - wayland - (flutter.override { - extraPkgConfigPackages = [ - mpv-unwrapped - libass - ]; - }) - android.platform-tools - ]; + packages = + with pkgs; + [ + go + git + jdk17 + libGL + (flutter.override { + extraPkgConfigPackages = [ + mpv-unwrapped + libass + ]; + }) + android.platform-tools + ] + ++ lib.optional pkgs.stdenv.isLinux wayland; env = rec { LIBCLANG_PATH = lib.makeLibraryPath [ pkgs.libclang ];