Skip to content

'batexpe' attribute missing when installing from NUR-Kapack #49

@AysegulDe

Description

@AysegulDe

Description of the bug

Unable to install or list kapack packages related to batexpe: Nix evaluation fails because the batexpe attribute is missing.

Additional information so the bug can be reproduced

  • Nix version: nix-env (Nix) 2.33.1
  • OS: Debian / Forky
  • Command used:
    nix-env -f https://github.com/oar-team/nur-kapack/archive/master.tar.gz -iA batexpe
    

Observed behavior :

Nix fails with: error: attribute 'batexpe' in selection path 'batexpe' not found

Listing related packages also fails: error:

   … while evaluating the attribute 'batexpe-master'
     at /nix/store/zd1h20isia3j81s96la34cbkyijmvm8v-source/default.nix:14:5:
       13|
       14|     batexpe-master = pkgs.callPackage ./pkgs/batexpe/master.nix { batexpe = nur-pkgs.batexpe; };
         |     ^
       15|

   … while calling a functor (an attribute set with a '__functor' attribute)
     at /nix/store/fnyp8nbpm5dlxbqdq9md4jdww3ga3hjl-source/lib/customisation.nix:264:13:
      263|     in if missingArgs == {}
      264|        then makeOverridable f allArgs
         |             ^
      265|        # This needs to be an abort so it can't be caught with `builtins.tryEval`,

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

   error: attribute 'batexpe' missing
   at /nix/store/zd1h20isia3j81s96la34cbkyijmvm8v-source/default.nix:14:77:
       13|
       14|     batexpe-master = pkgs.callPackage ./pkgs/batexpe/master.nix { batexpe = nur-pkgs.batexpe; };
         |                                                                             ^
       15|

Possible fix

It seems that batexpe-master depends on nur-pkgs.batexpe, but this attribute may not be provided or exported. I may be mistaken, but I wanted to report this in case it helps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions