cachebusting and templating
This commit is contained in:
parent
b90220da22
commit
4f9d46cc28
8 changed files with 214 additions and 206 deletions
|
@ -42,7 +42,8 @@
|
|||
buildInputs = [ pkgs.makeWrapper ];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/${name} \
|
||||
--set TRANSBEAM_STATIC_DIR ${./static}
|
||||
--set TRANSBEAM_STATIC_DIR ${./static} \
|
||||
--set TRANSBEAM_CACHEBUSTER ${builtins.substring 0 8 (builtins.hashString "sha256" (toString ./static))}
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue