From 77be369abaed9f8cd9be698680747807c7c13b33 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 28 Jan 2025 02:11:22 +0100 Subject: [PATCH] cpython: provide libuuid for the _uuid module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Relying on libuuid offers synchronization primitives, so that "no two processes can obtain the same UUID"ยน. [1] https://docs.python.org/3/library/uuid.html#module-uuid --- pkgs/development/interpreters/python/cpython/default.nix | 2 ++ pkgs/development/interpreters/python/default.nix | 1 + 2 files changed, 3 insertions(+) diff --git a/pkgs/development/interpreters/python/cpython/default.nix b/pkgs/development/interpreters/python/cpython/default.nix index d0cb05268d43fb..eb839b446c13e2 100644 --- a/pkgs/development/interpreters/python/cpython/default.nix +++ b/pkgs/development/interpreters/python/cpython/default.nix @@ -15,6 +15,7 @@ , bzip2 , expat , libffi +, libuuid , libxcrypt , mpdecimal , ncurses @@ -166,6 +167,7 @@ let bzip2 expat libffi + libuuid libxcrypt mpdecimal ncurses diff --git a/pkgs/development/interpreters/python/default.nix b/pkgs/development/interpreters/python/default.nix index 582c37cd2c791e..edc187ac2a1691 100644 --- a/pkgs/development/interpreters/python/default.nix +++ b/pkgs/development/interpreters/python/default.nix @@ -117,6 +117,7 @@ in { gdbm = null; sqlite = null; tzdata = null; + libuuid = null; libffi = libffiBoot; # without test suite stripConfig = true; stripIdlelib = true;