Add nix dependencies

This commit is contained in:
GHOSCHT 2023-10-09 19:05:37 +02:00
parent 9934410fd2
commit 69ff0f2267
No known key found for this signature in database

View file

@ -7,7 +7,7 @@
outputs = { self, nixpkgs, rust-overlay, }: outputs = { self, nixpkgs, rust-overlay, }:
let let
system = "x86_64-linux"; system = "x86_64-linux";
rustVersion = "1.62.0"; rustVersion = "1.73.0";
rust = pkgs.rust-bin.stable.${rustVersion}.default.override { rust = pkgs.rust-bin.stable.${rustVersion}.default.override {
extensions = [ extensions = [
"rust-src" # for rust-analyzer "rust-src" # for rust-analyzer
@ -19,7 +19,8 @@
}; };
in { in {
devShells.${system}.default = pkgs.mkShell { devShells.${system}.default = pkgs.mkShell {
buildInputs = [ rust ] ++ (with pkgs; [ rust-analyzer pkg-config ]); buildInputs = [ rust ]
++ (with pkgs; [ rust-analyzer pkg-config pipewire ]);
RUST_BACKTRACE = 1; RUST_BACKTRACE = 1;
}; };
}; };