Skip to content

Instantly share code, notes, and snippets.

@mcdonc
Last active June 20, 2022 22:04
Show Gist options
  • Save mcdonc/875bfac4fcdb5a03954de4a666f870c8 to your computer and use it in GitHub Desktop.
Save mcdonc/875bfac4fcdb5a03954de4a666f870c8 to your computer and use it in GitHub Desktop.
Modules/Setup.local file for building Python on NixOS
zlib zlibmodule.c -lz
readline readline.c -lreadline
_lzma _lzmamodule.c -llzma
_sqlite3 _sqlite/cache.c _sqlite/connection.c _sqlite/cursor.c _sqlite/microprotocols.c _sqlite/module.c _sqlite/prepare_protocol.c _sqlite/row.c _sqlite/statement.c _sqlite/util.c -lsqlite3 -IModules/_sqlite
_curses _cursesmodule.c -lncurses
_bz2 _bz2module.c -lbz2
_lzma _lzmamodule.c -llzma
_ctypes _ctypes/callbacks.c _ctypes/cfield.c _ctypes/_ctypes_test.c _ctypes/malloc_closure.c _ctypes/callproc.c _ctypes/_ctypes.c _ctypes/stgdict.c -I_ctypes/ctypes_dlfcn.h -I_ctypes/ctypes.h -I_ctypes/_ctypes_test.h -lffi
_hashlib _hashopenssl.c -lssl -lcrypto
_ssl _ssl.c -lssl -lcrypto
_tkinter _tkinter.c tkappinit.c -DWITH_APPINIT -ltcl8.6 -ltk8.6 -lX11 -lxcb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment