Add @11ty/eleventy package to dev shell

This commit is contained in:
Luka Korošec 2025-06-20 21:24:23 +02:00
parent 3ff6d210f0
commit b0d1441acf
Signed by: Pizmovc
GPG key ID: 4E1338930C2F3572
7 changed files with 60 additions and 1 deletions

View file

@ -2,6 +2,11 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
eleventy-src = {
url = "github:11ty/eleventy";
flake = false;
};
};
outputs =
@ -15,11 +20,20 @@
system:
let
pkgs = nixpkgs.legacyPackages.${system};
eleventy = import ./pkgs/11ty-eleventy.nix {
inherit pkgs;
src = inputs.eleventy-src;
};
in
{
packages.eleventy = eleventy;
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
just
eleventy
prefetch-npm-deps
jq
curlMinimal
];
shellHook = "";
};