Commit Graph

18 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
592e3845c4 treewide: sha256 -> hash attribute for fetchgit 2024-07-14 19:10:08 +08:00
R. Ryantm
c2958ed546 notepad-next: 0.7 -> 0.8 2024-06-26 01:33:48 +00: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
ea75af1af5 notepad-next: 0.6.4 -> 0.7 2024-02-24 22:17:12 +00:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
R. Ryantm
ab4b58a7f4 notepad-next: 0.6.3 -> 0.6.4 2023-10-19 06:53:12 +00:00
Nikolay Korotkiy
332fedbe9b
notepad-next: enable on darwin 2023-06-12 23:36:43 +04:00
R. Ryantm
23439d4619 notepad-next: 0.6.1 -> 0.6.3 2023-06-10 10:57:05 +00:00
R. Ryantm
1b05353e6c notepad-next: 0.6 -> 0.6.1 2023-04-20 07:26:49 +00:00
R. Ryantm
bb125c0698 notepad-next: 0.5.6 -> 0.6 2023-01-14 02:17:35 +00:00
R. Ryantm
89b81397a1 notepad-next: 0.5.5 -> 0.5.6 2022-11-25 19:46:25 +08:00
Sebastian Sellmeier
0b546ecd39
notepad-next: 0.5.4 -> 0.5.5 2022-09-25 12:33:01 +02:00
R. Ryantm
ffd085e36a notepad-next: 0.5.3 -> 0.5.4 2022-08-02 19:25:16 +00:00
Sebastian Sellmeier
032655547a
notepad-next: 0.5.2 -> 0.5.3 2022-07-10 11:21:44 +02:00
rewine
3d506e9548 notepad-next: 0.5.1 -> 0.5.2 2022-06-21 18:15:22 +08:00
Sebastian Sellmeier
644d8ed029
notepad-next: mark as broken for aarch64 2022-05-23 02:42:09 +02:00
Sebastian Sellmeier
ae900be6c4
notepad-next: init at 0.5.1 2022-05-09 20:46:57 +02:00