Search in world instead of db (or solver would mismatch)

This commit is contained in:
Ettore Di Giacinto 2019-11-12 17:26:00 +01:00
parent 8c36580722
commit a7a20358ef
No known key found for this signature in database
GPG Key ID: 965A712536341999

View File

@ -284,7 +284,7 @@ func (cs *LuetCompiler) Compile(concurrency int, keepPermissions bool, p Compila
func (cs *LuetCompiler) FromPackage(p pkg.Package) (CompilationSpec, error) {
pack, err := cs.Tree().GetPackageSet().FindPackage(p)
pack, err := cs.Tree().FindPackage(p)
if err != nil {
return nil, err
}