Loading pkgs/development/python-modules/nix-kernel/default.nix +8 −5 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, setuptools, isPy3k, pexpect, notebook, Loading @@ -11,7 +12,7 @@ buildPythonPackage rec { pname = "nix-kernel"; version = "unstable-2020-04-26"; format = "setuptools"; pyproject = true; disabled = !isPy3k; Loading @@ -24,14 +25,16 @@ buildPythonPackage rec { postPatch = '' substituteInPlace nix-kernel/kernel.py \ --replace "'nix'" "'${nix}/bin/nix'" \ --replace "'nix repl'" "'${nix}/bin/nix repl'" --replace-fail "'nix'" "'${nix}/bin/nix'" \ --replace-fail "'nix repl'" "'${nix}/bin/nix repl'" substituteInPlace setup.py \ --replace "cmdclass={'install': install_with_kernelspec}," "" --replace-fail "cmdclass={'install': install_with_kernelspec}," "" ''; propagatedBuildInputs = [ build-system = [ setuptools ]; dependencies = [ pexpect notebook ]; Loading Loading
pkgs/development/python-modules/nix-kernel/default.nix +8 −5 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, setuptools, isPy3k, pexpect, notebook, Loading @@ -11,7 +12,7 @@ buildPythonPackage rec { pname = "nix-kernel"; version = "unstable-2020-04-26"; format = "setuptools"; pyproject = true; disabled = !isPy3k; Loading @@ -24,14 +25,16 @@ buildPythonPackage rec { postPatch = '' substituteInPlace nix-kernel/kernel.py \ --replace "'nix'" "'${nix}/bin/nix'" \ --replace "'nix repl'" "'${nix}/bin/nix repl'" --replace-fail "'nix'" "'${nix}/bin/nix'" \ --replace-fail "'nix repl'" "'${nix}/bin/nix repl'" substituteInPlace setup.py \ --replace "cmdclass={'install': install_with_kernelspec}," "" --replace-fail "cmdclass={'install': install_with_kernelspec}," "" ''; propagatedBuildInputs = [ build-system = [ setuptools ]; dependencies = [ pexpect notebook ]; Loading