devshell: remove dependency on clan-cli

This stops the devshell from being re-built constantly, when the source code changes.

Based on a new feature in treefmt-nix: https://github.com/numtide/treefmt-nix/pull/208
This commit is contained in:
DavHau
2024-08-03 22:10:11 +07:00
parent 7de0789183
commit 6c1c615c60
7 changed files with 40 additions and 14 deletions

View File

@@ -38,6 +38,7 @@
];
shellHook = ''
echo -e "${ansiEscapes.green}switch to another dev-shell using: select-shell${ansiEscapes.reset}"
export PROJECT_ROOT=$(git rev-parse --show-toplevel)
'';
};
};