misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs

Only acts on one-line dependency lists.
This commit is contained in:
John Ericson
2017-09-21 15:49:53 -04:00
parent fd9c7eb2e8
commit 531e4b80c9
932 changed files with 2320 additions and 1149 deletions
@@ -63,7 +63,8 @@ else stdenv.mkDerivation {
'' else stdenv.mkDerivation {
name = "libspotify-samples-${version}";
src = libspotify.src;
buildInputs = [ pkgconfig libspotify readline ]
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libspotify readline ]
++ stdenv.lib.optional (!stdenv.isDarwin) alsaLib;
postUnpack = "sourceRoot=$sourceRoot/share/doc/libspotify/examples";
patchPhase = "cp ${apiKey} appkey.c";