1{ sources ? import ./nix/sources.nix
2, haskellNix ? import sources.haskellNix { inherit system; }
3, pkgsSrc ? import haskellNix.sources.nixpkgs-2105
4, pkgs ? pkgsSrc (haskellNix.nixpkgsArgs // { inherit system; })
5, nix-filter ? import sources.nix-filter
6, system ? builtins.currentSystem
8, ghcjs-optimizer ? import sources.ghcjs-optimizer {
10 fileExtentionsToZopfli = [ ];
11 jsToOptimize = { "all.js" = "bin/*/all.js"; };
13 "index.html" = sources.ghcjs-optimizer + "/index.html";
15 copyInsteadOfOptimizeJs = !prod;
19 insaneOptimizationFlags = [
21 "-fexpose-all-unfoldings"
22 "-fspecialise-aggressively"
26 ghcOptions = [ "-Werror" ] ++ insaneOptimizationFlags;
29 ghcOptions = [ "-O0" ];
32 hsPkgs = pkgs.haskell-nix.cabalProject {
35 name = "reflex-route-simple";
37 ./reflex-route-simple.cabal
44 ghcOptions = insaneOptimizationFlags;
47 enableDeadCodeElimination = true;
48 packages.reflex-route-simple = addLocalOptions {
51 name = "reflex-route-simple";
53 (nix-filter.inDirectory ./src)
54 (nix-filter.inDirectory ./app)
55 ./reflex-route-simple.cabal
64 index-state = "2021-10-08T23:58:38Z";
65 compiler-nix-name = "ghc8107";
67 example = ghcjs-optimizer
68 hsPkgs.projectCross.ghcjs.hsPkgs.reflex-route-simple.components.exes.reflex-route-simple-example;
69 caddyfile = pkgs.writeText "Caddyfile" ''
75 header Cache-Control no-cache
83 run-example = pkgs.writeScript "run-caddy.sh" ''
84 #!${pkgs.bash}/bin/bash
85 ${pkgs.caddy}/bin/caddy run --config ${caddyfile} --adapter caddyfile
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list