Add 'universe/' from commit '8ad51b24dd'
git-subtree-dir: universe git-subtree-mainline:15110e6de9git-subtree-split:8ad51b24dd
This commit is contained in:
commit
fb9380ba26
131 changed files with 13792 additions and 0 deletions
28
universe/blog/default.nix
Normal file
28
universe/blog/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
nixpkgs ? import <nixpkgs> {},
|
||||
depot ? import <depot> {},
|
||||
universe ? import <universe> {},
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
injectedPosts = nixpkgs.writeText "posts.lisp" ''
|
||||
(in-package #:server)
|
||||
(setq *path-to-posts* "${./posts}")
|
||||
'';
|
||||
injectedExecutables = nixpkgs.writeText "executables.lisp" ''
|
||||
(in-package #:server)
|
||||
(setq *pandoc-bin* "${nixpkgs.pandoc}/bin/pandoc")
|
||||
'';
|
||||
in depot.nix.buildLisp.program {
|
||||
name = "server";
|
||||
deps = with depot.third_party.lisp; with universe.third_party.lisp; [
|
||||
hunchentoot
|
||||
cl-arrows
|
||||
];
|
||||
srcs = [
|
||||
./src/server.lisp
|
||||
injectedPosts
|
||||
injectedExecutables
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue