diff options
Diffstat (limited to 'openspec/changes/archive/2026-09-24-enable-nix-ld/tasks.md')
| -rw-r--r-- | openspec/changes/archive/2026-09-24-enable-nix-ld/tasks.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/openspec/changes/archive/2026-09-24-enable-nix-ld/tasks.md b/openspec/changes/archive/2026-09-24-enable-nix-ld/tasks.md new file mode 100644 index 0000000..fdd8abe --- /dev/null +++ b/openspec/changes/archive/2026-09-24-enable-nix-ld/tasks.md | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | ## 1. Enable nix-ld on NixOS hosts | ||
| 2 | |||
| 3 | - [x] 1.1 In `modules/nixos/common.nix`, add `programs.nix-ld.enable = true;` alongside the other unconditional host-level services, with a short comment explaining why (uv-managed prebuilt binaries need an FHS-style loader path). Verify by re-reading the diff: the option is set unconditionally, matching the file's existing style. | ||
| 4 | - [x] 1.2 In the same file, add `programs.nix-ld.libraries = with pkgs; [ ncurses libffi sqlite readline gdbm expat ];`. Verify the six packages resolve in the pinned nixpkgs by running `nix eval '.#nixosConfigurations.test-vm.config.programs.nix-ld.libraries' --apply 'builtins.length'` (or equivalent) and confirming it evaluates without error. | ||
| 5 | |||
| 6 | ## 2. Verify the change builds | ||
| 7 | |||
| 8 | - [x] 2.1 Run `nix flake check` and confirm it passes. | ||
| 9 | - [x] 2.2 Run `nix build '.#nixosConfigurations.test-vm.config.system.build.toplevel'` and confirm the system closure builds successfully with `programs.nix-ld` enabled. | ||
| 10 | |||
| 11 | ## 3. Manual follow-up (deferred, not verifiable in this environment) | ||
| 12 | |||
| 13 | - [ ] 3.1 After deploying to an activated NixOS host, run `uv python install 3.12` and confirm the installed interpreter executes (e.g. `uv run python3.12 --version`) instead of failing with a missing-interpreter error. This cannot be verified from this development environment since it requires an activated host, not just a successful build. | ||
