gtksourceview5: remove code for macOS < 11

This commit is contained in:
Emily
2025-01-05 20:57:34 +00:00
parent 3fcf59e875
commit 1960f5077e
@@ -45,11 +45,6 @@ stdenv.mkDerivation (finalAttrs: {
./4.x-nix_share_path.patch
];
# The 10.12 SDK used by x86_64-darwin requires defining `_POSIX_C_SOURCE` to use `strnlen`.
env.NIX_CFLAGS_COMPILE = lib.optionalString (
stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64
) "-D_POSIX_C_SOURCE=200809L";
nativeBuildInputs = [
meson
ninja