3
0
Fork 0
forked from mirrors/nixpkgs

gmpxx: remove appendToName to have a consistent package name for repology

This commit is contained in:
Felix Buehler 2022-02-22 14:46:26 +01:00
parent 3bab4ac337
commit db949f020a
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@
let inherit (lib) optional; in
let self = stdenv.mkDerivation rec {
pname = "gmp";
pname = "gmp${lib.optionalString cxx "-with-cxx"}";
version = "6.2.1";
src = fetchurl { # we need to use bz2, others aren't in bootstrapping stdenv

View file

@ -16930,7 +16930,7 @@ with pkgs;
gmp5 = callPackage ../development/libraries/gmp/5.1.x.nix { };
gmp6 = callPackage ../development/libraries/gmp/6.x.nix { };
gmp = gmp6;
gmpxx = appendToName "with-cxx" (gmp.override { cxx = true; });
gmpxx = gmp.override { cxx = true; };
#GMP ex-satellite, so better keep it near gmp
mpfr = callPackage ../development/libraries/mpfr { };