Add separate dev shells for inquisitor and source development
This commit is contained in:
parent
ae20f13046
commit
c75082e3af
17
flake.nix
17
flake.nix
@ -24,12 +24,23 @@
|
|||||||
env = pkgs.inquisitor.dependencyEnv;
|
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])) ];
|
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: {
|
overlays.default = final: prev: {
|
||||||
inquisitor = final.poetry2nix.mkPoetryApplication {
|
inquisitor = final.poetry2nix.mkPoetryApplication {
|
||||||
projectDir = ./.;
|
projectDir = ./.;
|
||||||
|
Loading…
Reference in New Issue
Block a user