Merge #287468: pkgsMusl.ffado: fix build

...into staging

+14
+14
pkgs/os-specific/linux/ffado/default.nix
··· 1 1 { lib 2 + , stdenv 2 3 , mkDerivation 4 + , argp-standalone 3 5 , dbus 4 6 , dbus_cplusplus 5 7 , desktop-file-utils 6 8 , fetchurl 9 + , fetchpatch 7 10 , glibmm 8 11 , kernel 9 12 , libavc1394 ··· 41 44 patches = [ 42 45 # fix installing metainfo file 43 46 ./fix-build.patch 47 + 48 + (fetchpatch { 49 + name = "musl.patch"; 50 + url = "http://subversion.ffado.org/changeset?format=diff&new=2846&old=2845"; 51 + stripLen = 2; 52 + hash = "sha256-iWeYnb5J69Uvo1lftc7MWg7WrLa+CGZyOwJPOe8/PKg="; 53 + }) 44 54 ]; 45 55 46 56 outputs = [ "out" "bin" "dev" ]; ··· 79 89 libraw1394 80 90 libxmlxx3 81 91 python 92 + ] ++ lib.optionals (!stdenv.hostPlatform.isGnu) [ 93 + argp-standalone 82 94 ]; 95 + 96 + NIX_LDFLAGS = lib.optionalString (!stdenv.hostPlatform.isGnu) "-largp"; 83 97 84 98 enableParallelBuilding = true; 85 99 dontWrapQtApps = true;