diff --git a/src/nimble.nim b/src/nimble.nim index 2a7c04f..fbe605f 100644 --- a/src/nimble.nim +++ b/src/nimble.nim @@ -255,6 +255,7 @@ proc processDeps(pkginfo: PackageInfo, options: Options): seq[string] = ## ## Returns the list of paths to pass to the compiler during build phase. result = @[] + assert(not pkginfo.isMinimal, "processDeps needs pkginfo.requires") let pkglist = getInstalledPkgs(options.getPkgsDir(), options) var reverseDeps: seq[tuple[name, version: string]] = @[] for dep in pkginfo.requires: diff --git a/src/nimblepkg/packageparser.nim b/src/nimblepkg/packageparser.nim index c6259d4..fbe8cfc 100644 --- a/src/nimblepkg/packageparser.nim +++ b/src/nimblepkg/packageparser.nim @@ -250,7 +250,7 @@ proc getInstalledPkgs*(libsDir: string, options: Options): if nimbleFile != "": let meta = readMetaData(path) try: - var pkg = readPackageInfo(nimbleFile, options, true) + var pkg = readPackageInfo(nimbleFile, options, onlyMinimalInfo=false) pkg.isInstalled = true result.add((pkg, meta)) except ValidationError: