nixos-config/pkgs/lektor-with-plugins/requirements_override.nix

28 lines
655 B
Nix
Raw Normal View History

2019-10-24 02:20:38 +02:00
{ pkgs, python }:
self: super:
let
callPackage = pkgs.lib.callPackageWith super;
lektorShell = callPackage ./lektor-shell/default.nix { inherit pkgs; };
lektorGit = callPackage ./lektor-git/default.nix { inherit pkgs; };
2019-12-20 05:54:26 +01:00
lektorMarkdownHeaderAnchors =
callPackage ./lektor-markdown-header-anchors/default.nix {
inherit pkgs;
fetchFromGitHub = pkgs.fetchFromGitHub;
};
inputs = [ lektorShell lektorGit lektorMarkdownHeaderAnchors ];
2019-10-24 02:20:38 +02:00
in {
"Lektor" = python.overrideDerivation super."Lektor" (old: {
propagatedBuildInputs = old.propagatedBuildInputs ++ inputs;
buildInputs = old.buildInputs ++ inputs;
});
}