1
0
mirror of https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git synced 2025-09-15 09:45:58 +03:00

updated cargo\rust code snippets

This commit is contained in:
xnm
2023-12-02 20:38:50 +02:00
parent 7962a878aa
commit 2fee05a094
5 changed files with 190 additions and 9 deletions

View File

@@ -7,7 +7,7 @@
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, rust-overlay, flake-utils, ... }:
outputs = { nixpkgs, rust-overlay, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system:
let
overlays = [ (import rust-overlay) ];
@@ -19,12 +19,11 @@
{
devShells.default = mkShell {
buildInputs = [
just
(rust-bin.fromRustupToolchainFile ./rust-toolchain.toml)
mold
pkg-config
openssl
sqlite
cargo-deny
cargo-watch
cargo-audit
cargo-update
cargo-edit
@@ -37,9 +36,13 @@
cargo-spellcheck
cargo-modules
cargo-bloat
cargo-unused-features
taplo
bacon
helix
pkg-config
openssl
sqlite
];
};
}