[Nix-dev] Providing Debian, Arch etc. packages counterproductive?
Alastair Pharo
asppsa at gmail.com
Wed Sep 23 11:15:24 CEST 2015
Hi Thomas,
I'm the author of this script by the way. I didn't say that before.
The bulk of the work that it does is in the install file which is not
easy to view from the AUR website, so I'm not sure if you saw it.
[Here][1] is a link to it in the git repo viewer. It's still a very
simple script; it's mostly just doing what is described on the wiki for
Debian:
1. create users
2. make a skeleton /nix folder
3. display a message telling the user how to enable the daemon.
It wasn't doing (2) properly until a few minutes ago; previously it was
failing if `/nix/store` didn't exist. As you will see, the installer is
basically just a shell script that gets run as root when the package is
installed, so if there is a more official version of this process, it
would probably be quite easy to include it there.
Cheers,
Alastair
[1]: https://aur.archlinux.org/cgit/aur.git/tree/nix-multiuser.install?h=nix-multiuser
On 23 September 2015 18:02, Thomas Hunger wrote:
> Alastair,
>
> Looking at [1] it looks like the only thing that package does is setting an
> env variable - how did you get your /nix tree started? Maybe we could
> extend nix-multiuser to execute your /nix steps on start?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150923/1deb8bcc/attachment.html
More information about the nix-dev
mailing list