From dc595f1a6bb45eb695a7012e3b5eceaff833ab70 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Tue, 1 Nov 2022 14:19:48 -0500 Subject: [PATCH 1/2] python3Packages.rpyc: disable checks on darwin --- pkgs/development/python-modules/rpyc/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/rpyc/default.nix b/pkgs/development/python-modules/rpyc/default.nix index d9b81ddf5807..5d9c5958bd55 100644 --- a/pkgs/development/python-modules/rpyc/default.nix +++ b/pkgs/development/python-modules/rpyc/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , buildPythonPackage , fetchFromGitHub , hatchling @@ -50,6 +51,8 @@ buildPythonPackage rec { "rpyc" ]; + doCheck = !stdenv.isDarwin; + meta = with lib; { description = "Remote Python Call (RPyC), a transparent and symmetric RPC library"; homepage = "https://rpyc.readthedocs.org"; From a5a7a417e694806939d34286378c4f6041331e44 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Tue, 1 Nov 2022 14:20:09 -0500 Subject: [PATCH 2/2] python3Packages.pwntools: don't wrap gdb on darwin --- pkgs/development/python-modules/pwntools/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pwntools/default.nix b/pkgs/development/python-modules/pwntools/default.nix index 6a20a5d4bf27..dad2c04b0d6f 100644 --- a/pkgs/development/python-modules/pwntools/default.nix +++ b/pkgs/development/python-modules/pwntools/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , buildPythonPackage , debugger , fetchPypi @@ -77,7 +78,7 @@ buildPythonPackage rec { installShellCompletion --bash extra/bash_completion.d/shellcraft ''; - postFixup = '' + postFixup = lib.optionalString (!stdenv.isDarwin) '' mkdir -p "$out/bin" makeWrapper "${debugger}/bin/${debuggerName}" "$out/bin/pwntools-gdb" '';