diff --git a/flake.nix b/flake.nix index e31f50f..da251c9 100644 --- a/flake.nix +++ b/flake.nix @@ -13,7 +13,7 @@ inherit (pkgs) lib; # Check if project has a shell.nix - hasShell = dir: (builtins.readDir ./${dir}) ? "shell.nix"; + hasShell = dir: builtins.pathExists ./${dir}/shell.nix; # Get all project directories currentDir = builtins.readDir ./.;