diff options
author | William Carroll <wpcarro@gmail.com> | 2020-01-31T16·30+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-01-31T16·30+0000 |
commit | 755554176d206bfbae8f8bbe19985620ec58a53d (patch) | |
tree | 876c69034806fcc84186fe5ed9b7456576bbba40 /blog | |
parent | 4e0b18506fd2d30af0006d2f3525a9d6d7b45424 (diff) |
Consolidate injected dependencies
Move the three injected dependencies into one.
Diffstat (limited to 'blog')
-rw-r--r-- | blog/default.nix | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/blog/default.nix b/blog/default.nix index ace295385da4..aaece3366876 100644 --- a/blog/default.nix +++ b/blog/default.nix @@ -6,13 +6,11 @@ }: let - injectedPosts = nixpkgs.writeText "posts.lisp" '' + injections = nixpkgs.writeText "injections.lisp" '' (in-package #:server) (setq *path-to-posts* "${./posts}") - ''; - injectedExecutables = nixpkgs.writeText "executables.lisp" '' - (in-package #:server) (setq *pandoc-bin* "${nixpkgs.pandoc}/bin/pandoc") + (setq *html-template* "${./src/index.html}") ''; in depot.nix.buildLisp.program { name = "server"; @@ -23,7 +21,6 @@ in depot.nix.buildLisp.program { ]; srcs = [ ./src/server.lisp - injectedPosts - injectedExecutables + injections ]; } |