Skip to content

NixOS: Desktop files contain store path #688

@theCapypara

Description

@theCapypara

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions