ghc_filesystem: pin apple-sdk to v11

Fixes a build failure on x86_64-darwin that appeared in
https://hydra.nixos.org/build/275198284
This commit is contained in:
seth 2024-11-15 22:32:21 -05:00
parent 2867f69e5c
commit 0e4fabb152
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86

View File

@ -1,4 +1,4 @@
{ stdenv, lib, cmake, fetchFromGitHub }:
{ stdenv, lib, apple-sdk_11, cmake, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "filesystem";
@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
buildInputs = lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11;
meta = with lib; {
description = "header-only single-file C++ std::filesystem compatible helper library";
homepage = "https://github.com/gulrak/filesystem";