Commit Graph

13 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
Vladimír Čunát
fc288b57b7
clipboard-jh: fix build, missing wayland-scanner 2024-08-31 11:18:05 +02:00
Kirill Radzikhovskyy
58cb40fa7d clipboard-jh: 0.8.3 -> 0.9.0.1 2023-12-27 20:14:10 +09:00
R. Ryantm
94d4725884 clipboard-jh: 0.8.1 -> 0.8.3 2023-10-08 02:54:03 +00:00
Sandro Jäckel
fccf04b620 treewide: replace -DCMAKE_BUILD_TYPE in cmakeFlags with cmakeBuildType 2023-09-08 14:18:26 +00:00
Michael Adler
4ebdeb426d clipboard-jh: 0.8.0 -> 0.8.1 2023-07-28 16:07:59 +02:00
happysalada
81c64e5ab8 clipboard-jh: 0.7.1 -> 0.8.0 2023-06-11 19:24:40 -04:00
heinwol
afbbd3fcf6 clipboard-jh: fixed broken system clipboard integration
fixes https://github.com/NixOS/nixpkgs/issues/229659 as well as https://github.com/Slackadays/Clipboard/discussions/117
2023-05-21 20:20:07 +03:00
R. Ryantm
578e6ef46b clipboard-jh: 0.7.0 -> 0.7.1 2023-05-13 00:00:27 +00:00
Weijia Wang
c03f37e3b3 clipboard-jh: fix build on darwin 2023-05-05 16:49:29 +03:00
Icy-Thought
0d818ab0db
clipboard-jh: 0.6.0 -> 0.7.0 2023-05-05 14:18:23 +02:00
Weijia Wang
eb374d7bae clipboard-jh: 0.3.2 -> 0.6.0 2023-04-11 00:47:18 +03:00
Mostly Void
94fc16e6f3
clipboard-jh: init at 0.3.2 2023-02-19 18:47:14 +05:30