Created
July 25, 2023 10:57
-
-
Save jnv/82ea2a471128cb7289d0fcccc50ee733 to your computer and use it in GitHub Desktop.
devenv with Python, Poetry and libstdc++.6 somewhat working (still `devenv update` crashes with version `GLIBC_2.36` not found (required by /nix/store/...-gcc-12.3.0-lib/lib/libstdc++.so.6)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs, lib, ... }: | |
{ | |
# https://devenv.sh/packages/ | |
packages = [ | |
pkgs.glib | |
pkgs.glibc | |
]; | |
languages.python.enable = true; | |
#languages.python.version = "3.11.4"; | |
languages.python.package = pkgs.python311; | |
languages.python.poetry.enable = true; | |
languages.python.poetry.activate.enable = true; | |
languages.python.poetry.install.enable = true; | |
env.LD_LIBRARY_PATH = "${lib.makeLibraryPath [ pkgs.stdenv.cc.cc.lib ]}:/run/opengl-driver/lib/:${lib.makeLibraryPath [ pkgs.glib ]}"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment