@@ -24,12 +24,16 @@ rustPlatform.buildRustPackage rec {
2424 nativeBuildInputs = [ pkg-config zlib ];
2525 buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
2626
27+ # Remove after https://github.com/NixOS/nixpkgs/pull/97000 lands into master
28+ preConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
29+ unset SDKROOT
30+ '';
31+
2732 meta = with stdenv.lib; {
2833 description = "For when you really just want to serve some files over HTTP right now!";
2934 homepage = "https://github.com/svenstaro/miniserve";
3035 license = with licenses; [ mit ];
3136 maintainers = with maintainers; [ nequissimus zowoq ];
3237 platforms = platforms.unix;
33− broken = stdenv.isDarwin; # https://github.com/NixOS/nixpkgs/pull/98181
3438 };
3539}