summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2021-11-15 16:25:06 +0100
committerKerstin <kerstin@erictapen.name>2021-11-15 16:50:13 +0100
commit4bfbd0af14c20ca48eb6a01ed2689103945970f0 (patch)
tree9971304e59359aed42e399f24fe28fb6fab7b4ba
parent11952924f1932f7a8a3ed4e4d6dd921b5bf62aef (diff)
downloadnixpkgs-4bfbd0af14c20ca48eb6a01ed2689103945970f0.tar
nixpkgs-4bfbd0af14c20ca48eb6a01ed2689103945970f0.tar.gz
nixpkgs-4bfbd0af14c20ca48eb6a01ed2689103945970f0.tar.bz2
nixpkgs-4bfbd0af14c20ca48eb6a01ed2689103945970f0.tar.lz
nixpkgs-4bfbd0af14c20ca48eb6a01ed2689103945970f0.tar.xz
nixpkgs-4bfbd0af14c20ca48eb6a01ed2689103945970f0.tar.zst
nixpkgs-4bfbd0af14c20ca48eb6a01ed2689103945970f0.zip
python3.pkgs.nbclient: remove entry point
that is already defined in the jupyter_client package.

Fixes https://github.com/NixOS/nixpkgs/issues/145968
-rw-r--r--pkgs/development/python-modules/nbclient/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/nbclient/default.nix b/pkgs/development/python-modules/nbclient/default.nix
index b6cfbc51cac..caf98c42060 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";