mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
miniserve: fix darwin build
This commit is contained in:
parent
d80602cf51
commit
855ca3b8dd
1 changed files with 5 additions and 1 deletions
|
@ -24,12 +24,16 @@ rustPlatform.buildRustPackage rec {
|
|||
nativeBuildInputs = [ pkg-config zlib ];
|
||||
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; {
|
||||
description = "For when you really just want to serve some files over HTTP right now!";
|
||||
homepage = "https://github.com/svenstaro/miniserve";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ nequissimus zowoq ];
|
||||
platforms = platforms.unix;
|
||||
broken = stdenv.isDarwin; # https://github.com/NixOS/nixpkgs/pull/98181
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue