aboutsummaryrefslogtreecommitdiff
path: root/picarones-elm/default.nix
diff options
context:
space:
mode:
authorstuebinm2021-03-15 18:38:02 +0100
committerstuebinm2021-03-15 18:38:02 +0100
commit0596b9f6c561daa67945adb81570efd30650dffd (patch)
tree4e86c41cd264dd9220d24cc9fe564a93b7a84f12 /picarones-elm/default.nix
parent393186f9ebf0bf43a1add8bd8d0e37be566ae8cc (diff)
Add a display view which does nothing but display the slides
(should be useful e.g. as input for a screen recorder)
Diffstat (limited to 'picarones-elm/default.nix')
-rw-r--r--picarones-elm/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/picarones-elm/default.nix b/picarones-elm/default.nix
index 2fc650b..45106b4 100644
--- a/picarones-elm/default.nix
+++ b/picarones-elm/default.nix
@@ -47,11 +47,12 @@ in mkDerivation {
patchPhase = ''
substituteInPlace index.html --replace "{{ baseurl }}" ${lib.escapeShellArg baseurl}
substituteInPlace slide.html --replace "{{ serverurl }}" ${lib.escapeShellArg serverurl}
+ substituteInPlace display.html --replace "{{ serverurl }}" ${lib.escapeShellArg serverurl}
'';
srcs = ./elm-srcs.nix;
src = ./.;
- targets = ["Main" "Cover"];
+ targets = ["Display" "Switcher" "Cover"];
srcdir = "./src";
outputJavaScript = true;
}