diff options
author | Alyssa Ross <hi@alyssa.is> | 2024-02-09 12:13:01 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2024-02-09 12:13:01 +0100 |
commit | 4b8bdbc8bd474753cb3fa2e739b4fbad0c89ba06 (patch) | |
tree | d99d54563cc51e7964e09dad69dea5801b6c053c | |
parent | 488d4a827f4ec4f2e09e6378d72c8721e3f2c410 (diff) |
pkgsMusl.ffado: fix build
-rw-r--r-- | pkgs/os-specific/linux/ffado/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/ffado/default.nix b/pkgs/os-specific/linux/ffado/default.nix index d1e78a312e05a..dfa974e3e683c 100644 --- a/pkgs/os-specific/linux/ffado/default.nix +++ b/pkgs/os-specific/linux/ffado/default.nix @@ -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; |