Last one of the year! С наступающим)
Fixes:
* users/wpcarro: remove use-package from emacs packages (it has been built-in
for a while now)
* users/sterni: the same thing
* users/aspen: remove `coz`, forwardport `gdmap` from stable
* users/flokli: dropped corneish_zen firmware from CI
This firmware depends on a non-reproducible FOD which, when updated, causes
build failures. We have worked around this repeatedly, but it needs to be
fixed properly.
* tvix: regenerate Go protobufs
* tvix: address new clippy lints
* tvix/{castore,store,build}-go: update grpc/protobuf libraries
* tvix/eval: formatting fixes
* 3p/overlays/tvl: work around GCC 14 -Werrors
Change-Id: Ice5948ca7780192fb7d2abc6a48971fb875f03c9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12933
Reviewed-by: tazjin <tazjin@tvl.su>
Reviewed-by: sterni <sternenseemann@systemli.org>
Reviewed-by: aspen <root@gws.fyi>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
48 lines
807 B
Nix
48 lines
807 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
inherit (config.lib) depot;
|
|
in
|
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
home.packages = with pkgs; [
|
|
rustup
|
|
|
|
cargo-bloat
|
|
cargo-edit
|
|
cargo-expand
|
|
cargo-hakari
|
|
cargo-nextest
|
|
cargo-udeps
|
|
sccache
|
|
evcxr
|
|
|
|
# benchmarking+profiling
|
|
cargo-criterion
|
|
cargo-flamegraph
|
|
inferno
|
|
hotspot
|
|
] ++ optionals (stdenv.isLinux) [
|
|
cargo-rr
|
|
];
|
|
|
|
programs.zsh.shellAliases = {
|
|
"cg" = "cargo";
|
|
"cb" = "cargo build";
|
|
"ct" = "cargo test";
|
|
"ctw" = "fd -e rs | entr cargo test";
|
|
"cch" = "cargo check";
|
|
};
|
|
|
|
home.file.".cargo/config".text = ''
|
|
[build]
|
|
rustc-wrapper = "${pkgs.sccache}/bin/sccache"
|
|
|
|
[target.x86_64-unknown-linux-gnu]
|
|
linker = "clang"
|
|
rustflags = ["-C", "link-arg=-fuse-ld=${pkgs.mold}/bin/mold"]
|
|
'';
|
|
}
|