3
0
Fork 0
forked from mirrors/nixpkgs

hello: Make pname overridable without breaking src.url

This commit is contained in:
Robert Hensing 2022-02-09 12:35:35 +01:00
parent ca83dd1ae7
commit f066dddaa5

View file

@ -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";
};