{ stdenv, fetchurl }: stdenv.mkDerivation rec { name = "musl-${version}"; version = "1.1.9"; src = fetchurl { url = "http://www.musl-libc.org/releases/${name}.tar.gz"; sha256 = "0gi8638c5gh9i4gsihfczigg78l2q0hd9c3ws26chwprr9rp3gq0"; }; enableParallelBuilding = true; configureFlags = [ "--enable-shared" "--enable-static" ]; dontDisableStatic = true; meta = { description = "An efficient, small, quality libc implementation"; homepage = "http://www.musl-libc.org"; license = stdenv.lib.licenses.mit; platforms = stdenv.lib.platforms.linux; maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; }; }