Skip to content

Support installing lc with Nix and on NixOS #249

Description

@charnock-fr

On NixOS, lc does not work after the documented install:

Getting a working setup takes NixOS-specific configuration and Nix users on other systems have no Nix package available.

We could ship a Nix flake in this repository:

  • a package, installable with
    nix profile install github:LightconeResearch/lightcone-cli;
  • a NixOS module, so that programs.lightcone.enable = true; sets up what NixOS needs.

What it would ask of maintainers

  • Three new files: flake.nix, flake.lock, and a CI workflow that builds the package.
  • After each release, one version string in flake.nix needs bumping, because Nix builds see no git tags. CI fails until it is bumped and prints the value to set.

I'm happy to maintain the Nix side, including flake.lock updates. I have an implementation ready and will open a PR referencing this issue.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions