From f9172bb670d2884d4f69fa076e40e99883308756 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Mon, 12 Aug 2024 02:32:17 +0200 Subject: [PATCH] python311Packages.jupyterlab-execute-time: modernize --- .../jupyterlab-execute-time/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/jupyterlab-execute-time/default.nix b/pkgs/development/python-modules/jupyterlab-execute-time/default.nix index 8af2907fe092..f2efc2e7d5e8 100644 --- a/pkgs/development/python-modules/jupyterlab-execute-time/default.nix +++ b/pkgs/development/python-modules/jupyterlab-execute-time/default.nix @@ -1,8 +1,9 @@ -{ lib -, buildPythonPackage -, fetchPypi -, jupyterlab -, jupyter-packaging +{ + lib, + buildPythonPackage, + fetchPypi, + jupyterlab, + jupyter-packaging, }: buildPythonPackage rec { @@ -19,7 +20,7 @@ buildPythonPackage rec { # jupyterlab is required to build from source but we use the pre-build package postPatch = '' substituteInPlace pyproject.toml \ - --replace '"jupyterlab~=4.0.0"' "" + --replace-fail '"jupyterlab~=4.0.0"' "" ''; dependencies = [