Commit Graph

18 Commits

Author SHA1 Message Date
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
Anthony ROUSSEL
e08704965a ccid: migrate to pkgs/by-name, format with nixfmt-rfc-style 2024-09-17 22:02:47 +02:00
Anderson Torres
f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03:00
Emily
9562b3d2af ccextractor: 0.93 -> 0.94-unstable-2024-08-12
Includes fixes for Tesseract 5 and FFmpeg 7.
2024-08-19 00:21:56 +01:00
Emily
98002580a9 ccextractor: adopt
I did once try to use this program (although it didn’t work, if I
recall correctly), so I guess I have no excuse not to…

If someone else stepped up to maintain this that would be better,
though.
2024-08-01 21:09:25 +01:00
Emily
b546361c00 ccextractor: modernize 2024-08-01 21:06:19 +01:00
Emily
c3a8cb1e7b ccextractor: format with nixfmt-rfc-style 2024-08-01 21:01:29 +01:00
Emily
83b327fd22 ccextractor: move to pkgs/by-name 2024-08-01 20:57:54 +01:00
Vladimír Čunát
cd346565bb
Merge branch 'master' into staging-next 2024-07-24 07:19:19 +02:00
R. Ryantm
30afe6ea5c ccache: 4.10.1 -> 4.10.2 2024-07-23 06:23:33 +00:00
Randy Eckenrode
9f68d60b5c
cctools: 973.0.1 -> 1010.6 2024-07-13 17:54:34 -04:00
Kira Bruneau
81d33312aa ccache: 4.10 -> 4.10.1 2024-07-01 23:39:17 -04:00
Robert Schütz
898be2ef0f ccache: make src reproducible 2024-06-02 08:13:54 -07:00
Nano Twerpus
d148e5a6da ccache: format with nixfmt-rfc-style 2024-05-31 08:55:19 -04:00
Nano Twerpus
2944aeb2c6 ccache: 4.9.1 -> 4.10
Dependencies now necessary to compile `ccache` added: `doctest`, `fmt`, `hiredis`, `xxHash`.
2024-05-31 08:54:11 -04:00
matthewcroughan
a38bfa7f82 cc1541: init at 4.1
Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
Co-authored-by: Cosima Neidahl <opna2608@protonmail.com>
2024-04-11 15:17:29 +01:00
R. Ryantm
ae8007359e ccache: 4.9 -> 4.9.1 2024-02-09 12:01:03 +00:00
Emery Hemingway
1bbad171d0 ccache: move to pkgs/by-name 2024-02-09 12:00:40 +00:00