From 076763a9c9b87c395254c264a7dd52ee9f7cc4b1 Mon Sep 17 00:00:00 2001 From: Gabriel Fontes Date: Sun, 11 Jun 2023 02:06:48 -0300 Subject: [PATCH] nix: fix build inputs --- default.nix | 4 ++-- flake.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/default.nix b/default.nix index a1397e5..45345d2 100644 --- a/default.nix +++ b/default.nix @@ -7,8 +7,8 @@ in rustPlatform.buildRustPackage { src = lib.cleanSource ./.; - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ autoconf alsa-lib automake libopus makeWrapper ffmpeg ]; + nativeBuildInputs = [ pkg-config autoconf automake makeWrapper ]; + buildInputs = [ alsa-lib libopus ffmpeg ]; cargoLock = { lockFile = ./Cargo.lock; diff --git a/flake.nix b/flake.nix index d03b1e8..a220376 100644 --- a/flake.nix +++ b/flake.nix @@ -27,7 +27,7 @@ devShells = forAllPkgs (pkgs: { default = pkgs.mkShell { inputsFrom = [ self.outputs.packages.${pkgs.system}.default ]; - buildInputs = with pkgs; [ clippy rust-analyzer rustc rustfmt ]; + buildInputs = with pkgs; [ clippy rust-analyzer rustc rustfmt ffmpeg ]; }; });