1
0
Fork 0
nix-scripts/web.nix

8 lines
150 B
Nix

let
pkgs = import <nixpkgs> {};
src = <webSrc>;
in
{
web = pkgs.runCommand "web" {} "cd ${src}; ${pkgs.zola}/bin/zola build -o $out";
}