Commit Graph

11 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
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
R. Ryantm
74ee8d2134 artem: 2.0.6 -> 3.0.0 2024-04-05 00:12:54 +00:00
R. Ryantm
b8179041ee artem: 2.0.2 -> 2.0.6 2024-02-16 04:17:10 +00:00
h7x4
8121f3559a
treewide: add mainProgram 2024-02-11 03:19:15 +01:00
figsoda
4f79cb1773 artem: 2.0.1_2 -> 2.0.2
Diff: https://github.com/finefindus/artem/compare/v2.0.1_2...v2.0.2

Changelog: https://github.com/finefindus/artem/blob/v2.0.2/CHANGELOG.md
2023-08-24 16:13:41 -04:00
figsoda
a4f04ef471 artem: 2.0.0 -> 2.0.1_2
Diff: https://github.com/finefindus/artem/compare/v2.0.0...v2.0.1_2

Changelog: https://github.com/finefindus/artem/blob/v2.0.1_2/CHANGELOG.md
2023-08-23 10:05:23 -04:00
figsoda
5c731712f2 artem: 1.2.1 -> 2.0.0
Diff: https://github.com/finefindus/artem/compare/v1.2.1...v2.0.0

Changelog: https://github.com/finefindus/artem/blob/v2.0.0/CHANGELOG.md
2023-07-23 11:31:33 -04:00
figsoda
f108328347 artem: 1.1.7 -> 1.2.1
Diff: https://github.com/finefindus/artem/compare/v1.1.7...v1.2.1

Changelog: https://github.com/finefindus/artem/blob/v1.2.1/CHANGELOG.md
2023-06-20 17:06:13 -04:00
figsoda
9e1be1c9fd artem: 1.1.5 -> 1.1.7
Diff: https://github.com/finefindus/artem/compare/v1.1.5...v1.1.7

Changelog: https://github.com/finefindus/artem/blob/v1.1.7/CHANGELOG.md
2023-04-13 12:31:58 -04:00
figsoda
66044f7e43 artem: init at 1.1.5 2022-10-03 09:44:50 -04:00