[Nix-dev] -realise: mounting /proc: Operation not permitted
Nikolay Amiantov
ab at fmap.me
Tue Feb 7 22:41:46 CET 2017
Hi,
On 02/07/2017 02:04 PM, Marc Weber wrote:
> What might be causing this?
>
> Nix-daemon nix version is the same which gets activated by the command
> below:
>
> /nix/store/jsfa19hfkrpg39njl7msrnsgfaxjvi3c-nix-1.12pre4997_1351b0d/bin/nix-store --realise /nix/store/kbw4v0hm7srarljkf5idk7ahspd59lp9-system-path.drv/nix/store/kbw4v0hm7srarljkf5idk7ahspd59lp9-system-path.drv
>
> these derivations will be built:
> /nix/store/pq24b3zvyx2fdajsy530vma0n3fgbiv1-NVIDIA-Linux-x86_64-375.26.run.drv
> /nix/store/msddw7c9wnjjmzwg8j9fmcm5gpgp2sgz-nvidia-x11-375.26-4.9.8.drv
> /nix/store/kbw4v0hm7srarljkf5idk7ahspd59lp9-system-path.drv
> building path(s) ‘/nix/store/r3219a23idwsvx8dw6zln2mlg34m0jdm-NVIDIA-Linux-x86_64-375.26.run’
> error: while setting up the build environment: mounting /proc: Operation not permitted
It may be caused by https://github.com/NixOS/nix/issues/1112. For
example, I have:
error: while setting up the build environment: unable to make filesystem
‘/run/user/1000/gvfs’ private: Permission denied
These are not completely same errors though, so not sure. I workaround
it by unmounting this filesystem, but obviously it's a bad idea to do
this with `/proc`...
>
> Marc Weber
> _______________________________________________
> 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/20170208/6f9f05db/attachment.html>
More information about the nix-dev
mailing list