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

More purity in native stdenvs? #874

Closed
vcunat opened this issue Aug 27, 2013 · 6 comments
Closed

More purity in native stdenvs? #874

vcunat opened this issue Aug 27, 2013 · 6 comments

Comments

@vcunat
Copy link
Member

vcunat commented Aug 27, 2013

Is there any reason why we use native tools (like sed) in native stdenvs? I understand that some things need to be native (e.g. libc), but otherwise it seems to me to strive for as much purity as possible.

I thought this was the case already, found out after discussion about perl on darwin http://article.gmane.org/gmane.linux.distributions.nixos/11363

I would propose a PR myself, but I've never used any "native" platform, so I'm certainly not a good person for this.

@peti
Copy link
Member

peti commented Aug 28, 2013

Yes, native stdenv tends to have /usr/local/bin in $PATH, which causes a lot of trouble. It would be great to clean that up. Alas, it's a lot of effort ...

@danieroux
Copy link
Contributor

What is the work involved in this? What would be the "quick win" that gets it 80% there?

@vcunat
Copy link
Member Author

vcunat commented Sep 15, 2013

I suspect that on darwin/freebsd it would be enough to take the generic non-native stdenv, only with native libc. That should be easy to try, but I don't have a clue if there is some other part which needs to be native on those platforms.

@shlevy
Copy link
Member

shlevy commented Jan 10, 2014

FYI, I've started #1484 targeted for our second 2014 release cycle

@shlevy
Copy link
Member

shlevy commented Apr 4, 2014

I'm going to take responsibility for darwin over the next few months. Is there anyone willing to pick up the other non-Linuxes?

@zimbatm
Copy link
Member

zimbatm commented Feb 15, 2016

Closing because this issue doesn't have a clear outcome. Please re-open and let me know if I'm overstepping.

@zimbatm zimbatm closed this as completed Feb 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants