feat(web/tvl/template): add title to derivation name
This should help when debugging template generated derivations. Change-Id: I9958a7e67c8442c5ad97da2a9d3622a0556b6a1a Reviewed-on: https://cl.tvl.fyi/c/depot/+/3861 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
parent
53ab5716aa
commit
3d4e992c6f
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ depot, pkgs, ... }:
|
||||
{ depot, pkgs, lib, ... }:
|
||||
|
||||
{ # content of the <title> tag
|
||||
title
|
||||
|
@ -17,7 +17,7 @@ let
|
|||
inherit (depot.tools) cheddar;
|
||||
in
|
||||
|
||||
runCommandNoCC "index.html" {
|
||||
runCommandNoCC "${lib.strings.sanitizeDerivationName title}-index.html" {
|
||||
headerPart = ''
|
||||
<!DOCTYPE html>
|
||||
<head>
|
||||
|
|
Loading…
Reference in a new issue