{ "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-98131-2642844339/nix/store/1bsl4n0y8cwjjaqxrbi7r8xfcdba9r5i-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-98131-2642844339/nix/store/1bsl4n0y8cwjjaqxrbi7r8xfcdba9r5i-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-98131-2642844339/nix/store/1bsl4n0y8cwjjaqxrbi7r8xfcdba9r5i-drv-src.drv'. Reason: builder failed with exit code 127. Output paths: /nix/var/nix/builds/nix-98131-2642844339/nix/store/wjjqp733b8pwdwcyf1gzyzblmcb0mx8v-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-98131-2642844339/nix/store/1bsl4n0y8cwjjaqxrbi7r8xfcdba9r5i-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-98131-2642844339/nix/store/1bsl4n0y8cwjjaqxrbi7r8xfcdba9r5i-drv-src.drv^out' during evaluation because the option 'allow-import-from-derivation' is disabled OK: Nix's IFD gate still applies