···33333434 outputs = [ "out" "bin" "dev" "man" ];
35353636- postInstall =
3737- # Copy the examples into $bin. Most reverse dependency of this package should
3838- # reference only the $out output
3939- ''
3636+ postInstall = ''
3737+ # Copy the examples into $bin. Most reverse dependency of this package should
3838+ # reference only the $out output
4039 mkdir -p $bin/bin
4140 cp ./examples/io_uring-cp examples/io_uring-test $bin/bin
4241 cp ./examples/link-cp $bin/bin/io_uring-link-cp
4242+ '' + lib.optionalString stdenv.hostPlatform.isGnu ''
4343 cp ./examples/ucontext-cp $bin/bin/io_uring-ucontext-cp
4444- ''
4545- ;
4444+ '';
46454746 meta = with lib; {
4847 description = "Userspace library for the Linux io_uring API";