Commit Graph

17 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
aleksana
f6888ebd9a ptyxis: 46.5 -> 46.6 2024-08-20 15:45:11 +08:00
aleksana
ae3e0af872 ptyxis: switch to finalAttrs pattern 2024-08-20 12:32:48 +08:00
linsui
78deba0539 ptyxis: 46.4 -> 46.5 2024-07-13 15:13:44 +08:00
R. Ryantm
57c9979e71 ptyxis: 46.3 -> 46.4 2024-06-29 14:42:06 +00:00
aleksana
913e6f788b ptyxis: 46.2 -> 46.3 2024-06-20 00:07:36 +08: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
8bfc54dc2c ptyxis: 46.1 -> 46.2 2024-05-13 14:49:07 +00:00
aleksana
887fed1d67 ptyxis: init at 46.1 2024-05-05 00:02:59 +08: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
Sandro
e7b02e26a5
Merge pull request #289111 from Sascha8a/master
ptouch-driver: init at 1.7.0
2024-03-07 22:40:56 +01:00
Alexander Lampalzer
c763926463
ptouch-driver: init at 1.7.0 2024-02-25 18:38:58 +01:00
OPNA2608
132162cb7a ptcollab: 0.6.4.7 -> 0.6.4.8 2024-02-24 19:28:43 +01:00
D3vil0p3r
2dd5557a26 ptunnel: init at 0.72 2024-02-18 21:39:15 +01:00
Robert James Hernandez
aba1457d5b pterm: mark as broken on Darwin 2023-11-13 04:43:58 +00:00
Robert James Hernandez
0c4fe8a70e pterm: patch null check in dtnetsubs 2023-10-30 22:22:17 +00:00
Robert James Hernandez
20778df8e8 pterm: init at 6.0.4 2023-10-30 22:17:19 +00:00