feat(pip): add .devShell attribute to package

This commit is contained in:
DavHau 2023-09-03 14:30:17 +02:00
parent 203cd1c656
commit f9ccbf3e3f

View File

@ -66,6 +66,7 @@
bash
coreutils
gawk
mkShell
path
stdenv
unzip
@ -129,5 +130,13 @@ in {
in
l.attrValues (l.mapAttrs (name: _: cfg.drvs.${name}.public.out) rootDeps);
};
public.devShell = config.deps.mkShell {
inherit (config.mkDerivation) buildInputs nativeBuildInputs;
packages = [
(config.deps.python.withPackages
(ps: config.mkDerivation.propagatedBuildInputs))
];
};
};
}