Commit Graph

63 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
R. Ryantm
c374d94f15 pt2-clone: 1.69.2 -> 1.70 2024-08-21 07:22:56 +00:00
Francesco Gazzetta
6ac1f552ba pt2-clone: fix NixOS test failure due to whitespace in icon name 2024-07-11 11:23:57 +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
R. Ryantm
4a12033a68 pt2-clone: 1.68 -> 1.69.2 2024-04-27 11:09:47 +00:00
R. Ryantm
0219cfd0ae pt2-clone: 1.67 -> 1.68 2024-04-23 09:51:44 +00:00
R. Ryantm
1898e069e4 pt2-clone: 1.66.1 -> 1.67 2024-03-18 19:46:17 +00:00
Francesco Gazzetta
6ffb3618ea
Merge pull request #289980 from fgaz/treewide/fgaz-finalAttrs
treewide: use finalAttrs in packages maintained by @fgaz
2024-03-05 11:05:28 +01:00
Francesco Gazzetta
58316e3a9e pr2-clone: use finalAttrs pattern 2024-03-05 09:50:09 +01:00
h7x4
8121f3559a
treewide: add mainProgram 2024-02-11 03:19:15 +01:00
R. Ryantm
4e5ecd998b pt2-clone: 1.65.1 -> 1.66.1 2024-01-22 08:43:14 +00:00
h7x4
efdec26090
treewide: install missing desktopItems 2023-12-02 06:57:21 +01:00
R. Ryantm
a77245ecca pt2-clone: 1.64 -> 1.65.1 2023-11-01 09:11:27 +00:00
R. Ryantm
3abc0500eb pt2-clone: 1.62.2 -> 1.64 2023-09-20 03:38:37 +00:00
R. Ryantm
1ff383d2b4 pt2-clone: 1.61 -> 1.62.2 2023-08-16 01:04:53 +00:00
R. Ryantm
55384a73f1 pt2-clone: 1.60 -> 1.61 2023-07-05 17:28:18 +00:00
R. Ryantm
abdd303edd pt2-clone: 1.59 -> 1.60 2023-06-22 04:18:22 +00:00
Francesco Gazzetta
38da8a92a0 pt2-clone: 1.58 -> 1.59
https://github.com/8bitbubsy/pt2-clone/releases/tag/v1.59
Diff: https://github.com/8bitbubsy/pt2-clone/compare/v1.58...v1.59
2023-06-09 09:27:24 +02:00
R. Ryantm
a467a895e9 pt2-clone: 1.57 -> 1.58 2023-05-16 13:02:40 +00:00
Francesco Gazzetta
d5a37dee6a pt2-clone: 1.56 -> 1.57 2023-01-25 16:31:18 +01:00
R. Ryantm
b2dd805235 pt2-clone: 1.55 -> 1.56 2022-12-31 14:10:10 +00:00
R. Ryantm
795aa42290 pt2-clone: 1.54 -> 1.55 2022-12-10 21:24:11 +00:00
R. Ryantm
890ce7d957 pt2-clone: 1.53.1 -> 1.54 2022-12-06 17:27:02 +00:00
R. Ryantm
4b278481a2 pt2-clone: 1.53 -> 1.53.1 2022-10-29 02:21:08 +00:00
R. Ryantm
100f55ecab pt2-clone: 1.51 -> 1.53 2022-10-15 14:25:35 +00:00
R. Ryantm
70cf130cf0 pt2-clone: 1.50 -> 1.51 2022-08-18 16:52:19 +00:00
Francesco Gazzetta
071f18d7cd pt2-clone: 1.49 -> 1.50 2022-07-23 13:51:48 +02:00
Francesco Gazzetta
f7933e9fac pt2-clone: 1.46 -> 1.49 2022-05-22 18:16:40 +02:00
Francesco Gazzetta
1f285a9046 pt2-clone: 1.43 -> 1.46 2022-04-20 12:56:41 +02:00
R. Ryantm
09e5428563 pt2-clone: 1.42 -> 1.43 2022-03-19 04:39:59 +00:00
Francesco Gazzetta
5979627e32 pt2-clone: 1.41 -> 1.42 2022-03-14 11:21:36 +01:00
R. Ryantm
83f21e1701 pt2-clone: 1.40 -> 1.41 2022-02-25 17:41:24 +00:00
Francesco Gazzetta
0f9e4b6fe4 pt2-clone: 1.39 -> 1.40 2022-02-01 18:28:56 +01:00
Francesco Gazzetta
1148571e05 pt2-clone: 1.38 -> 1.39 2022-01-13 09:02:55 +01:00
R. Ryantm
a57c2d2092 pt2-clone: 1.37 -> 1.38 2022-01-02 03:55:12 +00:00
R. Ryantm
4f7f702d6e pt2-clone: 1.36 -> 1.37 2021-11-03 22:18:08 +00:00
Francesco Gazzetta
d0150d9366 pt2-clone: 1.34 -> 1.36 2021-10-20 17:29:46 +02:00
R. RyanTM
1c8f2a421a pt2-clone: 1.33 -> 1.34 2021-09-17 13:21:50 +00:00
R. RyanTM
8f6aa1f1da pt2-clone: 1.32 -> 1.33 2021-09-14 21:10:01 +00:00
R. RyanTM
8140f4d679 pt2-clone: 1.31 -> 1.32 2021-08-17 15:33:52 +00:00
Francesco Gazzetta
4d046b12a9 pt2-clone: 1.29 -> 1.31 2021-06-21 12:09:48 +02:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
R. RyanTM
32b5606e9e pt2-clone: 1.28 -> 1.29 2021-03-20 22:33:34 -07:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +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
Francesco Gazzetta
a82af793df pt2-clone: 1.27 -> 1.28 2021-01-01 21:25:18 +01:00
Francesco Gazzetta
9bb7cb4856 pt2-clone: 1.26_fix -> 1.27 2020-12-28 17:33:28 +01:00
R. RyanTM
df0736405a pt2-clone: 1.25_fix -> 1.26_fix 2020-12-04 21:07:04 +00:00
Ryan Mulligan
5f32ca2286
Merge pull request #105053 from r-ryantm/auto-update/pt2-clone
pt2-clone: 1.24 -> 1.25_fix
2020-11-26 12:05:07 -08:00
R. RyanTM
6e10f43c6b pt2-clone: 1.24 -> 1.25_fix 2020-11-26 17:26:49 +00:00