Remove possible link from devShell.
This commit is contained in:
parent
c315f992f5
commit
6707fa256b
1 changed files with 5 additions and 2 deletions
|
@ -19,8 +19,11 @@
|
|||
src = ./.;
|
||||
nativeBuildInputs = [ zola ];
|
||||
configurePhase = ''
|
||||
mkdir -p "themes/${themeName}"
|
||||
cp -a ${hermit-zola}/* "themes/${themeName}/"
|
||||
if [ -h "themes/${themeName}" ]; then
|
||||
rm "themes/${themeName}"
|
||||
fi
|
||||
mkdir -p "themes/${themeName}"
|
||||
cp -a ${hermit-zola}/* "themes/${themeName}/"
|
||||
'';
|
||||
buildPhase = "${zola}/bin/zola build";
|
||||
installPhase = "cp -r public $out";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue