Commit Graph

27 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
Francesco Gazzetta
c879f27429 vengi-tools: 0.0.32 -> 0.0.33 2024-08-22 15:32:48 +02:00
Sigmanificient
2ee703dccb pkgs/applications: remove unused arguments 2024-07-26 11:36:49 +02:00
R. Ryantm
7da279c3b9 vengi-tools: 0.0.31 -> 0.0.32 2024-05-31 17:20:40 +00:00
R. Ryantm
a372a2626b vengi-tools: 0.0.30 -> 0.0.31 2024-05-10 07:33:32 +00:00
R. Ryantm
d63574c2ac vengi-tools: 0.0.29 -> 0.0.30 2024-03-23 14:49:17 +00:00
R. Ryantm
2dbd317f56 vengi-tools: 0.0.28 -> 0.0.29
Co-authored-by: Francesco Gazzetta <fgaz@fgaz.me>
2024-03-18 09:36:04 +01:00
Francesco Gazzetta
9532f335d6 vengi-tools: use finalAttrs pattern 2024-03-05 09:50:11 +01:00
R. Ryantm
dcb75ccb68 vengi-tools: 0.0.27 -> 0.0.28 2024-01-18 15:13:17 +00:00
Francesco Gazzetta
9b77428564 vengi-tools: 0.0.26 -> 0.0.27
Diff: https://github.com/mgerhardy/vengi/compare/v0.0.26...v0.0.27
2023-11-09 09:21:41 +00:00
R. Ryantm
b5fdf79567 vengi-tools: 0.0.25 -> 0.0.26 2023-08-15 19:44:46 +00:00
Francesco Gazzetta
fcc768897b vengi-tools: 0.0.24 -> 0.0.25
https://github.com/mgerhardy/vengi/releases/tag/v0.0.25
Diff: https://github.com/mgerhardy/vengi/compare/v0.0.24...v0.0.25
2023-07-31 10:27:31 +02:00
Francesco Gazzetta
87d7fb45da vengi-tools: 0.0.23 -> 0.0.24 2023-03-13 10:22:49 +01:00
Weijia Wang
f93d6e7e0b vengi-tools: unbreak on x86_64-darwin 2022-12-25 09:57:11 +01:00
Francesco Gazzetta
0d10cc9175 vengi-tools: 0.0.22 -> 0.0.23 2022-12-18 14:07:28 +01:00
R. Ryantm
9ae430af84 vengi-tools: 0.0.21 -> 0.0.22 2022-11-01 09:37:32 +00:00
Francesco Gazzetta
2f32fe9e6d vengi-tools: 0.0.20 -> 0.0.21 2022-09-06 16:00:26 +02:00
Francesco Gazzetta
5e52fdf6f6 vengi-tools: 0.0.18 -> 0.0.20 2022-06-14 22:23:50 +02:00
Francesco Gazzetta
97879bb90d Revert "vengi-tools: remove failing roundtrip test"
This reverts commit 50dae31a14.
2022-02-14 12:03:52 +01:00
Francesco Gazzetta
7d87dadcea vengi-tools: 0.0.17 -> 0.0.18 2022-02-14 12:03:31 +01:00
Francesco Gazzetta
97c0ce62ad vengi-tools: update repo and website URLs
engine -> vengi
2022-02-02 21:41:31 +01:00
Francesco Gazzetta
50dae31a14 vengi-tools: remove failing roundtrip test 2022-02-02 21:41:30 +01:00
Francesco Gazzetta
8ed1c05622 vengi-tools: add convert all formats test 2022-02-02 21:41:30 +01:00
Francesco Gazzetta
c1366d7fb9 vengi-tools: unpin cmake
vengi-tools needed >=3.22, and the cmake package is now 3.22.1
2022-02-02 21:41:30 +01:00
Francesco Gazzetta
e175845d61 vengi-tools: 0.0.14 -> 0.0.17 2022-02-02 21:41:29 +01:00
Francesco Gazzetta
324e9f686e nixosTests.vengi-tools: init 2021-11-23 15:23:52 +01:00
Francesco Gazzetta
218f143514 vengi-tools: init at 0.0.14 2021-11-23 15:23:52 +01:00