[Nix-dev] Using sudo in builds?

Domen Kožar domen at dev.si
Fri May 6 13:30:07 CEST 2016


Hey all,

first of all some background. I'm working with Snabb (user-space networking
driver) and we have a special need of running some tests in qemu that
require pci-assign capabilities that can only be done as run. As a result,
we run qemu as root.

Currently I'm running our tests without chroot (relaxed mode), but I'd like
to go back for determinism and be able to use sudo in chroot builds.

Has anyone done that yet? Asking not to repeat already done work, my
current plan is trying the following:

https://github.com/snabblab/snabblab-nixos/issues/33

Domen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160506/c641d544/attachment.html 


More information about the nix-dev mailing list