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
Showing only changes of commit 3ec9d18b58 - Show all commits

View File

@ -5,6 +5,11 @@ let
in in
rec { rec {
web = pkgs.runCommand "web" {} "cd ${web-src}; ${pkgs.zola}/bin/zola build -o $out"; 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 { sphinxcontrib-platformpicker = pkgs.python3Packages.buildPythonPackage rec {
pname = "sphinxcontrib-platformpicker"; pname = "sphinxcontrib-platformpicker";
version = "1.3"; version = "1.3";