about summary refs log blame commit diff
path: root/services/tazblog/default.nix
blob: b1a1f95587bcc667d5f88f3ceb9ce42ad052470f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12





                                                   





                                                                        
# Build configuration for the blog using plain Nix.
#
# tazblog.nix was generated using cabal2nix.

{ pkgs ? import <nixpkgs> {} }:

let tazblog = pkgs.haskell.packages.ghc865.callPackage ./tazblog.nix {};
in pkgs.writeShellScriptBin "tazblog" ''
  export PORT=8000
  export RESOURCE_DIR=${./static}
  exec ${tazblog}/bin/tazblog
''