nix #1

Merged
sammy merged 6 commits from nix into main 2024-05-22 16:56:22 +00:00
Showing only changes of commit 2f2cfe5139 - Show all commits

View file

@ -16,7 +16,10 @@
src = ./.; src = ./.;
nativeBuildInputs = [ pkgs.zola ]; nativeBuildInputs = [ pkgs.zola ];
buildPhase = "zola build"; 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; defaultPackage = self.packages.${system}.website;
devShell = pkgs.mkShell { devShell = pkgs.mkShell {