Commit Graph

20299 Commits

Author SHA1 Message Date
Nick Cao
d4297d0e0c
julia_111{,-bin}: 1.11.1 -> 1.11.2, julia_19{,-bin}: drop (#361178) 2024-12-05 19:00:48 -05:00
David McFarland
d343c85889 dotnet: use fallback target packages from current binary sdk
This was using the bootstrap SDK, which doesn't match the version of the
source-built SDK.  This will still be a problem if the binary and
source-built SDKs don't have the same version.
2024-12-05 10:09:05 -04:00
David McFarland
597474a8f1 dotnet: nixfmt output of nuget-to-nix 2024-12-05 10:09:05 -04:00
Nick Cao
849e76f932
julia_111: 1.11.1 -> 1.11.2 2024-12-04 20:28:42 -05:00
Nick Cao
000133b4ab
julia_111-bin: 1.11.1 -> 1.11.2 2024-12-04 20:28:42 -05:00
Tristan Ross
c51787c99c
flutter: Pass flutter_tools package_config.json to Dart runtime (#354174) 2024-12-03 21:16:17 -08:00
aucub
946dbfcfa4 dart.sqlite3_flutter_libs: init 2024-12-04 00:52:24 +08:00
Domen Kožar
9888edd1e7
buildGraalvm: fix build on x86_64-darwin (#360254) 2024-12-02 22:47:28 +00:00
Vladimír Čunát
9af0d63882
staging-next 2024-11-30 (#360437) 2024-12-02 22:41:18 +01:00
Weijia Wang
a20b194e4f
graalvmCEPackages.graaljs: 24.0.1 -> 24.1.1 (#358485) 2024-12-02 21:12:56 +01:00
github-actions[bot]
a951f08102
Merge master into staging-next 2024-12-02 07:32:17 +00:00
Vincent Laporte
ccd6676357 ocaml: 5.2.0 → 5.2.1 2024-12-02 07:37:15 +01:00
Nathan Regner
83b526817a buildGraalvm: fix build on x86_64-darwin 2024-12-01 10:05:39 -07:00
github-actions[bot]
ede548fffd
Merge master into staging-next 2024-12-01 12:05:29 +00:00
Aleksana
075c9e35fd
ophis: 0-unstable-2019-04-13 -> 2.2-unstable-2024-07-28 (#343825) 2024-12-01 19:17:41 +08:00
github-actions[bot]
f66e210086
Merge master into staging-next 2024-12-01 00:18:35 +00:00
Anderson Torres
ad8bd9ff48 ophis: migrate to by-name 2024-11-30 16:30:58 -03:00
Anderson Torres
0396be8262 ophis: refactor
- get rid of python3Packages.callPackage
- get rid of rec
- fix version format
2024-11-30 16:30:57 -03:00
sternenseemann
c91c4a0f55 haskell.compiler.ghcHEAD: disable --hyperlinked-source on aarch64
Disable enableHyperlinkedSource for GHC >= 9.11 to keep GHC under the
3GB Hydra output limit. Note that we use a patch as opposed to the new
extraArgs interfaces for the reasons given in the comments added in this
commit.

(cherry picked from commit ec3ec6038a)
2024-11-30 18:18:48 +01:00
Reno Dakota
85492cd5fd
llvmPackages_12.compiler-rt: fix build race aarch64-darwin
b31080c596
(cherry picked from commit 47a4caf483)
(cherry picked from commit c5d97e0577)
2024-11-30 15:11:11 +01:00
sternenseemann
6309f13670
llvmPackages_12.clang: use nostdlibinc patch instead of sed command
Seems like the patch we've written for LLVM 13 and above also works for
LLVM 12 which seems a little more robust.

(cherry picked from commit 37437849de)
(cherry picked from commit f30f8ee969)
2024-11-30 15:11:10 +01:00
sternenseemann
fcb5d10d26
llvmPackages_12.compiler-rt: move codesign patch into versioned dir
All LLVM versions < 12 have been removed, so this patch can live in the
versioned directory, simplifying the patch list in the process.

(cherry picked from commit 8408b91e8d)
(cherry picked from commit e33308016c)
2024-11-30 15:11:09 +01:00
sternenseemann
f0f66c41d4
llvmPackages_12: build from monorepo source
As mentioned in #305146, keeping LLVM 12 is a source of pain because it
is the only version to be built from individual release tarball instead
of the LLVM monorepo. This commit makes LLVM 12 start from the monorepo
as well, simplifying all common LLVM expressions in the process.

With #347887, some quirks in the expressions for LLVM <14 were ironed
out, so building LLVM through from the monorepo is quite simple now.

- Most expressions only required minor changes, mostly removing the
  special casing for `sourceRoot`.

- The patch lists from llvm/12/default.nix were ported to
  common/default.nix. This only required a few extra conditionals which
  could be reduced via a rebuild also involving other LLVM versions.
  Outstanding tasks of little urgency have been noted in TODO comments.
  I have verified that the patch lists stay the same for all packages
  except LLVM where merely the order changes. An extra set of eyes
  is appreciated, of course.

- clang: The expression was reworked to use the same symlink location
  for clang-tools-extra for all versions including LLVM 12. This
  required adjusting the ad hoc patching of the clangd cmake files
  slightly.

- libunwind: We no longer need to make the libcxx sources available
  manually. We can rely on the monorepo source instead.

- lld: We no longer need to make the libunwind sources available manually.

- llvm: We no longer need to make the polly sources available manually

- On Darwin, we need to bypass CMake's C++ compiler for libcxx and
  libunwind now. It isn't a 100% clear why, probably because we've
  started to use Darwin's bootstrapStdenv for libcxx in the common
  expression compared to LLVM 12 on master [1].
  The reordering of flags for wasm causes a rebuild for some packages
  like firefox, but this should be tolerable on staging.

[1]: 665ebfb253/pkgs/development/compilers/llvm/12/default.nix (L392-L430)

(cherry picked from commit ee9eacf23e)
(cherry picked from commit c4e9f17ef9)
2024-11-30 15:11:09 +01:00
sternenseemann
fe5ea976bf
llvmPackages_{12,13}.lldb: don't try to find nonexistent patch
We just need to make sure the attribute evaluates so we can cleanly
access `meta.broken` for those versions.

(cherry picked from commit ce6c31c312)
(cherry picked from commit 9bf90993f4)
2024-11-30 15:11:09 +01:00
Will Cohen
e255a9090e emscripten: 3.1.64 -> 3.1.73 2024-11-29 11:00:23 -05:00
Will Cohen
6a49785456 binaryen: 118 -> 119 2024-11-29 11:00:18 -05:00
Antonio Nuno Monteiro
5020a1c82a ocaml: don't add bin-utils for darwin 2024-11-27 23:40:26 -08:00
Tristan Ross
e405f30513
flutterPackages-source.*.engine: don't remove gen (#359123) 2024-11-27 22:51:44 -08:00
sodiboo
edbb4903fa flutterPackages-source.*.engine: don't remove gen 2024-11-27 21:06:37 +01:00
jopejoe1
2e2c7f54fd treewide: hide more deprecated stuff if allowAliases is false 2024-11-27 20:51:46 +01:00
Ulrik Strid
36bd945fc6
Add binutils to ocaml so that static compiler can build correctly (#359231) 2024-11-27 07:48:55 +01:00
7c6f434c
43e88080cf
fpc: fix darwin build (#359218) 2024-11-27 05:48:19 +00:00
Colin
a41b6f0e24
treewide: add mainProgram attribute to lisp compilers (#358036) 2024-11-27 04:21:41 +00:00
Emily
cf71af6176 gcc: restore dropped isl line
I think this was a rebase mishap and causes a ton of rebuilds.

Not sure if we actually need the Darwin condition any more (or to be
using the older `isl` version?), but `master` isn’t the place to
find out :)

Fixes: 90474914ee
2024-11-26 10:07:23 +00:00
Owen Lynch
52b7f0d233 added binutils to ocaml so that static compiler can build correctly 2024-11-26 09:55:09 +00:00
Reno Dakota
ce40ce79f1
fpc: fix darwin build 2024-11-26 00:26:49 -08:00
Yt
d328c0c5f4
gleam: 1.6.1 -> 1.6.2 (#358888) 2024-11-25 16:52:35 -05:00
Tristan Ross
a914d7e87a
flutter: revert remove usages of aliases {build,host,target}Platform (#357173) 2024-11-25 13:41:29 -08:00
Tristan Ross
7c18ea34a2
llvmPackages: Make targetLlvmLibraries overridable (#355001) 2024-11-25 07:25:49 -08:00
Tristan Ross
b994c8ca43
llvmPackages.compiler_rt: Fix version tests for git (#354471) 2024-11-25 07:25:18 -08:00
Emily
ba4c0e502a
dotnet-{sdk,runtime,aspnetcore}_{6,7}: mark as EOL (#358533) 2024-11-25 15:07:00 +00:00
Emily
504e3ecdd9
gcc: do not allow version skew when cross-building gcc (#352821) 2024-11-25 14:35:38 +00:00
Sergei Trofimovich
90474914ee gcc: do not allow version skew when cross-building gcc
When `gcc` is cross-built (`build` != `target` && `host` == `target`)
`gcc` assumes that it has a compatible cross-compiler in the environment
that can build target libraries. Version of a cross-compiler has to
match the compiler being cross-built as libraries frequently use fresh
compiler features, like `-std=c++26` or target-specific types like
`_Bfloat16`.

Version mismatch causes build failures like:

    https://github.com/NixOS/nixpkgs/issues/351905

Similar problems (but on a smaller scale) happen when a `gcc`
cross-compiler is built (`build` == `host` && `host` != `target`) built
by a mismatching version of a native compiler (`build` == `host` &&
`host` == `target`). That was worked around by forcing `gcc9Stdenv` for
older compiler versions.

Let's fix both problems by requiring the same compiler version for
cross-case.

Closes: https://github.com/NixOS/nixpkgs/issues/351905
2024-11-25 09:11:38 +00:00
Emily
9437ab6a53
squeak: fix build (#358156) 2024-11-25 07:16:51 +00:00
R. Ryantm
bb102da5de gleam: 1.6.1 -> 1.6.2 2024-11-25 05:08:47 +00:00
Donovan Glover
dd7b1eb241
kazumi: 1.4.3 -> 1.4.4 (#358300) 2024-11-24 22:05:37 +00:00
Philip Taron
0ed56980f9
{gcc{7,8}{,Stdenv},gfortran{7,8}}: drop (#357657) 2024-11-24 08:01:00 -08:00
TANIGUCHI Masaya
65f013da3a treewide: add mainProgram attribute to lisp compilers 2024-11-24 11:48:55 +00:00
Reno Dakota
ba1b15be08 squeak: fix build 2024-11-24 09:51:59 +01:00
Emily
c9e243b7ed
swiftpm2nix: use nurl instead of nix-prefetch-git (#358546) 2024-11-23 20:15:33 +00:00