Re: [Nix-dev] setuidwrapper questions

2017-03-23 Thread Guillaume Maudoux (Layus)
Hi Jon, Unless I am terribly mistaken, setuid wrappers are only needed for executables in the nix store because the nix store fordids to set the suid bit. For your executable, just set the suid bit and... VoilĂ  :-). -- Layus. On 16/03/17 17:41, Jon Parris wrote: Hi All, NixOS noob here.

[Nix-dev] setuidwrapper questions

2017-03-23 Thread Jon Parris
Hi All, NixOS noob here. I have two questions relating to setuid. First how do I create a wrapper for program (named buildenv) which is outside of nixpkgs? Here are the constraits for buildenv. * This is a internal tool - so I can't add it to the public nixpkgs. * This tool is written in C, it