Hello Nix-enthusiasts,
 
befor telling you about my problem, I want to say thanks for the great Nix world you created! It is incredible how precise systems can be built with NixOS/Nix.
I try so mirgrate my systems and development environment to NixOS. In a view weeks my first PR will be on start to get VDR [1] and some plugins into Nixpkgs.
But before that I have to establish my developement process. And here I have some questionmarks.
I run NixOS which brings nix-daemon in multi-user mode to control the Nix store. My code I want to build a derivation from is stored in my home folder. I use fetchgitlocal to store my code in Nix, but the commands are invoked by nix-daemon, which has no access rights. By the way, fetchgitlocal needs write access to folder .git/ . But that is no problem, if me as my user could build that derivation and not nix-daemon.
I do not want to grant nix-daemon access rights to my private folder, otherwise other users on that machine have access to my data.
Is there a way to build the derivation as my user and pass it to nix-daemon? Or does somebody has a differen aproach?
A similar problem was reported last year [2], but without a solution.
 
Best regards
Christian
 
[1] http://www.tvdr.de/
[2] http://lists.science.uu.nl/pipermail/nix-dev/2016-June/020701.html
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to