shell-plugins icon indicating copy to clipboard operation
shell-plugins copied to clipboard

Nix Flake fails to build - unsupported type.

Open shymega opened this issue 5 months ago • 0 comments

op CLI version

2.29.0, but this is related to the Nix Flake.

Nix Flake revision: d36189bf486ff2c4d9275c9ce29ec1aa92eaa4a7.

Goal or desired behavior

Enabling the Nix module.

Current behavior

Currently, I can't enable the Nix home-manager module, as I get an 'unsupported type' error.

Relevant log output

error:
       … while calling the 'head' builtin

         at /nix/store/qkzr5clkyq7j6n43qs5ff73in6c3wacv-source/lib/attrsets.nix:1575:11:

         1574|         || pred here (elemAt values 1) (head values) then
         1575|           head values
             |           ^
         1576|         else

       … while evaluating the attribute 'value'

         at /nix/store/qkzr5clkyq7j6n43qs5ff73in6c3wacv-source/lib/modules.nix:809:9:

          808|     in warnDeprecation opt //
          809|       { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          810|         inherit (res.defsFinal') highestPrio;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: file '/nix/store/7vq82xvpim2bpqffzxfjn9h34sq89yal-op-plugin-list/op/op-daemon.sock' has an unsupported type

shymega avatar Sep 20 '24 09:09 shymega