winapps-org / winapps-org/winapps
NixOS: Desktop files contain store path
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 16k
- Forks
- 508
- Avg merge
- 13h 35m
- Merged PRs (30d)
- 3
Description
On NixOS the generated desktop files contain the full path to the winapps executable using the Nix store path:
Exec=/nix/store/z7avvzmfv3prvn6zsz0abyadhfl292qp-winapps-0-unstable-2025-07-02/bin/winapps windows %F
These paths will break with updates when the garbage collector runs. Even if that is disabled, this path will always point to the version that the desktop file was originally installed with, and not the current installed version. The paths should probably be generated like this:
Exec=/run/current-system/sw/bin/winapps windows %F
Contributor guide
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.
Research direction
Start by locating the NixOS-generated desktop-file code and inspect how the winapps executable path is assembled. Verify the generated Exec entry uses /run/current-system/sw/bin/winapps rather than a versioned /nix/store path, including the windows %F arguments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100