[Nix-dev] Additional groups in buildFHSUserEnv

Tim Dempsey trdempsey.201201 at gmail.com
Sun Mar 5 15:39:06 CET 2017


Is it possible to specify additional groups when entering a
buildFHSUserEnv? I have a prepackage binary that needs access to a usb
serial device and when i enter the environment using nix-shell I end up
with the following groups: users, nobody. At minimum, I would like to add
the dialout group but ideally an option to pass my current groups into the
env would be great. If I use sudo nix-shell it works of course but seems
like an awful big hammer. :)

Thanks.
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170305/70eab935/attachment.html>


More information about the nix-dev mailing list