fetchHex: remove pname prefix

Projects like mix2nix and my own project, deps_nix, are collecting a
growing number of workarounds for packages that depend on the working
directory of a build to have the same name as the package.

See for example: da2ebc2c63

This change makes the pname of Hex packages equal the package name, so
that such workarounds aren't necessary.
This commit is contained in:
Andrew Bruce 2024-04-25 13:44:35 +01:00
parent 27f59a8038
commit 4531cf76e4

View File

@ -7,7 +7,7 @@
}:
stdenv.mkDerivation ({
pname = "hex-source-${pkg}";
pname = pkg;
inherit version;
dontBuild = true;
dontConfigure = true;