update build script

This commit is contained in:
CherryKitten 2024-05-22 10:12:34 +02:00
parent e40757b5fb
commit 2f2cfe5139
Signed by: sammy
GPG key ID: 98D8F75FB0658276

View file

@ -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 {