about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--services/tazblog/default.nix16
1 files changed, 10 insertions, 6 deletions
diff --git a/services/tazblog/default.nix b/services/tazblog/default.nix
index fa436b824cad..5dc3bdaf3eda 100644
--- a/services/tazblog/default.nix
+++ b/services/tazblog/default.nix
@@ -4,9 +4,13 @@
 
 { writeShellScriptBin, haskell }:
 
-let tazblog = haskell.packages.ghc865.callPackage ./tazblog.nix {};
-in writeShellScriptBin "tazblog" ''
-  export PORT=8000
-  export RESOURCE_DIR=${./static}
-  exec ${tazblog}/bin/tazblog
-''
+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;
+})