Music streaming on ATProto!

fix(flake): put inotify-tools behind a linux conditional

ovyerus.com 4b70a7b5 0acdf80b

verified
Changed files
+7 -6
+7 -6
flake.nix
···
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];
-
shellHook = ''
-
export TAILWINDCSS_PATH="${pkgs.lib.getExe pkgs.tailwindcss_4}"
-
'';
-
});
};
}
···
defaultForSystems = fn: forSystems (pkgs: {default = fn pkgs;});
in {
devShells = defaultForSystems (pkgs:
+
with pkgs;
+
mkShell {
+
nativeBuildInputs = [elixir erlang nodejs pnpm tailwindcss_4 watchman] ++ (lib.optional stdenv.isLinux [inotify-tools]);
+
shellHook = ''
+
export TAILWINDCSS_PATH="${lib.getExe tailwindcss_4}"
+
'';
+
});
};
}