nandi/frqpublic Fork 0
25a3f7bd954c4c6d060d7edb6a4b951ebbf81adb
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.

flake.nix · 438 lines · 19.4 KBNix Blame HistoryRaw
Build the client with Nix, not just a shell for it ca3afbe nandi 19d ago1{
2 # frq is Jolt source, so "building" it is three things, not one:
3 #
4 # jolt the runtime that reads it (github:jolt-lang/jolt)
5 # jolt-native libvidya and libjoltmoq, in Rust (gitlab:nandithebull/jolt-native)
6 # frq this tree, with its deps resolved to store paths
7 #
8 # Jolt resolves deps.edn by running git at startup, which a build sandbox has
9 # no network for — so every dep is fetched by Nix instead and handed back as
10 # a :local/root through -Sdeps.
11 #
12 # nix build .#frq && ./result/bin/frq
13 #
14 # On a machine that is not NixOS the GL driver is the host's and the loader
15 # will not find it, so the window never opens ("GL display: argument does not
Find the host's GL driver when the store's is not the system's 633faad nandi 19d ago16 # name a valid config"). The launcher handles that itself: off NixOS it hands
17 # the process to nixGL, which puts the host's driver ahead of the store's.
18 # Nothing extra to type, and a distrobox/container Arch is the same case as
19 # a bare one.
Build the client with Nix, not just a shell for it ca3afbe nandi 19d ago20 description = "frq a freeq client in jolt";
21
22 inputs = {
23 nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
24 # Jolt's own flake declares `self.submodules`, which this Nix rejects when
25 # the flake is fetched through the github scheme — so take the source and
26 # build it here. `vendor/` is a submodule and the build needs it.
27 jolt-src = {
28 url = "git+https://github.com/jolt-lang/jolt?submodules=1";
29 flake = false;
30 };
31
Take the jolt-native ahead of the release, since a run can build it 36f6c77 nandi 17d ago32 # Ahead of v0.1.3, which is what deps.edn and the scripts/*.dotslash pins
33 # name — and deliberately: the pins are the last release, and this is what
34 # `just run` builds, so a change to jolt-native can be run before there is
35 # a release to fetch. The two meet again at `just bump`.
36 #
37 # Pinned all the same, and pinned to a rev: this input carries both halves of
Pin the native half to the release the rest of the tree names cb7f9f1 nandi 17d ago38 # glimmer-vidya — libvidya, and the Jolt side that binds it — so an
39 # unpinned `main` is a build whose native half is free to sit at a
40 # different commit from the tree that talks to it. It did, and what the
41 # drift cost was silence: the Jolt half sent a reaction pill's hover card
42 # to a libvidya with no handler for one, and the pill said nothing.
Merge origin/main, and let one jolt-native answer for both backends 1e8b590 nandi 16d ago43 # It also carries the terminal backend — crates/jolt-tui, the same tree ABI
44 # over a grid of cells, and jolt/glimmer-tui beside glimmer-vidya. That was
45 # a second input at a second rev while it lived on a branch, which is the
46 # drift this comment warns about wearing a different hat: one input, and
47 # the window and the terminal are the same library either way.
Build the client with Nix, not just a shell for it ca3afbe nandi 19d ago48 jolt-native = {
Take the jolt-native that can scroll a backlog and paint a reaction 25a3f7b nandi 16d ago49 url = "git+https://gitlab.com/nandithebull/jolt-native?rev=3dd441e764bc6b0123d9b33fe9871dcf7ac150b6";
Paint the same screens into a terminal ab83b42 nandi 17d ago50 flake = false;
51 };
52
Build the APK from the flake, and from nothing 6aa2a6b nandi 18d ago53 # Chez itself, because the APK needs a cross target nixpkgs does not
54 # build: frq's Scheme is compiled to an arm64 boot image, and that wants
55 # Chez's own `tarm64le` workarea — boot files, xpatch and libkernel.a.
56 # The version is the one the hand-built tree under ~/.cache used, and the
57 # submodules are not optional (zuo builds it, lz4 and zlib link into it).
58 # The fork jolt's own Android pin names, built here rather than fetched as
59 # a release binary: upstream reads the socket address out of `struct
60 # addrinfo` at glibc's offset, which on Bionic is `ai_canonname`, so an APK
61 # built with upstream cannot open a TLS connection at all. Only the boot
62 # image uses it; the desktop package still builds jolt-src.
63 jolt-android-src = {
64 url = "git+https://gitlab.com/nandithebull/jolt?rev=2b80d68d1f7a31ba92b208b3957e5fb555617ada&submodules=1";
65 flake = false;
66 };
67
68 chez-src = {
69 url = "git+https://github.com/cisco/ChezScheme?ref=refs/tags/v10.4.1&submodules=1";
70 flake = false;
71 };
72
Build the client with Nix, not just a shell for it ca3afbe nandi 19d ago73 # The sha deps.edn pins, on the fork with the reconciler fixes.
74 glimmer = {
75 url = "git+https://gitlab.com/nandithebull/glimmer?rev=399df371c790d690fb6e4560c3d4d7f838502857";
76 flake = false;
77 };
Find the host's GL driver when the store's is not the system's 633faad nandi 19d ago78
79 # Only ever used off NixOS, to put the host GL driver on the loader path.
80 nixgl = {
81 url = "github:nix-community/nixGL";
82 inputs.nixpkgs.follows = "nixpkgs";
83 };
Bundle the closure into one file the AppImage runtime mounts f82b93f nandi 18d ago84
85 # Wraps a closure into a single self-extracting file. Only the `appimage`
86 # output evaluates it.
87 nix-appimage = {
88 url = "github:ralismark/nix-appimage";
89 inputs.nixpkgs.follows = "nixpkgs";
90 };
Build the client with Nix, not just a shell for it ca3afbe nandi 19d ago91 };
92
Bundle the closure into one file the AppImage runtime mounts f82b93f nandi 18d ago93 outputs = { self, nixpkgs, jolt-src, jolt-native, glimmer, chez-src, jolt-android-src, nixgl, nix-appimage }:
Build the client with Nix, not just a shell for it ca3afbe nandi 19d ago94 let
95 systems = [ "x86_64-linux" "aarch64-linux" ];
96 forEachSystem = f:
97 nixpkgs.lib.genAttrs systems (system: f nixpkgs.legacyPackages.${system});
Run this tree on a native half the builders made a32699e nandi 17d ago98
99 # Mesa, despite the name: it covers Intel and AMD alike. The NVIDIA
100 # wrappers are the ones that need --impure (they read the host kernel
101 # module's version), which is why this only ever reaches for Intel.
Stop carrying the 32-bit GL stack and half of git 040f2c1 nandi 17d ago102 #
103 # Built from nixGL's default.nix rather than taken from its flake
104 # outputs, for the one argument the flake hardcodes on: `enable32bits`,
105 # which on x86_64 puts a second, i686 copy of mesa, its LLVM, and
106 # intel-media-driver into the wrapper. frq is 64-bit on both halves —
107 # the Rust cdylibs and the Chez runtime — so nothing here ever opens the
108 # 32-bit driver, and carrying it is most of the dev shell's closure.
109 nixGLFor = pkgs: (import nixgl {
110 inherit pkgs;
111 enable32bits = false;
112 }).nixGLIntel;
Run this tree on a native half the builders made a32699e nandi 17d ago113
114 # egui reaches for these with dlopen rather than linking them, so being
115 # in the cdylib's buildInputs is not enough — whatever starts frq has to
Follow the xorg renames, and stop wrapping nix in distrobox a400a00 nandi 16d ago116 # put them on the loader path itself. Without libx11 here, vidya reports
Run this tree on a native half the builders made a32699e nandi 17d ago117 # "X11 unavailable", falls back to Wayland, and winit refuses to build a
118 # second event loop after the failed first one.
119 #
120 # Out here rather than beside the package that first needed them: the
121 # dev shell starts frq too, on this tree's source rather than the store's
122 # copy of it, and a second copy of this list is a second chance for the
123 # two ways of running to disagree about what the window needs.
124 runtimeLibsFor = pkgs: with pkgs; [
125 libGL
126 libxkbcommon
127 wayland
Follow the xorg renames, and stop wrapping nix in distrobox a400a00 nandi 16d ago128 libx11
129 libxcursor
130 libxi
131 libxrandr
Run this tree on a native half the builders made a32699e nandi 17d ago132 vulkan-loader
133 ];
Build the client with Nix, not just a shell for it ca3afbe nandi 19d ago134 in
135 {
136 packages = forEachSystem (pkgs:
137 let
138 inherit (pkgs) lib;
139
Run this tree on a native half the builders made a32699e nandi 17d ago140 nixGL = nixGLFor pkgs;
Find the host's GL driver when the store's is not the system's 633faad nandi 19d ago141
Build the client with Nix, not just a shell for it ca3afbe nandi 19d ago142 # libvidya (the retained-tree ABI glimmer-vidya binds, on egui) and
143 # libjoltmoq (the AV media plane). One workspace, two cdylibs.
144 native = pkgs.rustPlatform.buildRustPackage {
145 pname = "jolt-native";
146 version = "0.1.0";
147 src = jolt-native;
148
149 cargoLock = {
150 lockFile = "${jolt-native}/Cargo.lock";
151 allowBuiltinFetchGit = true;
152 };
153
154 nativeBuildInputs = with pkgs; [
155 pkg-config
156 cmake
157 rustPlatform.bindgenHook
158 ];
159
160 buildInputs = with pkgs; [
161 alsa-lib
162 pipewire
163 openssl
164 libxkbcommon
165 wayland
166 libGL
167 ];
168
169 # Upstream's .cargo/config.toml drives the whole build through
170 # DotSlash: a pinned rustc, sccache, and zig as the C/C++ compiler
171 # and linker, each fetched from the network on first use. None of
172 # that survives a build sandbox, and none of it is needed when the
173 # toolchain comes from the store — so drop it and let stdenv's cc
174 # link (openh264 is C++, which stdenv covers too).
175 postPatch = ''
176 rm -f .cargo/config.toml
177 '';
178
179 # bindgen reads linux/videodev2.h directly; upstream points it at
180 # zig's bundled headers, which under Nix is just the kernel headers.
181 V4L2R_VIDEODEV2_H_PATH = "${pkgs.linuxHeaders}/include";
182
183 doCheck = false;
184
185 installPhase = ''
186 runHook preInstall
187 mkdir -p "$out/lib"
188 install -m644 target/*/release/*.so "$out/lib/"
189 runHook postInstall
190 '';
191 };
192
193 # Jolt itself: Clojure on Chez, built the way its own flake builds it.
Build the APK from the flake, and from nothing 6aa2a6b nandi 18d ago194 # A function, because there are two of them — upstream for the
195 # desktop, and the Bionic-addrinfo fork for the boot image the APK
196 # carries. Nothing else about the build differs.
197 joltFrom = src: pkgs.stdenv.mkDerivation {
Build the client with Nix, not just a shell for it ca3afbe nandi 19d ago198 pname = "jolt";
199 version = "dev";
Build the APK from the flake, and from nothing 6aa2a6b nandi 18d ago200 inherit src;
Build the client with Nix, not just a shell for it ca3afbe nandi 19d ago201
202 strictDeps = true;
203 nativeBuildInputs = with pkgs; [ chez makeWrapper pkg-config xxd ];
204 buildInputs = with pkgs; [ lz4 zlib ncurses openssl libuuid ];
205
206 JOLT_VERSION = "dev";
207 dontConfigure = true;
208
209 buildPhase = ''
210 runHook preBuild
211 scheme --script host/chez/build-jolt.ss release target/release/jolt
212 runHook postBuild
213 '';
214
215 installPhase = ''
216 runHook preInstall
217 mkdir -p "$out/bin"
218 install -m755 target/release/jolt "$out/bin/jolt"
219 runHook postInstall
220 '';
221
222 # jolt.deps shells out to git and unzip, and jolt.mvn-http dlopens
Stop carrying the 32-bit GL stack and half of git 040f2c1 nandi 17d ago223 # OpenSSL through the JOLT_OPENSSL_LIBDIR seam. gitMinimal rather
224 # than git: all jolt.deps asks for is clone/fetch/rev-parse, and
225 # the full package carries Perl and Python for the subcommands
226 # written in them — a quarter of a gigabyte for git-send-email.
Read the clock in the reader's zone when /etc/localtime is a file bffe879 nandi 18d ago227 #
228 # TZDIR so a zone *name* resolves wherever this runs: frq.clock
229 # hands one to tzset, and glibc then looks for the tzfile under
230 # /usr/share/zoneinfo unless told otherwise — which a NixOS host
231 # does not have. The store's own tzdata is there on both kinds of
232 # machine. --set-default, so a TZDIR the user set still wins.
Build the client with Nix, not just a shell for it ca3afbe nandi 19d ago233 postFixup = ''
234 wrapProgram "$out/bin/jolt" \
Stop carrying the 32-bit GL stack and half of git 040f2c1 nandi 17d ago235 --prefix PATH : "${pkgs.lib.makeBinPath [ pkgs.gitMinimal pkgs.unzip ]}" \
Build the client with Nix, not just a shell for it ca3afbe nandi 19d ago236 --set-default JOLT_OPENSSL_LIBDIR "${pkgs.lib.makeLibraryPath [ pkgs.openssl ]}" \
Read the clock in the reader's zone when /etc/localtime is a file bffe879 nandi 18d ago237 --set-default TZDIR "${pkgs.tzdata}/share/zoneinfo" \
Build the client with Nix, not just a shell for it ca3afbe nandi 19d ago238 --set-default SSL_CERT_FILE "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
239 '';
240 };
241
Build the APK from the flake, and from nothing 6aa2a6b nandi 18d ago242 joltRuntime = joltFrom jolt-src;
243 joltAndroid = joltFrom jolt-android-src;
244
Build the client with Nix, not just a shell for it ca3afbe nandi 19d ago245 # glimmer-vidya lives inside the jolt-native checkout, and its own
246 # deps.edn asks for glimmer by git — the top-level override below
247 # answers for both.
248 glimmerVidya = "${jolt-native}/jolt/glimmer-vidya";
Merge origin/main, and let one jolt-native answer for both backends 1e8b590 nandi 16d ago249 glimmerTui = "${jolt-native}/jolt/glimmer-tui";
Build the client with Nix, not just a shell for it ca3afbe nandi 19d ago250
Run this tree on a native half the builders made a32699e nandi 17d ago251 runtimeLibs = runtimeLibsFor pkgs;
Build the client with Nix, not just a shell for it ca3afbe nandi 19d ago252
253 # The project as jolt sees it: source, deps.edn, nothing else.
254 frqSource = pkgs.runCommand "frq-source" { } ''
255 mkdir -p "$out"
256 cp -r ${self}/src ${self}/deps.edn "$out/"
257 '';
258
259 # Jolt resolves deps.edn from the working directory, so the launcher
260 # runs from the store copy. Its .jolt/cpcache write lands on a
261 # read-only directory and jolt treats that as a quiet cache miss, so
262 # the only cost is re-resolving the (already local) graph per start.
263 frqScript = pkgs.writeShellScript "frq" ''
264 export LD_LIBRARY_PATH="${native}/lib:${lib.makeLibraryPath runtimeLibs}''${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
265 cd ${frqSource}
Find the host's GL driver when the store's is not the system's 633faad nandi 19d ago266
267 # On NixOS the store's Mesa is the system's and the window opens.
268 # Anywhere else the real driver is the host's, so defer to nixGL
269 # it prepends the host driver, which has to win over ours.
270 runner=""
271 [ -e /run/current-system ] || runner="${nixGL}/bin/nixGLIntel"
272
273 exec ''${runner} ${joltRuntime}/bin/jolt \
Build the client with Nix, not just a shell for it ca3afbe nandi 19d ago274 -Sdeps '{:deps {jolt-lang/glimmer {:local/root "${glimmer}"} nandi/glimmer-vidya {:local/root "${glimmerVidya}"}}}' \
275 -M:frq "$@"
276 '';
277
Paint the same screens into a terminal ab83b42 nandi 17d ago278 # The same source, the other backend. No GL, no nixGL and no X11 —
279 # a terminal is the one surface that needs nothing from the host but
280 # a terminal, which is the reason this output exists.
281 tuiScript = pkgs.writeShellScript "frq-tui" ''
Merge origin/main, and let one jolt-native answer for both backends 1e8b590 nandi 16d ago282 export LD_LIBRARY_PATH="${native}/lib''${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
Paint the same screens into a terminal ab83b42 nandi 17d ago283 cd ${frqSource}
284
285 exec ${joltRuntime}/bin/jolt \
286 -Sdeps '{:deps {jolt-lang/glimmer {:local/root "${glimmer}"} nandi/glimmer-vidya {:local/root "${glimmerVidya}"} nandi/glimmer-tui {:local/root "${glimmerTui}"}}}' \
287 -m frq.tui "$@"
288 '';
289
290 tui = pkgs.runCommand "frq-tui-0.1.0"
291 {
292 meta = {
293 description = "frq's screens in a terminal";
294 mainProgram = "frq-tui";
295 platforms = systems;
296 };
297 }
298 ''
299 mkdir -p "$out/bin"
300 ln -s ${tuiScript} "$out/bin/frq-tui"
301 '';
302
Build the client with Nix, not just a shell for it ca3afbe nandi 19d ago303 frq = pkgs.runCommand "frq-0.1.0"
304 {
305 meta = {
306 description = "A freeq client in jolt";
307 mainProgram = "frq";
308 platforms = systems;
309 };
310 }
311 ''
312 mkdir -p "$out/bin"
313 ln -s ${frqScript} "$out/bin/frq"
314 '';
Build the APK from the flake, and from nothing 6aa2a6b nandi 18d ago315 # --- Android ------------------------------------------------------
316 # The SDK and the NDK are Google's, which means unfree and a licence
317 # to accept — so this is its own import of nixpkgs rather than the
318 # `legacyPackages` everything above uses. Confined to the Android
319 # outputs: `nix build` of frq itself never evaluates it.
320 #
Build the APK as derivations only, and retire the buck2 graph 3bc3aaa nandi 16d ago321 # The NDK here is r29, which is the one the pinned libvidya was
322 # built with.
Build the APK from the flake, and from nothing 6aa2a6b nandi 18d ago323 androidPkgs = import nixpkgs {
324 inherit (pkgs.stdenv.hostPlatform) system;
325 config = {
326 allowUnfree = true;
327 android_sdk.accept_license = true;
328 };
329 };
330
331 androidComposition = androidPkgs.androidenv.composeAndroidPackages {
332 buildToolsVersions = [ "36.0.0" ];
333 platformVersions = [ "36" ];
334 includeNDK = true;
335 };
336
337 android = import ./nix/android.nix {
338 inherit pkgs self chez-src jolt-native glimmer joltAndroid;
339 inherit (pkgs) lib;
340 androidSdk = androidComposition.androidsdk;
341 ndk = androidComposition.ndk-bundle;
342 };
Build the client with Nix, not just a shell for it ca3afbe nandi 19d ago343 in
344 {
345 inherit native frq;
Merge origin/main, and let one jolt-native answer for both backends 1e8b590 nandi 16d ago346 inherit tui;
Build the client with Nix, not just a shell for it ca3afbe nandi 19d ago347 jolt = joltRuntime;
348 default = frq;
Bundle the closure into one file the AppImage runtime mounts f82b93f nandi 18d ago349
Take bb from the flake, so a checkout needs nix and nothing else 270bee0 nandi 16d ago350 # The interpreter scripts/ is written in, named here so that
351 # scripts/bb can build it. Nothing else in this flake uses it: it is
352 # an output because a shell script cannot ask for `nixpkgs#babashka`
353 # at the version this tree pins, and `.#bb` is exactly that.
354 bb = pkgs.babashka;
355
Bundle the closure into one file the AppImage runtime mounts f82b93f nandi 18d ago356 # frq and everything it loads, squashed into one runnable file for
357 # hosts without Nix. The whole closure rides along — Mesa included,
358 # which is not waste: off NixOS the launcher goes through nixGL, and
359 # nixGL needs a store Mesa to put the host's driver in front of.
360 appimage =
361 nix-appimage.bundlers.${pkgs.stdenv.hostPlatform.system}.default frq;
Build the APK from the flake, and from nothing 6aa2a6b nandi 18d ago362 }
363 # An APK is built by a linux-x86_64 NDK and a linux-x86_64 jolt, and
364 # Google ships no other; on aarch64 the Android outputs are simply
365 # absent rather than present and broken.
366 // lib.optionalAttrs (pkgs.stdenv.hostPlatform.system == "x86_64-linux") {
367 inherit (android) apk chezAndroid joltBoot libjoltapp;
368 apk-unsigned = android.apk-unsigned;
Build the client with Nix, not just a shell for it ca3afbe nandi 19d ago369 });
370
Run this tree on a native half the builders made a32699e nandi 17d ago371 # Where `just run` runs, and — because entering it realises what it
372 # names — what builds the half of frq that is not this working tree.
373 #
374 # The two halves, and the split is the whole point of the shell. The frq
375 # source is the files on disk, uncommitted edits and all. Everything
376 # under it — jolt, glimmer, glimmer-vidya, both native objects — is the
377 # flake's, at the revs flake.lock names, so a run says what it ran
378 # against and both halves of glimmer-vidya move together. That is the
379 # drift the `jolt-native` input's comment is about, and a pin frq can
380 # answer for is worth more here than the convenience of a checkout.
381 #
382 # `native` is the cargo build of that input rather than jolt-native's own
383 # buck2 graph, which is a compromise and not a free one: buck2 is what
384 # its CI runs and what makes its releases, and its cpal has the pipewire
385 # feature this one does not, so device *names* in a call come out as ALSA
386 # PCMs. What it buys is a derivation — one thing nixbuild.net can be
387 # handed. The buck2 build fetches its rustc, zig and every third-party
388 # crate as it goes and writes buck-out into the tree it builds; a sandbox
389 # with no network and a read-only store is the one place it cannot run,
390 # so on a remote builder it is not a slower option but no option at all.
391 #
392 # Nothing here says "nixbuild", though: it is a plain derivation, and
393 # where it gets built is the machine's business. scripts/run.bb asks for
394 # the shell with --max-jobs 0, which is what sends it to the `builders`
395 # entry rather than compiling egui on a laptop.
396 devShells = forEachSystem (pkgs:
397 let
398 inherit (pkgs) lib;
399 inherit (self.packages.${pkgs.stdenv.hostPlatform.system}) jolt native;
400 in
401 {
402 default = pkgs.mkShellNoCC {
403 name = "frq";
404
405 # jolt, because the runtime frq is run by should be the flake's
406 # too. nixGL for the same reason the launcher reaches for it — see
Take bb from the flake, so a checkout needs nix and nothing else 270bee0 nandi 16d ago407 # frqScript. babashka because scripts/bb prefers one on PATH, and
408 # inside here that should be this one rather than a second copy
Take just from the dev shell, so the host needs no copy of it 9afdfa4 nandi 16d ago409 # built through `.#bb`. just so the recipe runner comes from here
410 # too rather than the host — `nix develop` and then `just run` is
411 # the whole of what a machine with nix needs.
412 packages = [ jolt pkgs.babashka pkgs.just (nixGLFor pkgs) ];
Run this tree on a native half the builders made a32699e nandi 17d ago413
414 # Read by scripts/run.bb rather than baked into a wrapper: the frq
415 # source `just run` runs is the working tree, so the launcher has
416 # to be a script in that tree and the shell has to hand it its
417 # answers. Naming these is also what makes the shell build them.
418 JOLT_NATIVE_LIB = "${native}/lib";
419 GLIMMER_SRC = glimmer;
420 GLIMMER_VIDYA_SRC = "${jolt-native}/jolt/glimmer-vidya";
Merge origin/main, and let one jolt-native answer for both backends 1e8b590 nandi 16d ago421 GLIMMER_TUI_SRC = "${jolt-native}/jolt/glimmer-tui";
Run this tree on a native half the builders made a32699e nandi 17d ago422 FRQ_LIB_PATH = lib.makeLibraryPath (runtimeLibsFor pkgs);
423 NIXGL = "${nixGLFor pkgs}/bin/nixGLIntel";
424 };
425 });
426
Build the client with Nix, not just a shell for it ca3afbe nandi 19d ago427 apps = forEachSystem (pkgs: {
428 default = {
429 type = "app";
430 program = "${self.packages.${pkgs.stdenv.hostPlatform.system}.frq}/bin/frq";
431 };
Paint the same screens into a terminal ab83b42 nandi 17d ago432 tui = {
433 type = "app";
434 program = "${self.packages.${pkgs.stdenv.hostPlatform.system}.tui}/bin/frq-tui";
435 };
Build the client with Nix, not just a shell for it ca3afbe nandi 19d ago436 });
437 };
438}