[Nix-dev] permission problems

Bas van Dijk v.dijk.bas at gmail.com
Wed Jan 11 09:11:33 CET 2017


Hi Stewart,

config.ids.uids.workbench doesn't seem to exist in:

  https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/misc/ids.nix

Why do you assume it's there? Which revision of nixpkgs are you using?

Cheers,

Bas

On 11 January 2017 at 03:54, stewart mackenzie <setori88 at gmail.com> wrote:

> greetings,
>
> If I enable this:
> https://github.com/fractalide/fractal_workbench/blob/master/
> service.nix#L72
>
> I get
>
> $ sudo nixos-rebuild test -I fractalide=/home/stewart/dev/
> fractalide/fractalide
> [sudo] password for stewart:
> building Nix...
> building the system configuration...
> error: attribute ‘workbench’ missing, at
> /home/stewart/dev/fractalide/fractals/fractal_workbench/service.nix:72:13
> (use ‘--show-trace’ to show detailed location information)
>
> why can't I add` uid = config.ids.uids.workbench;`?
>
> ---
>
> I'm trying to debug a permission problem in that the application
> doesn't have permission to access the database.
>
> kr/sjm
> _______________________________________________
> 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/20170111/714d61bd/attachment.html>


More information about the nix-dev mailing list