Commit Graph

29 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
Nikolay Korotkiy
cac4da7aec
tparse: add ldflags 2024-09-07 02:16:16 +04:00
R. Ryantm
e714e0d031 tparse: 0.14.0 -> 0.15.0 2024-09-06 02:53:25 +00:00
Adam C. Stephens
3efc29a76c
tpnote: 1.24.7 -> 1.24.8 (#337046) 2024-09-02 20:36:06 -04:00
Sandro
7bb8942dcd
tproxy: init at 0.8.1 (#297045) 2024-09-01 18:47:21 +02:00
R. Ryantm
e1cbc50048 tpnote: 1.24.7 -> 1.24.8 2024-08-24 16:31:10 +00:00
DCsunset
f1eb2f7892 tproxy: init at 0.8.1 2024-08-03 19:21:52 -04:00
Aleksana
d633595bac
Merge pull request #326232 from iynaix/tplay-ffprobe-runtime
tplay: fix runtime ffprobe dependency
2024-08-03 21:01:38 +08:00
R. Ryantm
44480e472d tpnote: 1.24.6 -> 1.24.7 2024-07-22 02:24:18 +00:00
Lin Xianyi
b15945b43c tplay: fix runtime ffprobe dependency 2024-07-11 09:49:51 +08:00
R. Ryantm
19da04500e tpnote: 1.24.4 -> 1.24.6 2024-07-10 03:18:38 +00:00
Nick Cao
d1c235f2e7
Merge pull request #321647 from Frontear/update-tpnote
tpnote: 1.24.2 -> 1.24.4
2024-06-27 15:57:48 -04:00
R. Ryantm
49674e5b27 tparse: 0.13.3 -> 0.14.0 2024-06-22 02:59:12 +00:00
Ali Rizvi
e5e5da76dc
tpnote: 1.24.2 -> 1.24.4 2024-06-21 22:13:25 -04:00
Oliver Breitwieser
14925a6a2c tparse: init at 0.13.3 2024-06-18 22:36:52 +02:00
Jens Getreu
1109db26e1 tpnote: add manpage 2024-06-09 10:43:32 +03:00
Sigmanificient
cc8120d3ff pkgs/by-name: remove unuseed fetchpatch arguments 2024-05-24 02:49:58 +02:00
Nick Cao
786428bb5a
tplay: use rustPlatform.bindgenHook 2024-04-30 09:34:16 -04:00
Peder Bergebakken Sundt
d7d8ffeaa2
Merge pull request #300578 from colemickens/colemickens/tplay-0.5.0
tplay: 0.4.0 -> 0.5.0
2024-04-22 22:41:27 +02:00
Peder Bergebakken Sundt
9f3d24eccd tplay.meta.maintainers: add colemickens 2024-04-22 22:35:40 +02:00
kashw2
1f1714519a tpnote: 1.24.0 -> 1.24.2 2024-04-13 00:12:53 +10:00
Weijia Wang
c5f767e737
Merge pull request #302604 from r-ryantm/auto-update/tpnote
tpnote: 1.23.10 -> 1.24.0
2024-04-09 08:29:36 +02:00
R. Ryantm
0a2a7249a4 tpnote: 1.23.10 -> 1.24.0 2024-04-08 15:17:19 +00:00
Steffen Vogel
c29744a0fe tpm2-openssl: init at 1.2.0 2024-04-07 12:26:11 +02:00
Cole Mickens
5e264e2d13 tplay: 0.4.0 -> 0.5.0 2024-03-31 16:13:53 -07:00
Jens Getreu
7adc4c8a53 tpnote: 1.23.9 -> 1.23.10 2024-03-21 20:26:16 +02:00
Jens Getreu
9b5f584440 tpnote: init at 1.23.9 2024-03-13 20:15:33 +02:00
Demine
d1df76655e
tplay: init at 0.4.5 (#266300)
* maintainers: add demine

* tplay: init at 0.4.5
2023-11-13 18:57:48 +04:00
Raito Bezarius
3e6c2c196e tpm2-totp: init at 0.3.0 2023-10-21 13:36:52 +02:00