bld3: building fjpgva448qy2ggj5lq32rfzx9i2h0n10-go2nix-nix-plugin-eval-test.drv { "goVersion": "1.25", "hasDrvName": true, "hasImports": true, "hasLocalDir": true, "hasLocalImports": true, "hasModKey": true, "hasReplMap": true, "hasSubdir": true, "hasThirdPartyImports": true, "localPkgCount": 1, "modulePath": "github.com/numtide/go2nix-torture", "pkgCount": 242, "testPkgCount": 0 } === Case 2: derivation-backed input warns then realises (IFD allowed) === 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. 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 334 ms (attempt 1/5) 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 567 ms (attempt 2/5) 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 1242 ms (attempt 3/5) 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 2576 ms (attempt 4/5) warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6) Could not resolve host: cache.nixos.org error: … while calling the 'resolveGoPackages' builtin at «string»:2:5: 1| 2| builtins.resolveGoPackages { | ^ 3| src = "${derivation { error: `sandbox-build-dir` must not contain the storeDir OK: warning surfaced for derivation-backed src === Case 3: derivation-backed input under IFD=false → IFDError (Nix gate) === 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. error: … while calling the 'resolveGoPackages' builtin at «string»:2:5: 1| 2| builtins.resolveGoPackages { | ^ 3| src = "${derivation { error: cannot build '/build/nix/store/zcrm29spp8y6xsj8249cipqrxw2pbpjq-drv-src.drv^out' during evaluation because the option 'allow-import-from-derivation' is disabled OK: Nix's IFD gate still applies