cpython: provide libuuid for the _uuid module (#377458)
* util-linuxMinimal: build without pam and shadow These depend on python via audit preventing the use of libuuid from util-linux in python builds. * cpython: provide libuuid for the _uuid module 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
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
, bzip2
|
||||
, expat
|
||||
, libffi
|
||||
, libuuid
|
||||
, libxcrypt
|
||||
, mpdecimal
|
||||
, ncurses
|
||||
@@ -166,6 +167,7 @@ let
|
||||
bzip2
|
||||
expat
|
||||
libffi
|
||||
libuuid
|
||||
libxcrypt
|
||||
mpdecimal
|
||||
ncurses
|
||||
|
||||
@@ -117,6 +117,7 @@ in {
|
||||
gdbm = null;
|
||||
sqlite = null;
|
||||
tzdata = null;
|
||||
libuuid = null;
|
||||
libffi = libffiBoot; # without test suite
|
||||
stripConfig = true;
|
||||
stripIdlelib = true;
|
||||
|
||||
@@ -12497,6 +12497,8 @@ with pkgs;
|
||||
util-linuxMinimal = util-linux.override {
|
||||
nlsSupport = false;
|
||||
ncursesSupport = false;
|
||||
pamSupport = false;
|
||||
shadowSupport = false;
|
||||
systemdSupport = false;
|
||||
translateManpages = false;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user