these 3 derivations will be built: /nix/store/vh64m9r7kr2lc36588ys774dwzxi9j9d-go2nix-nix-plugin-core-0.1.0.drv /nix/store/pw2w40s5jpzi770760hcxdcq29q2hf2l-go2nix-nix-plugin-0.1.0.drv /nix/store/2h9gd3vq50avhll4r7zhaq0banf2wmdp-go2nix-nix-plugin-eval-test.drv these 39 paths will be fetched (0.0 KiB download, 2.9 GiB unpacked): /nix/store/aamll54wf8wq35y3rd921wjhqg0fzyaq-auditable-cargo-1.95.0 /nix/store/scycr3d0lp0pcq2hvbkndgcrbb0wwpb1-boost-1.89.0-dev /nix/store/f8rxcxfwk1qhazprqnfji401x08xp9dr-cargo-1.95.0 /nix/store/q963vxg8bv57za84ni0ckayn6hzdgcn3-cargo-bootstrap-1.95.0 /nix/store/gghh7xgmlwjhw5n7mj72ry5614dx5g6d-cargo-vendor-dir /nix/store/nkcpxjifkambzlrwh27a8igvhnbchibg-cmake-4.1.2 /nix/store/rhd19c4hy4w9rq3w8hda8fv8w2rbahij-llvm-21.1.8-lib /nix/store/6qk7ai1w44gvxcmy1788nwd645im5yph-nix-2.34.7 /nix/store/gkf69yg11a13ji1wypaid50darbh0h2v-nix-2.34.7-dev /nix/store/vmqlmf45rmwaxyzyb11ka5rs52psnxnl-nix-cmd-2.34.7 /nix/store/rfvsincn8lhfvkpcf19vr3lpv4cj00yq-nix-cmd-2.34.7-dev /nix/store/f8v20d77i4rfdibig5jbd2zxzvdhxki2-nix-expr-2.34.7 /nix/store/0gr6kw79zksnfb2md2k5z0drb0cm1q1b-nix-expr-2.34.7-dev /nix/store/qacn498zm1xprb3xinl4h6plw9888vbr-nix-expr-c-2.34.7 /nix/store/91y48n05kw8jlwazxarc3bxjxnh67cj1-nix-expr-c-2.34.7-dev /nix/store/ivhy4j71mmffpvi48dhcvhqhn02w3sxn-nix-fetchers-2.34.7 /nix/store/03cmzqfafq7pfky8xfjvr4xla6lxkv79-nix-fetchers-2.34.7-dev /nix/store/yl948f3pn93sm2qizm85an26n26dwxi4-nix-fetchers-c-2.34.7 /nix/store/dpqv6ar8sxij3znsrkk3gl1wpb8cprfb-nix-fetchers-c-2.34.7-dev /nix/store/z27dwwf2k03x8jgkyz3ysn8m7ysnyva4-nix-flake-2.34.7 /nix/store/4q12vwv247s7ai63pn0yz8wny272dmhx-nix-flake-2.34.7-dev /nix/store/ghw48i0qc30ga9p2d3s6v35wc75j0v9b-nix-flake-c-2.34.7 /nix/store/6q2j2nwy51dx829sgrfwz1gr8hsffgdl-nix-flake-c-2.34.7-dev /nix/store/mj2g6clrm0wcycgcw8b3pppfblgi4i78-nix-main-2.34.7 /nix/store/c8fglz03blyr15nlvmhrsqg1hvnz2v0k-nix-main-2.34.7-dev /nix/store/93byqiq9f4c3sm58a12fkhvgjihdldc0-nix-main-c-2.34.7 /nix/store/9kpwk603qzi4qd5qvhvp39wnczxgqng5-nix-main-c-2.34.7-dev /nix/store/blgdqkbrrf7c1lpcdsn4593m0xwxi58v-nix-perl-2.34.7 /nix/store/7mwvis1sbjr6ik4xw3p0pcm90llwz4s6-nix-store-2.34.7 /nix/store/qx420mrxcdhxm1j4f4cqpd4i15bvqrbc-nix-store-2.34.7-dev /nix/store/3qj9vanja4hq7jnn5jy4ip3gvpsy37x7-nix-store-c-2.34.7 /nix/store/5881vf7hcv9mgnqhi72pshmba7d9y4wd-nix-store-c-2.34.7-dev /nix/store/wdkb4c0yazc9qf4rj9n0zkyr8k5ilp4y-nix-util-2.34.7-dev /nix/store/x02p3gl4qzx0kfv48c98syqy01vp7x52-nix-util-c-2.34.7-dev /nix/store/2b2ljjfwzw2m74brm8s0q12v2nbqzp5r-rustc-1.95.0 /nix/store/40brdlm8bfy6wc1qs2w9705i7c6y3c8k-rustc-bootstrap-1.95.0 /nix/store/8rjjny9rk8b8bzxbrd7gxkk52wb32cj3-rustc-bootstrap-wrapper-1.95.0 /nix/store/nh052ln9q9r24p3rb6zxiqqjy4anxa56-rustc-wrapper-1.95.0 /nix/store/1qyip45x93bs39qm2vja7rc7h5r39cgy-torture-project-modules-0-unstable-go-modules building '/nix/store/2h9gd3vq50avhll4r7zhaq0banf2wmdp-go2nix-nix-plugin-eval-test.drv' on 'grpc://farm.numtide.com:50051?client-cert=/run/secrets/vars/per-machine/bld1/nix-farm-ci/crt&client-key=/run/secrets/vars/per-machine/bld1/nix-farm-ci/key&connect-timeout=21&system=aarch64-linux' building '/nix/store/2h9gd3vq50avhll4r7zhaq0banf2wmdp-go2nix-nix-plugin-eval-test.drv' on farm.numtide.com:50051 go2nix-nix-plugin-eval-test> elastic-arm-cb9b0b2d: building 2h9gd3vq50avhll4r7zhaq0banf2wmdp-go2nix-nix-plugin-eval-test.drv go2nix-nix-plugin-eval-test> { go2nix-nix-plugin-eval-test> "goVersion": "1.25", go2nix-nix-plugin-eval-test> "hasDrvName": true, go2nix-nix-plugin-eval-test> "hasImports": true, go2nix-nix-plugin-eval-test> "hasLocalDir": true, go2nix-nix-plugin-eval-test> "hasLocalImports": true, go2nix-nix-plugin-eval-test> "hasModKey": true, go2nix-nix-plugin-eval-test> "hasReplMap": true, go2nix-nix-plugin-eval-test> "hasSubdir": true, go2nix-nix-plugin-eval-test> "hasThirdPartyImports": true, go2nix-nix-plugin-eval-test> "localPkgCount": 1, go2nix-nix-plugin-eval-test> "modulePath": "github.com/numtide/go2nix-torture", go2nix-nix-plugin-eval-test> "pkgCount": 242, go2nix-nix-plugin-eval-test> "testPkgCount": 0 go2nix-nix-plugin-eval-test> } go2nix-nix-plugin-eval-test> === Case 2: derivation-backed input warns then realises (IFD allowed) === go2nix-nix-plugin-eval-test> warning: resolveGoPackages: realising derivation '/build/nix/store/zcrm29spp8y6xsj8249cipqrxw2pbpjq-drv-src.drv^out' at eval time (IFD). For IFD-free evaluation, use builtins.fetchTarball/fetchGit for 'src' instead of pkgs.fetchFromGitHub. See go2nix docs: builder-api.md#src. go2nix-nix-plugin-eval-test> warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6) Could not resolve host: cache.nixos.org; retrying in 305 ms (attempt 1/5) go2nix-nix-plugin-eval-test> warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6) Could not resolve host: cache.nixos.org; retrying in 550 ms (attempt 2/5) go2nix-nix-plugin-eval-test> warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6) Could not resolve host: cache.nixos.org; retrying in 1174 ms (attempt 3/5) go2nix-nix-plugin-eval-test> warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6) Could not resolve host: cache.nixos.org; retrying in 2527 ms (attempt 4/5) go2nix-nix-plugin-eval-test> warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6) Could not resolve host: cache.nixos.org go2nix-nix-plugin-eval-test> error: go2nix-nix-plugin-eval-test> … while calling the 'resolveGoPackages' builtin go2nix-nix-plugin-eval-test> at «string»:2:5: go2nix-nix-plugin-eval-test> 1| go2nix-nix-plugin-eval-test> 2| builtins.resolveGoPackages { go2nix-nix-plugin-eval-test> | ^ go2nix-nix-plugin-eval-test> 3| src = "${derivation { go2nix-nix-plugin-eval-test> go2nix-nix-plugin-eval-test> error: `sandbox-build-dir` must not contain the storeDir go2nix-nix-plugin-eval-test> OK: warning surfaced for derivation-backed src go2nix-nix-plugin-eval-test> === Case 3: derivation-backed input under IFD=false → IFDError (Nix gate) === go2nix-nix-plugin-eval-test> warning: resolveGoPackages: realising derivation '/build/nix/store/zcrm29spp8y6xsj8249cipqrxw2pbpjq-drv-src.drv^out' at eval time (IFD). For IFD-free evaluation, use builtins.fetchTarball/fetchGit for 'src' instead of pkgs.fetchFromGitHub. See go2nix docs: builder-api.md#src. go2nix-nix-plugin-eval-test> error: go2nix-nix-plugin-eval-test> … while calling the 'resolveGoPackages' builtin go2nix-nix-plugin-eval-test> at «string»:2:5: go2nix-nix-plugin-eval-test> 1| go2nix-nix-plugin-eval-test> 2| builtins.resolveGoPackages { go2nix-nix-plugin-eval-test> | ^ go2nix-nix-plugin-eval-test> 3| src = "${derivation { go2nix-nix-plugin-eval-test> go2nix-nix-plugin-eval-test> error: cannot build '/build/nix/store/zcrm29spp8y6xsj8249cipqrxw2pbpjq-drv-src.drv^out' during evaluation because the option 'allow-import-from-derivation' is disabled go2nix-nix-plugin-eval-test> OK: Nix's IFD gate still applies go2nix-nix-plugin-eval-test> === Case 4: a go named by the expression is ignored, never run === go2nix-nix-plugin-eval-test> warning: resolveGoPackages: the 'go' attribute is ignored; the plugin's built-in Go toolchain is used go2nix-nix-plugin-eval-test> OK: go ignored with a warning go2nix-nix-plugin-eval-test> === Case 5: subPackages entries are patterns, never go list flags === go2nix-nix-plugin-eval-test> error: go2nix-nix-plugin-eval-test> … while calling the 'resolveGoPackages' builtin go2nix-nix-plugin-eval-test> at «string»:1:1: go2nix-nix-plugin-eval-test> 1| builtins.resolveGoPackages { src = "/build/torture-project"; subPackages = [ "-export" "-toolexec" "/build/planted" "." ]; } go2nix-nix-plugin-eval-test> | ^ go2nix-nix-plugin-eval-test> go2nix-nix-plugin-eval-test> error: resolveGoPackages: resolveGoPackages: package errors: go2nix-nix-plugin-eval-test> - -export: malformed import path "-export": leading dash go2nix-nix-plugin-eval-test> - -toolexec: malformed import path "-toolexec": leading dash go2nix-nix-plugin-eval-test> - /build/planted: directory ../planted outside main module or its selected dependencies go2nix-nix-plugin-eval-test> Hint: your GOMODCACHE may be stale. Run 'go mod download' to populate it. go2nix-nix-plugin-eval-test> OK: leading-dash entry rejected as a pattern upload niks3: ok