Commit Graph

34 Commits

Author SHA1 Message Date
github-actions[bot]
b4d4509dd5
Merge master into staging-next 2024-11-12 12:06:14 +00:00
Fabian Affolter
b4e761788c ldeep: 1.0.72 -> 1.0.73
Diff: https://github.com/franc-pentest/ldeep/compare/refs/tags/1.0.72...1.0.73

Changelog: https://github.com/franc-pentest/ldeep/releases/tag/1.0.73
2024-11-11 11:56:45 +01:00
Emily
ce788776a5 Merge master into staging-next 2024-11-09 12:51:01 +00:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
github-actions[bot]
e953c01873
Merge staging-next into staging 2024-11-05 00:14:28 +00:00
Emily
e7d6ea8ca6 ld64: set Darwin team as maintainers
This is a critical part of the Darwin build infrastructure.
2024-11-04 23:01:29 +00:00
Reno Dakota
f91487fa13
ld64: fix build with llvm19
remove unused and incomplete function
2024-11-02 19:00:00 -07:00
Emily
b75c70282f ld64: search standard library locations
This is basically harmless for the same reason as it is for Clang, and
lets us avoid doing wrapper hacks to fix things like the .NET build.

This reverts commit 4340a5addb.
2024-10-24 18:11:34 +01:00
Randy Eckenrode
f90d4d5e5b
ld64: adopt source release private headers pattern
Most Darwin source releases vendor private headers in a separate
derivation and add them to `NIX_CFLAGS_COMPILE` (to avoid propagating
them in static builds). Adopt this pattern for consistency with the
other source releases.
2024-10-10 16:23:07 -04:00
Randy Eckenrode
1c1774806d
ld64: drop libunwind as a dependency
libunwind is included in the SDK, so it’s no longer necessary to include
it as an explicit dependency.
2024-10-10 16:23:07 -04:00
Randy Eckenrode
2bf9c22eb1
ld64: ensure ld64 checks pass with the new SDK
The SDK library path is normally add by the ld wrapper, but ld64 is
being used unwrapped in this check phase. Ensure it can find the
requires SDK stubs by passing them via the clang wrapper.
2024-10-10 16:23:07 -04:00
Artturin
63fa53d97c treewide: reformat files which need reformatting after
`treewide: replace stdenv.is with stdenv.hostPlatform.is`
2024-09-25 00:04:39 +03:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Keto
97ceb876f0
ldid-procursus: Fix (possible) memory issues
Some entitlements can lead to unexepected behavior, causing
the entire program to hang until all memory is leaked
2024-09-01 22:32:00 -04:00
Keto
135d180253
ldid-procursus: Migrate to by-name 2024-09-01 22:30:00 -04:00
Randy Eckenrode
957be61c02
ld64: fix cross-compilation install check phase
ld64 needs to build itself in its install check using a target prefix. Otherwise, ninja will not be configured with the correct target, causing the check to fail when ld64 is built for a cross-target.
2024-07-29 21:24:13 -04:00
Vladimír Čunát
64c6a981fe
Merge branch 'master' into staging-next 2024-07-27 09:18:58 +02:00
Sandro
c506cf7275
Merge pull request #324690 from jtbx-patches/ldc-bootstrap-passthru 2024-07-27 00:06:03 +02:00
Martin Weinelt
93f4195fe0
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/applications/graphics/seamly2d/default.nix
2024-07-26 18:05:04 +02:00
Sigmanificient
61fe0c0416 pkgs/by-name: remove unused arguments 2024-07-26 10:11:07 +02:00
Artturin
60e9cffe2c Merge branch 'master' into staging-next 2024-07-22 22:53:31 +03:00
Jeremy Baxter
a488e04020 ldc: bump to LLVM 18 2024-07-22 07:47:11 +12:00
Jeremy Baxter
9217791c26 ldc: expose ldcBootstrap in passthru 2024-07-22 07:47:11 +12:00
Peder Bergebakken Sundt
beab3b862a
Merge pull request #324400 from CyberShadow/ldc-include-output
ldc: split includes to separate output
2024-07-21 21:02:32 +02:00
Vladimir Panteleev
2ac637b098
ldc: add disallowedReferences test 2024-07-21 04:59:28 +00:00
Randy Eckenrode
f02b50ba18
ld64: init at 951.9 2024-07-13 17:54:34 -04:00
R. Ryantm
2b05112718 ldc: 1.38.0 -> 1.39.0 2024-07-04 15:49:16 +00:00
Vladimir Panteleev
a02f964d4c
ldc: split includes to separate output 2024-07-04 11:28:00 +00:00
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
Jeremy Baxter
b8eef4c70d ldc: 1.36.0 -> 1.38.0 2024-06-07 09:49:27 +12:00
Jeremy Baxter
ef4d490655 ldc: add meta.changelog 2024-06-07 09:49:21 +12:00
Jeremy Baxter
44b69c0ad2 ldc: modernize 2024-06-06 15:25:21 +12:00
Jeremy Baxter
ad4a42b2ce ldc: migrate to pkgs/by-name 2024-05-28 11:22:27 +12:00
vpochapuis
0cd4466c25 ldproxy: init at 0.31.4 2024-04-07 16:49:59 +08:00