8 lines
150 B
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";
|
||
|
}
|