# Pastebin 3LcfUfZR ❯ nix-shell -I nixpkgs=. -p pkgsCross.aarch64-android.zlib --show-trace error: infinite recursion encountered at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/stdenv/generic/default.nix:75:22: 74| # TODO use lib.optional instead 75| (if hasCC then cc else null) | ^ 76| ]; … while evaluating the attribute 'defaultNativeBuildInputs' of the derivation 'stdenv-linux' at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/stdenv/generic/default.nix:88:14: 87| // { 88| inherit name; | ^ 89| … while evaluating the attribute 'stdenv' of the derivation 'gnum4-1.4.18-aarch64-unknown-linux-android' at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:203:11: 202| # hash can't be the same. See #32986. 203| name = "${attrs.name or "${attrs.pname}-${attrs.version}"}-${stdenv.hostPlatform.config}"; | ^ 204| } // { … while evaluating the attribute 'propagatedBuildInputs' of the derivation 'bison-3.7.6-aarch64-unknown-linux-android' at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:203:11: 202| # hash can't be the same. See #32986. 203| name = "${attrs.name or "${attrs.pname}-${attrs.version}"}-${stdenv.hostPlatform.config}"; | ^ 204| } // { … while evaluating the attribute 'nativeBuildInputs' of the derivation 'linux-headers-android-common-4.9-q-release' at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:197:11: 196| // (lib.optionalAttrs (!(attrs ? name) && attrs ? pname && attrs ? version)) { 197| name = "${attrs.pname}-${attrs.version}"; | ^ 198| } // (lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform && !dontAddHostSuffix && (attrs ? name || (attrs ? pname && attrs ? version)))) { … while evaluating the attribute 'installPhase' of the derivation 'bionic-prebuilt-ndk-release-r23' at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:197:11: 196| // (lib.optionalAttrs (!(attrs ? name) && attrs ? pname && attrs ? version)) { 197| name = "${attrs.pname}-${attrs.version}"; | ^ 198| } // (lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform && !dontAddHostSuffix && (attrs ? name || (attrs ? pname && attrs ? version)))) { … while evaluating anonymous lambda at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/build-support/cc-wrapper/default.nix:8:1: 7| 8| { name ? "" | ^ 9| , lib … from call site at /home/shmaryar/data/sdd1/src/nixpkgs/lib/customisation.nix:69:16: 68| let 69| result = f origArgs; | ^ 70| … while evaluating 'makeOverridable' at /home/shmaryar/data/sdd1/src/nixpkgs/lib/customisation.nix:67:24: 66| */ 67| makeOverridable = f: origArgs: | ^ 68| let … from call site at /home/shmaryar/data/sdd1/src/nixpkgs/lib/customisation.nix:121:8: 120| auto = builtins.intersectAttrs (lib.functionArgs f) autoArgs; 121| in makeOverridable f (auto // args); | ^ 122| … while evaluating 'callPackageWith' at /home/shmaryar/data/sdd1/src/nixpkgs/lib/customisation.nix:117:35: 116| */ 117| callPackageWith = autoArgs: fn: args: | ^ 118| let … from call site at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/top-level/all-packages.nix:11350:7: 11349| } @ extraArgs: 11350| callPackage ../build-support/cc-wrapper (let self = { | ^ 11351| nativeTools = stdenv.targetPlatform == stdenv.hostPlatform && stdenv.cc.nativeTools or false; … while evaluating 'wrapCCWith' at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/top-level/all-packages.nix:11336:5: 11335| wrapCCWith = 11336| { cc | ^ 11337| , # This should be the only bintools runtime dep with this sort of logic. The … from call site at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/development/compilers/llvm/11/default.nix:95:16: 94| 95| lldClang = wrapCCWith rec { | ^ 96| cc = tools.clang-unwrapped; … while evaluating the attribute 'llvmPackages.lldClang' at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/development/compilers/llvm/11/default.nix:95:5: 94| 95| lldClang = wrapCCWith rec { | ^ 96| cc = tools.clang-unwrapped; … while evaluating the attribute 'cc.targetPrefix' at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/stdenv/generic/default.nix:166:14: 165| 166| inherit cc hasCC; | ^ 167| } … while evaluating the attribute 'makeFlags' of the derivation 'zlib-1.2.11-aarch64-unknown-linux-android' at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:203:11: 202| # hash can't be the same. See #32986. 203| name = "${attrs.name or "${attrs.pname}-${attrs.version}"}-${stdenv.hostPlatform.config}"; | ^ 204| } // { … while evaluating the attribute 'buildInputs' of the derivation 'shell' at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/build-support/trivial-builders.nix:76:7: 75| stdenv.mkDerivation ({ 76| name = lib.strings.sanitizeDerivationName name; | ^ 77| inherit buildCommand; nixpkgs on  android_non_prebuilt via 🐍 v3.9.2 (default3) ❯ git blame /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/development/compilers/llvm/11/default.nix nixpkgs on  android_non_prebuilt via 🐍 v3.9.2 (default3)took 1m40s ❯ git log /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/development/compilers/llvm/11/default.nix nixpkgs on  android_non_prebuilt via 🐍 v3.9.2 (default3)took 52s ❯ nix-shell -I nixpkgs=. -p pkgsCross.aarch64-android.zlib --show-trace error: infinite recursion encountered at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/stdenv/generic/default.nix:75:22: 74| # TODO use lib.optional instead 75| (if hasCC then cc else null) | ^ 76| ]; … while evaluating the attribute 'defaultNativeBuildInputs' of the derivation 'stdenv-linux' at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/stdenv/generic/default.nix:88:14: 87| // { 88| inherit name; | ^ 89| … while evaluating the attribute 'stdenv' of the derivation 'gnum4-1.4.18-aarch64-unknown-linux-android' at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:203:11: 202| # hash can't be the same. See #32986. 203| name = "${attrs.name or "${attrs.pname}-${attrs.version}"}-${stdenv.hostPlatform.config}"; | ^ 204| } // { … while evaluating the attribute 'propagatedBuildInputs' of the derivation 'bison-3.7.6-aarch64-unknown-linux-android' at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:203:11: 202| # hash can't be the same. See #32986. 203| name = "${attrs.name or "${attrs.pname}-${attrs.version}"}-${stdenv.hostPlatform.config}"; | ^ 204| } // { … while evaluating the attribute 'nativeBuildInputs' of the derivation 'linux-headers-android-common-4.9-q-release' at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:197:11: 196| // (lib.optionalAttrs (!(attrs ? name) && attrs ? pname && attrs ? version)) { 197| name = "${attrs.pname}-${attrs.version}"; | ^ 198| } // (lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform && !dontAddHostSuffix && (attrs ? name || (attrs ? pname && attrs ? version)))) { … while evaluating the attribute 'installPhase' of the derivation 'bionic-prebuilt-ndk-release-r23' at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:197:11: 196| // (lib.optionalAttrs (!(attrs ? name) && attrs ? pname && attrs ? version)) { 197| name = "${attrs.pname}-${attrs.version}"; | ^ 198| } // (lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform && !dontAddHostSuffix && (attrs ? name || (attrs ? pname && attrs ? version)))) { … while evaluating anonymous lambda at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/build-support/cc-wrapper/default.nix:8:1: 7| 8| { name ? "" | ^ 9| , lib … from call site at /home/shmaryar/data/sdd1/src/nixpkgs/lib/customisation.nix:69:16: 68| let 69| result = f origArgs; | ^ 70| … while evaluating 'makeOverridable' at /home/shmaryar/data/sdd1/src/nixpkgs/lib/customisation.nix:67:24: 66| */ 67| makeOverridable = f: origArgs: | ^ 68| let … from call site at /home/shmaryar/data/sdd1/src/nixpkgs/lib/customisation.nix:121:8: 120| auto = builtins.intersectAttrs (lib.functionArgs f) autoArgs; 121| in makeOverridable f (auto // args); | ^ 122| … while evaluating 'callPackageWith' at /home/shmaryar/data/sdd1/src/nixpkgs/lib/customisation.nix:117:35: 116| */ 117| callPackageWith = autoArgs: fn: args: | ^ 118| let … from call site at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/top-level/all-packages.nix:11350:7: 11349| } @ extraArgs: 11350| callPackage ../build-support/cc-wrapper (let self = { | ^ 11351| nativeTools = stdenv.targetPlatform == stdenv.hostPlatform && stdenv.cc.nativeTools or false; … while evaluating 'wrapCCWith' at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/top-level/all-packages.nix:11336:5: 11335| wrapCCWith = 11336| { cc | ^ 11337| , # This should be the only bintools runtime dep with this sort of logic. The … from call site at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/development/compilers/llvm/11/default.nix:95:16: 94| 95| lldClang = wrapCCWith rec { | ^ 96| cc = tools.clang-unwrapped; … while evaluating the attribute 'llvmPackages.lldClang' at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/development/compilers/llvm/11/default.nix:95:5: 94| 95| lldClang = wrapCCWith rec { | ^ 96| cc = tools.clang-unwrapped; … while evaluating the attribute 'cc.targetPrefix' at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/stdenv/generic/default.nix:166:14: 165| 166| inherit cc hasCC; | ^ 167| } … while evaluating the attribute 'makeFlags' of the derivation 'zlib-1.2.11-aarch64-unknown-linux-android' at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:203:11: 202| # hash can't be the same. See #32986. 203| name = "${attrs.name or "${attrs.pname}-${attrs.version}"}-${stdenv.hostPlatform.config}"; | ^ 204| } // { … while evaluating the attribute 'buildInputs' of the derivation 'shell' at /home/shmaryar/data/sdd1/src/nixpkgs/pkgs/build-support/trivial-builders.nix:76:7: 75| stdenv.mkDerivation ({ 76| name = lib.strings.sanitizeDerivationName name; | ^ 77| inherit buildCommand;