Commit Graph

14 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
c39ac51844 gfold: 4.4.1 -> 4.5.0 2024-05-24 01:04:24 +00:00
Sigmanificient
0d9edccbb8 treewide: reformat 2024-04-30 05:54:10 +02:00
Sigmanificient
b6203d5e08 treewide: adopt orphaned packages 2024-04-30 05:53:21 +02:00
Shane Sveller
ea3c2e26d3
maintainers: remove shanesveller 2024-03-14 12:09:10 -05:00
R. Ryantm
55bfe3a9a9 gfold: 4.4.0 -> 4.4.1 2023-12-24 18:33:35 +00:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
R. Ryantm
2f7be47028 gfold: 4.3.3 -> 4.4.0 2023-07-02 02:40:30 +00:00
R. Ryantm
1130a03583 gfold: 4.3.2 -> 4.3.3 2023-04-10 22:32:24 +00:00
Shane Sveller
56c4316772
gfold: 4.3.1 -> 4.3.2
https://github.com/nickgerace/gfold/blob/4.3.2/CHANGELOG.md#unreleased
2023-03-10 13:49:43 -06:00
R. Ryantm
96e72302d6 gfold: 4.3.0 -> 4.3.1 2023-02-12 14:27:42 +00:00
R. Ryantm
f4a93aa86f gfold: 4.2.0 -> 4.3.0 2023-02-08 19:03:24 +00:00
R. Ryantm
eebe2f4920 gfold: 4.0.1 -> 4.2.0 2022-12-25 14:28:54 +00:00
AndersonTorres
d994dabace treewide: remove git-and-tools directory
We do not use a "plugin system" for Git addons anymore, and therefore this
directory is no longer useful. Indeed that directory is way more confusing,
given that it includes more than mere Git addons, going from Bitbucket server
command-line tools to complete rewrites of Git in exotic programming languages.

Also, without this directory, the mental load of decision-making reduces a lot.
When anyone is interested in including a new git-related tool, just put it into
pkgs/applications/version-management, without apologies.
2022-12-19 15:05:22 -03:00