From b2d7ab331d862f734ba3be5d05735aca6eb872c6 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 5 Oct 2024 23:01:35 +0100 Subject: [PATCH] python3Packages.sshfs.optional-dependencies.pkcs11: fix thee val MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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; --- pkgs/development/python-modules/sshfs/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/sshfs/default.nix b/pkgs/development/python-modules/sshfs/default.nix index 451976c79b52..f641bed4ef74 100644 --- a/pkgs/development/python-modules/sshfs/default.nix +++ b/pkgs/development/python-modules/sshfs/default.nix @@ -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; };