|
|
|
@ -24497,6 +24497,12 @@ let |
|
|
|
|
url = "mirror://cpan/authors/id/C/CV/CVLIBRARY/UUID4-Tiny-0.002.tar.gz"; |
|
|
|
|
sha256 = "e7535b31e386d432dec7adde214348389e1d5cf753e7ed07f1ae04c4360840cf"; |
|
|
|
|
}; |
|
|
|
|
postPatch = lib.optionalString (stdenv.isAarch64) '' |
|
|
|
|
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/uapi/asm-generic/unistd.h |
|
|
|
|
# printf SYS_getrandom | gcc -include sys/syscall.h -E - |
|
|
|
|
substituteInPlace lib/UUID4/Tiny.pm \ |
|
|
|
|
--replace "syscall( 318" "syscall( 278" |
|
|
|
|
''; |
|
|
|
|
meta = { |
|
|
|
|
description = "Cryptographically secure v4 UUIDs for Linux x64"; |
|
|
|
|
license = with lib.licenses; [ artistic1 gpl1Plus ]; |
|
|
|
|