Commit Graph

7 Commits

Author SHA1 Message Date
R. Ryantm
f57fd03d97 fedimint: 0.4.2 -> 0.4.3 2024-09-28 03:47:19 +00:00
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
R. Ryantm
3ec708aa43 fedimint: 0.4.1 -> 0.4.2 2024-09-17 03:13:32 +00:00
Alyssa Ross
e38e5d3038 fedimint: 0.3.3 -> 0.4.1
Required to build with Rust 1.80[1].

recoverytool has now been renamed to fedimint-recoverytool upstream.

[1]: https://github.com/rust-lang/rust/issues/127343
2024-08-14 13:37:21 +02:00
R. Ryantm
8787151ce0 fedimint: 0.3.2 -> 0.3.3 2024-07-26 11:20:45 +00:00
Dawid Ciężarkiewicz
5143e95f05
fedimint: 0.3.2-rc.0 -> 0.3.2 2024-07-19 09:30:30 -07:00
Dawid Ciężarkiewicz
bd36b3a05a
fedimint: init at 0.3.2-rc.0 2024-06-12 15:42:13 -07:00