core-lightning/nix/shells.nix
2024-10-21 16:56:02 +02:00

22 lines
435 B
Nix

{ self, ... }:
{
perSystem =
{
config,
pkgs,
system,
...
}:
{
devShells = {
default = pkgs.mkShell { inputsFrom = [ config.packages.default ]; };
postgres = pkgs.mkShell { inputsFrom = [ config.packages.cln-postgres ]; };
rust = pkgs.craneLib.devShell {
checks = {
inherit (self.checks.${system}) rust;
};
};
};
};
}