summaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/default.nix b/default.nix
index 6e06c43..bb9d8f8 100644
--- a/default.nix
+++ b/default.nix
@@ -23,11 +23,13 @@
static = (import ./static) { inherit pkgs; };
- srv = (import ./srv) {
- inherit pkgs config;
+ srv = pkgs.callPackage (import ./srv) {
+ inherit config;
staticBuild=static.build;
};
+ srvBin = srv.bin;
+
redisCfg = pkgs.writeText "mediocre-blog-redisCfg" ''
port 0
unixsocket ${config.redisListenPath}