Skip to content

Commit

Permalink
cpython: provide libuuid for the _uuid module
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mweinelt committed Jan 28, 2025
1 parent 512367c commit 77be369
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/development/interpreters/python/cpython/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
, bzip2
, expat
, libffi
, libuuid
, libxcrypt
, mpdecimal
, ncurses
Expand Down Expand Up @@ -166,6 +167,7 @@ let
bzip2
expat
libffi
libuuid
libxcrypt
mpdecimal
ncurses
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/interpreters/python/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ in {
gdbm = null;
sqlite = null;
tzdata = null;
libuuid = null;
libffi = libffiBoot; # without test suite
stripConfig = true;
stripIdlelib = true;
Expand Down

0 comments on commit 77be369

Please sign in to comment.