Fix nix build
parent
a267d16c83
commit
4f4949df8c
|
@ -21,13 +21,13 @@
|
||||||
perSystem = { config, self', inputs', pkgs, system, ... }: {
|
perSystem = { config, self', inputs', pkgs, system, ... }: {
|
||||||
packages.default = pkgs.stdenv.mkDerivation {
|
packages.default = pkgs.stdenv.mkDerivation {
|
||||||
pname = "personal-site";
|
pname = "personal-site";
|
||||||
version = "2022-08-07";
|
version = "2022-08-13";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
nativeBuildInputs = with pkgs; [ scour zola ];
|
nativeBuildInputs = with pkgs; [ scour zola ];
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
mkdir -p "themes/${themeName}"
|
mkdir -p "themes/${themeName}"
|
||||||
cp -r ${theme}/* "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";
|
buildPhase = "zola build";
|
||||||
installPhase = "cp -r public $out";
|
installPhase = "cp -r public $out";
|
||||||
|
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Loading…
Reference in New Issue