nix #1
1 changed files with 4 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue