mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
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:
parent
27f59a8038
commit
4531cf76e4
@ -7,7 +7,7 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation ({
|
||||
pname = "hex-source-${pkg}";
|
||||
pname = pkg;
|
||||
inherit version;
|
||||
dontBuild = true;
|
||||
dontConfigure = true;
|
||||
|
Loading…
Reference in New Issue
Block a user