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 = ./.;
|
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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue