1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-03-20 11:02:38 +00:00
Commit graph

28 commits

Author SHA1 Message Date
R. Ryantm 775052b009 chafa: 1.14.4 -> 1.14.5 2024-11-03 19:16:10 +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
R. Ryantm f5f3be3663 chafa: 1.14.3 -> 1.14.4 2024-09-21 23:28:58 +00:00
R. Ryantm 85ad327493 chafa: 1.14.2 -> 1.14.3 2024-09-09 16:05:07 +00:00
R. Ryantm a2e231bc7c chafa: 1.14.1 -> 1.14.2 2024-07-26 09:37:35 +00:00
R. Ryantm ca0eb2420e chafa: 1.14.0 -> 1.14.1 2024-06-18 00:59:19 +00:00
R. Ryantm 0a32b0c816 chafa: 1.12.5 -> 1.14.0 2024-01-09 09:41:05 +00:00
h7x4 41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
Vladimír Čunát 42be0b1bfe
chafa: fixup build with libwebp-1.3.1
/cc PR #240893 which caused this.
2023-07-15 07:57:16 +02:00
R. Ryantm e388da124b chafa: 1.12.4 -> 1.12.5 2023-05-24 09:58:10 +00:00
Adam Joseph 537fdfca20 chafa: fix cross-compilation 2023-04-12 22:37:33 +03:00
R. Ryantm 899d0b6b09 chafa: 1.12.3 -> 1.12.4 2022-11-13 12:22:06 +00:00
R. Ryantm 1b967531ec chafa: 1.10.3 -> 1.12.3 2022-07-07 08:45:52 +00:00
R. Ryantm 24bb1b1c9a chafa: 1.8.0 -> 1.10.3 2022-05-25 11:00:14 +00:00
R. RyanTM ffbdbef39a chafa: 1.6.1 -> 1.8.0 2021-09-06 02:42:52 +00:00
R. RyanTM 823cddb92e chafa: 1.6.0 -> 1.6.1 2021-06-04 17:32:17 +00:00
Stéphan Kochen e90057a4a5 chafa: fix darwin build 2021-05-12 22:41:50 +02:00
R. RyanTM 7a1eaaca36 chafa: 1.4.1 -> 1.6.0 2021-02-25 18:42:40 -05:00
Ben Siraphob 76f93cc731 pkgs/tools: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob 8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Ben Siraphob 683a87dbeb treewide: remove periods from end of package descriptions 2020-10-17 08:22:31 -07:00
1000101 c597a7f869 formatting: fix missing leading whitespace 2020-06-07 17:29:08 -04:00
R. RyanTM f45ff2a7f0 chafa: 1.4.0 -> 1.4.1 2020-05-02 04:42:23 +00:00
R. RyanTM 53856e607e chafa: 1.2.2 -> 1.4.0 2020-04-06 12:40:23 -07:00
R. RyanTM 4b4dcda1b1 chafa: 1.2.1 -> 1.2.2 2020-03-05 15:09:11 -08:00
R. RyanTM b0981743f5 chafa: 1.0.1 -> 1.2.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/chafa/versions
2019-08-17 16:07:31 -07:00
Matthew O'Gorman f6d83c2ef9
chafa: init at 1.0.1 2019-03-29 22:40:30 -04:00