Force theme vendoring in nix build.

This commit is contained in:
Lyle Mantooth 2025-06-25 14:04:01 -04:00
parent 7a0efc520b
commit 1f9a5f88f4
Signed by: IslandUsurper
SSH key fingerprint: SHA256:7OQGnFyxgqLkSqpNeuqXgKL+0NmXES1atELKc4dKOw8

View file

@ -20,10 +20,10 @@
nativeBuildInputs = [ zola ];
configurePhase = ''
mkdir -p "themes/${themeName}"
cp -r ${hermit-zola}/* "themes/${themeName}"
cp -rf ${hermit-zola}/* "themes/${themeName}"
'';
buildPhase = "zola build";
installPhase = "cp -r public $out";
installPhase = "cp -rf public $out";
};
defaultPackage = self.packages.${system}.blog;