Skip to content

Nix and NixOS package #185

Closed
Closed

Description

@KevinBonnoron

What would you add or change?

A Nix package, so RecompLauncher can be installed and run on NixOS.

On NixOS, neither the AppImage nor the .deb is a good fit, and the recomps the launcher downloads are built for ordinary distributions (/lib64/ld-linux, /usr/lib), which NixOS doesn't have. I've packaged it as a flake that runs the launcher inside Steam's runtime environment, the same one nixpkgs' Steam and Heroic packages use. With it, Xenoblade Chronicles 2 (built from its setup AppImage), Ship of Harkinian and ComboShip install and play end to end on NixOS.

It's ready as a draft pull request, #180, but CONTRIBUTING asks to check before anything big, so I'd like to know which you prefer:

  1. The flake in this repository (Nix and NixOS: a flake that runs the launcher in Steam's runtime environment #180): flake.nix plus packaging/nix/, next to the Arch and Flatpak packaging. It needs nothing at release time: the version comes from Cargo.toml and the crates from Cargo.lock, so there's no hash to update.
  2. A package in nixpkgs instead, which I'd submit there. Nothing gets added to this repository.

Either way, two small launcher changes in #180 help any Nix install:

  • When it runs from /nix/store, the launcher doesn't offer its own updates, as it already does for the Flatpak.
  • Game shortcuts and Steam entries can start the launcher through RL_START_PATH, set by the package's wrapper, instead of a store path that disappears after the next update.

A separate fix, #179, found while testing this, lets setup AppImages start on a PC without FUSE 2.

Activity

  1. Xarishark commented on Nov 16, 2026

    @Xarishark
    Collaborator

    To be clear. We wont provide official support at ANY moment for NIX builds same as we dont provide for ARCH. As long as this is fine with you I will commit some changes to the PR and then we can merge

    The official channels for RecompLauncher are and will always be only Appimage and Flatpak when released regarding the linux build.

    We only support Distro agnostic and universal solutions.

  2. KevinBonnoron commented on Nov 16, 2026

    @KevinBonnoron
    ContributorAuthor

    Sounds good to me, thanks for the work on this!

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions