Merge pull request #4 from tazjin/fix/blog-substitutes
fix(tazblog): Explicitly allow substitutes for the blog
This commit is contained in:
commit
be28462a8a
1 changed files with 10 additions and 6 deletions
|
@ -4,9 +4,13 @@
|
|||
|
||||
{ writeShellScriptBin, haskell }:
|
||||
|
||||
let tazblog = haskell.packages.ghc865.callPackage ./tazblog.nix {};
|
||||
in writeShellScriptBin "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;
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue