Commit Graph

12 Commits

Author SHA1 Message Date
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Nick Cao
f826c0aafa
fedimint: drop various darwin workarounds, use new sdk pattern 2024-11-30 09:29:01 -05:00
Nick Cao
bbd2561c7f
fedimint: use rustPlatform.bindgenHook 2024-11-30 09:28:59 -05:00
Reno Dakota
52bf1163fa
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
R. Ryantm
fbf876f130 fedimint: 0.4.3 -> 0.4.4 2024-10-28 07:29:34 +00:00
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