Commit Graph

20 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
Robert Schütz
ce529106b6 warp: fix compilation with Rust 1.80 2024-08-10 03:48:52 -07:00
Robert Schütz
4ed0c5c79a warp: 0.6.2 -> 0.7.0
Diff: https://gitlab.gnome.org/World/warp/-/compare/v0.6.2...v0.7.0
2024-05-11 12:41:08 -07:00
Robert Schütz
07fedc19c1 warp: broken on Darwin 2024-03-31 09:31:09 -07:00
Robert Schütz
d1de0b1b8a warp: 0.6.1 -> 0.6.2
Diff: https://gitlab.gnome.org/World/warp/-/compare/v0.6.1...v0.6.2
2023-12-05 08:17:01 -08:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
Robert Schütz
b3ffb9c872 warp: 0.5.4 -> 0.6.1
Diff: https://gitlab.gnome.org/World/warp/-/compare/v0.5.4...v0.6.1
2023-11-23 13:17:57 -08:00
Atemu
58eb45b0fe warp: add Darwin support 2023-09-18 12:23:38 +02:00
Alyssa Ross
5e06b3cb19 treewide: don't use rustPlatform.rust
This will be deprecated in the next commit.
2023-05-12 15:31:21 +00:00
Gabriel Arazas
af67c942bb warp: 0.5.3 -> 0.5.4 2023-05-04 18:27:29 +08:00
Robert Schütz
e4d3418199 warp: 0.5.2 -> 0.5.3
Diff: https://gitlab.gnome.org/World/warp/-/compare/v0.5.2...v0.5.3
2023-04-26 21:47:34 -07:00
Robert Schütz
2e0f01cc43 warp: 0.4 -> 0.5.2
Diff: https://gitlab.gnome.org/World/warp/-/compare/v0.4...v0.5.2
2023-04-16 00:55:46 -07:00
Yureka
f8cbc3c281 tree-wide: convert rust with git deps to importCargoLock 2023-03-26 01:52:04 +01:00
Gabriel Arazas
9042ba5f7e warp: add foo-dogsquared to maintainers 2023-02-05 10:34:38 +08:00
Gabriel Arazas
d28365ee20 warp: 0.3.2 -> 0.4 2023-02-04 16:00:49 +08:00
Gabriel Arazas
b87dd43484 warp: 0.3.1 -> 0.3.2 2022-12-23 04:21:36 -08:00
zendo
e08ac9511f warp: 0.2.1 -> 0.3.1 2022-10-25 11:23:19 +08:00
Robert Schütz
f84a03ad38 warp: 0.2.0 -> 0.2.1
https://gitlab.gnome.org/World/warp/-/releases/v0.2.1
2022-06-30 22:36:48 +00:00
Robert Schütz
88db5b5213 warp: 0.1.2 -> 0.2.0
https://gitlab.gnome.org/World/warp/-/releases/v0.2.0
2022-06-17 22:28:49 +00:00
Robert Schütz
4a8b1f3a22 warp: init at 0.1.2 2022-05-26 06:48:01 +00:00