Commit Graph

13 Commits

Author SHA1 Message Date
R. Ryantm
cbdb8ee3e0 vrc-get: 1.8.1 -> 1.8.2 2024-10-16 04:44:11 +00:00
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
1eb4105497
Merge pull request #311379 from bddvlpr/vrc-get/1.8.1
vrc-get: 1.8.0 -> 1.8.1
2024-05-21 17:43:36 +02:00
Luna Simons
ac4fb74bd2
vrc-get: 1.8.0 -> 1.8.1 2024-05-13 16:08:10 +02:00
Skye
3003affd63 vrc-get: Install shell completions
vrc-get: Generate completions when cross-compiling
2024-05-03 23:02:02 +03:00
anatawa12
adae70b645
vrc-get: 1.5.2 -> 1.8.0 2024-04-07 19:31:22 +09:00
Luna Simons
2ffbec2980 vrc-get: 1.3.0 -> 1.5.2 2024-01-23 14:28:42 -08:00
Peder Bergebakken Sundt
27e69cc008
Merge pull request #256450 from bddvlpr/update/vrc-get
vrc-get: 1.1.3 -> 1.3.0
2023-12-02 16:30:10 +01:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
Luna Simons
be26791c5b
vrc-get: 1.1.3 -> 1.3.0 2023-09-21 09:34:16 +02:00
Luna Simons
9b337721ec
vrc-get: 1.1.2 -> 1.1.3 2023-08-23 16:09:17 +02:00
Luna Simons
9c57ba6631 vrc-get: 1.1.1 -> 1.1.2 2023-07-13 16:39:46 +02:00
bddvlpr
d5cf1aadb4
vrc-get: init at 1.1.1 (#234279) 2023-07-11 15:16:37 +02:00