Skip to content

fix(nix): stable package metadata still declares 2.5.0-beta.1 #2

Open

Description

@coygeek

Summary

The Nix package declaration still identifies the stable DuoDesk source as 2.5.0-beta.1, while the desktop and Android app declarations identify it as 2.5.0. The mismatch also remains on the inspected default branch. This report concerns the declared package version only.

Runtime or environment

  • Latest published stable release: v2.5.0, source commit 00850e7810a2279273d7cf768721d6ae0e521bdc.
  • Default branch inspected: main at 50125ca0c4f73ab3253e739dd8a6ec9cf1a8444b.
  • Verification method: source inspection from a fresh clone on macOS 27.2; no devices connected. DuoDesk was not installed or launched. Nix was unavailable, so no derivation evaluation, build, or runtime test was performed.
  • The flake declares packages for x86_64-linux and aarch64-linux; these target systems were not tested.

Steps to reproduce

These source-inspection steps were executed for both baselines above and require Git, without Nix or an app installation:

  1. Clone the repository with git clone https://github.com/0xCodez/DuoDesk.git and enter the clone.
  2. Run git show v2.5.0:flake.nix and inspect packages → twindesk → version.
  3. Compare with git show v2.5.0:linux/package.json, the equivalent mac/package.json and windows/package.json, and git show v2.5.0:android/app/build.gradle.kts (versionName).
  4. Repeat those commands with origin/main in place of the release tag.

Expected behavior

The Nix package version should describe the same DuoDesk release as the app sources it packages. The Nix documentation presents this flake as the supported DuoDesk package, and the prior stable version commit updated the flake together with all four app version declarations. No separate Nix version policy was found in the inspected documentation or flake history.

Actual behavior

Both inspected baselines contain the following declaration in flake.nix:

          twindesk = pkgs.stdenv.mkDerivation rec {
            pname = "twindesk";
            version = "2.5.0-beta.1";

            src = self;

On each baseline, linux/package.json, mac/package.json, and windows/package.json instead contain "version": "2.5.0", and Android's defaultConfig contains versionName = "2.5.0". The flake uses src = self, exports default = twindesk, and copies linux/package.json into the packaged sources. The source metadata therefore disagrees within the same package definition. This static check does not establish a build failure, upgrade failure, or the version displayed by a running app.

Evidence

The contrary evidence is the version declarations read from the two source baselines. The documented package path reaches packages.<system>.twindesk, whose version is a literal and whose src is the same source tree containing the stable app declarations. Runtime reproduction was not run.

Restoration check

For the stable source and subsequent releases, compare the flake package version with the app version declarations in the same source tree. The check passes when the Nix package metadata identifies the release it packages, rather than retaining an earlier beta identifier. Preserve the supported flake package and default app paths; this report does not prescribe a version-management implementation.

Triage assessment

  • Impact level: P3
  • Assessment status: supported
  • Impact basis: The observed defect is inconsistent package version metadata. No consequential build, update, or runtime behavior was measured.
  • Workaround status: unverified
  • Workaround basis: No Nix evaluation or installation was run, so no consumer workaround was tested; the source declarations and release tag can be compared directly to identify this mismatch.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions