{ stdenv, afl}: stdenv.mkDerivation { version = stdenv.lib.getVersion afl; pname = "libdislocator"; src = afl.src; sourceRoot = "${afl.name}/libdislocator"; makeFlags = [ "PREFIX=$(out)" ]; preInstall = '' mkdir -p $out/lib/afl ''; postInstall = '' mkdir $out/bin cat > $out/bin/get-libdislocator-so <