about summary refs log tree commit diff
path: root/pkgs/profpatsch/default.nix
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2021-11-13 12:38:49 +0100
committerProfpatsch <mail@profpatsch.de>2021-11-13 12:38:49 +0100
commit895a679fd43f7e236135705aaee3d58201d32a1f (patch)
tree1bbf631fae80efac2591a61079d33abc512b584f /pkgs/profpatsch/default.nix
parent18e4d17ce20724279b985e32232bb166fa7b163b (diff)
pkgs/profpatsch.de: reference the blog and notes sections
This pulls in tvl, since the blog ist mostly over there.

It uses `fetchGit`, so caveats may apply. It shouldn’t increase
evaluation times very much, since the blog only uses a small subset of
tvl.

https://github.com/openlab-aux/vuizvui/issues/50 might apply.
Diffstat (limited to 'pkgs/profpatsch/default.nix')
-rw-r--r--pkgs/profpatsch/default.nix12
1 files changed, 11 insertions, 1 deletions
diff --git a/pkgs/profpatsch/default.nix b/pkgs/profpatsch/default.nix
index 10936366..47c7b402 100644
--- a/pkgs/profpatsch/default.nix
+++ b/pkgs/profpatsch/default.nix
@@ -103,6 +103,12 @@ let
 
 
 in rec {
+  tvl = import (builtins.fetchGit {
+    url = "https://code.tvl.fyi/depot.git";
+    ref = "canon";
+    rev = "e2fbc10ebdb5d85813fd15c5dd371ee8e1e87a22"; # 2021-11-13
+  }) {};
+
   inherit (nixperiments)
     # canonical pattern matching primitive
     match
@@ -212,9 +218,13 @@ in rec {
     inherit symlink;
   };
 
-  inherit (import ./profpatsch.de { inherit pkgs lib toNetstring writeExecline runExecline getBins writeRustSimple netencode-rs el-semicolon el-exec el-substitute netencode record-get; })
+  inherit (import ./profpatsch.de {
+    inherit pkgs tvl lib
+      toNetstring toNetstringList writeExecline runExecline getBins writeRustSimple netencode-rs el-semicolon el-exec el-substitute netencode record-get;
+  })
     websiteStatic
     importas-if
+    concatenatedCss
     ;
 
   inherit (import ./nix-tools.nix { inherit pkgs getBins writeExecline runblock backtick; })