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
conda: init at miniconda 4.3.11 #26443
Conversation
To do:
|
Works for me :-). Strange enough, trying to run anaconda-navigator fails unless I set USER env var. Could we add this one to the environment ? |
I'm not sure what exactly is meant by the suggestion "rename to miniconda" so I thought I'd give my comment: It's possible to add different installers for Miniconda vs Anaconda and Python 2 vs 3. So one could replace |
Maybe we can just passthru the current environment somehow? I suppose this issue didn't exist when using @jluttine what I mean is to indeed add all installers. However, there would be a separate derivation for each and so we keep the name
Definitely |
|
||
# Add any other packages here, for instance: | ||
emacs | ||
git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps emacs and git should be removed? They were just my personal requirements, not relevant for conda itself.
@FRidh I'm not too familiar with the "derivation" term. So how would the users use the different installers? Something like this:
or
or
or something else? I mean, at what point and how users choose the installer? |
|
Ok. Indeed, adding all installers inside the same conda shell derivation would cause downloading all the installers to nix store even if only one of them is used inside the conda shell. However, this could be avoided if instead of downloading the miniconda/anaconda installers to store, we would just add simple scripts (e.g., So, for instance,
And similarly for EDIT: sha256 hash checking could be added after wget. |
Well, I have no idea, I didn't use nix-shell. But it's not really important for the release. |
Is there any hope of getting this merged any time soon? |
Hello, |
Closing in favor of #34872. |
Motivation for this change
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)