{ stdenv, papi, }: if stdenv.hostPlatform == stdenv.buildPlatform then papi else # ffsll must be specified for cross compile papi.overrideAttrs (old: { configureFlags = (old.configureFlags or [ ]) ++ [ "--with-ffsll" ]; })