mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
haskellPackages.network: remove code for macOS < 11
This reverts commit 2573d499bd
.
This commit is contained in:
parent
90c0ebfc8b
commit
995962f25a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user