Files
CS1534CA3/flake.nix
Ben Soroos 929b14104b Initial Setup
Tooling:
  nix/direnv to ensure dependencies are present
  jinja-based templating to avoid duplication of common sections of pages
    (header and footer, primarily)
  auto-rebuilding server for rapid iteration
2024-03-12 11:55:48 +00:00

26 lines
504 B
Nix

{
outputs = {
nixpkgs,
systems,
self,
}: let
eachSystem = f:
nixpkgs.lib.genAttrs (import systems) (system:
f {
inherit system;
pkgs = nixpkgs.legacyPackages.${system};
});
in {
devShells = eachSystem ({pkgs, ...}: {
default = pkgs.mkShell {
packages = with pkgs; [
just
simple-http-server
watchexec
(python3.withPackages (ps: with ps; [jinja2]))
];
};
});
};
}