From 4bfbd0af14c20ca48eb6a01ed2689103945970f0 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Mon, 15 Nov 2021 16:25:06 +0100 Subject: [PATCH] python3.pkgs.nbclient: remove entry point that is already defined in the jupyter_client package. Fixes https://github.com/NixOS/nixpkgs/issues/145968 --- pkgs/development/python-modules/nbclient/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/nbclient/default.nix b/pkgs/development/python-modules/nbclient/default.nix index b6cfbc51cac0..caf98c420602 100644 --- a/pkgs/development/python-modules/nbclient/default.nix +++ b/pkgs/development/python-modules/nbclient/default.nix @@ -18,6 +18,13 @@ buildPythonPackage rec { checkInputs = [ pytest xmltodict nbconvert ipywidgets ]; propagatedBuildInputs = [ async_generator traitlets nbformat nest-asyncio jupyter-client ]; + postFixup = '' + # Remove until fixed by upstream + # https://github.com/jupyter/nbclient/pull/173#issuecomment-968760082 + rm $out/bin/.jupyter-run-wrapped + rm $out/bin/jupyter-run + ''; + meta = with lib; { homepage = "https://github.com/jupyter/nbclient"; description = "A client library for executing notebooks";