diff options
author | Aspen Smith <root@gws.fyi> | 2024-03-31T20·06-0400 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-03-31T20·58+0000 |
commit | 1d1984e85f29e5af686241208a458b5531750169 (patch) | |
tree | c21b52ffa05ba1f03276c58ac96a60a2379785ab /web/panettone/default.nix | |
parent | efe7e8e63abfc7589244541c7e7cf3dbb0ba66bf (diff) |
fix(web/panettone): Hotfixes for full text search change r/7834
- Actually define *static-dir* at build time, to get the search.png in the search box - Better logging for migration running at startup time - Fix and-where to properly exclude nil clauses - fix looking up build-time vars in the :build package Change-Id: Ia2ef3b2715d4c2efb62bbb2c72084f0f0ad09562 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11325 Autosubmit: aspen <root@gws.fyi> Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
Diffstat (limited to 'web/panettone/default.nix')
-rw-r--r-- | web/panettone/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/panettone/default.nix b/web/panettone/default.nix index 91ac34ea5482..60fca99e7544 100644 --- a/web/panettone/default.nix +++ b/web/panettone/default.nix @@ -27,10 +27,11 @@ depot.nix.buildLisp.program { (pkgs.writeText "build.lisp" '' (defpackage build (:use :cl :alexandria) - (:export :*migrations-dir*)) + (:export :*migrations-dir* :*static-dir*)) (in-package :build) (declaim (optimize (safety 3))) (defvar *migrations-dir* "${./src/migrations}") + (defvar *static-dir* "${./src/static}") '') ./src/util.lisp ./src/css.lisp |