Kup fails to uninstall nix profile packages by index on new nix and nix manifest versions
@juliankuners is already working on this.
Since Jul 31, 2025.
Assessment
This issue has not been assessed yet.
Description
Nix has previously replaced index addressing for nix profile installed packages with name addressing: NixOS/nix#9656.
Kup currently uses indices to remove packages prior to installing a new version to replace it (updating packages). This fails, when the respective nix manifest does not support indices anymore. This seems to be case since recently for some users of newer versions, though it does not seem to be entirely dependent on the version of nix in use for some reason. Maybe the manifest has to be upgraded respectively as well.
Kup should switch to using installed package names (typically a combination of the package name and some number) to address packages to be removed. Additionally, the user should be prompted to update nix in case addressing by installed package name is not yet supported with the provided revision of nix.
- Dominant language
- Python
- Stars
- 10
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from runtimeverification/kup
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
runtimeverification/kup#149 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
runtimeverification/kup#138 ·
-
runtimeverification/kup#137 · 1 comment · 1 assignee ·
-
runtimeverification/kup#136 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
runtimeverification/kup#121 · 1 comment ·
All issues in runtimeverification/kup
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
zostera/django-bootstrap4#894 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
use-agent-os/agent-os#3276 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NousResearch/hermes-agent#117848 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
zilliztech/memsearch#759 ·