cleanup unused deps
This commit is contained in:
10
default.nix
10
default.nix
@@ -1,4 +1,4 @@
|
||||
{ lib, rustPlatform, pkg-config, autoconf, alsa-lib, automake, libopus, ffmpeg, makeWrapper }:
|
||||
{ lib, rustPlatform, pkg-config, libopus }:
|
||||
|
||||
let manifest = (lib.importTOML ./Cargo.toml).package;
|
||||
in rustPlatform.buildRustPackage {
|
||||
@@ -7,8 +7,8 @@ in rustPlatform.buildRustPackage {
|
||||
|
||||
src = lib.cleanSource ./.;
|
||||
|
||||
nativeBuildInputs = [ pkg-config autoconf automake makeWrapper ];
|
||||
buildInputs = [ alsa-lib libopus ffmpeg ];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ libopus ];
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
@@ -20,10 +20,6 @@ in rustPlatform.buildRustPackage {
|
||||
};
|
||||
};
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/disconic --set PATH ${lib.makeBinPath [ ffmpeg ]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = manifest.description;
|
||||
homepage = manifest.homepage;
|
||||
|
||||
Reference in New Issue
Block a user