diff options
Diffstat (limited to 'web/panettone/default.nix')
-rw-r--r-- | web/panettone/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/web/panettone/default.nix b/web/panettone/default.nix index 283f83499487..91ac34ea5482 100644 --- a/web/panettone/default.nix +++ b/web/panettone/default.nix @@ -1,4 +1,4 @@ -{ depot, ... }: +{ depot, pkgs, ... }: depot.nix.buildLisp.program { name = "panettone"; @@ -9,6 +9,7 @@ depot.nix.buildLisp.program { cl-ppcre cl-smtp cl-who + str defclass-std drakma easy-routes @@ -23,6 +24,14 @@ depot.nix.buildLisp.program { srcs = [ ./panettone.asd ./src/packages.lisp + (pkgs.writeText "build.lisp" '' + (defpackage build + (:use :cl :alexandria) + (:export :*migrations-dir*)) + (in-package :build) + (declaim (optimize (safety 3))) + (defvar *migrations-dir* "${./src/migrations}") + '') ./src/util.lisp ./src/css.lisp ./src/email.lisp |