nandi/frqpublic Fork 0
707093199019d7a222073965b5b2acfb3c7e8f04
Commits
Clone
git clone https://git.rickub.com/nandi/frq.git
git clone ssh://git@rickub.com/nandi/frq.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

CLAUDE.md · 46 lines · 2.0 KBmarkdown Blame HistoryRaw
Read the clock in the reader's zone when /etc/localtime is a file bffe879 nandi 18d ago1# Working in this repo
2
3## Nix
4
Follow the xorg renames, and stop wrapping nix in distrobox a400a00 nandi 16d ago5You are already running inside the Arch distrobox, where `nix` lives, so run
6nix 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 18d ago7
8```bash
Follow the xorg renames, and stop wrapping nix in distrobox a400a00 nandi 16d ago9nix build .#frq
Read the clock in the reader's zone when /etc/localtime is a file bffe879 nandi 18d ago10```
11
Split the tree three ways, and let the phone be Flutter's 7070931 nandi 7d ago12A remote builder (`eu.nixbuild.net`) is already configured here. Large builds
13want `--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 —
15libjoltcosmic'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 18d ago16
Follow the xorg renames, and stop wrapping nix in distrobox a400a00 nandi 16d ago17One thing this container is *not* representative of: `/etc/localtime` is a
18regular 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 18d ago19of its path sees nothing. That is a real deployment shape, not an artefact —
20frq.clock handles it.
Split the tree three ways, and let the phone be Flutter's 7070931 nandi 7d ago21
22## The three source trees
23
24```
25common/ .cljc jolt AND ClojureDart
26src/ .clj jolt only
27flutter/ .cljd ClojureDart only
28```
29
30The 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
34answers. `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
36the storage directory first.
37
38Adding a host call means adding it to the seam in `common/frq/io.cljc` and to
39both implementations. Name it for the result rather than the mechanism — the
40seam 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
43flake. 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
45backend that APK could paint with is retired. jvui and Vidya were experiments;
46libcosmic is the desktop window and does not cross to a phone.