diff options
author | Vincent Ambo <mail@tazj.in> | 2019-09-02T16·17+0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-02T16·17+0100 |
commit | 4bd6d528008c6a8a7357a2c40013931800582252 (patch) | |
tree | 9f08f325282eafc2ca4fa107bd73ccd53f1aae45 /services | |
parent | 5e9b91a6d208d1db546afdd4aac7e63de938ad9d (diff) | |
parent | 86d8c748a79de30d9bd4c4fdcec46d0e79ae5e6a (diff) |
Merge pull request #1 from tazjin/feat/travis-ci r/72
Add Travis CI configuration
Diffstat (limited to 'services')
-rw-r--r-- | services/tazblog/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/services/tazblog/default.nix b/services/tazblog/default.nix index b1a1f95587bc..fa436b824cad 100644 --- a/services/tazblog/default.nix +++ b/services/tazblog/default.nix @@ -2,10 +2,10 @@ # # tazblog.nix was generated using cabal2nix. -{ pkgs ? import <nixpkgs> {} }: +{ writeShellScriptBin, haskell }: -let tazblog = pkgs.haskell.packages.ghc865.callPackage ./tazblog.nix {}; -in pkgs.writeShellScriptBin "tazblog" '' +let tazblog = haskell.packages.ghc865.callPackage ./tazblog.nix {}; +in writeShellScriptBin "tazblog" '' export PORT=8000 export RESOURCE_DIR=${./static} exec ${tazblog}/bin/tazblog |