1
2
3
4
5
6
7
8
9
|
;; Nothing in this repo is Clojure — the crates are cargo's and nix's business,
;; and the justfile is their entry point. This file exists for the one thing
;; that is neither: running a backend's example from the repo root.
;;
;; Through `nix develop` because a nix-built jolt cannot dlopen the host
;; /usr/lib libX11 — different glibc, fails before dlopen returns. The #gfx
;; shell is that one library on LD_LIBRARY_PATH and nothing else, so entering
;; it costs under a second once its env derivation is built.
{:tasks {gfx-demo "nix develop .#gfx -c bash -c 'cd glimmer-backends/glimmer-gfx && jolt counter'"}}
|