py-spy: remove code for macOS < 11

This commit is contained in:
Emily
2025-01-05 20:57:36 +00:00
parent bb698ad42a
commit e375360a4b
@@ -1,6 +1,5 @@
{ lib
, stdenv
, darwin
, fetchFromGitHub
, libunwind
, python3
@@ -30,11 +29,6 @@ rustPlatform.buildRustPackage rec {
python3
];
buildInputs = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
# Pull a header that contains a definition of proc_pid_rusage().
darwin.apple_sdk_11_0.Libsystem
];
env.NIX_CFLAGS_COMPILE = "-L${libunwind}/lib";
checkFlags = [