Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document NixOS package #1033

Open
Keksoj opened this issue Nov 22, 2023 · 4 comments
Open

document NixOS package #1033

Keksoj opened this issue Nov 22, 2023 · 4 comments
Assignees
Projects
Milestone

Comments

@Keksoj
Copy link
Member

Keksoj commented Nov 22, 2023

A search on NixOs Search shows Sōzu has been packaged for NixOS here, however only version 13.6 seems to appear, although a commit on the NixOS package repo seems to package the last version:

https://github.com/NixOS/nixpkgs/blob/cd2476d2404d1a21019fa476435ad978a384411f/pkgs/servers/sozu/default.nix#L12

rustPlatform.buildRustPackage rec {
  pname = "sozu";
  version = "0.15.15";
  # ...
}

If Sōzu is indeed packaged and work for NixOS, it would be awesome to make it official on Sōzu's repository and/or codebase, alongside Arch Linux for instance.

Do you know, @gaelreyrol , why search.nixos.org fails to show your last update of the sozu package on the nixpkgs repo ? And how do you think this NixOS package would be best documented in the Sōzu repository?
Thanks a lot for your interest and contribution, by the way 🙏

@Keksoj Keksoj added this to the v0.17.0 milestone Nov 22, 2023
@Keksoj Keksoj self-assigned this Nov 22, 2023
@Keksoj Keksoj added this to Backlog in Roadmap via automation Nov 22, 2023
@gaelreyrol
Copy link
Contributor

@Keksoj It is because you searched in the Nixpkgs release channel "23.05", this particular channel is a pin on the master channel of Nixpkgs that happened in 2023/05.

If you click on the "unstable" button below the search input it will show the latest release of Sōzu:

image

@Keksoj
Copy link
Member Author

Keksoj commented Nov 22, 2023

Oh, cool !
So where in the Sōzu repo do you think we could best notify users of this ?

@gaelreyrol
Copy link
Contributor

Maybe in the "Getting started" section ? Do you need me to provide command line examples to show how to install / run Sōzu?

@Keksoj
Copy link
Member Author

Keksoj commented Nov 23, 2023

A few lines in the getting_started.md would be cool indeed. Do you mind writing them? In this style:

## Run on NixOS

Sōzu is packaged for NixOS (links etc)

You can include it in your nix packages like so…

You can include it in your nix os config like so…

either in a PR or here, and I'll do it ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Roadmap
  
Backlog
Development

No branches or pull requests

2 participants