Commit Graph

714681 Commits

Author SHA1 Message Date
Emily
3aa8b5fcd4
fizz: convert to new Darwin SDK pattern
(cherry picked from commit 91c31b1069)
(cherry picked from commit 979e60c718)
2024-11-30 15:11:15 +01:00
Emily
15de9b55e1
fizz: format with nixfmt-rfc-style
(cherry picked from commit 95d28ae657)
(cherry picked from commit 342b7edf01)
2024-11-30 15:11:15 +01:00
Emily
6a9e015730
folly: add techknowlogick to maintainers
(cherry picked from commit c71ed296d7)
(cherry picked from commit 0cefd8eeba)
2024-11-30 15:11:14 +01:00
Emily
3571e8d763
folly: add emily to maintainers
(cherry picked from commit df175d625e)
(cherry picked from commit 0e61fccd4c)
2024-11-30 15:11:14 +01:00
Emily
ca120bbcdf
folly: add update script
(cherry picked from commit f86db4874d)
(cherry picked from commit e456bdb0cb)
2024-11-30 15:11:14 +01:00
Emily
4809b6f333
folly: enable tests
(cherry picked from commit a3afbe7ccf)
(cherry picked from commit 4eb464fe33)
2024-11-30 15:11:14 +01:00
Emily
387712f527
folly: bump to fmt_11
This is the version used upstream.

(cherry picked from commit bba7126b28)
(cherry picked from commit 7fbdc96f7b)
2024-11-30 15:11:14 +01:00
Emily
f30af822fa
folly: propagate required dependencies
(cherry picked from commit fb3b469558)
(cherry picked from commit 31e3056413)
2024-11-30 15:11:14 +01:00
Emily
5d2806e95a
folly: condition shared libraries on platform setting
(cherry picked from commit cad3e3ece6)
(cherry picked from commit d0c2ddc592)
2024-11-30 15:11:14 +01:00
Emily
eab5ca3e51
folly: remove obsolete AArch64 hack
(cherry picked from commit 3352d4f1ab)
(cherry picked from commit da0502a94a)
2024-11-30 15:11:13 +01:00
Emily
c47376bbd1
folly: refine -fpermissive flag
This was added for AArch64 support, but we can use a more targeted
flag for the build failure.

(cherry picked from commit ae0425bd9a)
(cherry picked from commit 0e3ffa9a65)
2024-11-30 15:11:13 +01:00
Emily
012bca60e2
folly: fix split outputs
Downstream derivations were picking up references to the `dev` output
through indirect `__FILE__` usage in the headers. I borrowed and
modified this trick from the Boost package, where I believe vcunat
originated it. It’s not very pretty and it should be in a hook or
something, but it works at a pinch.

(cherry picked from commit fbdced9bb3)
(cherry picked from commit 0581e31285)
2024-11-30 15:11:13 +01:00
Emily
94862ed128
folly: patch pkg-config file instead of CMake files
This is closer to fixing the problem at the source.

(cherry picked from commit 2fc882c70c)
(cherry picked from commit c0b7ae5a7c)
2024-11-30 15:11:13 +01:00
Emily
3befdb133b
folly: 2024.03.11.00 -> 2024.11.18.00
Diff: https://github.com/facebook/folly/compare/refs/tags/v2024.03.11.00...v2024.11.18.00
(cherry picked from commit d4c26774d5)
(cherry picked from commit 7a3765484d)
2024-11-30 15:11:13 +01:00
Emily
20ea752239
folly: use Ninja
(cherry picked from commit eca60c841c)
(cherry picked from commit 52a456a441)
2024-11-30 15:11:13 +01:00
Emily
25ae142a4e
folly: refine meta.platforms
(cherry picked from commit 5ee21f2961)
(cherry picked from commit a3d3418e74)
2024-11-30 15:11:13 +01:00
Emily
4fc612be9d
folly: reorder inputs to match upstream file
(cherry picked from commit 7ae3a8ada6)
(cherry picked from commit 383254a33b)
2024-11-30 15:11:12 +01:00
Emily
80dd0dc4e6
folly: reorder attributes
(cherry picked from commit 593f78887a)
(cherry picked from commit 2fcd56c3cd)
2024-11-30 15:11:12 +01:00
Emily
685fd2c8c8
folly: use hash
(cherry picked from commit b67cce1449)
(cherry picked from commit de5c1f0edc)
2024-11-30 15:11:12 +01:00
Emily
cdb033330b
folly: use refs/tags/
(cherry picked from commit 0d5cd2a39d)
(cherry picked from commit 3c95334d4a)
2024-11-30 15:11:12 +01:00
Emily
bfba0d1825
folly: remove with lib;
(cherry picked from commit fbb9ab5079)
(cherry picked from commit 5705b45c48)
2024-11-30 15:11:12 +01:00
Emily
70ab289cf6
folly: use finalAttrs
(cherry picked from commit 7730053428)
(cherry picked from commit 55793f0501)
2024-11-30 15:11:12 +01:00
Emily
ae228e43c8
folly: move to pkgs/by-name
(cherry picked from commit b22849fd64)
(cherry picked from commit f307528160)
2024-11-30 15:11:11 +01:00
Emily
289a4465d9
folly: convert to new Darwin SDK pattern
This is using unguarded 11.0 APIs, so bump the deployment target too.

(cherry picked from commit 89e641930d)
(cherry picked from commit 45e6e0f628)
2024-11-30 15:11:11 +01:00
Emily
d245bc3752
folly: format with nixfmt-rfc-style
(cherry picked from commit 3e0bc63451)
(cherry picked from commit b75bf52e85)
2024-11-30 15:11:11 +01:00
Artturin
57b1a4b411
meson.setupHook: Add timeout-multiplier
0 ss infinite, nix will take care of the timeout

In loaded environments the tests can take longer to build

(cherry picked from commit 54522e10d5)
(cherry picked from commit a49bc5c9e5)
2024-11-30 15:11:11 +01:00
zowoq
c1f4c53d8d
libgit2: switch to pcre2
pcre is EOL

(cherry picked from commit 05a480c3af)
(cherry picked from commit 41bd3a4640)
2024-11-30 15:11:11 +01:00
Reno Dakota
7d85e7c1af
libuv: disable test for darwin sandbox
fs_event_watch_delete_dir fails in the darwin sandbox. disable it.

(cherry picked from commit 312737ea68)
(cherry picked from commit cf43e134b6)
2024-11-30 15:11:11 +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
Dmitry Ivankov
0c1ab1f5b5
darwin bazelDeps hashes
(cherry picked from commit 82c4c76594)
(cherry picked from commit 7d71c28a89)
2024-11-30 15:11:10 +01:00
Dmitry Ivankov
e04a98ac0f
bazel_7: 7.4.0 -> 7.4.1
(cherry picked from commit 369ca2bdb6)
(cherry picked from commit cb4a2d395e)
2024-11-30 15:11:10 +01:00
Emily
72deeb8efb
Revert "systemd: revert boot-breaking systemd-boot change"
This was incorporated upstream in v256.8 as
<a9d9db7f4e>.

This reverts commit 63ce4665b2.

Fixes: 6fc6e7bce8
(cherry picked from commit 19853b7953)
(cherry picked from commit 9f685aba06)
2024-11-30 15:11:10 +01:00
David McFarland
e608a7688a
autoconf-archive: fix quoting of m4_fatal
This cherry-picks a patch set fixing calls to m4_fatal which caused some
packages to fail in autoconf (e.g. cava).

(cherry picked from commit bdd6ddd20d)
(cherry picked from commit 83c8c7fad4)
2024-11-30 15:11:10 +01:00
Robert Schütz
6b98b10a65
python312Packages.setuptools: 75.1.0 -> 75.1.1
Diff: https://github.com/pypa/setuptools/compare/refs/tags/v75.1.0...75.1.1

Changelog: https://setuptools.pypa.io/en/stable/history.html#v75-1-1
(cherry picked from commit 49245b838c)
(cherry picked from commit e52f251230)
2024-11-30 15:11:10 +01:00
Sefa Eyeoglu
67de25922b
curl: backport netrc regression fix
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
(cherry picked from commit 9be3e11050)
(cherry picked from commit a24bde482b)
2024-11-30 15:11:10 +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
Randy Eckenrode
85f95c56e4
stdenv: elaborate on nature of mass rebuilds
(cherry picked from commit 719c731df3)
(cherry picked from commit 7ad36a5523)
2024-11-30 15:11:09 +01:00
Randy Eckenrode
d93cc69734
Revert "stdenv: set NIX_DONT_SET_RPATH_FOR_TARGET on Darwin"
This reverts commit 10c87ee2c7.

(cherry picked from commit 1810b522d7)
(cherry picked from commit 46affc6300)
2024-11-30 15:11:09 +01:00
Josh Hoffer
17738b2648
systemd: 256.7 -> 256.8
(cherry picked from commit 6fc6e7bce8)
(cherry picked from commit 30bda35f7a)
2024-11-30 15:11:09 +01:00
Maximilian Bosch
ef7dc14ab4
postgresql: drop build-time dependency on GHC
This replaces `writeShellApplication` with `writeShellScriptBin` that
doesn't perform a shellcheck. This makes it way easier to build
postgresql on staging since GHC is super slow to build, even with pretty
powerful machines.

Also Haskell updates are currently merged straight into master which
means that postgresql and all reverse dependencies require a rebuild on
master then[1].

[1] https://github.com/NixOS/nixpkgs/pull/354270#issuecomment-2463196665

(cherry picked from commit 4cd083a3cd)
(cherry picked from commit a40d887561)
2024-11-30 15:11:09 +01:00
Wolfgang Walther
88cd14d0f2
postgresql_16: 16.4 -> 16.5
Release Notes:
https://www.postgresql.org/about/news/postgresql-171-165-159-1414-1317-and-1221-released-2955/

(cherry picked from commit 797b544bda)
(cherry picked from commit 77ea13f377)
2024-11-30 15:11:08 +01:00
Alyssa Ross
df7b79ae5a
systemd: revert boot-breaking systemd-boot change
Fixes boot for me.

Closes: https://github.com/NixOS/nixpkgs/pull/355284
(cherry picked from commit 63ce4665b2)
(cherry picked from commit 91ea63fc21)
2024-11-30 15:11:08 +01:00
Alyssa Ross
c81f064ea8
librist: fix build for musl
(cherry picked from commit 01fe6fb38d)
(cherry picked from commit 055e702400)
2024-11-30 15:11:08 +01:00
Andrew Brooks
31a7cdb7be
tk: 8.6.13 -> 8.6.15
(cherry picked from commit e9ef95e543)
(cherry picked from commit 6b1b1d7eec)
2024-11-30 15:11:08 +01:00
Andrew Brooks
f028617643
tcl: 8.6.13 -> 8.6.15
(cherry picked from commit b8d86f5728)
(cherry picked from commit c7e2230a5d)
2024-11-30 15:11:08 +01:00
Bobby Rong
a1868a1013
xorg.libX11: Fix spurious Xerror when running synchronized
This backports https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/264.

This fixes 'XIO: fatal IO error 9 (Bad file descriptor) on X server
":102"' when GNOME's mutter is tearing down.

ref: ddc5e3368d
ref: f88b54502c
(cherry picked from commit 6ac7c0c4d0)
(cherry picked from commit 9b1475f9c4)
2024-11-30 15:11:05 +01:00
github-actions[bot]
262a7c4efe
Merge master into staging-next 2024-11-30 12:05:14 +00:00