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

rust-overlay: nightly 2017-05-19 tries to write to /etc #37

Closed
Ralith opened this issue May 20, 2017 · 4 comments
Closed

rust-overlay: nightly 2017-05-19 tries to write to /etc #37

Ralith opened this issue May 20, 2017 · 4 comments

Comments

@Ralith
Copy link

Ralith commented May 20, 2017

The build fails with mkdir: cannot create directory '/etc/bash_completion.d': Permission denied

@steveej
Copy link
Contributor

steveej commented May 26, 2017

We have two options here:

  • remove them from the source before installing
  • install them to $out/share/bash-completion/completions

@zimbatm
Copy link
Contributor

zimbatm commented May 26, 2017

(2) is the right answer. Upstream should be fixed to respect the destdir on install. They will want to support that on normal Linuxes as well.

@nbp
Copy link
Collaborator

nbp commented May 29, 2017

This issue seem to be coming from rust-lang/rust-installer#59
I guess the problem seems to be that --prefix is not considered for the default value of --sysconfigdir, in the mean time I guess we could provided it as argument of the install script.

@nbp
Copy link
Collaborator

nbp commented May 29, 2017

And is a duplicate of rust-lang/rust#42102 fixed by rust-lang/rust#42124

@nbp nbp closed this as completed May 29, 2017
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

4 participants