Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
nix install on linux can fail with "cloning builder process: Operation not permitted" #1030
The nix command for installing hledger, on the download page, can fail with an error like:
since nix requires some kernel permission that GNU/Linux distros may not grant by default (NixOS/nix#2633). The workaround is to run a command similar to:
before running nix-env.
Is it safe to leave this permission enabled ? https://security.stackexchange.com/questions/209529/what-does-enabling-kernel-unprivileged-userns-clone-do thinks not. So maybe you should disable it again after running nix-env:
This all seems pretty lame, presumably nix will fix eventually.