feat(nix): Dev shell environment with full rust installation

$ nix develop .#fullEnv

This environment contains extra utilities such as the rust language
server.
This commit is contained in:
Karolin Varner
2024-12-06 13:13:24 +01:00
parent a9b0a90ab5
commit a30805f8a0

View File

@@ -109,6 +109,20 @@
proverif-patched
];
};
# TODO: Write this as a patched version of the default environment
devShells.fullEnv = pkgs.mkShell {
inherit (pkgs.proof-proverif) CRYPTOVERIF_LIB;
inputsFrom = [ pkgs.rosenpass ];
nativeBuildInputs = with pkgs; [
cargo-release
rustfmt
nodePackages.prettier
nushell # for the .ci/gen-workflow-files.nu script
proverif-patched
inputs.fenix.packages.${system}.complete.toolchain
pkgs.cargo-llvm-cov
];
};
devShells.coverage = pkgs.mkShell {
inputsFrom = [ pkgs.rosenpass ];
nativeBuildInputs = [