name
should be package name, not store path name
#295034
Labels
architecture
Relating to code and API architecture of Nixpkgs
Issue description
The name part of a store path an extra suffix that's human readable, unlike the rest of the path.
We use it to convey the package name, and usually the version as well.
However, because we tend to include the version as well, this means that in general, the package name is not equal to the store path name.
Currently the
.name
attribute of the package attribute set contains the store path name. This is surprising.Goal
pkg.name
contain the package name and nothing elsepname
amkDerivation
implementation detailpname
; allowname
andversion
to be specified, in such a way that they match the package attributes and the version gets added to the store path.Refs
__cleanAttrs
: Clean packages that don't expose all internals #217243drv-parts
commentname
frompname
rfcs#35The text was updated successfully, but these errors were encountered: