Comment

Comment by justinsaccount

Articles like this are pointless. I get that guix and nix are neat, and I think that every single time something about one of them is posted, but I don't have the slightest clue how to use either one of them.

Do you want to convince people that something like guix is better than docker? Then take something that is currently distributed using docker and actually show how the guix approach is simpler.

i.e. I have a random app I recently worked on where the dockerfile was something like

  FROM python:2.7
  WORKDIR /app
  ADD requirements.txt /app
  RUN pip install -r requirements.txt
  ADD . /app

  RUN groupadd -r notifier && useradd --no-log-init -r -g notifier notifier
  USER notifier
  EXPOSE 8080/tcp
  CMD ./notify.py
How do I actually take a random application like that and build a guix package of it?

Another project I work on is built on top of zeromq, and it would be great to use something like guix to define all the libsodium+zeromq+czmq+zyre dependancies and be able to spit out an 'ultimate container image' of all of that, but all this post shows me how to do is install an existing guile package.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton