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



                                                   
                                 
 

                                                                   



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

{ writeShellScriptBin, haskell }:

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