···5 /* Do not use "dev" as a version. If you do, Tilt will consider itself
6 running in development environment and try to serve assets from the
7 source tree, which is not there once build completes. */
8- version = "0.30.13";
910 src = fetchFromGitHub {
11 owner = "tilt-dev";
12 repo = pname;
13 rev = "v${version}";
14- sha256 = "sha256-W67aQIXp2TOtZuccjQUGC9gNtvdyUNWuU7VM2LOFkCg=";
15 };
16 vendorSha256 = null;
17
···5 /* Do not use "dev" as a version. If you do, Tilt will consider itself
6 running in development environment and try to serve assets from the
7 source tree, which is not there once build completes. */
8+ version = "0.31.2";
910 src = fetchFromGitHub {
11 owner = "tilt-dev";
12 repo = pname;
13 rev = "v${version}";
14+ sha256 = "sha256-Wn7e2g1KPnFgFuRPUh3g0FW/m0qRHV5reO+AZbhbaC8=";
15 };
16 vendorSha256 = null;
17
+77-79
pkgs/development/compilers/gcc/10/default.nix
···24, threadsCross ? null # for MinGW
25, crossStageStatic ? false
26, gnused ? null
27-, cloog # unused; just for compat with gcc4, as we override the parameter on some places
28, buildPackages
29, libxcrypt
30}:
···83 stageNameAddon = if crossStageStatic then "stage-static" else "stage-final";
84 crossNameAddon = optionalString (targetPlatform != hostPlatform) "${targetPlatform.config}-${stageNameAddon}-";
85000000000000000000000000000000000000000000000000000000000000086in
8788stdenv.mkDerivation ({
···158 inherit noSysDirs staticCompiler crossStageStatic
159 libcCross crossMingw;
160161- inherit (import ../common/dependencies.nix {
162- inherit
163- lib
164- stdenv
165- buildPackages
166- targetPackages
167- crossStageStatic
168- threadsCross
169- langAda
170- libxcrypt
171- gnatboot
172- version
173- texinfo
174- which
175- gettext
176- gnused
177- patchelf
178- gmp
179- mpfr
180- libmpc
181- isl
182- zlib
183- zip
184- perl
185- ;
186- }) depsBuildBuild nativeBuildInputs depsBuildTarget buildInputs depsTargetTarget;
187188 NIX_LDFLAGS = lib.optionalString hostPlatform.isSunOS "-lm";
189190- preConfigure = (import ../common/pre-configure.nix {
191- inherit lib;
192- inherit version targetPlatform hostPlatform buildPlatform gnatboot langAda langGo langJit crossStageStatic enableMultilib;
193- }) + ''
194 ln -sf ${libxcrypt}/include/crypt.h libsanitizer/sanitizer_common/crypt.h
195 '';
196···198199 configurePlatforms = [ "build" "host" "target" ];
200201- configureFlags = import ../common/configure-flags.nix {
202- inherit
203- lib
204- stdenv
205- targetPackages
206- crossStageStatic libcCross threadsCross
207- version
208-209- binutils gmp mpfr libmpc isl
210-211- enableLTO
212- enableMultilib
213- enablePlugin
214- enableShared
215-216- langC
217- langD
218- langCC
219- langFortran
220- langAda
221- langGo
222- langObjC
223- langObjCpp
224- langJit
225- ;
226- };
227228 targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
229···231 (targetPlatform == hostPlatform && hostPlatform == buildPlatform)
232 (if profiledCompiler then "profiledbootstrap" else "bootstrap");
233234- inherit
235- (import ../common/strip-attributes.nix { inherit lib stdenv langJit; })
236 stripDebugList
237 stripDebugListTarget
238 preFixup;
···255256 LIBRARY_PATH = optionals (targetPlatform == hostPlatform) (makeLibraryPath (optional (zlib != null) zlib));
257258- inherit
259- (import ../common/extra-target-flags.nix {
260- inherit lib stdenv crossStageStatic langD libcCross threadsCross;
261- })
262 EXTRA_FLAGS_FOR_TARGET
263 EXTRA_LDFLAGS_FOR_TARGET
264 ;
···272 inherit enableMultilib enableShared;
273274 meta = {
275- homepage = "https://gcc.gnu.org/";
276- license = lib.licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+
277- description = "GNU Compiler Collection, version ${version}";
278-279- longDescription = ''
280- The GNU Compiler Collection includes compiler front ends for C, C++,
281- Objective-C, Fortran, OpenMP for C/C++/Fortran, and Ada, as well as
282- libraries for these languages (libstdc++, libgomp,...).
283-284- GCC development is a part of the GNU Project, aiming to improve the
285- compiler used in the GNU system including the GNU/Linux variant.
286- '';
287-288- maintainers = lib.teams.gcc.members;
289-290- platforms = lib.platforms.unix;
291 badPlatforms = [ "aarch64-darwin" ];
292 };
0293}
294295// optionalAttrs (targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt" && crossStageStatic) {
···1+{ lib, version, }:
2+3+with lib; {
4+ homepage = "https://gcc.gnu.org/";
5+ license = licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+
6+ description = "GNU Compiler Collection, version ${version}";
7+ longDescription = ''
8+ The GNU Compiler Collection includes compiler front ends for C, C++,
9+ Objective-C, Fortran, OpenMP for C/C++/Fortran, and Ada, as well as
10+ libraries for these languages (libstdc++, libgomp,...).
11+12+ GCC development is a part of the GNU Project, aiming to improve the
13+ compiler used in the GNU system including the GNU/Linux variant.
14+ '';
15+16+ platforms = platforms.unix;
17+ maintainers = if versionOlder version "5" then [ maintainers.veprbl ] else teams.gcc.members;
18+19+}
···2270322704 prospector = callPackage ../development/tools/prospector { };
2270522706- # https://github.com/protocolbuffers/protobuf/issues/10418
22707- # protobuf versions have to match between build-time and run-time
22708- # Using "targetPlatform" in the check makes sure that the version of
22709- # pkgsCross.armv7l-hf-multiplatform.buildPackages.protobuf matches the
22710- # version of pkgsCross.armv7l-hf-multiplatform.protobuf
22711- protobuf = if stdenv.targetPlatform.is32bit then protobuf3_20 else
22712- protobuf3_21;
2271322714 protobuf3_21 = callPackage ../development/libraries/protobuf/3.21.nix { };
22715 protobuf3_20 = callPackage ../development/libraries/protobuf/3.20.nix { };