about summary refs log tree commit diff
path: root/pkgs/development/python-modules/cherrypy
diff options
context:
space:
mode:
authorPavol Rusnak <pavol@rusnak.io>2021-01-24 01:29:22 +0100
committerPavol Rusnak <pavol@rusnak.io>2021-01-24 01:29:22 +0100
commita4bbfba80dbdccf7c3d3ac64fc7afa2494cf743a (patch)
tree3130d7196a32753da705075e39ed2a2d6673a9f2 /pkgs/development/python-modules/cherrypy
parent2f34b4b883932f0ee2c1787e704f3915786e8cca (diff)
pkgs/development/python-modules: stdenv.lib -> lib
Diffstat (limited to 'pkgs/development/python-modules/cherrypy')
-rw-r--r--pkgs/development/python-modules/cherrypy/17.nix2
-rw-r--r--pkgs/development/python-modules/cherrypy/default.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/cherrypy/17.nix b/pkgs/development/python-modules/cherrypy/17.nix
index 9982db19f3815..2ee8eb3bd0caf 100644
--- a/pkgs/development/python-modules/cherrypy/17.nix
+++ b/pkgs/development/python-modules/cherrypy/17.nix
@@ -25,7 +25,7 @@ buildPythonPackage rec {
   ];
 
   checkPhase = ''
-    pytest ${stdenv.lib.optionalString stdenv.isDarwin "--ignore=cherrypy/test/test_wsgi_unix_socket.py"}
+    pytest ${lib.optionalString stdenv.isDarwin "--ignore=cherrypy/test/test_wsgi_unix_socket.py"}
   '';
 
   meta = with lib; {
diff --git a/pkgs/development/python-modules/cherrypy/default.nix b/pkgs/development/python-modules/cherrypy/default.nix
index 76fd780e52312..8a915d520e5cb 100644
--- a/pkgs/development/python-modules/cherrypy/default.nix
+++ b/pkgs/development/python-modules/cherrypy/default.nix
@@ -41,7 +41,7 @@ buildPythonPackage rec {
       -k 'not KeyboardInterrupt and not daemonize and not Autoreload' \
       --deselect=cherrypy/test/test_static.py::StaticTest::test_null_bytes \
       --deselect=cherrypy/test/test_tools.py::ToolTests::testCombinedTools \
-      ${stdenv.lib.optionalString stdenv.isDarwin
+      ${lib.optionalString stdenv.isDarwin
         "--deselect=cherrypy/test/test_bus.py::BusMethodTests::test_block"}
   '';