summary refs log tree commit diff stats
path: root/flake.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-02-04 20:10:47 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-02-04 20:10:47 +0100
commit24e0905d954d394f08ddf8998a7c67ff41ff28a8 (patch)
treeb608020df94360fbeb160b9db8788e087263b59e /flake.nix
parentfix(src/writings): Remove the `essens_analyse.pdf` (diff)
downloadb-peetz.de-24e0905d954d394f08ddf8998a7c67ff41ff28a8.zip
fix(flake): Ensure that the `dead-trees` directory exists HEAD main
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 57b49a1..34c0ef8 100644
--- a/flake.nix
+++ b/flake.nix
@@ -109,6 +109,8 @@
 
           nativeBuildInputs = [];
           buildPhase = ''
+            mkdir --parents ./dead-trees{,/chemistry,/philosophy}
+
             install -D ${essay.outputs.packages."${system}".default}/philosophy/kant_and_free_software.pdf ./writings/philosophy/kant_and_free_software.pdf
             # NOTE: This link is for backward compatibility, as I have given out links with that url <2024-07-13>
             ln --symbolic --relative ./writings/philosophy/kant_and_free_software.pdf ./dead-trees/kant_and_free_software.pdf