Skip to content

Instantly share code, notes, and snippets.

@s1341
Created April 24, 2023 15:02
Show Gist options
  • Save s1341/3c2df0379ea01c2e757d2874fc641f7e to your computer and use it in GitHub Desktop.
Save s1341/3c2df0379ea01c2e757d2874fc641f7e to your computer and use it in GitHub Desktop.
error:
… while evaluating the attribute 'buildInputs' of the derivation 'nix-shell-x86_64-w64-mingw32'
at /nix/store/49hikfbih9n03lfggqc6axlvb1ax7wl2-nixos/nixos/pkgs/stdenv/generic/make-derivation.nix:302:7:
301| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
302| name =
| ^
303| let
… while evaluating the attribute 'makeFlags' of the derivation 'pthreads-w32-x86_64-w64-mingw32-2.9.1'
at /nix/store/49hikfbih9n03lfggqc6axlvb1ax7wl2-nixos/nixos/pkgs/stdenv/generic/make-derivation.nix:302:7:
301| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
302| name =
| ^
303| let
… while evaluating the attribute 'cc.targetPrefix'
at /nix/store/49hikfbih9n03lfggqc6axlvb1ax7wl2-nixos/nixos/pkgs/stdenv/generic/default.nix:165:14:
164|
165| inherit cc hasCC;
| ^
166|
… while evaluating the attribute 'llvmPackages.clangUseLLVM'
at /nix/store/49hikfbih9n03lfggqc6axlvb1ax7wl2-nixos/nixos/pkgs/development/compilers/llvm/14/default.nix:163:5:
162|
163| clangUseLLVM = wrapCCWith rec {
| ^
164| cc = tools.clang-unwrapped;
… while evaluating call site
at /nix/store/49hikfbih9n03lfggqc6axlvb1ax7wl2-nixos/nixos/pkgs/development/compilers/llvm/14/default.nix:163:20:
162|
163| clangUseLLVM = wrapCCWith rec {
| ^
164| cc = tools.clang-unwrapped;
… while calling 'wrapCCWith'
at /nix/store/49hikfbih9n03lfggqc6axlvb1ax7wl2-nixos/nixos/pkgs/top-level/all-packages.nix:16417:5:
16416| wrapCCWith =
16417| { cc
| ^
16418| , # This should be the only bintools runtime dep with this sort of logic. The
… while evaluating call site
at /nix/store/49hikfbih9n03lfggqc6axlvb1ax7wl2-nixos/nixos/pkgs/top-level/all-packages.nix:16436:7:
16435| } @ extraArgs:
16436| callPackage ../build-support/cc-wrapper (let self = {
| ^
16437| nativeTools = stdenv.targetPlatform == stdenv.hostPlatform && stdenv.cc.nativeTools or false;
… while calling 'callPackageWith'
at /nix/store/49hikfbih9n03lfggqc6axlvb1ax7wl2-nixos/nixos/lib/customisation.nix:128:35:
127| */
128| callPackageWith = autoArgs: fn: args:
| ^
129| let
… while evaluating call site
at /nix/store/49hikfbih9n03lfggqc6axlvb1ax7wl2-nixos/nixos/lib/customisation.nix:179:34:
178|
179| in if missingArgs == [] then makeOverridable f allArgs else abort error;
| ^
180|
… while calling 'makeOverridable'
at /nix/store/49hikfbih9n03lfggqc6axlvb1ax7wl2-nixos/nixos/lib/customisation.nix:78:24:
77| */
78| makeOverridable = f: origArgs:
| ^
79| let
… while evaluating call site
at /nix/store/49hikfbih9n03lfggqc6axlvb1ax7wl2-nixos/nixos/lib/customisation.nix:80:16:
79| let
80| result = f origArgs;
| ^
81|
… while calling anonymous lambda
at /nix/store/49hikfbih9n03lfggqc6axlvb1ax7wl2-nixos/nixos/pkgs/build-support/cc-wrapper/default.nix:8:1:
7|
8| { name ? ""
| ^
9| , lib
… while evaluating the attribute 'stdenv' of the derivation 'mingw-w64-x86_64-w64-mingw32-10.0.0'
at /nix/store/49hikfbih9n03lfggqc6axlvb1ax7wl2-nixos/nixos/pkgs/stdenv/generic/make-derivation.nix:302:7:
301| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
302| name =
| ^
303| let
… while evaluating the attribute 'defaultNativeBuildInputs' of the derivation 'stdenv-linux'
at /nix/store/49hikfbih9n03lfggqc6axlvb1ax7wl2-nixos/nixos/pkgs/stdenv/generic/default.nix:93:14:
92| // {
93| inherit name;
| ^
94| inherit disallowedRequisites;
… while evaluating the attribute 'depsTargetTargetPropagated' of the derivation 'x86_64-w64-mingw32-clang-wrapper-14.0.6'
at /nix/store/49hikfbih9n03lfggqc6axlvb1ax7wl2-nixos/nixos/pkgs/stdenv/generic/make-derivation.nix:302:7:
301| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
302| name =
| ^
303| let
… while evaluating the attribute 'cmakeFlags' of the derivation 'compiler-rt-libc-x86_64-w64-mingw32-14.0.6'
at /nix/store/49hikfbih9n03lfggqc6axlvb1ax7wl2-nixos/nixos/pkgs/stdenv/generic/make-derivation.nix:302:7:
301| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
302| name =
| ^
303| let
… while evaluating the attribute 'stdenv' of the derivation 'libxcrypt-x86_64-w64-mingw32-4.4.33'
at /nix/store/49hikfbih9n03lfggqc6axlvb1ax7wl2-nixos/nixos/pkgs/stdenv/generic/make-derivation.nix:302:7:
301| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
302| name =
| ^
303| let
… while evaluating the attribute 'defaultNativeBuildInputs' of the derivation 'stdenv-linux'
at /nix/store/49hikfbih9n03lfggqc6axlvb1ax7wl2-nixos/nixos/pkgs/stdenv/generic/default.nix:93:14:
92| // {
93| inherit name;
| ^
94| inherit disallowedRequisites;
error: infinite recursion encountered
at /nix/store/49hikfbih9n03lfggqc6axlvb1ax7wl2-nixos/nixos/pkgs/stdenv/generic/default.nix:126:14:
125|
126| inherit initialPath shell
| ^
127| defaultNativeBuildInputs defaultBuildInputs;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment