Fix nix build
parent
a267d16c83
commit
4f4949df8c
|
@ -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";
|
||||
|
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Loading…
Reference in New Issue