Remove possible link from devShell.

This commit is contained in:
Lyle Mantooth 2025-06-25 14:28:57 -04:00
parent c315f992f5
commit 6707fa256b
Signed by: IslandUsurper
SSH key fingerprint: SHA256:7OQGnFyxgqLkSqpNeuqXgKL+0NmXES1atELKc4dKOw8

View file

@ -19,8 +19,11 @@
src = ./.; src = ./.;
nativeBuildInputs = [ zola ]; nativeBuildInputs = [ zola ];
configurePhase = '' configurePhase = ''
mkdir -p "themes/${themeName}" if [ -h "themes/${themeName}" ]; then
cp -a ${hermit-zola}/* "themes/${themeName}/" rm "themes/${themeName}"
fi
mkdir -p "themes/${themeName}"
cp -a ${hermit-zola}/* "themes/${themeName}/"
''; '';
buildPhase = "${zola}/bin/zola build"; buildPhase = "${zola}/bin/zola build";
installPhase = "cp -r public $out"; installPhase = "cp -r public $out";