jade
9384845c40
Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/dd37924974b9202f8226ed5d74a252a9785aedf8' (2024-04-24) → 'github:NixOS/nixpkgs/249fbde2a178a2ea2638b65b9ecebd531b338cf9' (2024-07-09)
31 lines
651 B
Nix
31 lines
651 B
Nix
#
|
|
# Helper for building the wobsite.
|
|
#
|
|
# vim: et:ts=2:sw=2:
|
|
#
|
|
{
|
|
#
|
|
# The sources we depend on.
|
|
#
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs { inherit system; };
|
|
in
|
|
{
|
|
# For local development...
|
|
devShell = pkgs.mkShell { buildInputs = [ pkgs.hugo pkgs.sass ]; };
|
|
|
|
# ... and remote deployment.
|
|
packages = {
|
|
site-content = pkgs.callPackage ./nix/site-content.nix {};
|
|
};
|
|
|
|
});
|
|
}
|