From 6d6c0fccf770aa028ec219c07c1169254ab33cf7 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 9 Sep 2026 22:11:27 +0200 Subject: content/writings: Include the writings pdf in the git repository They are not _that_ big, and it's just soo much easier than keeping their respective repositories up-to-date. --- package.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'package.nix') diff --git a/package.nix b/package.nix index 0bb826e..c7e8e2a 100644 --- a/package.nix +++ b/package.nix @@ -1,12 +1,7 @@ { stdenv, - system, - # Deps zola, fd, - # Data - facharbeit, - essay, }: stdenv.mkDerivation { pname = "b-peetz.de"; @@ -47,7 +42,7 @@ stdenv.mkDerivation { mkdir --parents ./dead-trees{,/chemistry,/philosophy} { - ${installWriting "kant-and-free-software.pdf" "${essay.outputs.packages."${system}".default}/philosophy/kant_and_free_software.pdf"} + ${installWriting "kant-and-free-software.pdf" "${./src/content/writings/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 "$base" ./dead-trees/kant_and_free_software.pdf @@ -55,7 +50,7 @@ stdenv.mkDerivation { } { - ${installWriting "raman-spectroscopy.pdf" "${facharbeit.outputs.packages."${system}".default}/chemistry/facharbeit.pdf"} + ${installWriting "raman-spectroscopy.pdf" "${./src/content/writings/raman-spectroscopy.pdf}"} # NOTE: This link is for backward compatibility, as I have given out links with that url <2024-07-13> ln --symbolic --relative "$base" ./dead-trees/raman_spectrometer.pdf -- cgit v1.3.1