nix: Build directly to $out

This commit is contained in:
Simon Bruder 2021-04-04 11:49:59 +02:00
parent e530031fc1
commit fe3e826ac9
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -129,10 +129,9 @@ stdenv.mkDerivation {
src = gitignoreSource ./.;
buildPhase = "mkdocs build";
buildPhase = "mkdocs build -d $out";
installPhase = ''
cp -r site $out
mkdir -p $out/assets/fonts
ln -s ${iosevka-web} $out/assets/fonts/iosevka
'';