python3Packages.sshfs.optional-dependencies.pkcs11: fix thee val

Without the change attribute eval fails as:

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

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

       error: attribute 'python-pkcs11' missing
       at pkgs/development/python-modules/sshfs/default.nix:44:30:
           43|     libnacl = [ asyncssh ] ++ asyncssh.optional-dependencies.libnacl;
           44|     pkcs11 = [ asyncssh ] ++ asyncssh.optional-dependencies.python-pkcs11;
             |                              ^
           45|     pyopenssl = [ asyncssh ] ++ asyncssh.optional-dependencies.pyopenssl;
This commit is contained in:
Sergei Trofimovich
2024-10-05 23:01:57 +01:00
parent b618b95449
commit b2d7ab331d
@@ -41,7 +41,7 @@ buildPythonPackage rec {
fido2 = [ asyncssh ] ++ asyncssh.optional-dependencies.fido2;
gssapi = [ asyncssh ] ++ asyncssh.optional-dependencies.gssapi;
libnacl = [ asyncssh ] ++ asyncssh.optional-dependencies.libnacl;
pkcs11 = [ asyncssh ] ++ asyncssh.optional-dependencies.python-pkcs11;
pkcs11 = [ asyncssh ] ++ asyncssh.optional-dependencies.pkcs11;
pyopenssl = [ asyncssh ] ++ asyncssh.optional-dependencies.pyopenssl;
};