Commit Graph

23 Commits

Author SHA1 Message Date
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