mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-25 23:41:42 +03:00
fix(nixpkgs-overrides): only extract existing pkgs
This commit is contained in:
parent
eb9e70bdd2
commit
a47ec7511a
@ -19,7 +19,10 @@
|
||||
in
|
||||
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 {
|
||||
imports = [
|
||||
./interface.nix
|
||||
|
Loading…
Reference in New Issue
Block a user