22 lines
626 B
Nix
22 lines
626 B
Nix
|
{
|
||
|
description = "Flake with a shell to build my frontpage static site";
|
||
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||
|
|
||
|
outputs = { self, nixpkgs, flake-utils }:
|
||
|
flake-utils.lib.eachDefaultSystem (system:
|
||
|
let pkgs = nixpkgs.legacyPackages.${system};
|
||
|
in {
|
||
|
devShell = pkgs.mkShell {
|
||
|
nativeBuildInputs = [ pkgs.bashInteractive ];
|
||
|
buildInputs = [
|
||
|
pkgs.gnumake
|
||
|
pkgs.findutils
|
||
|
pkgs.sassc
|
||
|
pkgs.j2cli
|
||
|
pkgs.html-tidy
|
||
|
];
|
||
|
};
|
||
|
});
|
||
|
}
|