Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: infinite recursion encountered # nix run github:nix-community/dream2nix#__pythonEnv extract-msg #929

Open
InLaw opened this issue Apr 14, 2024 · 2 comments

Comments

@InLaw
Copy link
Contributor

InLaw commented Apr 14, 2024

nix run github:nix-community/dream2nix#__pythonEnv extract-msg

🔒 Lock successful
Changes are written to pdm.lock.
warning: creating lock file '/tmp/tmp.A5UM59kIcP/flake.lock'
error:
       … while calling the 'derivationStrict' builtin

         at /builtin/derivation.nix:9:12: (source not available)

       … while evaluating derivation 'nix-shell'
         whose name attribute is located at /nix/store/5miwlcqwb8gzva4i1nch4vsg62f7d6p0-source/pkgs/stdenv/generic/make-derivation.nix:331:7

       … while evaluating attribute 'nativeBuildInputs' of derivation 'nix-shell'

         at /nix/store/5miwlcqwb8gzva4i1nch4vsg62f7d6p0-source/pkgs/stdenv/generic/make-derivation.nix:375:7:

          374|       depsBuildBuild              = elemAt (elemAt dependencies 0) 0;
          375|       nativeBuildInputs           = elemAt (elemAt dependencies 0) 1;
             |       ^
          376|       depsBuildTarget             = elemAt (elemAt dependencies 0) 2;

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

       error: infinite recursion encountered

       at «none»:0: (source not available)

@purepani
Copy link
Contributor

I've also been getting this issue on my pdm environments that have previously worked; I'll try and look into this once I get time today

@purepani
Copy link
Contributor

purepani commented May 27, 2024

Looks like this is caused by a circular dependency between oletools and pcodedmp.
Nixpkgs works around it by just removing oletools as a dependency from pcodedmp.

See decalage2/oletools#820 and bontchev/pcodedmp#24, as well as the nixpkgs workaround at https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/python-modules/pcodedmp/default.nix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants