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



                                                   
              
 
   
                                             







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

{ pkgs, ... }:

let
  inherit (pkgs) writeShellScriptBin haskell;
  tazblog = haskell.packages.ghc865.callPackage ./tazblog.nix {};
  wrapper =  writeShellScriptBin "tazblog" ''
    export PORT=8000
    export RESOURCE_DIR=${./static}
    exec ${tazblog}/bin/tazblog
  '';
in wrapper.overrideAttrs(_: {
  allowSubstitutes = true;
  meta.enableCI = true;
})