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, }:
|
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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue