Skip to content

pypyPackages & python2Packages cannot instantiate expressions with fixed-point arguments to buildPython* #477098

@doronbehar

Description

@doronbehar

With #271387 and #476965 merged, try to run:

nix-instantiate --show-trace -A pypy2Packages.inject

And get:

error:
       … while evaluating a branch condition
         at /home/doron/repos/nixpkgs/pkgs/development/interpreters/python/passthrufun.nix:43:13:
           42|             name: value:
           43|             if lib.isDerivation value then
             |             ^
           44|               lib.extendDerivation (while calling a functor (an attribute set with a '__functor' attribute)
         at /home/doron/repos/nixpkgs/lib/customisation.nix:334:7:
          333|     if missingArgs == { } then
          334|       makeOverridable f allArgs
             |       ^
          335|     # 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: expected a set but found a function: «lambda @ /home/doron/repos/nixpkgs/pkgs/development/python-modules/inject/default.nix:11:21»

cc @trofi

Metadata

Metadata

Assignees

No one assigned

    Labels

    6.topic: pythonPython is a high-level, general-purpose programming language.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions