From 5ee3c813f49c21e463286922eca6d430475b6d3b Mon Sep 17 00:00:00 2001 From: Luke Craig Date: Mon, 8 Jun 2026 23:02:32 -0400 Subject: [PATCH] Ship full CPython (python3) instead of python3Minimal The guest needs a full-featured Python: the migrated test suite (and real debugging use) requires ctypes (FFI for libc calls / ioctl), mmap, fcntl, socket, ssl, sqlite3 -- none of which python3Minimal builds. Switch to the full python3 interpreter. Verified x86_64: lib-dynload now includes _ctypes, fcntl, mmap, _socket, _ssl, _sqlite3 (77 modules vs 63), and the bundle still passes the runtime link-closure check (the new libs are staged into dylibs). --- src/pkgs/python.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkgs/python.nix b/src/pkgs/python.nix index 87eeefc..d3841ca 100644 --- a/src/pkgs/python.nix +++ b/src/pkgs/python.nix @@ -1,7 +1,7 @@ pkgs: let - python = pkgs.python3Minimal; + python = pkgs.python3; version = python.pythonVersion; in pkgs.runCommand "cpython-runtime-${version}"