forked from mirrors/nixpkgs
hello: Make pname overridable without breaking src.url
This commit is contained in:
parent
ca83dd1ae7
commit
f066dddaa5
|
@ -12,7 +12,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
version = "2.12";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/hello/${finalAttrs.pname}-${finalAttrs.version}.tar.gz";
|
||||
url = "mirror://gnu/hello/hello-${finalAttrs.version}.tar.gz";
|
||||
sha256 = "1ayhp9v4m4rdhjmnl2bq3cibrbqqkgjbl3s7yk2nhlh8vj3ay16g";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue