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
Colin Arnott
a5466bd591
wtwitch: migrate to by-name 2024-08-06 13:40:06 +00:00
R. Ryantm
767ff175e1 wttrbar: 0.10.5 -> 0.10.6 2024-08-05 04:34:38 +00:00
R. Ryantm
b8f0521be9 wttrbar: 0.10.4 -> 0.10.5 2024-07-23 11:31:13 +00:00
github-actions[bot]
fb94da4e9e
Merge staging-next into staging 2024-06-21 18:01:30 +00:00
R. Ryantm
558fd58bf2 wttrbar: 0.10.2 -> 0.10.4 2024-06-21 01:57:55 +00:00
Martin Weinelt
abdf5dc772
treewide: remove pythonRelaxDepsHook references
It is is now provided automatically, when `pythonRelaxDeps` or
`pythonRemoveDeps` is defined through `mk-python-derivation`.
2024-06-14 14:52:00 +02:00
nixpkgs-merge-bot[bot]
cd7ec2419a
Merge pull request #318643 from r-ryantm/auto-update/wtfis
wtfis: 0.9.1 -> 0.10.0
2024-06-10 00:45:43 +00:00
R. Ryantm
12f814a1ee wtfis: 0.9.1 -> 0.10.0 2024-06-09 22:47:41 +00: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
fb29eac5a8 wttrbar: 0.10.1 -> 0.10.2 2024-06-05 23:27:14 +00:00
R. Ryantm
2d39d7708d wttrbar: 0.9.4 -> 0.10.1 2024-05-13 01:39:39 +00:00
R. Ryantm
8c13b6b2f6 wtfis: 0.9.0 -> 0.9.1 2024-05-11 02:39:47 +00:00
Mario Rodas
8d8fe7688b
Merge pull request #306382 from khaneliman/wttrbar
wttrbar: pkgs/applications/misc -> pkgs/by-name
2024-04-23 18:52:45 -05:00
Austin Horstman
0395ad995a
wttrbar: pkgs/applications/misc -> pkgs/by-name 2024-04-23 15:40:25 -05:00
R. Ryantm
db1a49a922 wtfis: 0.8.0 -> 0.9.0 2024-04-21 09:56:34 +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
R. Ryantm
1412a3b511 wtfis: 0.7.1 -> 0.8.0 2024-02-20 04:57:55 +00:00
Anderson Torres
6fe9df799e wtfis: 0.6.1 -> 0.7.1 2023-11-04 22:18:32 -03:00
Anderson Torres
8f613ff8a2 wtfis: migrate to by-name 2023-11-04 22:18:32 -03:00