Commit Graph

8 Commits

Author SHA1 Message Date
Fernando Rodrigues
f611da92a7
bat: add sigmasquadron as co-maintainer
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-11-23 20:13:42 -03:00
zowoq
7495125f91 bat: switch to apple-sdk_11 2024-11-05 10:46:53 +10: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
Lily Ballard
15196e1730 treewide: remove lilyball 2024-07-02 15:32:33 -04: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
Alex James
47d9ce462b
bat: skip file_with_invalid_utf8_filename test
This test tries to create a temporary file with a filename that contains
invalid UTF-8 bytes, which may fail if TMPDIR is located on a filesystem
that performs UTF-8 validation (such as ZFS with utf8only=on).

Resolves https://github.com/NixOS/nixpkgs/issues/269631.
2024-04-01 22:45:34 -05:00
xrelkd
bbbf613ed2
bat: 0.23.0 -> 0.24.0
Diff: https://github.com/sharkdp/bat/compare/v0.23.0...v0.24.0

Changelog: https://github.com/sharkdp/bat/raw/v0.24.0/CHANGELOG.md
2023-10-12 11:50:36 +08:00
xrelkd
ec5b43883a
bat: migrate to by-name 2023-10-12 11:41:03 +08:00