diff --git a/pkgs/applications/science/math/calc/default.nix b/pkgs/applications/science/math/calc/default.nix index 053426d90754..041dde8bac3c 100644 --- a/pkgs/applications/science/math/calc/default.nix +++ b/pkgs/applications/science/math/calc/default.nix @@ -7,8 +7,8 @@ stdenv.mkDerivation rec { src = fetchurl { urls = [ - "https://github.com/lcn2/calc/releases/download/v${version}/${pname}-${version}.tar.bz2" - "http://www.isthe.com/chongo/src/calc/${pname}-${version}.tar.bz2" + "https://github.com/lcn2/calc/releases/download/v${version}/calc-${version}.tar.bz2" + "http://www.isthe.com/chongo/src/calc/calc-${version}.tar.bz2" ]; sha256 = "sha256-bPacYnEJBdQsIP+Z8D/ODskyEcvhgAy3ra4wasYMo6A="; };