[Nix-dev] Which option replaces security.setuidOwners?

Thomas Hunger tehunger at gmail.com
Tue Feb 14 21:52:05 CET 2017


Hi,

The option is now called `wrappers`. You can look at e.g. [1] for how to
update the code (more complex examples can be found in that same diff). The
assert is a great idea!

~

[1]
https://github.com/NixOS/nixpkgs/pull/16654/files#diff-
83d20e45a7ca489ef290ee1ee57543c7L28

(forgot reply all)

On 14 February 2017 at 20:20, Bjørn Forsman <bjorn.forsman at gmail.com> wrote:

> Hi all,
>
> Now that security.setuiOwners is removed in master branch, which
> option replaces it?
>
> This is what users are faced with currently:
>
> $ nixos-rebuild build -I nixpkgs=.
> building Nix...
> error: The option `security.setuidOwners' defined in
> `/etc/nixos/config/base-small.nix' does not exist.
> (use ‘--show-trace’ to show detailed location information)
> error: The option `security.setuidOwners' defined in
> `/etc/nixos/config/base-small.nix' does not exist.
> (use ‘--show-trace’ to show detailed location information)
> building the system configuration...
> error: The option `security.setuidOwners' defined in
> `/etc/nixos/config/base-small.nix' does not exist.
> (use ‘--show-trace’ to show detailed location information)
>
> $ git grep setuidOwners
> (nothing)
>
> I think we need an assert here telling which option to use instead.
>
> Best regards,
> Bjørn Forsman
> _______________________________________________
> 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/20170214/29d03f3f/attachment.html>


More information about the nix-dev mailing list