junkie: remove code for macOS < 11

This commit is contained in:
Emily
2025-01-05 20:57:35 +00:00
parent 0e742321a1
commit 2d9216fa8a
+1 -1
View File
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
];
# IP_DONTFRAG is defined on macOS from Big Sur
postPatch = lib.optionalString (lib.versionAtLeast stdenv.hostPlatform.darwinMinVersion "11") ''
postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
sed -i '10i#undef IP_DONTFRAG' include/junkie/proto/ip.h
'';