Commit 2443ad21 authored by Sergei Trofimovich's avatar Sergei Trofimovich
Browse files

python3Packages.sshfs.optional-dependencies.pyopenssl: fix the eval

Without the change the eval fails as:

    nix-repl> python3Packages.sshfs.optional-dependencies.pyopenssl
    error:
       … while evaluating the attribute 'sshfs.optional-dependencies.pyopenssl'
         at pkgs/development/python-modules/sshfs/default.nix:45:5:
           44|     pkcs11 = [ asyncssh ] ++ asyncssh.optional-dependencies.pkcs11;
           45|     pyopenssl = [ asyncssh ] ++ asyncssh.optional-dependencies.pyopenssl;
             |     ^
           46|   };

       … while evaluating the attribute 'optional-dependencies.pyopenssl'
         at pkgs/development/interpreters/python/mk-python-derivation.nix:229:15:
          228|     // optionalAttrs (optional-dependencies != {}) {
          229|       inherit optional-dependencies;
             |               ^
          230|     }

       error: attribute 'pyopenssl' missing
       at pkgs/development/python-modules/sshfs/default.nix:45:33:
           44|     pkcs11 = [ asyncssh ] ++ asyncssh.optional-dependencies.pkcs11;
           45|     pyopenssl = [ asyncssh ] ++ asyncssh.optional-dependencies.pyopenssl;
             |                                 ^
           46|   };
parent 8ab1d552
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ buildPythonPackage rec {
    gssapi = [ asyncssh ] ++ asyncssh.optional-dependencies.gssapi;
    libnacl = [ asyncssh ] ++ asyncssh.optional-dependencies.libnacl;
    pkcs11 = [ asyncssh ] ++ asyncssh.optional-dependencies.pkcs11;
    pyopenssl = [ asyncssh ] ++ asyncssh.optional-dependencies.pyopenssl;
    pyopenssl = [ asyncssh ] ++ asyncssh.optional-dependencies.pyOpenSSL;
  };

  __darwinAllowLocalNetworking = true;