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
Anderson Torres
f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03:00
éclairevoyant
49f7e34d6e
maintainers: remove eclairevoyant 2024-09-10 15:02:41 -04:00
éclairevoyant
8b14399f5e eww: 0.6.0-unstable-2024-04-26 -> 0.6.0-unstable-2024-07-05 2024-08-11 22:46:41 +02:00
éclairevoyant
90fa19e354 eww: set updateScript 2024-08-11 22:46:41 +02:00
éclairevoyant
97822a5bc4 eww: nixfmt 2024-08-11 22:46:41 +02: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
John Titor
f9e540adae
eww: update description, add long description
reformat using nixfmt-rfc-style
2024-05-03 21:46:56 +05:30
John Titor
b41e30ee8f
eww: 0.6.0 -> 0.6.0-unstable-2024-04-26
use 2c8811512460ce6cc75e021d8d081813647699dc to fix string truncation bug
https://github.com/elkowar/eww/pull/1084
2024-05-03 21:45:24 +05:30
K900
a9c7210d0b Merge branch 'master' into staging-next 2024-05-01 09:37:47 +03:00
éclairevoyant
6753dc2c35
eww: 0.5.0 -> 0.6.0 2024-04-24 09:55:53 -04:00
éclairevoyant
5ed936d453
eww: add eclairevoyant and w-lfchen to maintainers 2024-04-24 09:55:53 -04:00
éclairevoyant
255d806330
eww: remove meta = with lib; 2024-04-24 09:55:53 -04:00
éclairevoyant
a2dbb644c3
eww: move to pkgs/by-name 2024-04-24 09:55:53 -04:00