Commit Graph

30 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
R. Ryantm
b4f5eb29cc sqlx-cli: 0.8.0 -> 0.8.2 2024-09-07 15:55:53 +00:00
R. Ryantm
60d35394e3 sqlx-cli: 0.7.4 -> 0.8.0 2024-08-03 03:28:13 +00:00
Alyssa Ross
b08a915532 treewide: drop workarounds for cargo --frozen
Since 4816a73bb5 ("rustPlatform: --frozen -> --offline"), these are
no longer necessary!
2024-05-19 11:15:55 +02:00
R. Ryantm
361a07d1d9 sqlx-cli: 0.7.3 -> 0.7.4 2024-03-15 09:38:07 +00:00
Simon Menke
fa428dd589 sqlx-cli: add passthru.updateScript 2024-02-27 11:50:44 +01:00
Simon Menke
52724e2cb9 sqlx-cli: 0.7.1 -> 0.7.3 2024-01-06 15:50:25 +01:00
Simon Menke
07d688c98d sqlx-cli: use openssl instead of rustls 2023-09-08 03:14:25 +00:00
xrelkd
9049df5a04 treewide: add meta.mainProgram (#249601) 2023-08-16 23:58:46 +03:00
xrelkd
a0465cdf05 sqlx-cli: replace native-tls with rustls 2023-07-21 16:28:28 +08:00
xrelkd
9adfaee104 sqlx-cli: install shell completions 2023-07-21 16:27:52 +08:00
Simon Menke
8e3c522630 maintainers: adding fd 2023-07-18 14:58:35 +02:00
Simon Menke
ce4fb8a2a7 sqlx-cli: 0.7.0 -> 0.7.1 2023-07-17 10:11:26 +02:00
xrelkd
4c2141f91a sqlx-cli: 0.6.2 -> 0.7.0 2023-07-11 10:22:25 +08:00
xrelkd
233a8f00a3 sqlx-cli: add xrelkd as maintainer 2023-07-11 10:20:59 +08:00
Theodore Ni
248d82d48e sqlx-cli: fix for rust 1.65 2022-12-06 12:12:20 -08:00
xrelkd
b0aced3583 sqlx-cli: 0.6.1 -> 0.6.2 2022-09-19 21:02:19 +08:00
R. Ryantm
02ed575f74 sqlx-cli: 0.6.0 -> 0.6.1 2022-08-06 06:38:17 +00:00
Ivan Petkov
dc59b7cdbe sqlx-cli: 0.5.13 -> 0.6.0 2022-07-20 16:49:54 -07:00
Shane Sveller
61e1418f8a sqlx-cli: 0.5.11 -> 0.5.13
https://github.com/launchbadge/sqlx/blob/v0.5.13/CHANGELOG.md#0513---2022-04-15
2022-05-22 11:07:21 -05:00
R. Ryantm
bbc4361d49 sqlx-cli: 0.5.10 -> 0.5.11 2022-02-23 01:30:43 +00:00
R. Ryantm
71334a50f7 sqlx-cli: 0.5.9 -> 0.5.10 2022-01-01 03:03:04 +00:00
R. Ryantm
d0565a3f3e sqlx-cli: 0.5.7 -> 0.5.9 2021-10-28 17:36:11 +00:00
xrelkd
f6b27bd905 sqlx-cli: 0.5.6 -> 0.5.7 2021-08-22 01:33:00 +09:00
Fabian Affolter
c30a3c43bb sqlx-cli: 0.5.5 -> 0.5.6 2021-08-20 21:53:36 +02:00
Greizgh
e910a281c6 sqlx-cli: 0.5.2 -> 0.5.5 2021-06-02 10:40:18 +09:00
happysalada
1374bfa2d3 sqlx-cli: fix darwin build 2021-05-06 08:29:37 +09:00
Greizgh
bcf9484480 sqlx-cli: 0.4.2 -> 0.5.2 2021-05-04 08:52:59 +02:00
Raphael Megzari
bb756400c0 sqlx-cli: fix darwin build (#117443)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-03-25 23:39:47 +01:00
Greizgh
f54456ed96 sqlx-cli: init at 0.2.0 2021-01-22 19:11:20 +01:00