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