Commit Graph
714682 Commits
Author SHA1 Message Date
EmilyandVladimír Čunát 8b9a7a64bc fizz: move to pkgs/by-name
(cherry picked from commit eb19c30c3a)
(cherry picked from commit 05b4b1f26dc547ad097ebb1dc312dc5873fc6790)
2024-11-30 15:11:15 +01:00
EmilyandVladimír Čunát 3aa8b5fcd4 fizz: convert to new Darwin SDK pattern
(cherry picked from commit 91c31b1069)
(cherry picked from commit 979e60c7184795ed91478c685f5f976824bf713e)
2024-11-30 15:11:15 +01:00
EmilyandVladimír Čunát 15de9b55e1 fizz: format with nixfmt-rfc-style
(cherry picked from commit 95d28ae657)
(cherry picked from commit 342b7edf01254487d60d92db010095856a133d19)
2024-11-30 15:11:15 +01:00
EmilyandVladimír Čunát 6a9e015730 folly: add techknowlogick to maintainers
(cherry picked from commit c71ed296d7)
(cherry picked from commit 0cefd8eeba56f2170c6160b85b2ba1f31afca778)
2024-11-30 15:11:14 +01:00
EmilyandVladimír Čunát 3571e8d763 folly: add emily to maintainers
(cherry picked from commit df175d625e)
(cherry picked from commit 0e61fccd4cf0fa083307929f4e055d5e2d6e0a4d)
2024-11-30 15:11:14 +01:00
EmilyandVladimír Čunát ca120bbcdf folly: add update script
(cherry picked from commit f86db4874d)
(cherry picked from commit e456bdb0cb53957eb96c9e95c30a93941f1f7ea2)
2024-11-30 15:11:14 +01:00
EmilyandVladimír Čunát 4809b6f333 folly: enable tests
(cherry picked from commit a3afbe7ccf)
(cherry picked from commit 4eb464fe33c009eb41b4ce5b56635456053e0634)
2024-11-30 15:11:14 +01:00
EmilyandVladimír Čunát 387712f527 folly: bump to fmt_11
This is the version used upstream.

(cherry picked from commit bba7126b28)
(cherry picked from commit 7fbdc96f7b89ba89cb44efd2334f272492b60be8)
2024-11-30 15:11:14 +01:00
EmilyandVladimír Čunát f30af822fa folly: propagate required dependencies
(cherry picked from commit fb3b469558)
(cherry picked from commit 31e3056413ac47f985a410f9e18cd285b82aba18)
2024-11-30 15:11:14 +01:00
EmilyandVladimír Čunát 5d2806e95a folly: condition shared libraries on platform setting
(cherry picked from commit cad3e3ece6)
(cherry picked from commit d0c2ddc592e377347d29be520d8cab5e75d5d602)
2024-11-30 15:11:14 +01:00
EmilyandVladimír Čunát eab5ca3e51 folly: remove obsolete AArch64 hack
(cherry picked from commit 3352d4f1ab)
(cherry picked from commit da0502a94ace2c402892ed389aae89c50b814b5e)
2024-11-30 15:11:13 +01:00
EmilyandVladimír Čunát 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 0e3ffa9a6552a7201e45dbcc403a1cb3474b26b8)
2024-11-30 15:11:13 +01:00
EmilyandVladimír Čunát 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 0581e31285f98d7e71ae4f8ab12d3c6e2873c554)
2024-11-30 15:11:13 +01:00
EmilyandVladimír Čunát 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 c0b7ae5a7c4e4f0740fd3b8d05c0bca77ceac86f)
2024-11-30 15:11:13 +01:00
EmilyandVladimír Čunát 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 7a3765484d496be77bd778780c1059c6b951190d)
2024-11-30 15:11:13 +01:00
EmilyandVladimír Čunát 20ea752239 folly: use Ninja
(cherry picked from commit eca60c841c)
(cherry picked from commit 52a456a441ef9f01daffcc929cf8fbae162423df)
2024-11-30 15:11:13 +01:00
EmilyandVladimír Čunát 25ae142a4e folly: refine meta.platforms
(cherry picked from commit 5ee21f2961)
(cherry picked from commit a3d3418e74de3a41b61880bc0cb5d28a66343bb0)
2024-11-30 15:11:13 +01:00
EmilyandVladimír Čunát 4fc612be9d folly: reorder inputs to match upstream file
(cherry picked from commit 7ae3a8ada6)
(cherry picked from commit 383254a33b79d270994659b1c4161c46abe85247)
2024-11-30 15:11:12 +01:00
EmilyandVladimír Čunát 80dd0dc4e6 folly: reorder attributes
(cherry picked from commit 593f78887a)
(cherry picked from commit 2fcd56c3cd922290cf1347fae8cf2f46df9fbbf4)
2024-11-30 15:11:12 +01:00
EmilyandVladimír Čunát 685fd2c8c8 folly: use hash
(cherry picked from commit b67cce1449)
(cherry picked from commit de5c1f0edc80599c7404faccc406ccdd5f975f4e)
2024-11-30 15:11:12 +01:00
EmilyandVladimír Čunát cdb033330b folly: use refs/tags/
(cherry picked from commit 0d5cd2a39d)
(cherry picked from commit 3c95334d4a06a88ceabf8eb7454cc840a3b2ec0c)
2024-11-30 15:11:12 +01:00
EmilyandVladimír Čunát bfba0d1825 folly: remove with lib;
(cherry picked from commit fbb9ab5079)
(cherry picked from commit 5705b45c48ac661106df502d0cb8d41596d65386)
2024-11-30 15:11:12 +01:00
EmilyandVladimír Čunát 70ab289cf6 folly: use finalAttrs
(cherry picked from commit 7730053428)
(cherry picked from commit 55793f0501ae04cc72ac31befe60140cf8146547)
2024-11-30 15:11:12 +01:00
EmilyandVladimír Čunát ae228e43c8 folly: move to pkgs/by-name
(cherry picked from commit b22849fd64)
(cherry picked from commit f307528160c8a9f0073760bc52819a42fb2aea7b)
2024-11-30 15:11:11 +01:00
EmilyandVladimír Čunát 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 45e6e0f628abc7f29b0e7ef18137a1a23a5a7ba1)
2024-11-30 15:11:11 +01:00
EmilyandVladimír Čunát d245bc3752 folly: format with nixfmt-rfc-style
(cherry picked from commit 3e0bc63451)
(cherry picked from commit b75bf52e85b76df84698547f363cc87b5d5ee805)
2024-11-30 15:11:11 +01:00
ArtturinandVladimír Čunát 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 a49bc5c9e512fb2bbc5b96c44042a5e330d2116d)
2024-11-30 15:11:11 +01:00
zowoqandVladimír Čunát c1f4c53d8d libgit2: switch to pcre2
pcre is EOL

(cherry picked from commit 05a480c3af)
(cherry picked from commit 41bd3a4640c255b3b872253856c146c98379b556)
2024-11-30 15:11:11 +01:00
Reno DakotaandVladimír Čunát 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 cf43e134b6da0aae9ca70a29b6d45033562ec639)
2024-11-30 15:11:11 +01:00
Reno DakotaandVladimír Čunát 85492cd5fd llvmPackages_12.compiler-rt: fix build race aarch64-darwin
https://github.com/llvm/llvm-project/commit/b31080c596246bc26d2493cfd5e07f053cf9541c
(cherry picked from commit 47a4caf483)
(cherry picked from commit c5d97e05777a018712e2388ce736be80eb20b24a)
2024-11-30 15:11:11 +01:00
Dmitry IvankovandVladimír Čunát 0c1ab1f5b5 darwin bazelDeps hashes
(cherry picked from commit 82c4c76594)
(cherry picked from commit 7d71c28a8972b5e5106cee8a841f6825c1efaee1)
2024-11-30 15:11:10 +01:00
Dmitry IvankovandVladimír Čunát e04a98ac0f bazel_7: 7.4.0 -> 7.4.1
(cherry picked from commit 369ca2bdb6)
(cherry picked from commit cb4a2d395eedbbaf60e7d7d7c6664a6e6674228a)
2024-11-30 15:11:10 +01:00
EmilyandVladimír Čunát 72deeb8efb Revert "systemd: revert boot-breaking systemd-boot change"
This was incorporated upstream in v256.8 as
<https://github.com/systemd/systemd/commit/a9d9db7f4e4a75f6dbda5c31fbbf325eff9d63b4>.

This reverts commit 63ce4665b2.

Fixes: 6fc6e7bce8
(cherry picked from commit 19853b7953)
(cherry picked from commit 9f685aba062f906ae1fa5b42a23bf0f2a5663510)
2024-11-30 15:11:10 +01:00
David McFarlandandVladimír Čunát 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 83c8c7fad4c5eeb9e4950c13d6d7a37c17d9d42f)
2024-11-30 15:11:10 +01:00
Robert SchützandVladimír Čunát 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 e52f251230df49eceeaf8da269f8bbeab9cba5cb)
2024-11-30 15:11:10 +01:00
Sefa EyeogluandVladimír Čunát 67de25922b curl: backport netrc regression fix
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
(cherry picked from commit 9be3e11050)
(cherry picked from commit a24bde482b20b7dd0dad21349893b8b209282623)
2024-11-30 15:11:10 +01:00
sternenseemannandVladimír Čunát 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 f30f8ee969e6a395da091e7a8053e779b39686ff)
2024-11-30 15:11:10 +01:00
sternenseemannandVladimír Čunát 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 e33308016c10e2c67551e448b420bed634907c62)
2024-11-30 15:11:09 +01:00
sternenseemannandVladimír Čunát 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]: https://github.com/NixOS/nixpkgs/blob/665ebfb253caba7b85c2affefe2a92b305def4e6/pkgs/development/compilers/llvm/12/default.nix#L392-L430

(cherry picked from commit ee9eacf23e)
(cherry picked from commit c4e9f17ef944bb7ce0d3d1226d7f922f28e46b02)
2024-11-30 15:11:09 +01:00
sternenseemannandVladimír Čunát 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 9bf90993f4ba264b12733c3ae768db6e821279c5)
2024-11-30 15:11:09 +01:00
Randy EckenrodeandVladimír Čunát 85f95c56e4 stdenv: elaborate on nature of mass rebuilds
(cherry picked from commit 719c731df3)
(cherry picked from commit 7ad36a5523482864431135715ba35cce2c6d46ae)
2024-11-30 15:11:09 +01:00
Randy EckenrodeandVladimír Čunát 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 46affc630052d0ff791d7dd79c9ef3296121114b)
2024-11-30 15:11:09 +01:00
Josh HofferandVladimír Čunát 17738b2648 systemd: 256.7 -> 256.8
(cherry picked from commit 6fc6e7bce8)
(cherry picked from commit 30bda35f7a9b616ad3b38968eca47b9d3624d310)
2024-11-30 15:11:09 +01:00
Maximilian BoschandVladimír Čunát 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 a40d887561d5f4a6d330181891d78174f82e84e4)
2024-11-30 15:11:09 +01:00
Wolfgang WaltherandVladimír Čunát 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 77ea13f37774efb6360729f03767ef72b1333e4f)
2024-11-30 15:11:08 +01:00
Alyssa RossandVladimír Čunát 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 91ea63fc21d90d9c017e600ae448a6bfc794c9aa)
2024-11-30 15:11:08 +01:00
Alyssa RossandVladimír Čunát c81f064ea8 librist: fix build for musl
(cherry picked from commit 01fe6fb38d)
(cherry picked from commit 055e7024008f7e39444dcd8af2880c04668b6d8d)
2024-11-30 15:11:08 +01:00
Andrew BrooksandVladimír Čunát 31a7cdb7be tk: 8.6.13 -> 8.6.15
(cherry picked from commit e9ef95e543)
(cherry picked from commit 6b1b1d7eecd594c1b036d0b55be6f645c79f2b04)
2024-11-30 15:11:08 +01:00
Andrew BrooksandVladimír Čunát f028617643 tcl: 8.6.13 -> 8.6.15
(cherry picked from commit b8d86f5728)
(cherry picked from commit c7e2230a5da44c1730f7e1f9f5307b064029b5b8)
2024-11-30 15:11:08 +01:00
Bobby RongandVladimír Čunát 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: https://src.fedoraproject.org/rpms/libX11/c/ddc5e3368d876332178857fbdd3dce97fe614f9c
ref: https://gitlab.gnome.org/GNOME/mutter/-/commit/f88b54502c77000d70e30984e7903b808d947049
(cherry picked from commit 6ac7c0c4d0)
(cherry picked from commit 9b1475f9c400ca704d615ae6f80de747244a8e59)
2024-11-30 15:11:05 +01:00