nix: Build directly to $out
This commit is contained in:
parent
e530031fc1
commit
fe3e826ac9
|
@ -129,10 +129,9 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
src = gitignoreSource ./.;
|
src = gitignoreSource ./.;
|
||||||
|
|
||||||
buildPhase = "mkdocs build";
|
buildPhase = "mkdocs build -d $out";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
cp -r site $out
|
|
||||||
mkdir -p $out/assets/fonts
|
mkdir -p $out/assets/fonts
|
||||||
ln -s ${iosevka-web} $out/assets/fonts/iosevka
|
ln -s ${iosevka-web} $out/assets/fonts/iosevka
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue