Commit Graph

13 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
4ff58fc1f4 git-ps-rs: 7.2.0 -> 7.3.1 2024-07-18 04:28:17 +00:00
R. Ryantm
cb73821379 git-ps-rs: 7.1.1 -> 7.2.0 2024-07-06 13:08:40 +00:00
R. Ryantm
30722f0614 git-ps-rs: 7.0.0 -> 7.1.1 2024-05-11 13:05:48 +00:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Ali Caglayan
b132f6106c
git-ps-rs: 6.9.0 -> 7.0.0
Signed-off-by: Ali Caglayan <alizter@gmail.com>

<!-- ps-id: 402d75f6-c1f8-4227-9603-7d0079051a85 -->

Signed-off-by: Ali Caglayan <alizter@gmail.com>
2024-01-12 23:53:20 +00:00
Ali Caglayan
5abf9d7147
git-ps-rs: 6.8.0 -> 6.9.0
Signed-off-by: Ali Caglayan <alizter@gmail.com>
2023-09-08 19:05:57 +01:00
Ali Caglayan
68995e2778
git-ps-rs: 6.7.0 -> 6.8.0
Signed-off-by: Ali Caglayan <alizter@gmail.com>
2023-06-21 17:30:50 +02:00
Ali Caglayan
5c864bc057
git-ps-rs: 6.6.1 -> 6.7.0
Signed-off-by: Ali Caglayan <alizter@gmail.com>
2023-05-11 00:00:12 +02:00
Ali Caglayan
0d0a4c8d28
git-ps-rs: 6.6.0 -> 6.6.1
Signed-off-by: Ali Caglayan <alizter@gmail.com>
2023-05-11 00:00:12 +02:00
Yureka
f8cbc3c281 tree-wide: convert rust with git deps to importCargoLock 2023-03-26 01:52:04 +01:00
Ali Caglayan
4411cf5afb
git-ps-rs: 6.5.0 -> 6.6.0 2023-03-23 21:27:16 +01:00
Ali Caglayan
ff68cad072
git-ps-rs: init at version 6.5.0
Added the `gps` packaged as `git-ps-rs` for managing patch stacks.

<!-- ps-id: cbcdb8e6-64d3-4181-9f25-90047248efc3 -->

Signed-off-by: Ali Caglayan <alizter@gmail.com>
2023-03-19 21:37:11 +01:00