Force theme vendoring in nix build
.
This commit is contained in:
parent
7a0efc520b
commit
1f9a5f88f4
1 changed files with 2 additions and 2 deletions
|
@ -20,10 +20,10 @@
|
||||||
nativeBuildInputs = [ zola ];
|
nativeBuildInputs = [ zola ];
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
mkdir -p "themes/${themeName}"
|
mkdir -p "themes/${themeName}"
|
||||||
cp -r ${hermit-zola}/* "themes/${themeName}"
|
cp -rf ${hermit-zola}/* "themes/${themeName}"
|
||||||
'';
|
'';
|
||||||
buildPhase = "zola build";
|
buildPhase = "zola build";
|
||||||
installPhase = "cp -r public $out";
|
installPhase = "cp -rf public $out";
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultPackage = self.packages.${system}.blog;
|
defaultPackage = self.packages.${system}.blog;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue