Merge pull request #146484 from NixOS/musl-liburing

This commit is contained in:
Sandro 2021-11-18 23:22:08 +01:00 committed by GitHub
commit 67f4b15bd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,16 +33,15 @@ stdenv.mkDerivation rec {
outputs = [ "out" "bin" "dev" "man" ];
postInstall =
# Copy the examples into $bin. Most reverse dependency of this package should
# reference only the $out output
''
postInstall = ''
# Copy the examples into $bin. Most reverse dependency of this package should
# reference only the $out output
mkdir -p $bin/bin
cp ./examples/io_uring-cp examples/io_uring-test $bin/bin
cp ./examples/link-cp $bin/bin/io_uring-link-cp
'' + lib.optionalString stdenv.hostPlatform.isGnu ''
cp ./examples/ucontext-cp $bin/bin/io_uring-ucontext-cp
''
;
'';
meta = with lib; {
description = "Userspace library for the Linux io_uring API";