fix(tazblog): Explicitly allow substitutes for the blog
Not entirely sure which part of the setup set this to 'false', but this is potentially the key for why tazblog ends up being rebuilt all the time.
This commit is contained in:
parent
5e4157e4a2
commit
0d93594347
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" ''
|
||||
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;
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue