pkgsMusl.ffado: fix build

This commit is contained in:
Alyssa Ross 2024-02-09 12:13:01 +01:00
parent 488d4a827f
commit 4b8bdbc8bd
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0

View file

@ -1,9 +1,12 @@
{ lib
, stdenv
, mkDerivation
, argp-standalone
, dbus
, dbus_cplusplus
, desktop-file-utils
, fetchurl
, fetchpatch
, glibmm
, kernel
, libavc1394
@ -41,6 +44,13 @@ mkDerivation rec {
patches = [
# fix installing metainfo file
./fix-build.patch
(fetchpatch {
name = "musl.patch";
url = "http://subversion.ffado.org/changeset?format=diff&new=2846&old=2845";
stripLen = 2;
hash = "sha256-iWeYnb5J69Uvo1lftc7MWg7WrLa+CGZyOwJPOe8/PKg=";
})
];
outputs = [ "out" "bin" "dev" ];
@ -79,8 +89,12 @@ mkDerivation rec {
libraw1394
libxmlxx3
python
] ++ lib.optionals (!stdenv.hostPlatform.isGnu) [
argp-standalone
];
NIX_LDFLAGS = lib.optionalString (!stdenv.hostPlatform.isGnu) "-largp";
enableParallelBuilding = true;
dontWrapQtApps = true;