diff --git a/flake.nix b/flake.nix index 1e838ff..d0ebe44 100644 --- a/flake.nix +++ b/flake.nix @@ -9,7 +9,11 @@ flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; - python = pkgs.python3.withPackages (ps: with ps; [ markdown pelican ]); + python = pkgs.python3.withPackages (ps: + with ps; [ + markdown + (pelican.overrideAttrs (_: _: { patches = [ ./pelican.patch ]; })) + ]); website = pkgs.stdenv.mkDerivation { name = "website"; src = ./.; diff --git a/pelican.patch b/pelican.patch new file mode 100644 index 0000000..031de0d --- /dev/null +++ b/pelican.patch @@ -0,0 +1,13 @@ +diff --git a/pelican/themes/notmyidea/templates/base.html b/pelican/themes/notmyidea/templates/base.html +index 2b302899..07e28e2d 100644 +--- a/pelican/themes/notmyidea/templates/base.html ++++ b/pelican/themes/notmyidea/templates/base.html +@@ -62,7 +62,7 @@ + {% endif %} + + {% for name, link in SOCIAL %} +-