about summary refs log tree commit diff
path: root/web/static/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'web/static/default.nix')
-rw-r--r--web/static/default.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/web/static/default.nix b/web/static/default.nix
index ef346f9c746f..7a17dec36279 100644
--- a/web/static/default.nix
+++ b/web/static/default.nix
@@ -2,11 +2,16 @@
 # `drvHash` attribute which can be used for cache-busting.
 { depot, lib, pkgs, ... }:
 
-let storeDirLength = with builtins; (stringLength storeDir) + 1;
+let
+  storeDirLength = with builtins; (stringLength storeDir) + 1;
+  logo = depot.web.tvl.logo;
 in lib.fix(self: pkgs.runCommand "tvl-static" {
   passthru = {
     drvHash = lib.substring storeDirLength 32 self.drvPath;
   };
 } ''
-  cp -r ${./.} $out
+  mkdir $out
+  cp -r ${./.}/* $out
+  cp ${logo.pastelRainbow} $out/logo-animated.svg
+  cp ${logo.redPng} $out/logo-red.png
 '')