On 15.05.2015 11:20, Luca Bruno wrote:
> The renameImports was a bad choice for buildGoPackage infrastructure.
> Every package would have to specify the needed renames.
> Now instead each library can define goPackageAliases, and dependant
> packages will automatically rename the imports.
> 
> With renameImports: A depends on B -> B changed goPackagePath -> now A
> fails to build because it needs a renameImports.
> With goPackageAliases: A depends on B -> B changes goPackagePath and
> adds goPackageAliases -> now A correctly builds because the rename is
> done automatically.

that is cool!


_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to