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.

Best regards,
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to