freedv: move overrides to package.nix (#485674)

This commit is contained in:
Weijia Wang
2026-01-31 18:26:13 +00:00
committed by GitHub
2 changed files with 3 additions and 8 deletions
+3 -2
View File
@@ -27,6 +27,7 @@
}:
let
codec2' = codec2.override { freedvSupport = true; };
ebur128Src = fetchFromGitHub {
owner = "jiixyj";
repo = "libebur128";
@@ -125,7 +126,7 @@ stdenv.mkDerivation (finalAttrs: {
];
buildInputs = [
codec2
codec2'
libsamplerate
libsndfile
lpcnet
@@ -157,7 +158,7 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeBool "USE_NATIVE_AUDIO" (with stdenv.hostPlatform; isLinux || isDarwin))
];
env.NIX_CFLAGS_COMPILE = "-I${codec2.src}/src";
env.NIX_CFLAGS_COMPILE = "-I${codec2'.src}/src";
doCheck = false;
-6
View File
@@ -10285,12 +10285,6 @@ with pkgs;
inherit buildPythonApplication;
};
freedv = callPackage ../by-name/fr/freedv/package.nix {
codec2 = codec2.override {
freedvSupport = true;
};
};
inherit
({
freeoffice = callPackage ../applications/office/softmaker/freeoffice.nix { };