mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Merge pull request #210564 from vcunat/p/gnat-drop-old
gnat10, gnat9, gnat6: drop the packages
This commit is contained in:
commit
283b4c25f4
@ -14463,55 +14463,6 @@ with pkgs;
|
||||
|
||||
gnat = gnat12;
|
||||
|
||||
gnat6 = wrapCC (gcc6.cc.override {
|
||||
name = "gnat";
|
||||
langC = true;
|
||||
langCC = false;
|
||||
langAda = true;
|
||||
profiledCompiler = false;
|
||||
# As per upstream instructions building a cross compiler
|
||||
# should be done with a (native) compiler of the same version.
|
||||
# If we are cross-compiling GNAT, we may as well go the same
|
||||
# route (especially as gnatboot can't cross-compile).
|
||||
gnatboot =
|
||||
if stdenv.hostPlatform == stdenv.targetPlatform
|
||||
&& stdenv.buildPlatform == stdenv.hostPlatform
|
||||
then buildPackages.gnatboot
|
||||
else buildPackages.gnat6;
|
||||
});
|
||||
|
||||
gnat9 = wrapCC (gcc9.cc.override {
|
||||
name = "gnat";
|
||||
langC = true;
|
||||
langCC = false;
|
||||
langAda = true;
|
||||
profiledCompiler = false;
|
||||
# As per upstream instructions building a cross compiler
|
||||
# should be done with a (native) compiler of the same version.
|
||||
# If we are cross-compiling GNAT, we may as well do the same.
|
||||
gnatboot =
|
||||
if stdenv.hostPlatform == stdenv.targetPlatform
|
||||
&& stdenv.buildPlatform == stdenv.hostPlatform
|
||||
then buildPackages.gnatboot
|
||||
else buildPackages.gnat9;
|
||||
});
|
||||
|
||||
gnat10 = wrapCC (gcc10.cc.override {
|
||||
name = "gnat";
|
||||
langC = true;
|
||||
langCC = false;
|
||||
langAda = true;
|
||||
profiledCompiler = false;
|
||||
# As per upstream instructions building a cross compiler
|
||||
# should be done with a (native) compiler of the same version.
|
||||
# If we are cross-compiling GNAT, we may as well do the same.
|
||||
gnatboot =
|
||||
if stdenv.hostPlatform == stdenv.targetPlatform
|
||||
&& stdenv.buildPlatform == stdenv.hostPlatform
|
||||
then buildPackages.gnatboot
|
||||
else buildPackages.gnat10;
|
||||
});
|
||||
|
||||
gnat11 = wrapCC (gcc11.cc.override {
|
||||
name = "gnat";
|
||||
langC = true;
|
||||
|
Loading…
Reference in New Issue
Block a user