···11+# Premake {#premake-hook}
22+33+This setup hook attempts to configure the package using [the Premake build configuration system](https://premake.github.io/). It overrides the `configurePhase` by default, if none exists.
44+55+[]{#premake-hook-premakefile} The Premakefile to use can be specified by setting `premakefile` in the derivation.
66+77+[]{#premake-hook-premakeFlagsArray} The flags passed to Premake can be configured by adding strings to the `premakeFlags` list.
···245245246246- `forgejo` and `forgejo-lts` no longer support the opt-in feature [PAM (Pluggable Authentication Module)](https://forgejo.org/docs/latest/user/authentication/#pam-pluggable-authentication-module).
247247248248-- `gitea` no longer supports the opt-in feature [PAM (Pluggable Authentication Module)][https://docs.gitea.com/usage/authentication#pam-pluggable-authentication-module].
248248+- `gitea` no longer supports the opt-in feature [PAM (Pluggable Authentication Module)](https://docs.gitea.com/usage/authentication#pam-pluggable-authentication-module).
249249250250- `services.ddclient.use` has been deprecated: `ddclient` now supports separate IPv4 and IPv6 configuration. Use `services.ddclient.usev4` and `services.ddclient.usev6` instead.
251251
+1-1
nixos/modules/services/matrix/dendrite.nix
···258258 default = { };
259259 description = ''
260260 Configuration for dendrite, see:
261261- <https://github.com/matrix-org/dendrite/blob/master/dendrite-config.yaml>
261261+ <https://github.com/matrix-org/dendrite/blob/main/dendrite-sample.yaml>
262262 for available options with which to populate settings.
263263 '';
264264 };
···3232 atLeast10 = lib.versionAtLeast version "10";
3333 atLeast9 = lib.versionAtLeast version "9";
3434 atLeast8 = lib.versionAtLeast version "8";
3535- atLeast7 = lib.versionAtLeast version "7";
3636- atLeast6 = lib.versionAtLeast version "6";
3735 is14 = majorVersion == "14";
3836 is13 = majorVersion == "13";
3937 is12 = majorVersion == "12";
···4240 is9 = majorVersion == "9";
4341 is8 = majorVersion == "8";
4442 is7 = majorVersion == "7";
4545- is6 = majorVersion == "6";
4643 inherit (lib) optionals optional;
4744in
4845···5754## 1. Patches relevant to gcc>=12 on every platform ####################################
58555956[]
6060-++ optional (atLeast6 && !atLeast12) ./fix-bug-80431.patch
5757+++ optional (!atLeast12) ./fix-bug-80431.patch
6158++ optional (targetPlatform != hostPlatform) ./libstdc++-target.patch
6259++ optionals (noSysDirs) (
6360 [(if atLeast12 then ./gcc-12-no-sys-dirs.patch else ./no-sys-dirs.patch)] ++
···7269)
7370++ optional (atLeast12 && langAda) ./gnat-cflags-11.patch
7471++ optional langFortran (if atLeast12 then ./gcc-12-gfortran-driving.patch else ./gfortran-driving.patch)
7575-++ optional atLeast7 ./ppc-musl.patch
7272+++ [ ./ppc-musl.patch ]
7673++ optional (atLeast9 && langD) ./libphobos.patch
77747875···177174 "9" = [ ../patches/9/AvailabilityInternal.h-fixincludes.patch ];
178175 "8" = [ ../patches/8/AvailabilityInternal.h-fixincludes.patch ];
179176 "7" = [ ../patches/7/AvailabilityInternal.h-fixincludes.patch ];
180180- "6" = [ ../patches/6/AvailabilityInternal.h-fixincludes.patch ];
181177}.${majorVersion} or [])
182178183179184180## Windows
185181186182# Obtain latest patch with ../update-mcfgthread-patches.sh
187187-++ optional (atLeast6 && !atLeast13 && !withoutTargetLibc && targetPlatform.isMinGW && threadsCross.model == "mcf")
183183+++ optional (!atLeast13 && !withoutTargetLibc && targetPlatform.isMinGW && threadsCross.model == "mcf")
188184 (./. + "/${majorVersion}/Added-mcf-thread-model-support-from-mcfgthread.patch")
189185190186···228224## gcc 9.0 and older ##############################################################################
229225230226++ optional (majorVersion == "9") ./9/fix-struct-redefinition-on-glibc-2.36.patch
231231-++ optional (atLeast7 && !atLeast10 && targetPlatform.isNetBSD) ./libstdc++-netbsd-ctypes.patch
227227+++ optional (!atLeast10 && targetPlatform.isNetBSD) ./libstdc++-netbsd-ctypes.patch
232228233229# Make Darwin bootstrap respect whether the assembler supports `--gstabs`,
234230# which is not supported by the clang integrated assembler used by default on Darwin.
···266262 (./. + "/${majorVersion}/gcc8-asan-glibc-2.34.patch")
267263 (./. + "/${majorVersion}/0001-Fix-build-for-glibc-2.31.patch")
268264]
269269-++ optional ((is6 || is7) && targetPlatform.libc == "musl" && targetPlatform.isx86_32) (fetchpatch {
265265+++ optional (is7 && targetPlatform.libc == "musl" && targetPlatform.isx86_32) (fetchpatch {
270266 url = "https://git.alpinelinux.org/aports/plain/main/gcc/gcc-6.1-musl-libssp.patch?id=5e4b96e23871ee28ef593b439f8c07ca7c7eb5bb";
271267 sha256 = "1jf1ciz4gr49lwyh8knfhw6l5gvfkwzjy90m7qiwkcbsf4a3fqn2";
272268})
273273-++ optional ((is6 || is7 || is8) && !atLeast9 && targetPlatform.libc == "musl") ./libgomp-dont-force-initial-exec.patch
274274-275275-276276-277277-## gcc 6.0 and older ##############################################################################
278278-279279-++ optional (is6 && langGo) ./gogcc-workaround-glibc-2.36.patch
280280-++ optional is6 ./9/fix-struct-redefinition-on-glibc-2.36.patch
281281-++ optional (is6 && !stdenv.targetPlatform.isRedox) ./use-source-date-epoch.patch
282282-++ optional (is6 && !stdenv.targetPlatform.isRedox) ./6/0001-Fix-build-for-glibc-2.31.patch
283283-++ optionals (is6 && langAda) [
284284- ./gnat-cflags.patch
285285- ./6/gnat-glibc234.patch
286286-]
287287-288288-# The clang-based assembler used in darwin.binutils (LLVM >11) does not support piping input.
289289-# Fortunately, it does not exhibit the problem GCC has with the cctools assembler.
290290-# This patch can be dropped should darwin.binutils ever implement support.
291291-++ optional (!atLeast7 && hostPlatform.isDarwin && lib.versionAtLeast (lib.getVersion stdenv.cc) "12") ./4.9/darwin-clang-as.patch
292292-293293-# Building libstdc++ with flat namespaces results in trying to link CoreFoundation, which
294294-# defaults to the impure, system location and causes the build to fail.
295295-++ optional (is6 && hostPlatform.isDarwin) ./6/libstdc++-disable-flat_namespace.patch
296296-297297-## gcc 5.0 and older ##############################################################################
298298-299299-++ optional (!atLeast6) ./parallel-bconfig.patch
300300-269269+++ optional ((is7 || is8) && !atLeast9 && targetPlatform.libc == "musl") ./libgomp-dont-force-initial-exec.patch
-72
pkgs/development/libraries/cloog-ppl/default.nix
···11-{ fetchurl, lib, stdenv, ppl, autoreconfHook }:
22-33-stdenv.mkDerivation rec {
44- pname = "cloog-ppl";
55- version = "0.15.11";
66-77- src = fetchurl {
88- url = "mirror://gcc/infrastructure/${pname}-${version}.tar.gz";
99- sha256 = "0psdm0bn5gx60glfh955x5b3b23zqrd92idmjr0b00dlnb839mkw";
1010- };
1111-1212- propagatedBuildInputs = [ ppl ];
1313-1414- nativeBuildInputs = [ autoreconfHook ];
1515-1616- patches = [ ./fix-ppl-version.patch ];
1717-1818- configureFlags = [ "--with-ppl=${ppl}" ];
1919-2020- preAutoreconf = ''
2121- touch NEWS ChangeLog AUTHORS
2222- '';
2323-2424- doCheck = true;
2525-2626- meta = {
2727- description = "CLooG-PPL, the Chunky Loop Generator";
2828- mainProgram = "cloog";
2929-3030- longDescription = ''
3131- CLooG is a free software library to generate code for scanning
3232- Z-polyhedra. That is, it finds a code (e.g., in C, FORTRAN...) that
3333- reaches each integral point of one or more parameterized polyhedra.
3434- CLooG has been originally written to solve the code generation problem
3535- for optimizing compilers based on the polytope model. Nevertheless it
3636- is used now in various area e.g., to build control automata for
3737- high-level synthesis or to find the best polynomial approximation of a
3838- function. CLooG may help in any situation where scanning polyhedra
3939- matters. While the user has full control on generated code quality,
4040- CLooG is designed to avoid control overhead and to produce a very
4141- effective code.
4242- '';
4343-4444- # CLooG-PPL is actually a port of GLooG from PolyLib to PPL.
4545- homepage = "http://www.cloog.org/";
4646-4747- license = lib.licenses.gpl2Plus;
4848-4949- maintainers = [ ];
5050-5151- /* Leads to an ICE on Cygwin:
5252-5353- make[3]: Entering directory `/tmp/nix-build-9q5gw5m37q5l4f0kjfv9ar8fsc9plk27-ppl-0.10.2.drv-1/ppl-0.10.2/src'
5454- /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -g -O2 -frounding-math -W -Wall -c -o Box.lo Box.cc
5555- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -g -O2 -frounding-math -W -Wall -c Box.cc -DDLL_EXPORT -DPIC -o .libs/Box.o
5656- In file included from checked.defs.hh:595,
5757- from Checked_Number.defs.hh:27,
5858- from Coefficient.types.hh:15,
5959- from Coefficient.defs.hh:26,
6060- from Box.defs.hh:28,
6161- from Box.cc:24:
6262- checked.inlines.hh: In function `Parma_Polyhedra_Library::Result Parma_Polyhedra_Library::Checked::input_generic(Type&, std::istream&, Parma_Polyhedra_Library::Rounding_Dir)':
6363- checked.inlines.hh:607: internal compiler error: in invert_truthvalue, at fold-const.c:2719
6464- Please submit a full bug report,
6565- with preprocessed source if appropriate.
6666- See <URL:http://cygwin.com/problems.html> for instructions.
6767- make[3]: *** [Box.lo] Error 1
6868-6969- */
7070- platforms = lib.platforms.unix; # Once had cygwin problems
7171- };
7272-}
···11-diff -rupN src/configure.in cloog-ppl-0.15.11/configure.in
22---- src/configure.in 2014-04-13 13:33:43.349392305 +0200
33-+++ cloog-ppl-0.15.11/configure.in 2014-04-13 13:34:12.695379888 +0200
44-@@ -337,11 +337,7 @@ if test "x$with_ppl" != "x" -a "x$with_p
55- [AC_MSG_ERROR(Can't find PPL headers.)])
66-77- AC_MSG_CHECKING([for version 0.10 (or later revision) of PPL])
88-- AC_TRY_COMPILE([#include "ppl_c.h"],[
99-- #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 10
1010-- choke me
1111-- #endif
1212-- ], [AC_MSG_RESULT([yes])], [AC_MSG_ERROR(Can't find correct version of PPL.) ])
1313-+ AC_MSG_RESULT([yes])
1414-1515- LIBS="$LIBS -lppl_c -lppl -lgmpxx"
1616- AC_DEFINE([CLOOG_PPL_BACKEND], 1, [Use the PPL backend])
-65
pkgs/development/libraries/cloog/0.18.0.nix
···11-{ fetchurl, lib, stdenv, gmp, isl }:
22-33-stdenv.mkDerivation rec {
44- pname = "cloog";
55- version = "0.18.0";
66-77- src = fetchurl {
88- url = "http://www.bastoul.net/cloog/pages/download/count.php3?url=./cloog-${version}.tar.gz";
99- sha256 = "1c4aa8dde7886be9cbe0f9069c334843b21028f61d344a2d685f88cb1dcf2228";
1010- };
1111-1212- buildInputs = [ gmp ];
1313-1414- propagatedBuildInputs = [ isl ];
1515-1616- configureFlags = [ "--with-isl=system" ];
1717-1818- enableParallelBuilding = true;
1919-2020- doCheck = true;
2121-2222- meta = {
2323- description = "Library that generates loops for scanning polyhedra";
2424- mainProgram = "cloog";
2525-2626- longDescription = ''
2727- CLooG is a free software library to generate code for scanning
2828- Z-polyhedra. That is, it finds a code (e.g., in C, FORTRAN...) that
2929- reaches each integral point of one or more parameterized polyhedra.
3030- CLooG has been originally written to solve the code generation problem
3131- for optimizing compilers based on the polytope model. Nevertheless it
3232- is used now in various area e.g., to build control automata for
3333- high-level synthesis or to find the best polynomial approximation of a
3434- function. CLooG may help in any situation where scanning polyhedra
3535- matters. While the user has full control on generated code quality,
3636- CLooG is designed to avoid control overhead and to produce a very
3737- effective code.
3838- '';
3939-4040- homepage = "http://www.cloog.org/";
4141-4242- license = lib.licenses.gpl2Plus;
4343-4444- /* Leads to an ICE on Cygwin:
4545-4646- make[3]: Entering directory `/tmp/nix-build-9q5gw5m37q5l4f0kjfv9ar8fsc9plk27-ppl-0.10.2.drv-1/ppl-0.10.2/src'
4747- /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -g -O2 -frounding-math -W -Wall -c -o Box.lo Box.cc
4848- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -g -O2 -frounding-math -W -Wall -c Box.cc -DDLL_EXPORT -DPIC -o .libs/Box.o
4949- In file included from checked.defs.hh:595,
5050- from Checked_Number.defs.hh:27,
5151- from Coefficient.types.hh:15,
5252- from Coefficient.defs.hh:26,
5353- from Box.defs.hh:28,
5454- from Box.cc:24:
5555- checked.inlines.hh: In function `Parma_Polyhedra_Library::Result Parma_Polyhedra_Library::Checked::input_generic(Type&, std::istream&, Parma_Polyhedra_Library::Rounding_Dir)':
5656- checked.inlines.hh:607: internal compiler error: in invert_truthvalue, at fold-const.c:2719
5757- Please submit a full bug report,
5858- with preprocessed source if appropriate.
5959- See <URL:http://cygwin.com/problems.html> for instructions.
6060- make[3]: *** [Box.lo] Error 1
6161-6262- */
6363- platforms = lib.platforms.unix; # Once had cygwin problems
6464- };
6565-}
-67
pkgs/development/libraries/cloog/default.nix
···11-{ fetchurl, lib, stdenv, gmp, isl }:
22-33-stdenv.mkDerivation rec {
44- pname = "cloog";
55- version = "0.18.4";
66-77- src = fetchurl {
88- url = "http://www.bastoul.net/cloog/pages/download/count.php3?url=./${pname}-${version}.tar.gz";
99- sha256 = "03km1aqaiy3sbqc2f046ms9x0mlmacxlvs5rxsvjj8nf20vxynij";
1010- };
1111-1212- buildInputs = [ gmp ];
1313-1414- propagatedBuildInputs = [ isl ];
1515-1616- configureFlags = [ "--with-isl=system" ];
1717-1818- enableParallelBuilding = true;
1919- # Breaks the test cases as it reuses 'cloog_temp' file name for different tests.
2020- enableParallelChecking = false;
2121-2222- doCheck = true;
2323-2424- meta = {
2525- description = "Library that generates loops for scanning polyhedra";
2626- mainProgram = "cloog";
2727-2828- longDescription = ''
2929- CLooG is a free software library to generate code for scanning
3030- Z-polyhedra. That is, it finds a code (e.g., in C, FORTRAN...) that
3131- reaches each integral point of one or more parameterized polyhedra.
3232- CLooG has been originally written to solve the code generation problem
3333- for optimizing compilers based on the polytope model. Nevertheless it
3434- is used now in various area e.g., to build control automata for
3535- high-level synthesis or to find the best polynomial approximation of a
3636- function. CLooG may help in any situation where scanning polyhedra
3737- matters. While the user has full control on generated code quality,
3838- CLooG is designed to avoid control overhead and to produce a very
3939- effective code.
4040- '';
4141-4242- homepage = "http://www.cloog.org/";
4343-4444- license = lib.licenses.gpl2Plus;
4545-4646- /* Leads to an ICE on Cygwin:
4747-4848- make[3]: Entering directory `/tmp/nix-build-9q5gw5m37q5l4f0kjfv9ar8fsc9plk27-ppl-0.10.2.drv-1/ppl-0.10.2/src'
4949- /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -g -O2 -frounding-math -W -Wall -c -o Box.lo Box.cc
5050- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -g -O2 -frounding-math -W -Wall -c Box.cc -DDLL_EXPORT -DPIC -o .libs/Box.o
5151- In file included from checked.defs.hh:595,
5252- from Checked_Number.defs.hh:27,
5353- from Coefficient.types.hh:15,
5454- from Coefficient.defs.hh:26,
5555- from Box.defs.hh:28,
5656- from Box.cc:24:
5757- checked.inlines.hh: In function `Parma_Polyhedra_Library::Result Parma_Polyhedra_Library::Checked::input_generic(Type&, std::istream&, Parma_Polyhedra_Library::Rounding_Dir)':
5858- checked.inlines.hh:607: internal compiler error: in invert_truthvalue, at fold-const.c:2719
5959- Please submit a full bug report,
6060- with preprocessed source if appropriate.
6161- See <URL:http://cygwin.com/problems.html> for instructions.
6262- make[3]: *** [Box.lo] Error 1
6363-6464- */
6565- platforms = lib.platforms.unix; # Once had cygwin problems
6666- };
6767-}
···5566rustPlatform.buildRustPackage rec {
77 pname = "automatic-timezoned";
88- version = "2.0.31";
88+ version = "2.0.32";
991010 src = fetchFromGitHub {
1111 owner = "maxbrunet";
1212 repo = pname;
1313 rev = "v${version}";
1414- sha256 = "sha256-jMQpnob6J3lPkrjsh8abNA5/8FVYk/xtWiylWFPk1WM=";
1414+ sha256 = "sha256-J8DAHwbpcSQtOWOkWjya3zXRhr9Dje2QzumDmeq2rR0=";
1515 };
16161717- cargoHash = "sha256-55nfiC8tWZNgK0il+N9NMzq525xqWd2IdDHhPLMYaXU=";
1717+ cargoHash = "sha256-M0MX2ZjVsJuWQ6nuxpF1VDYIlGPAsebRbxZ40oSYVO0=";
18181919 meta = with lib; {
2020 description = "Automatically update system timezone based on location";
+12-3
pkgs/top-level/aliases.nix
···243243 citra = throw "citra has been removed from nixpkgs, as it has been taken down upstream"; # added 2024-03-04
244244 citra-nightly = throw "citra-nightly has been removed from nixpkgs, as it has been taken down upstream"; # added 2024-03-04
245245 citra-canary = throw "citra-canary has been removed from nixpkgs, as it has been taken down upstream"; # added 2024-03-04
246246+ cloog = throw "cloog has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-13
247247+ cloog_0_18_0 = throw "cloog_0_18_0 has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-13
248248+ cloogppl = throw "cloogppl has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-13
246249 clang-ocl = throw "'clang-ocl' has been replaced with 'rocmPackages.clang-ocl'"; # Added 2023-10-08
247250 inherit (libsForQt5.mauiPackages) clip; # added 2022-05-17
248251 clpm = throw "'clpm' has been removed from nixpkgs"; # Added 2024-04-01
···510513 garage_0_7_3 = throw "garage 0.7.x has been removed as it is EOL. Please upgrade to 0.8 series."; # Added 2023-10-10
511514 garmin-plugin = throw "garmin-plugin has been removed, as it is unmaintained upstream and no longer works with modern browsers."; # Added 2024-01-12
512515 garmindev = throw "'garmindev' has been removed as the dependent software 'qlandkartegt' has been removed"; # Added 2023-04-17
513513- gcc48 = throw "'gcc48' has been removed from nixpkgs"; # Added 2024-09-10
514514- gcc49 = throw "'gcc49' has been removed from nixpkgs"; # Added 2024-09-11
515515- gcc49Stdenv = throw "'gcc49Stdenv' has been removed from nixpkgs"; # Added 2024-09-11
516516+ gcc48 = throw "gcc48 has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-10
517517+ gcc49 = throw "gcc49 has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-11
518518+ gcc49Stdenv = throw "gcc49Stdenv has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-11
519519+ gcc6 = throw "gcc6 has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-13
520520+ gcc6Stdenv = throw "gcc6Stdenv has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-13
516521 gcc10StdenvCompat = if stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "11" then gcc10Stdenv else stdenv; # Added 2024-03-21
522522+ gcj = gcj6; # Added 2024-09-13
523523+ gcj6 = throw "gcj6 has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-13
517524 gcl_2_6_13_pre = throw "'gcl_2_6_13_pre' has been removed in favor of 'gcl'"; # Added 2024-01-11
518525 geekbench4 = throw "'geekbench4' has been renamed to 'geekbench_4'"; # Added 2023-03-10
519526 geekbench5 = throw "'geekbench5' has been renamed to 'geekbench_5'"; # Added 2023-03-10
···702709 ipfs-migrator = kubo-migrator; # Added 2022-09-27
703710 iproute = iproute2; # moved from top-level 2021-03-14
704711 irrlichtmt = throw "irrlichtmt has been removed because it was moved into the Minetest repo"; # Added 2024-08-12
712712+ isl_0_11 = throw "isl_0_11 has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-13
713713+ isl_0_14 = throw "isl_0_14 has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-13
705714 iso-flags-png-320x420 = lib.warn "iso-flags-png-320x420 has been renamed to iso-flags-png-320x240" iso-flags-png-320x240; # Added 2024-07-17
706715707716 ### J ###