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
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
ef1dba9099 lf: 31 -> 32 2024-04-01 01:05:02 +00:00
h7x4
8121f3559a
treewide: add mainProgram 2024-02-11 03:19:15 +01:00
Eduardo Quiros
e405a284a8
lf: 30 -> 31 2023-09-17 22:36:42 -06:00
Sandro Jäckel
3ad7d71afe treewide: don't set platforms.unix for buildGoModule 2023-06-13 17:54:26 +03:00
Robert Schütz
beced9da0a lf: 29 -> 30
Diff: https://github.com/gokcehan/lf/compare/r29...r30

Changelog: https://github.com/gokcehan/lf/releases/tag/r30
2023-05-22 02:43:30 -07:00
Robert Schütz
d22efbafd5 lf: 28 -> 29
Diff: https://github.com/gokcehan/lf/compare/r28...r29

Changelog: https://github.com/gokcehan/lf/releases/tag/r29
2023-04-30 19:24:52 -07:00
zendo
e700b7ab98 ctpv: 1.0 -> 1.1 2023-03-28 11:42:10 +08:00
Artturin
cab4a24c34 treewide: fix lints
Arg to lib.optional is a list

build time tool in buildInputs
2023-03-11 00:55:17 +02:00
Wesley Jr
85574ba216
ctpv: init at v1.0 2023-01-01 12:50:05 -03:00
mlyxshi
a3340ef7cf
lf: 27 -> 28 2022-12-25 23:33:33 -08:00
Gaétan Lepage
1d3d61b344
lf: fix panic error on systems where user is not in /etc/passwd (#196614)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-10-27 13:57:22 +02:00
AndersonTorres
aa17427484 lf: move to applications/file-managers 2022-06-26 23:58:11 -03:00