Commit Graph

15 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
Emily
9511ce9566 elements: add patch for miniupnpc 2.2.8
Upstream seems to regularly merge in upstream Bitcoin changes, so I
haven’t bothered sending this there.
2024-07-12 00:33:38 +01:00
R. Ryantm
0deaf4d5d2 elements: 22.1.1 -> 23.2.1 2023-12-14 15:23:16 +00:00
R. Ryantm
632c9141cb elementsd: 22.1 -> 22.1.1 2023-03-31 17:59:30 +00:00
R. Ryantm
9487540a09 elementsd: 22.0.2 -> 22.1 2023-02-10 20:05:22 +00:00
Shawn8901
3866fa44a7 treewide: remove global with lib; in pkgs/{audio,blockchain,editors} 2023-01-21 23:11:12 +01:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
R. Ryantm
b8bea4ebc0 elements: 22.0 -> 22.0.2 2022-11-08 19:55:05 +00:00
Pavol Rusnak
cbcdc23b9d
elements: apply fixes from bitcoin package 2022-09-21 11:46:17 +02:00
R. Ryantm
b194a56d7f elementsd: 0.21.0.2 -> 22.0 2022-09-17 12:36:37 +00:00
R. Ryantm
74518e846d elements: 0.21.0.1 -> 0.21.0.2 2022-03-04 05:49:48 +00:00
Felix Buehler
a3480de4d4 elements: switch to fetchFromGitHub 2022-01-08 15:38:02 +01:00
nixbitcoin
bdfdfff966
elements: 0.21.0 -> 0.21.0.1 2021-12-08 13:04:08 +00:00
Pavol Rusnak
05b60061ac
elements: 0.18.1.12 -> 0.21.0 2021-10-25 23:09:52 +02:00
Sandro Jäckel
06a2b9fa95
pkgs/applications/blockchains: move packages into subdirs 2021-07-28 13:29:10 +02:00