Merge pull request 'chore: remove data-mesher from devshell' (#3239) from remove-data-mesher-from-devshell into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3239
This commit is contained in:
brianmcgee
2025-04-08 18:05:51 +00:00

View File

@@ -1,12 +1,10 @@
{ inputs, ... }:
{ ... }:
{
perSystem =
{
lib,
pkgs,
self',
config,
system,
...
}:
let
@@ -26,8 +24,7 @@
in
{
devShells.default = pkgs.mkShell {
packages =
[
packages = [
select-shell
pkgs.nix-unit
pkgs.tea
@@ -38,14 +35,7 @@
self'.packages.pending-reviews
# treefmt with config defined in ./flake-parts/formatting.nix
config.treefmt.build.wrapper
]
# bring in data-mesher for the cli which can help with things like key generation
++ (
let
data-mesher = inputs.data-mesher.packages.${system}.data-mesher or null;
in
lib.optional (data-mesher != null) data-mesher
);
];
shellHook = ''
echo -e "${ansiEscapes.green}switch to another dev-shell using: select-shell${ansiEscapes.reset}"
export PRJ_ROOT=$(git rev-parse --show-toplevel)