Nix: expose Tek9 as a consumable ASDF package #16
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/tek9!16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "rage/7-nix-package-red"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #7
Goal
Make Tek9 consumable by downstream Common Lisp flakes, especially
lost-rob0t/llm-log#10, without a developer-local Quicklisp checkout.RED first
dd596fc test: define red consumable Tek9 flake contractThe contract requires:
.#tek9and.#defaultpackage outputs;(asdf:load-system :tek9)outside the Tek9 source checkout;Implementation
c4f8489exposespackages.{x86_64-linux,aarch64-linux}.{default,tek9}, preserves the dev shell, and declares the ASDF dependency closure.10cc133pins the updated nixpkgs lock, adds downstream flake documentation, turns the Nix package contract into a real flake check, and runs it in CI.5931490fixes the failure revealed by that gate by addingpkgs.lmdb.outto thecl.lmdbbuild itself, as well as Tek9's runtime closure.The package smoke wraps Tek9 in a downstream
sbcl.withPackagesclosure, changes to an empty consumer directory, loads:tek9, opens a real LMDB database under the writable build directory, and verifies the database file was created there.Exact-head validation
Head:
5931490eee6f160edf37830fbe96e7142fe68533CI run 123 is green:
tests (ubuntu-22.04);tests (ubuntu-24.04);package-smokeincluding the actual Nix build/load/database check;benchmark-regression;merge-gate.Local evaluation also passed
nix flake check --no-build, all x86_64 outputs, and all-system output evaluation including aarch64-linux.Superseded by #9 at the exact same head commit because GitHub's ready-for-review mutation failed on this draft. PR #9 passed a fresh exact-head CI run and merged as
a9f5b595f5d965163d2b7c518c72a2efd9be13fe.Pull request closed