Skip to content

Commit

Permalink
libgcc: remove unused package
Browse files Browse the repository at this point in the history
`libgcc` is not usable as is and as a result no packages use it today.
`gcc.cc.libgcc` should provide the same library. But ideally it should
not be used at all as it's an implementation detail of `gcc` support
libraries.
  • Loading branch information
trofi committed May 13, 2023
1 parent 9daee20 commit 9818d12
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 160 deletions.
156 changes: 0 additions & 156 deletions pkgs/development/libraries/gcc/libgcc/default.nix

This file was deleted.

1 change: 1 addition & 0 deletions pkgs/top-level/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,7 @@ mapAliases ({
liberation_ttf_v1_from_source = throw "'liberation_ttf_v1_from_source' has been renamed to/replaced by 'liberation_ttf_v1'"; # Converted to throw 2022-02-22
liberation_ttf_v2_from_source = throw "'liberation_ttf_v2_from_source' has been renamed to/replaced by 'liberation_ttf_v2'"; # Converted to throw 2022-02-22
liberationsansnarrow = throw "'liberationsansnarrow' has been renamed to/replaced by 'liberation-sans-narrow'"; # Converted to throw 2022-02-22
libgcc = throw "libgcc was removed, use gcc.cc.libgcc if needed"; # added 2023-05-13
libgksu = throw "libgksu has been removed"; # Added 2022-01-16
libgme = game-music-emu; # Added 2022-07-20
libgnome_keyring = throw "'libgnome_keyring' has been renamed to/replaced by 'libgnome-keyring'"; # Converted to throw 2022-02-22
Expand Down
4 changes: 0 additions & 4 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18018,10 +18018,6 @@ with pkgs;

librarian-puppet-go = callPackage ../development/tools/librarian-puppet-go { };

libgcc = callPackage ../development/libraries/gcc/libgcc {
stdenvNoLibs = gccStdenvNoLibs; # cannot be built with clang it seems
};

# This is for e.g. LLVM libraries on linux.
gccForLibs =
if stdenv.targetPlatform == stdenv.hostPlatform && targetPackages.stdenv.cc.isGNU
Expand Down

0 comments on commit 9818d12

Please sign in to comment.