Commit Graph

11 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
Anderson Torres
1f2bc64a40
treewide: remove mredaelli from meta.maintainers
mredaelli is inactive.
2024-08-28 14:48:48 +02:00
aleksana
a9709c299b treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
Artturin
22eb09728d handlr: 0.6.4 -> unstable-2021-08-29
the main thing this fixes is crash on read-only mimeapps therefore
making handlr usable with a home-manager managed mimeapps.list
2022-05-18 18:19:13 +03:00
Spencer Whitt
17e90ebdb8 handlr: install shell completions for zsh and fish 2021-06-03 20:48:06 -04:00
Stéphan Kochen
82f66a4050 handlr: fix darwin build 2021-05-16 14:22:27 -07:00
R. RyanTM
e812fd9c0e handlr: 0.6.3 -> 0.6.4 2021-05-01 04:39:10 +00:00
R. RyanTM
5907b8151f handlr: 0.6.1 -> 0.6.3 2021-04-26 01:12:13 +00:00
Martin Weinelt
49155acb74
handlr: 0.5.0 -> 0.6.1
Adds the missing shared-mime-info dependency and fixes tests.
2021-04-24 02:45:55 +02:00
Massimo Redaelli
272e287c7e handlr: init at 0.5.0 2021-03-18 23:45:49 +01:00