Fix nix build

pull/1/head
mat ess 2022-08-13 19:50:20 -04:00
parent a267d16c83
commit 4f4949df8c
2 changed files with 2 additions and 2 deletions

View File

@ -21,13 +21,13 @@
perSystem = { config, self', inputs', pkgs, system, ... }: {
packages.default = pkgs.stdenv.mkDerivation {
pname = "personal-site";
version = "2022-08-07";
version = "2022-08-13";
src = ./.;
nativeBuildInputs = with pkgs; [ scour zola ];
configurePhase = ''
mkdir -p "themes/${themeName}"
cp -r ${theme}/* "themes/${themeName}"
scour -i static/favicon-unoptimized.svg -o static/favicon.svg
scour -i static/image/_favicon-original.svg -o static/image/favicon.svg
'';
buildPhase = "zola build";
installPhase = "cp -r public $out";

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB