about summary refs log tree commit diff
path: root/services/tazblog
diff options
context:
space:
mode:
Diffstat (limited to 'services/tazblog')
-rw-r--r--services/tazblog/default.nix6
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