Add nix dependencies
This commit is contained in:
parent
9934410fd2
commit
69ff0f2267
1 changed files with 3 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
outputs = { self, nixpkgs, rust-overlay, }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
rustVersion = "1.62.0";
|
||||
rustVersion = "1.73.0";
|
||||
rust = pkgs.rust-bin.stable.${rustVersion}.default.override {
|
||||
extensions = [
|
||||
"rust-src" # for rust-analyzer
|
||||
|
@ -19,7 +19,8 @@
|
|||
};
|
||||
in {
|
||||
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;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue