Commit Graph

97 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
Kieeps
6014ff8ef4 teleport_16: 16.1.4 -> 16.2.0 2024-09-06 16:49:11 -06:00
Justinas Stankevicius
b4df919002 teleport_16: 16.0.4 -> 16.1.4 2024-08-21 19:26:03 +03:00
Justinas Stankevicius
214aaa5bcb teleport_15: 15.3.7 -> 15.4.11 2024-08-07 20:39:38 +03:00
techknowlogick
90ee91b6d6 teleport: darwin unbroken 2024-08-03 11:42:35 +02:00
Justinas Stankevicius
e7e3ca4bb5 teleport_16: init at 16.0.4 2024-07-04 21:04:27 +03:00
techknowlogick
aff01c1b1d teleport: resolve broken for non-wasm builds 2024-06-16 18:30:41 -04:00
Alyssa Ross
bf13eca852
rustc: disable wasm32 if some gcc options are set
This is a temporary fix to get rustc building again with these
configurations (which notably include the default aarch64-darwin one)
without causing a stdenv rebuild.  The real fix will be to avoid
passing these options through the Clang wrapper when the target is
overridden.

It could be that there are packages that need wasm32-unknown-unknown
beyond those I've marked as broken here — it's impossible to be sure
without a full rebuild.  But this should be most of them.
2024-06-09 07:20:18 +01:00
Alyssa Ross
07f40e6892 rustc: don't try to use non-existent rust-lld
This removes the need to manually override Rust's default linker for
every package that builds for wasm32-unknown-unknown.
2024-05-29 23:08:09 +02:00
Justinas Stankevicius
07709ea936 teleport_13: remove 2024-05-26 23:43:40 +03:00
Justinas Stankevicius
0830e6694d teleport_14: 14.3.0 -> 14.3.20 2024-05-25 14:56:50 +03:00
Justinas Stankevicius
1f8006a22c teleport_15: 15.2.2 -> 15.3.7 2024-05-25 14:35:40 +03:00
Sandro Jäckel
fb0d661081
treewide: replace prefetch-yarn-deps with fixup-yarn-lock where necessary 2024-04-17 13:34:05 -04:00
Justinas Stankevicius
b944bd2c7f teleport_12: remove
EOL as v15 has been released.
2024-04-16 20:52:42 +03:00
Justinas Stankevicius
3b16464200 teleport_15: init at 15.2.2 2024-04-16 20:50:10 +03:00
Yongun Seong
d923732783
teleport_14: fix vendorHash for go1.22 2024-04-14 14:27:52 +09:00
Yongun Seong
2aa9c8dc5f
teleport_13: fix vendorHash for go1.22 2024-04-14 14:27:52 +09:00
Yongun Seong
4719f71b5c
teleport_12: fix vendorHash for go1.22 2024-04-14 14:27:52 +09:00
Justinas Stankevicius
69ed7cd544 teleport_12: 12.4.23 -> 12.4.32 2024-01-02 01:32:30 +02:00
Justinas Stankevicius
76a1517581 teleport_13: 13.4.5 -> 13.4.14 2024-01-02 01:31:28 +02:00
Justinas Stankevicius
e34ad1ed07 teleport: 14.1.1 -> 14.3.0 2024-01-02 01:26:54 +02:00
Robert Scott
53bf3e8255
Merge pull request #267049 from justinas/justinas/remove-teleport-11
teleport_11: remove
2023-12-01 23:06:31 +00:00
Justinas Stankevicius
5ab2f13ff6 teleport_11: remove 2023-11-27 23:22:57 +02:00
Felix Buehler
39505338e1 teleport: migrate to prefetch-yarn-deps 2023-11-22 22:31:08 +01:00
Justinas Stankevicius
da75d7595e teleport_12: 12.4.22 -> 12.4.23 2023-11-13 20:47:56 +02:00
Justinas Stankevicius
46deeba77a teleport_13: 13.4.3 -> 13.4.5 2023-11-13 20:47:53 +02:00
Justinas Stankevicius
6a6f894d2b teleport: 14.0.3 -> 14.1.1 2023-11-13 20:39:01 +02:00
Robert Scott
433fdf4b78 teleport: 14.0.1 -> 14.0.3 2023-10-15 21:30:55 +01:00
Robert Scott
fb9413b940 teleport_13: 13.4.1 -> 13.4.3 2023-10-15 21:00:18 +01:00
Robert Scott
6e1b982b8e teleport_12: 12.4.20 -> 12.4.22 2023-10-15 01:54:06 +01:00
Robert Scott
80dc2acd23 teleport_11: 11.3.25 -> 11.3.27 2023-10-14 23:43:54 +01:00
techknowlogick
3a60214cb3 teleport_14: init at 14.0.1 2023-10-04 02:21:48 -04:00
techknowlogick
5fc008449a teleport_13: init at 13.4.1 2023-10-04 02:20:39 -04:00
techknowlogick
7fdf2b5b86 teleport_12: 12.4.7 -> 12.4.20 2023-10-04 02:15:39 -04:00
techknowlogick
96a6484fd2 teleport_11: 11.3.10 -> 11.3.25 2023-10-04 02:14:55 -04:00
techknowlogick
971ffedcd8 teleport: add techknowlogick to maintainers 2023-10-04 02:14:01 -04:00
Justinas Stankevicius
c254f4c630 teleport_12: 12.1.5 -> 12.4.7 2023-06-19 20:25:14 +03:00
Lorenz Brun
12be07b11c teleport: mark as broken on <64 bit platforms 2023-05-27 11:18:34 +02:00
Justinas Stankevicius
ae48654bb1 teleport_11: 11.3.5 -> 11.3.10 2023-04-08 20:08:23 +03:00
Justinas Stankevicius
a0405f0aa6 teleport: 12.1.0 -> 12.1.5 2023-04-02 19:09:11 +03:00
Justinas Stankevicius
701a838718 teleport: add arianvp to maintainers 2023-03-07 16:41:39 +02:00
Justinas Stankevicius
5b9628a9ed teleport: add justinas to maintainers 2023-03-07 16:41:17 +02:00
Justinas Stankevicius
43f2c5ef66 teleport: 12.0.2 -> 12.1.0 2023-03-07 13:30:45 +02:00
Justinas Stankevicius
6f1c82c7f8 teleport_11: init at 11.3.5 2023-02-28 13:22:36 +02:00
Justinas Stankevicius
857636b032 teleport: 11.3.4 -> 12.0.2 2023-02-23 16:35:36 +02:00
Justinas Stankevicius
72f1773807 teleport: 11.2.3 -> 11.3.4 2023-02-16 17:30:01 +02:00
Justinas Stankevicius
0185d7088e teleport: 11.1.4 -> 11.2.3 2023-01-24 19:37:46 +02:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Justinas Stankevicius
9b8bcfcf15 teleport: 10.3.1 -> 11.1.4 2023-01-02 22:48:00 +02:00
06kellyjac
097ec65336 teleport: fix for darwin 2022-10-11 09:55:39 +01:00