-
Notifications
You must be signed in to change notification settings - Fork 296
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
languages.python.package = pkgs.python310.withPackages (…)
does not work
#1218
Comments
For that to work you'll need to use https://github.com/cachix/devenv-nixpkgs for nixpkgs |
Is this just because of the way the devenv's Python language module invokes Nixpkgs' Python wrapper via |
I'm trying to do the same thing and set the nixpkgs:
url: github:cachix/devenv-nixpkgs and I now get the following error when trying to enter the shell
|
@srounce I had the same problem, it should actually be:
But @domenkozar even using it, the original error (import error) remains. |
Thank you for developing and maintaining this awesome project! 🙂
Describe the bug
I'm trying to specify Python packages by
but this does not work, i.e.
yields
Interestingly, as also described in this comment, instead specifying
does work but does not seem to be preferable due to the uncoupling of Python packages and interpreter. Or maybe I misunderstood something? Of course I could use
let
and friends to extractpython310
somehow but that seems clunky.To reproduce
https://gist.github.com/dpaetzel/303644fc1aa7863a4d0194c9f205b4b1
Version
I'm using Flakes.
The text was updated successfully, but these errors were encountered: