0
0
Fork 0
forked from val/lix-website
lix-website/flake.nix
2024-04-27 01:10:42 -06:00

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-23.11";
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 {};
};
});
}