| Read the clock in the reader's zone when /etc/localtime is a file bffe879 nandi 17d ago | 1 | # Working in this repo |
| 2 | |
| 3 | ## Nix |
| 4 | |
| Follow the xorg renames, and stop wrapping nix in distrobox a400a00 nandi 16d ago | 5 | You are already running inside the Arch distrobox, where `nix` lives, so run |
| 6 | nix commands directly — do not wrap them in `distrobox enter`: |
| Read the clock in the reader's zone when /etc/localtime is a file bffe879 nandi 17d ago | 7 | |
| 8 | ```bash |
| Follow the xorg renames, and stop wrapping nix in distrobox a400a00 nandi 16d ago | 9 | nix build .#frq |
| Read the clock in the reader's zone when /etc/localtime is a file bffe879 nandi 17d ago | 10 | ``` |
| 11 | |
| Split the tree three ways, and let the phone be Flutter's 7070931 nandi 7d ago | 12 | A remote builder (`eu.nixbuild.net`) is already configured here. Large builds |
| 13 | want `--store ssh-ng://eu.nixbuild.net --eval-store auto` rather than a |
| 14 | `builders` entry, so the whole graph stays there and only .drv files go up — |
| 15 | libjoltcosmic's dependency tree is the one that makes this worth remembering. |
| Read the clock in the reader's zone when /etc/localtime is a file bffe879 nandi 17d ago | 16 | |
| Follow the xorg renames, and stop wrapping nix in distrobox a400a00 nandi 16d ago | 17 | One thing this container is *not* representative of: `/etc/localtime` is a |
| 18 | regular file here rather than a symlink, so anything that reads the zone out |
| Read the clock in the reader's zone when /etc/localtime is a file bffe879 nandi 17d ago | 19 | of its path sees nothing. That is a real deployment shape, not an artefact — |
| 20 | frq.clock handles it. |
| Split the tree three ways, and let the phone be Flutter's 7070931 nandi 7d ago | 21 | |
| 22 | ## The three source trees |
| 23 | |
| 24 | ``` |
| 25 | common/ .cljc jolt AND ClojureDart |
| 26 | src/ .clj jolt only |
| 27 | flutter/ .cljd ClojureDart only |
| 28 | ``` |
| 29 | |
| 30 | The extension is the boundary, not a convention: ClojureDart reads `.cljd` and |
| 31 | `.cljc` and never `.clj`, jolt reads all three. So the rule for anything under |
| 32 | `common/` is that it may not require `jolt.*`, `glimmer*` or a `dart:` library |
| 33 | — if it needs the host, it asks `frq.io`, and the backend that installed itself |
| 34 | answers. `frq.io.jolt` is required for its side effect by `frq.app`; |
| 35 | `frq.io.dart` is installed by `flutter/src/frq/main.cljd`, which has to await |
| 36 | the storage directory first. |
| 37 | |
| 38 | Adding a host call means adding it to the seam in `common/frq/io.cljc` and to |
| 39 | both implementations. Name it for the result rather than the mechanism — the |
| 40 | seam has `write-private-file!` and not a chmod, because Dart has no chmod. |
| 41 | |
| 42 | `flutter/` does not build; there is no cljd toolchain or Flutter SDK in the |
| 43 | flake. See flutter/README.md. It is the only APK there is — the jolt APK, |
| 44 | `nix/android.nix`, `android/` and the `.#apk` outputs are gone, because every |
| 45 | backend that APK could paint with is retired. jvui and Vidya were experiments; |
| 46 | libcosmic is the desktop window and does not cross to a phone. |