about summary refs log tree commit diff
path: root/pkgs/development/python-modules/apipkg
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/apipkg
parent2f34b4b883932f0ee2c1787e704f3915786e8cca (diff)
pkgs/development/python-modules: stdenv.lib -> lib
Diffstat (limited to 'pkgs/development/python-modules/apipkg')
-rw-r--r--pkgs/development/python-modules/apipkg/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/apipkg/default.nix b/pkgs/development/python-modules/apipkg/default.nix
index 88535bb7cf1e0..604c37b42ba1d 100644
--- a/pkgs/development/python-modules/apipkg/default.nix
+++ b/pkgs/development/python-modules/apipkg/default.nix
@@ -22,13 +22,13 @@ buildPythonPackage rec {
   # Failing tests on Python 3
   # https://github.com/pytest-dev/apipkg/issues/17
   checkPhase = let
-    disabledTests = stdenv.lib.optionals isPy3k [
+    disabledTests = lib.optionals isPy3k [
       "test_error_loading_one_element"
       "test_aliasmodule_proxy_methods"
       "test_eagerload_on_bython"
     ];
-    testExpression = stdenv.lib.optionalString (disabledTests != [])
-    "-k 'not ${stdenv.lib.concatStringsSep " and not " disabledTests}'";
+    testExpression = lib.optionalString (disabledTests != [])
+    "-k 'not ${lib.concatStringsSep " and not " disabledTests}'";
   in ''
     py.test ${testExpression}
   '';