Skip to content

Instantly share code, notes, and snippets.

@jnv
Created July 25, 2023 10:57
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnv/82ea2a471128cb7289d0fcccc50ee733 to your computer and use it in GitHub Desktop.
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)
{ 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