[Nix-dev] help with patch for screen locking

zimbatm zimbatm at zimbatm.com
Tue Feb 7 21:05:05 CET 2017


Regarding the suid bit, why don't we let the program decide what suid
should be applied to it's programs?
https://github.com/NixOS/nixpkgs/pull/22532

On Tue, 7 Feb 2017 at 19:38 <david at zarel.net> wrote:

> On 2017-02-07 19:50, Tomasz Czyż wrote:
> > David,
> >
> > I assume you are not talking about
> > https://github.com/NixOS/nixpkgs/issues/16485 [2]?
>
> In fact I'm talking about https://github.com/NixOS/nixpkgs/issues/16845
> :-) my mistake
>
> > Usually I'm using this kind of stuff as part of user session/desktop
> > environment.
>
> Exactly, the actual screenlocker would be installed as a system package,
> I thought it was okay because I noticed something like that was already
> present in xfce.nix, but maybe we can adapt xfce4-session to accept a
> new build input and change it so that it calls the screenlocker in the
> nix store instead of calling the system package.
>
> With regards to slock: maybe we can ask the user to explicitly enable
> the suid like we do when a user tries to install a non-free package?
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170207/0bce21fa/attachment-0001.html>


More information about the nix-dev mailing list