Fix to concretize.lp
This commit is contained in:
		| @@ -827,6 +827,9 @@ no_flags(Package, FlagType) | |||||||
| { hash(Package, Hash) : installed_hash(Package, Hash) } 1 | { hash(Package, Hash) : installed_hash(Package, Hash) } 1 | ||||||
|  :- node(Package), error("Internal error: package must resolve to at most one hash"). |  :- node(Package), error("Internal error: package must resolve to at most one hash"). | ||||||
|  |  | ||||||
|  | % you can't choose an installed hash for a dev spec | ||||||
|  | :- hash(Package, Hash), variant_set(Package, "dev_path", _). | ||||||
|  |  | ||||||
| % if a hash is selected, we impose all the constraints that implies | % if a hash is selected, we impose all the constraints that implies | ||||||
| impose(Hash) :- hash(Package, Hash). | impose(Hash) :- hash(Package, Hash). | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 psakiev
					psakiev