1
0
Fork 0
nix-scripts/web.nix

8 lines
150 B
Nix
Raw Normal View History

2019-07-19 14:54:18 +08:00
let
pkgs = import <nixpkgs> {};
src = <webSrc>;
in
{
web = pkgs.runCommand "web" {} "cd ${src}; ${pkgs.zola}/bin/zola build -o $out";
}