antono / guix-debian

GNU Guix is a purely functional package manager for the GNU system, and a distribution thereof.
https://www.gnu.org/software/guix/
GNU General Public License v3.0
13 stars 1 forks source link

State of the art ? #1

Open vindarel opened 8 years ago

vindarel commented 8 years ago

Hi there ! I think too it would be great to have a .deb to install guix (the package manager). I'm trying, facing problems… would you mind sharing your experience ? Did you have a working .deb ? Thanks !

antono commented 8 years ago

This packaging effort is out of date. You can use it as starting point though...

antono commented 8 years ago

Actually it never worked. I had working deb for nix package manager but is code gone with gitorious.org

vindarel commented 8 years ago

If you had a working deb for nix teh package manager, that would be a great starting point. Mine isn't working so far. Hopefully gitorious will migrate their content to the Internet Archive, as they say they're doing.

antono commented 8 years ago

I found my old repo and pushed to github. You can learn from control and rules files here: https://github.com/antono/nix-debian/blob/master/debian/rules https://github.com/antono/nix-debian/blob/master/debian/control

It was real working package split in 3 packages (dev, docs and binary). I even tried to talk to Debian guys but they are too crazy about FHS.

vindarel commented 8 years ago

Thank you ! I'll let you know.

My first attempt is here: https://gitlab.com/vindarel/guix-debian it's basic but seemed to be working, I mean guix was "making" until an error which sounds to be guix specific (see the issue tracker).

antono commented 8 years ago

BTW... You can get some helpful stuff from https://github.com/antono/nix-debian/blob/master/debian/postinst https://github.com/antono/nix-debian/blob/master/debian/postrm