final: prev: { # keep sources this first sources = prev.callPackage (import ./_sources/generated.nix) { }; # then, call packages with `final.callPackage` plymouth-themes = prev.callPackage ./plymouth.nix { }; }