guile rev-deps: fix build by adding pkgconfig

Without it packages fail to find the headers, after guile has split
them into a separate output in 218713a.
This commit is contained in:
Vladimír Čunát
2017-02-18 08:23:07 +01:00
parent 24b1c6ee88
commit 714eabc5af
4 changed files with 8 additions and 6 deletions
@@ -1,4 +1,4 @@
{ fetchurl, stdenv, guile, ncurses, libffi }:
{ fetchurl, stdenv, pkgconfig, guile, ncurses, libffi }:
stdenv.mkDerivation rec {
name = "guile-ncurses-1.7";
@@ -8,6 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "153vv75gb7l62sp3666rc97i63rnaqbx2rjar7d9b5w81fhwv4r5";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ guile ncurses libffi ];
preConfigure =
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, guile, buildEnv
{ stdenv, fetchurl, pkgconfig, guile, buildEnv
, SDL, SDL_image, SDL_ttf, SDL_mixer
}:
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
sha256 = "126n4rd0ydh6i2s11ari5k85iivradlf12zq13b34shf9k1wn5am";
};
nativeBuildInputs = [ guile ];
nativeBuildInputs = [ pkgconfig guile ];
buildInputs = [
SDL.dev SDL_image SDL_ttf SDL_mixer