Add separate dev shells for inquisitor and source development

This commit is contained in:
Tim Van Baak 2022-12-28 12:25:20 -08:00
parent b0096691d8
commit 4e574a5e8f
1 changed files with 15 additions and 4 deletions

View File

@ -24,12 +24,23 @@
env = pkgs.inquisitor.dependencyEnv;
};
devShells.${system}.default = pkgs.mkShell {
devShells.${system} = {
default = self.devShells.${system}.inquisitor;
inquisitor = pkgs.mkShell {
buildInputs = [ (pkgs.python3.withPackages (p: [p.poetry])) ];
shellHook = ''
PS1="(inquisitor) $PS1"
'';
};
sources = pkgs.mkShell {
buildInputs = [ self.packages.${system}.env ];
shellHook = ''
PS1="(sources) $PS1"
'';
};
};
in (my-flake.outputs-for each systems) //
{
};
in (my-flake.outputs-for each systems) // {
overlays.default = final: prev: {
inquisitor = final.poetry2nix.mkPoetryApplication {
projectDir = ./.;