-
Notifications
You must be signed in to change notification settings - Fork 130
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
error: linker cc
not found
#82
Comments
@mdedetrich can you try this with |
Ah yes, it works with Using |
could you run |
True this should work meantime, is there a more permanent solution that doesn't use |
I'm not sure how everybody is using nix but my workflow is exactly like that. i rarely use the only time i use I think this is a shift in thinking how to setup development environment with nix and with other more traditional package managers. with traditional package managers you would pollute your system and install packages witch may even conflict with other packages already installed. and with nix you can have unlimited set of development environments just by using I hope this helps a bit. I will close the issue since it looks like using |
@garbas I would vouch for keeping this ticket open, not because of your argument where In any case, I don't know if the statement that you should use Furthermore there may be some discrepancy where for programming development you should also be using In any case there hasn't been anything I have seen (from reading the nixOs wiki) which says that you should always use nix-shell, from what I have seen its up to the users discretion, in some cases nix-shell makes more sense and in others it doesn't. I can't reopen the ticket, but I would reopen it for this reason. Its expected that if you install a package (whether its using |
For the sake of completeness: it also simply works when adding the |
I had this issue in GNU Guix as well, trying to bootstrap Rust 1.29.2. It turns out that the issue is |
Not sure if this is a duplicate of #22
When using the stable rust overlay, i.e.
I get the following error
It seems like gcc is not really visible to rustc. I tried the variant noted in the other issue i.e.
nix-env -iA nixos.latest.rustChannels.stable.rust -p gcc
and it made no difference.Here are the details of my nix install
The text was updated successfully, but these errors were encountered: