mac02: building jvrr2q5zsa5iq3xjfk76x0is3sbxkf1z-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 '/nix/var/nix/builds/nix-15304-1447774291/nix/store/v7vj7fhwfn37sb9f3912rdh72ghh3zl9-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. disabling binary cache 'https://hetzner-cache.numtide.com' for 60 seconds warning: unable to download 'https://hetzner-cache.numtide.com/nix-cache-info': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors from file: /no-cert-file.crt disabling binary cache 'https://cache.numtide.com' for 60 seconds warning: unable to download 'https://cache.numtide.com/nix-cache-info': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors from file: /no-cert-file.crt building '/nix/var/nix/builds/nix-15304-1447774291/nix/store/v7vj7fhwfn37sb9f3912rdh72ghh3zl9-drv-src.drv'... sh: mkdir: command not found error: … while calling the 'resolveGoPackages' builtin at «string»:2:5: 1| 2| builtins.resolveGoPackages { | ^ 3| src = "${derivation { error: Cannot build '/nix/var/nix/builds/nix-15304-1447774291/nix/store/v7vj7fhwfn37sb9f3912rdh72ghh3zl9-drv-src.drv'. Reason: builder failed with exit code 127. Output paths: /nix/var/nix/builds/nix-15304-1447774291/nix/store/h1kp9vaa6aga5ynk47wmdry0x8a6krsy-drv-src OK: warning surfaced for derivation-backed src === Case 3: derivation-backed input under IFD=false → IFDError (Nix gate) === warning: resolveGoPackages: realising derivation '/nix/var/nix/builds/nix-15304-1447774291/nix/store/v7vj7fhwfn37sb9f3912rdh72ghh3zl9-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 '/nix/var/nix/builds/nix-15304-1447774291/nix/store/v7vj7fhwfn37sb9f3912rdh72ghh3zl9-drv-src.drv^out' during evaluation because the option 'allow-import-from-derivation' is disabled OK: Nix's IFD gate still applies === Case 4: a go named by the expression is ignored, never run === warning: resolveGoPackages: the 'go' attribute is ignored; the plugin's built-in Go toolchain is used OK: go ignored with a warning === Case 5: subPackages entries are patterns, never go list flags === error: … while calling the 'resolveGoPackages' builtin at «string»:1:1: 1| builtins.resolveGoPackages { src = "/nix/var/nix/builds/nix-15304-1447774291/torture-project"; subPackages = [ "-export" "-toolexec" "/nix/var/nix/builds/nix-15304-1447774291/planted" "." ]; } | ^ error: resolveGoPackages: resolveGoPackages: package errors: - -export: malformed import path "-export": leading dash - -toolexec: malformed import path "-toolexec": leading dash - /nix/var/nix/builds/nix-15304-1447774291/planted: directory ../planted outside main module or its selected dependencies Hint: your GOMODCACHE may be stale. Run 'go mod download' to populate it. OK: leading-dash entry rejected as a pattern