+7
-6
flake.nix
+7
-6
flake.nix
···
14
14
defaultForSystems = fn: forSystems (pkgs: {default = fn pkgs;});
15
15
in {
16
16
devShells = defaultForSystems (pkgs:
17
-
pkgs.mkShell {
18
-
nativeBuildInputs = with pkgs; [elixir erlang inotify-tools nodejs pnpm tailwindcss_4 watchman];
17
+
with pkgs;
18
+
mkShell {
19
+
nativeBuildInputs = [elixir erlang nodejs pnpm tailwindcss_4 watchman] ++ (lib.optional stdenv.isLinux [inotify-tools]);
19
20
20
-
shellHook = ''
21
-
export TAILWINDCSS_PATH="${pkgs.lib.getExe pkgs.tailwindcss_4}"
22
-
'';
23
-
});
21
+
shellHook = ''
22
+
export TAILWINDCSS_PATH="${lib.getExe tailwindcss_4}"
23
+
'';
24
+
});
24
25
};
25
26
}