Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Nix #1

Open
gatoWololo opened this issue Jun 5, 2017 · 0 comments
Open

Integrate Nix #1

gatoWololo opened this issue Jun 5, 2017 · 0 comments

Comments

@gatoWololo
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant