fix: Use stdenv.isLinux for platform check
Use stdenv.isLinux instead of lib.isLinux to properly check if inotify-tools should be included. This fixes the undefined variable error when evaluating the flake on macOS.
This commit is contained in:
parent
207d66963e
commit
4b903df160
1 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
mkShell,
|
||||
writeShellScriptBin,
|
||||
# Elixir/Erlang
|
||||
|
|
@ -15,6 +16,7 @@
|
|||
pkg-config,
|
||||
# Development tools
|
||||
git-lfs,
|
||||
inotify-tools,
|
||||
# LSPs and formatters
|
||||
elixir-ls,
|
||||
nixfmt,
|
||||
|
|
@ -221,7 +223,7 @@ mkShell {
|
|||
# Service management scripts
|
||||
startServices
|
||||
stopServices
|
||||
] ++ lib.optionals lib.isLinux [
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
# Linux-only tools
|
||||
inotify-tools # For Mix file watching
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue