git.iko.soy/typeable/nixpkgs
on master help sign in
miniserve: fix darwin build
commit855ca3b8dd7a072acfad609acae86289b08d20e4 authorzowoq <59103226+zowoq@users.noreply.github.com> dateSun 4 Oct 2020, 09:19 (6 years ago) parentd80602c
1 file changed+5−1
pkgs/tools/misc/miniserve/default.nix+5−1
pkgs/tools/misc/miniserve/default.nix+5−1
@@ -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}