[Nix-dev] Linking out of the store

Pjotr Prins pjotr2008 at thebird.nl
Mon Sep 29 21:15:29 CEST 2008


I see pkgs/servers/xmpp/openfire/3.5.2.nix does:

      rm -r $out/logs
      ln -s /var/log/openfire $out/log

I can see this can be useful. However, if one is installing nix as
non-root this will fail. Is it more logical to use something like:

      rm -r $out/logs
      ln -s /nix/log/openfire $out/log

??

Is this a bad idea?

Pj.



More information about the nix-dev mailing list