| Read the clock in the reader's zone when /etc/localtime is a file bffe879 nandi 18d ago | 1 | # Working in this repo |
| 2 | |
| 3 | ## Nix |
| 4 | |
| 5 | `nix` is not installed on the host. It lives in the Arch distrobox, so run every |
| 6 | nix command through that: |
| 7 | |
| 8 | ```bash |
| 9 | distrobox enter arch -- bash -lc 'cd <this directory> && nix build .#frq' |
| 10 | ``` |
| 11 | |
| 12 | The worktree path is the same inside the container as outside, so `cd "$PWD"` |
| 13 | works. A remote builder (`eu.nixbuild.net`) is already configured there; the |
| 14 | Android outputs want `--store ssh-ng://eu.nixbuild.net --eval-store auto`, for |
| 15 | the reason nix/android.nix gives at the top. |
| 16 | |
| 17 | One thing that container is *not* representative of: `/etc/localtime` is a |
| 18 | regular file there rather than a symlink, so anything that reads the zone out |
| 19 | of its path sees nothing. That is a real deployment shape, not an artefact — |
| 20 | frq.clock handles it. |