miniserve: fix darwin build
This commit is contained in:
parent
d80602cf51
commit
855ca3b8dd
@ -24,12 +24,16 @@ rustPlatform.buildRustPackage rec {
|
|||||||
nativeBuildInputs = [ pkg-config zlib ];
|
nativeBuildInputs = [ pkg-config zlib ];
|
||||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
|
# Remove after https://github.com/NixOS/nixpkgs/pull/97000 lands into master
|
||||||
|
preConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
|
unset SDKROOT
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "For when you really just want to serve some files over HTTP right now!";
|
description = "For when you really just want to serve some files over HTTP right now!";
|
||||||
homepage = "https://github.com/svenstaro/miniserve";
|
homepage = "https://github.com/svenstaro/miniserve";
|
||||||
license = with licenses; [ mit ];
|
license = with licenses; [ mit ];
|
||||||
maintainers = with maintainers; [ nequissimus zowoq ];
|
maintainers = with maintainers; [ nequissimus zowoq ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
broken = stdenv.isDarwin; # https://github.com/NixOS/nixpkgs/pull/98181
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user