mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-26 16:03:38 +03:00
fix(nixpkgs-overrides): only extract existing pkgs
This commit is contained in:
parent
eb9e70bdd2
commit
a47ec7511a
@ -19,7 +19,10 @@
|
|||||||
in
|
in
|
||||||
l.filterAttrs (name: _: ! excludedNixpkgsAttrs ? ${name}) pythonAttrs;
|
l.filterAttrs (name: _: ! excludedNixpkgsAttrs ? ${name}) pythonAttrs;
|
||||||
|
|
||||||
extracted = extractPythonAttrs config.deps.python.pkgs.${config.name};
|
extracted =
|
||||||
|
if config.deps.python.pkgs ? config.name
|
||||||
|
then extractPythonAttrs config.deps.python.pkgs.${config.name}
|
||||||
|
else {};
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./interface.nix
|
./interface.nix
|
||||||
|
Loading…
Reference in New Issue
Block a user