py-spy: remove code for macOS < 11
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user