mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-23 14:31:55 +03:00
feat(pip): add .devShell attribute to package
This commit is contained in:
parent
203cd1c656
commit
f9ccbf3e3f
@ -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))
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user