Commit Graph

85 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
Peder Bergebakken Sundt
e471916645
treewide: passthru nixos test (#334491) 2024-08-18 00:29:43 +02:00
R. Ryantm
db848c5f4c croc: 10.0.10 -> 10.0.11 2024-07-31 12:47:21 +00:00
R. Ryantm
9fc0b80807 croc: 10.0.9 -> 10.0.10 2024-07-08 03:04:31 +00:00
R. Ryantm
be5293d425 croc: 10.0.8 -> 10.0.9 2024-06-27 00:55:02 +00:00
R. Ryantm
5f43f4f78a croc: 10.0.7 -> 10.0.8 2024-06-08 22:15:22 +00:00
R. Ryantm
8b0a127424 croc: 10.0.5 -> 10.0.7 2024-06-01 14:43:46 +00:00
Aaron Jheng
6f8ce597d0
croc: 9.6.16 -> 10.0.5 2024-05-27 16:28:22 +08:00
Sandro Jäckel
6a5f9aa788
croc: 9.6.15 -> 9.6.16
Diff: https://github.com/schollz/croc/compare/v9.6.15...v9.6.16
2024-05-20 20:54:21 +02:00
R. Ryantm
e1ea6ba4f1 croc: 9.6.14 -> 9.6.15 2024-04-07 01:15:46 +00:00
R. Ryantm
30a459c361 croc: 9.6.13 -> 9.6.14 2024-03-12 01:00:42 +00:00
R. Ryantm
ed3c7aebf2 croc: 9.6.11 -> 9.6.13 2024-02-23 13:20:58 +00:00
R. Ryantm
4b433780d2 croc: 9.6.10 -> 9.6.11 2024-02-20 03:38:30 +00:00
R. Ryantm
58d43bc9ca croc: 9.6.9 -> 9.6.10 2024-02-16 17:56:25 +00:00
Peder Bergebakken Sundt
755d153a7a
Merge pull request #287915 from h7x4/treewide-add-main-program-4
treewide: add `mainProgram`
2024-02-15 01:45:40 +01:00
R. Ryantm
86509d3bf5 croc: 9.6.8 -> 9.6.9 2024-02-11 11:03:20 +00:00
h7x4
8121f3559a
treewide: add mainProgram 2024-02-11 03:19:15 +01:00
R. Ryantm
bea217ba83 croc: 9.6.6 -> 9.6.8 2024-02-07 06:25:46 +00:00
R. Ryantm
5622db03b9 croc: 9.6.5 -> 9.6.6 2023-11-10 06:26:07 +00:00
Sandro Jäckel
1502e8a52c
croc: 9.6.4 -> 9.6.5
Diff: https://github.com/schollz/croc/compare/v9.6.4...v9.6.5
2023-07-06 20:44:41 +02:00
R. Ryantm
fe21fe6bf2 croc: 9.6.3 -> 9.6.4 2023-03-19 08:03:43 +00:00
Sandro Jäckel
dd50092fda
croc: 9.6.2 -> 9.6.3, disable extra test on darwin, cleanup
Diff: https://github.com/schollz/croc/compare/v9.6.2...v9.6.3
2023-02-28 00:56:02 +01:00
Sandro Jäckel
e0fb0e0851
croc: 9.6.1 -> 9.6.2
Diff: https://github.com/schollz/croc/compare/v9.6.1...v9.6.2
2022-12-06 21:07:14 +01:00
R. Ryantm
aa7fc78e6c croc: 9.6.0 -> 9.6.1 2022-10-18 09:12:51 +00:00
R. Ryantm
8cae924bc2 croc: 9.5.6 -> 9.6.0 2022-07-11 04:33:15 +00:00
Sandro Jäckel
58afc61149
croc: 9.5.5 -> 9.5.6 2022-05-19 11:31:12 +02:00
Sandro Jäckel
b3c2a63280
croc: 9.5.3 -> 9.5.5 2022-04-29 14:15:39 +02:00
Alvar Penning
d90962e7ed croc: 9.5.2 -> 9.5.3
https://github.com/schollz/croc/releases/tag/v9.5.3

Re-enable passthru.tests.local-relay as it works fine with the latest
croc release.
2022-04-09 15:33:43 +02:00
R. Ryantm
c23a65f993 croc: 9.5.1 -> 9.5.2 2022-02-24 18:57:07 +10:00
Sandro Jäckel
d801439480
croc: 9.5.0 -> 9.5.1 2022-02-07 02:07:39 +01:00
zowoq
a86361e234 croc: disable broken test 2022-01-31 06:31:57 +10:00
zowoq
586ff1f3e9 croc: update vendorSha256 2022-01-31 06:31:57 +10:00
Sandro Jäckel
2376862609
croc: 9.4.2 -> 9.5.0 2021-11-18 17:52:00 +01:00
Sandro Jäckel
175dbdb076
croc: 9.3.0 -> 9.4.2 2021-10-03 01:24:29 +02:00
Sandro Jäckel
b58fedc98e
croc: 9.2.1 -> 9.3.0 2021-08-16 22:01:52 +02:00
R. RyanTM
c4bf3d5ab3 croc: 9.2.0 -> 9.2.1 2021-08-07 05:22:25 +00:00
Sandro Jäckel
35184a5cf6
croc: 9.1.6 -> 9.2.0 2021-06-22 01:59:59 +02:00
Sandro
34673e7f24
Merge pull request #122376 from wamserma/fix-croc-test-2 2021-06-17 00:05:31 +02:00
Sandro Jäckel
911244ebe2 croc: 9.1.5 -> 9.1.6 2021-06-16 13:03:38 -07:00
Sandro Jäckel
702586e054
croc: 9.1.4 -> 9.1.5 2021-06-15 02:24:12 +02:00
Eduardo Quiros
089735097f
croc: 9.1.3 -> 9.1.4 2021-05-12 19:16:13 -06:00
Eduardo Quiros
85aa041a06
croc: 9.1.2 -> 9.1.3 2021-05-11 16:10:42 -06:00
Markus S. Wamser
286bca1830 croc.passthru.tests: partially revert 77c0a490
`--overwrite` is no longer needed for receiving text
2021-05-09 21:24:06 +02:00
R. RyanTM
54f592da6a croc: 9.1.1 -> 9.1.2 2021-05-09 02:50:51 +00:00
Sandro
b9ed7b607c
Merge pull request #121078 from wamserma/fix-croc-test
croc: fix passthru.tests
2021-04-30 03:34:03 +02:00
R. RyanTM
d9906b0576 croc: 9.1.0 -> 9.1.1 2021-04-29 22:48:09 +00:00
Markus S. Wamser
77c0a4907f croc: fix passthru.tests 2021-04-28 22:36:36 +02:00
R. RyanTM
0a6f41e438 croc: 8.6.12 -> 9.1.0 2021-04-22 08:08:18 +00:00
R. RyanTM
cd7b4b64b1 croc: 8.6.11 -> 8.6.12 2021-03-27 08:23:14 +00:00
R. RyanTM
8177519fbe croc: 8.6.10 -> 8.6.11 2021-03-17 10:30:29 +00:00