Commit Graph

13 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
Timon Schelling
df27c10bc7
tere: 1.5.1-unstable-2024-04-01 -> v1.6.0 2024-09-15 22:12:56 +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
Producer Matt
36e4dfdaac tere: 1.5.0 -> 1.5.1-unstable-2024-04-01 2024-06-04 12:32:55 -05:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
R. Ryantm
9f8313eef1 tere: 1.4.0 -> 1.5.0 2023-08-21 03:03:30 +00:00
Gabriel Arazas
c971f278c3 tere: 1.3.1 -> 1.4.0 2023-01-09 12:52:23 +08:00
R. Ryantm
32d3b1b5aa tere: 1.3.0 -> 1.3.1 2022-12-11 12:34:34 +00:00
Producer Matt
bc791b77b9 remove whitespace 2022-10-16 22:50:30 -05:00
ProducerMatt
d5ae32c83f
Update pkgs/tools/misc/tere/default.nix
Co-authored-by: figsoda <figsoda@pm.me>
2022-10-16 21:47:06 -06:00
Producer Matt
0dc4b9fd9d tere: 1.2.0 -> 1.3.0
Release notes: https://github.com/mgunyho/tere/releases/tag/v1.3.0

Patch no longer needed as the test now passes correctly.
2022-10-15 13:44:33 -05:00
R. Ryantm
d103a9186b tere: 1.1.0 -> 1.2.0 2022-09-12 04:07:11 +00:00
Producer Matt
bf182e4dec tere: init at 1.1.0
A failing test was keeping it from building. I [confirmed with the
dev](https://github.com/mgunyho/tere/issues/44) it's known and ignored
so I commented it out with a patch.

This app isn't that useful until some [shell hooks have been
added.](https://github.com/mgunyho/tere#setup) So I hope to add a config
option to home-manager such as:

```nix
programs.tere = {
  enabled = true;
  useBashIntegration = true;
  useFishIntegration = true;
};
```
2022-07-24 12:29:27 -05:00