[Nix-dev] RFC: managed paths outside /var and /etc

Eelco Dolstra eelco.dolstra at logicblox.com
Sun Mar 4 14:47:20 CET 2012


Hi,

On 03/03/12 14:52, Yury G. Kudryashov wrote:

> Currently the activation script creates a bunch of symlinks in /etc. 
> Creating some symlinks outside of /etc will allow us drop some of our 
> patches.
> 
> I propose the following symlinks:
> * /usr/bin/env -> /var/run/current-system/sw/bin/env

+1

> * /lib/modules/`uname -r`
> If `readlink /var/run/current-system/kernel` == `readlink /var/run/booted-
> system/kernel`, points to /var/run/current-system/kernel-modules/lib/`uname 
> -r`, otherwise to /.../booted-system/...

I don't really see the need for this.  It's a modification to only one package
and it works.

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/


More information about the nix-dev mailing list