update build script
This commit is contained in:
parent
e40757b5fb
commit
2f2cfe5139
1 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,10 @@
|
|||
src = ./.;
|
||||
nativeBuildInputs = [ pkgs.zola ];
|
||||
buildPhase = "zola build";
|
||||
installPhase = "cp -r public $out";
|
||||
installPhase = ''
|
||||
mkdir -p $out/var/www
|
||||
mv public $out/var/www/cherrykitten.dev
|
||||
'';
|
||||
};
|
||||
defaultPackage = self.packages.${system}.website;
|
||||
devShell = pkgs.mkShell {
|
||||
|
|
Loading…
Reference in a new issue