fix: Fix missing dependencies in the build
This commit is contained in:
parent
99b7428dd0
commit
b98f7cb52c
@ -10,6 +10,9 @@
|
||||
inherit system;
|
||||
};
|
||||
|
||||
jekyllPackages = with pkgs; [
|
||||
rubyPackages.jekyll-feed rubyPackages.jekyll-seo-tag
|
||||
];
|
||||
tailwindWithTypography = (pkgs.nodePackages.tailwindcss.overrideAttrs (old: {
|
||||
plugins = [
|
||||
pkgs.nodePackages."@tailwindcss/typography"
|
||||
@ -20,14 +23,14 @@
|
||||
devShell = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
tailwindWithTypography
|
||||
jekyll rubyPackages.jekyll-feed rubyPackages.jekyll-seo-tag
|
||||
jekyll
|
||||
imagemagick
|
||||
];
|
||||
] ++ jekyllPackages;
|
||||
};
|
||||
|
||||
packages = {
|
||||
website = pkgs.callPackage ./pkgs/website.nix {
|
||||
inherit tailwindWithTypography;
|
||||
inherit tailwindWithTypography jekyllPackages;
|
||||
};
|
||||
};
|
||||
});
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
jekyll, tailwindWithTypography
|
||||
jekyll, jekyllPackages, tailwindWithTypography
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
@ -8,6 +8,10 @@ stdenv.mkDerivation {
|
||||
version = "0.1.0";
|
||||
src = ./../.;
|
||||
|
||||
buildInputs = [
|
||||
jekyll jekyllPackages tailwindWithTypography
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
${jekyll}/bin/jekyll build --future
|
||||
cp -r ./assets _site/assets
|
||||
|
Loading…
Reference in New Issue
Block a user