From 4b70a7b56313b3fc4404377998fad6476a147d38 Mon Sep 17 00:00:00 2001 From: Ashlynne Mitchell Date: Mon, 1 Dec 2025 15:51:31 +1100 Subject: [PATCH] fix(flake): put inotify-tools behind a linux conditional --- flake.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index 0ea206d..013230e 100644 --- a/flake.nix +++ b/flake.nix @@ -14,12 +14,13 @@ defaultForSystems = fn: forSystems (pkgs: {default = fn pkgs;}); in { devShells = defaultForSystems (pkgs: - pkgs.mkShell { - nativeBuildInputs = with pkgs; [elixir erlang inotify-tools nodejs pnpm tailwindcss_4 watchman]; + with pkgs; + mkShell { + nativeBuildInputs = [elixir erlang nodejs pnpm tailwindcss_4 watchman] ++ (lib.optional stdenv.isLinux [inotify-tools]); - shellHook = '' - export TAILWINDCSS_PATH="${pkgs.lib.getExe pkgs.tailwindcss_4}" - ''; - }); + shellHook = '' + export TAILWINDCSS_PATH="${lib.getExe tailwindcss_4}" + ''; + }); }; } -- 2.51.2