Auto-build website to m-labs-intl.com #92

Merged
sb10q merged 1 commits from esavkin/nix-scripts:134-m-labs-intl into master 2024-07-19 17:24:26 +08:00
1 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,11 @@ let
in
rec {
web = pkgs.runCommand "web" {} "cd ${web-src}; ${pkgs.zola}/bin/zola build -o $out";
web-intl = pkgs.runCommand "web-intl" {}
''
cd ${web-src}
DOMAINNAME=m-labs-intl.com ${pkgs.zola}/bin/zola build -o $out
'';
Outdated
Review

; is not necessary in a multi line shell script.
Please stop blindly copying code without understanding it.

``;`` is not necessary in a multi line shell script. Please stop blindly copying code without understanding it.
sphinxcontrib-platformpicker = pkgs.python3Packages.buildPythonPackage rec {
pname = "sphinxcontrib-platformpicker";
version = "1.3";