diff options
author | Vincent Ambo <mail@tazj.in> | 2019-09-03T00·11+0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-03T00·11+0100 |
commit | be28462a8a29403128b39696cc632f70363efa6e (patch) | |
tree | 480309667749dc6a896e08f0127d64ad6abfacfc | |
parent | 5e4157e4a2a0da56097d1ebfc79352a942a90198 (diff) | |
parent | 0d93594347a9730187184fcfc292c6bc987cb8d5 (diff) |
Merge pull request #4 from tazjin/fix/blog-substitutes r/79
fix(tazblog): Explicitly allow substitutes for the blog
-rw-r--r-- | services/tazblog/default.nix | 16 |
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; +}) |