Make inquisitor and the dependency env different packages
This commit is contained in:
parent
675e019f72
commit
b0096691d8
10
flake.nix
10
flake.nix
|
@ -18,7 +18,11 @@
|
||||||
overlays = [ self.overlays.default ];
|
overlays = [ self.overlays.default ];
|
||||||
});
|
});
|
||||||
in {
|
in {
|
||||||
packages.${system}.default = pkgs.inquisitor;
|
packages.${system} = {
|
||||||
|
default = self.packages.${system}.inquisitor;
|
||||||
|
inquisitor = pkgs.inquisitor;
|
||||||
|
env = pkgs.inquisitor.dependencyEnv;
|
||||||
|
};
|
||||||
|
|
||||||
devShells.${system}.default = pkgs.mkShell {
|
devShells.${system}.default = pkgs.mkShell {
|
||||||
buildInputs = [ (pkgs.python3.withPackages (p: [p.poetry])) ];
|
buildInputs = [ (pkgs.python3.withPackages (p: [p.poetry])) ];
|
||||||
|
@ -27,9 +31,9 @@
|
||||||
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 = ./.;
|
||||||
}).dependencyEnv;
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue