fix(flake): Ensure that the `dead-trees` directory exists
HEAD main1 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
|