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

Infinite recursion error #28

Open
DanLipsitt opened this issue Jan 2, 2021 · 1 comment
Open

Infinite recursion error #28

DanLipsitt opened this issue Jan 2, 2021 · 1 comment

Comments

@DanLipsitt
Copy link

I'm trying to compile for BeagleBone on MacOS. I'm new to Nix, so maybe this is too many things to try to do at once. I'm not sure how to debug this error further.

commit 7709513b41b0c1c50ed5b4e3b3644cd34b26652c (HEAD, tag: 0.7.0, origin/master, origin/HEAD)

$ nix build -f . -I nixpkgs=nixpkgs -I machine=machines/beaglebone -I image=images/micro --show-trace
error: while evaluating the attribute 'buildCommand' of the derivation 'nixos-on-beaglebone-19.09pre-git-armv7l-linux.img-armv7l-unknown-linux-gnueabihf' at /Users/dan/nixos-on-arm/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:196:11:
while evaluating the attribute 'buildCommand' of the derivation 'ext4-fs.img-armv7l-unknown-linux-gnueabihf' at /Users/dan/nixos-on-arm/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:196:11:
while evaluating the attribute 'PATH' of the derivation 'closure-info' at /Users/dan/nixos-on-arm/nixpkgs/pkgs/build-support/closure-info.nix:14:3:
while evaluating the attribute '__impureHostDeps' of the derivation 'coreutils-8.31' at /Users/dan/nixos-on-arm/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:190:11:
while evaluating 'unique' at /Users/dan/nixos-on-arm/nixpkgs/lib/lists.nix:630:12, called from /Users/dan/nixos-on-arm/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:173:9:
while evaluating anonymous function at /Users/dan/nixos-on-arm/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:173:36, called from /Users/dan/nixos-on-arm/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:173:21:
while evaluating the attribute 'bash' at /Users/dan/nixos-on-arm/nixpkgs/pkgs/top-level/all-packages.nix:6735:3:
while evaluating 'addMetaAttrs' at /Users/dan/nixos-on-arm/nixpkgs/lib/meta.nix:15:28, called from /Users/dan/nixos-on-arm/nixpkgs/pkgs/top-level/all-packages.nix:6735:10:
while evaluating 'callPackageWith' at /Users/dan/nixos-on-arm/nixpkgs/lib/customisation.nix:108:35, called from /Users/dan/nixos-on-arm/nixpkgs/pkgs/top-level/all-packages.nix:6735:19:
while evaluating 'makeOverridable' at /Users/dan/nixos-on-arm/nixpkgs/lib/customisation.nix:67:24, called from /Users/dan/nixos-on-arm/nixpkgs/lib/customisation.nix:112:8:
while evaluating anonymous function at /Users/dan/nixos-on-arm/nixpkgs/pkgs/shells/bash/4.4.nix:1:1, called from /Users/dan/nixos-on-arm/nixpkgs/lib/customisation.nix:69:12:
while evaluating 'wrapBintoolsWith' at /Users/dan/nixos-on-arm/nixpkgs/pkgs/top-level/all-packages.nix:7901:5, called from /Users/dan/nixos-on-arm/nixpkgs/pkgs/top-level/all-packages.nix:8636:14:
while evaluating 'callPackageWith' at /Users/dan/nixos-on-arm/nixpkgs/lib/customisation.nix:108:35, called from /Users/dan/nixos-on-arm/nixpkgs/pkgs/top-level/all-packages.nix:7905:7:
while evaluating 'makeOverridable' at /Users/dan/nixos-on-arm/nixpkgs/lib/customisation.nix:67:24, called from /Users/dan/nixos-on-arm/nixpkgs/lib/customisation.nix:112:8:
while evaluating anonymous function at /Users/dan/nixos-on-arm/nixpkgs/pkgs/build-support/bintools-wrapper/default.nix:8:1, called from /Users/dan/nixos-on-arm/nixpkgs/lib/customisation.nix:69:12:
while evaluating the attribute 'cc.nativeTools' at /Users/dan/nixos-on-arm/nixpkgs/pkgs/stdenv/generic/default.nix:148:14:
while evaluating anonymous function at /Users/dan/nixos-on-arm/nixpkgs/pkgs/build-support/cc-wrapper/default.nix:8:1, called from /Users/dan/nixos-on-arm/nixpkgs/pkgs/stdenv/darwin/default.nix:84:49:
while evaluating the attribute 'installPhase' of the derivation 'Libsystem-osx-10.11.6' at /Users/dan/nixos-on-arm/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/default.nix:153:5:
while evaluating the attribute 'buildInputs' of the derivation 'xnu-osx-10.11.6' at /Users/dan/nixos-on-arm/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/default.nix:153:5:
while evaluating the attribute 'nativeBuildInputs' of the derivation 'bootstrap_cmds-dev-tools-7.0' at /Users/dan/nixos-on-arm/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/default.nix:153:5:
while evaluating the attribute 'nativeBuildInputs' of the derivation 'bison-3.3.2' at /Users/dan/nixos-on-arm/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:190:11:
while evaluating the attribute 'postPatch' of the derivation 'perl-5.28.1' at /Users/dan/nixos-on-arm/nixpkgs/pkgs/development/interpreters/perl/default.nix:30:5:
while evaluating the attribute 'nativeBuildInputs' of the derivation 'coreutils-8.31' at /Users/dan/nixos-on-arm/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:190:11:
infinite recursion encountered, at undefined position
@bensleveritt
Copy link

I have the same error for RPi Zero.

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