blob: 5dc3bdaf3edaf2e506505337c60af544ccfe209b (
plain) (
tree)
|
|
# Build configuration for the blog using plain Nix.
#
# tazblog.nix was generated using cabal2nix.
{ writeShellScriptBin, haskell }:
let
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;
})
|