DESKTOP EDITION CLOUD EDITION SERVER EDITION GUIDES FORUM

Packaging for NixOS


#1

In order to package for NixOS, we need download links that point to specific versions of Manager. Specifically the .deb file.

Currently on the download page, we just get this: http://download.manager.io/Manager.deb.

It would be great if we could have archive links that point to specific releases, similar to how Steam has: http://repo.steampowered.com/steam/archive/precise/steam-launcher_1.0.0.42_all.deb.


Confused about version numbers
#2

Wouldn’t it be better if Nix package would be made automatically like it is for Ubuntu or Fedora?

What’s involved in creating a Nix package?


#3

Nix is not like Ubuntu or Fedora, it’s a functional package manager. It requires content-addressed dependencies for reproducibility.


#4

Hi Lubos, will there be any progess on this? The only thing that needs to be done on Manager’s side is for all versions of Manager to be downloadable over a persistent link. Even if the link was offloaded to something like https://bintray.com/ I think it would work.


#5

The main reason why links don’t contain version names is mostly because other websites are hotlinking download URLs and thus making people download older versions.

I guess I can make an exception for certain binaries such as DEB, RPM source packages. This would make NixOS packaging easier.


#6

Awesome. NixOS has tooling to convert debian packages.


#7

The download is now organized into sub-folders by version. You can check https://www.manager.io/desktop/download/


#8

Awesome, I’ll look into packaging it soon.


#9

My progess is here: https://github.com/NixOS/nixpkgs/issues/30926

@lubos if you are able to help, that would be great! I mostly need to understand the dependencies that you’re using. Especially the xaml dependency.


#10

Does NixOS contain package called mono-complete ? This should include xaml dependency.


#11

I’m not sure. There’s only the mono package itself. Is there a mono command line command that you can run to find out all available dependencies?