From 995962f25af49863609f92249668da1f1b840ac5 Mon Sep 17 00:00:00 2001 From: Emily Date: Sat, 12 Oct 2024 03:19:37 +0100 Subject: [PATCH] haskellPackages.network: remove code for macOS < 11 This reverts commit 2573d499bd7cfb3d1d1f52e20c5b8bf49eb5f7d8. --- pkgs/development/haskell-modules/configuration-darwin.nix | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-darwin.nix b/pkgs/development/haskell-modules/configuration-darwin.nix index 844e38f9e4fa..846051126dd6 100644 --- a/pkgs/development/haskell-modules/configuration-darwin.nix +++ b/pkgs/development/haskell-modules/configuration-darwin.nix @@ -306,13 +306,6 @@ self: super: ({ __darwinAllowLocalNetworking = true; }); - # network requires `IP_RECVTOS`, which was added in 10.15. - network = - if lib.versionOlder (lib.getVersion pkgs.apple-sdk) "10.15" then - addBuildDepend pkgs.apple-sdk_10_15 super.network - else - super.network; - foldl = overrideCabal (drv: { postPatch = '' # This comment has been inserted, so the derivation hash changes, forcing