You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need sudo to build dune. I tried adding sudo to default.nix under buildInputs, but I get an issue with the owner of sudo:
> nix-build default.nix
these derivations will be built:
/nix/store/pvn8p8y8kvvgfhlc4a1q0z75cpwq9dkh-dune-1.0.drv
building path(s) ‘/nix/store/lmv92mliamf24h5yvnynlqn1zw7a7q61-dune-1.0’
sudo: /nix/store/w9rs11zhvn6y4a0cs252qdnvqfr2zmp2-sudo-1.8.19p2/bin/sudo must be owned by uid 0 and have the setuid bit set
builder for ‘/nix/store/pvn8p8y8kvvgfhlc4a1q0z75cpwq9dkh-dune-1.0.drv’ failed with exit code 1
error: build of ‘/nix/store/pvn8p8y8kvvgfhlc4a1q0z75cpwq9dkh-dune-1.0.drv’ failed
Without sudo it fails to find it when calling builder.sh. I'm following this blog for creating my own Nix expressions.
The text was updated successfully, but these errors were encountered:
I need
sudo
to build dune. I tried addingsudo
todefault.nix
under buildInputs, but I get an issue with the owner of sudo:Without
sudo
it fails to find it when callingbuilder.sh
. I'm following this blog for creating my own Nix expressions.The text was updated successfully, but these errors were encountered: