Commit Graph

15 Commits

Author SHA1 Message Date
Sander
2dac67a2ae gptcommit: 0.5.16 -> 0.5.17 2024-10-13 00:22:38 +00:00
Sander
55e1c93f72 gptcommit: patch Cargo.lock to fix compilation with rust 1.80 2024-10-12 12:55:52 +00:00
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
Sigmanificient
543cd40ecc treewide: remove trailing space in description
Done using `grep -rP 'description\s+=\s+"[^"]+[ ]";' | cut -d ':' -f 1 |
xargs -i nvim {}` and sorting the opened files by hand, avoiding
generated packages list
2024-07-26 03:38:50 +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
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
27db26b354 gptcommit: 0.5.14 -> 0.5.16 2024-02-01 17:15:39 +00:00
Aaron Jheng
369fdb3be8 gptcommit: 0.5.13 -> 0.5.14 2023-10-17 07:40:10 +00:00
R. Ryantm
037a0529fd gptcommit: 0.5.11 -> 0.5.13 2023-09-07 00:30:19 +00:00
R. Ryantm
20e4fbb34c gptcommit: 0.5.10 -> 0.5.11 2023-08-09 22:35:35 +00:00
R. Ryantm
9d6e454b85 gptcommit: 0.5.8 -> 0.5.10 2023-07-10 14:08:02 +08:00
R. Ryantm
8b3bc690e2 gptcommit: 0.5.7 -> 0.5.8 2023-04-30 20:19:33 -04:00
R. Ryantm
62b9c6cb21 gptcommit: 0.5.6 -> 0.5.7 2023-04-07 07:34:53 -04:00
Domen Kožar
a143b6f424 gptcommit: 0.1.15 -> 0.5.6 2023-04-04 10:47:25 -04:00
happysalada
b4716ea179 gptcommit: init at 0.1.15 2023-02-18 23:23:37 -05:00