diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-10-04 09:19:31 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-10-04 09:19:31 +1000 |
commit | 855ca3b8dd7a072acfad609acae86289b08d20e4 (patch) | |
tree | 8b8bd824d5481bd93e28520f48d99a076d9cb761 /pkgs/tools/misc/miniserve | |
parent | d80602cf51599af58311b482dcdb47781cc8983d (diff) |
miniserve: fix darwin build
Diffstat (limited to 'pkgs/tools/misc/miniserve')
-rw-r--r-- | pkgs/tools/misc/miniserve/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/misc/miniserve/default.nix b/pkgs/tools/misc/miniserve/default.nix index 620f37654c42c..18b4405a468c1 100644 --- a/pkgs/tools/misc/miniserve/default.nix +++ b/pkgs/tools/misc/miniserve/default.nix @@ -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 }; } |